pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1846 Post by zigbert »

Version 4.4.4
See main post


Changelog
- Do not update db if nothing changed. (Resourse hunger):
--> detection of albumart-url.
--> building album list.
- Run Smartadd as background process.
- Reduce cpu-load when reading trackinfo for new playing track.
- Avoid grep locked db (flock) if string is written back to db. - Will corrupt db.
- Bugfix: Rox globicons file corrupted by pMusic. (thanks to SFR and greengeek)
- Bugfix: Download album art from albumart.org

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1847 Post by zigbert »

Version 4.4.5
See main post

Changelog
- Snappier play-command
- Bugfix: Trackinfo search grabbed focus of add/play-module.
- Bugfix: info when playing CD-audio.
- Bugfix: Fetch-buttons in id3tagger does not work.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1848 Post by greengeek »

Hi zigbert- just reporting that pmusic 4.4.5 does not run on my system. At first run I saw the "initialising" splash, but it just hung with the splash on screen.

I then installed version 4.4.3 again and it worked perfectly. Tried 4.4.5 again and this time I did not see the initializing splash (obviously knows first run is not reqd) but the program gui did not open either.

(EDIT - deleted an irrelevant bit of info)

Again - my system is non-standard so others may not experience this...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1849 Post by zigbert »

greengeek
if 4.4.3 works - 4.4.5 should, so I am interested in getting this solved.

Any terminal output?

Code: Select all

pmusic --debug
Can you use the pmusic backend?

Code: Select all

pmusic -B "/dir/file"
Can you test the gui-code?

Code: Select all

gtkdialog -f /root/.pmusic/tmp/xml_pmusic

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1850 Post by zigbert »

Good News!
ffmpeg is on its way back into Ubuntu and Debian.
pMusic favors ffmpeg over libav.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1851 Post by greengeek »

zigbert wrote:Any terminal output?

Code: Select all

pmusic --debug
Can you use the pmusic backend?

Code: Select all

pmusic -B "/dir/file"
Can you test the gui-code?

Code: Select all

gtkdialog -f /root/.pmusic/tmp/xml_pmusic
Hi Sigmund,
thank you for the troubleshooting steps. While i was running through those steps I was able to see a little better what was happening:
1) pmusic 445 does work ok on my system, but only if I let it initialise by running it for the first time by starting it from the menu.
2) If I trigger pmusic's firstrun by clicking on an mp3 file that is when it hangs during the initialise phase with the onscreen splash.

so
- the backend works
- the gui works
- the firstrun initialise has some issue on my system - when triggered by clicking an audio file icon.

When the initialise phase was in the hung state I noticed a couple of things showing in pprocess - see pic below.

Also, during the troubleshooting steps you mentioned I did see some error messages but I don't know if they are related to the initialise problem:
(please forgive the length of the post):

Code: Select all

pmusic --debug
cat: /root/.pmusic/tmp/MY_PID: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

/usr/local/pmusic/func_player: line 141: /root/.pmusic/tmp/SS: No such file or directory
widget_statusbar_input_by_file(): Couldn't open '/root/.pmusic/tmp/statusbar' for reading.

(gtkdialog:17809): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion `gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed

** (gtkdialog:17809): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/ShallowThought/gtk-2.0/radio5.png,
borders don't fit within the image
# cat: /root/.pmusic/index_mymusic: No such file or directory
Input #0, mp3, from 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743':

/usr/local/pmusic/func_trackinfo: line 13: /root/.pmusic/tmp/trackinfo_ID3_ARTIST: No such file or directory
/usr/local/pmusic/func_trackinfo: line 14: /root/.pmusic/tmp/trackinfo_ID3_TITLE: No such file or directory
/usr/local/pmusic/func_trackinfo: line 15: /root/.pmusic/tmp/trackinfo_ID3_ALBUM: No such file or directory
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
--2014-11-22 06:50:43--  http://api.jamendo.com/get2/name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url/track/plain/track_album+album_artist/?id=859743
Resolving api.jamendo.com (api.jamendo.com)... 31.12.66.13
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
302 Found
Location: http://api.jamendo.com/en/?id=859743&m=get2&m_params=name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url%2Ftrack%2Fplain%2Ftrack_album+album_artist%2F [following]
--2014-11-22 06:50:43--  http://api.jamendo.com/en/?id=859743&m=get2&m_params=name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url%2Ftrack%2Fplain%2Ftrack_album+album_artist%2F
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
200 OK
Length: 116 [text/plain]
Saving to: 'STDOUT'

100%[======================================>] 116         --.-K/s   in 0s      

2014-11-22 06:50:44 (4.89 MB/s) - written to stdout [116/116]

/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
du: cannot access 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743': No such file or directory
du: cannot access 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743': No such file or directory
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
--2014-11-22 06:50:48--  http://api.jamendo.com/get2/track_name/album/plain/track_album/?id=100637
Resolving api.jamendo.com (api.jamendo.com)... 31.12.66.13
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
200 OK
Length: 157 [text/plain]
Saving to: 'STDOUT'

100%[======================================>] 157         --.-K/s   in 0s      

2014-11-22 06:50:48 (7.55 MB/s) - written to stdout [157/157]

--2014-11-22 06:50:48--  http://www.jamendo.com/en/track/859743
Resolving www.jamendo.com (www.jamendo.com)... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
31.12.66.13
Connecting to www.jamendo.com (www.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.jamendo.com/en/track/859743 [following]
--2014-11-22 06:50:50--  https://www.jamendo.com/en/track/859743
Connecting to www.jamendo.com (www.jamendo.com)|31.12.66.13|:443... connected.
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
ERROR: cannot verify www.jamendo.com's certificate, issued by '/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287':
  Self-signed certificate encountered.
To connect to www.jamendo.com insecurely, use `--no-check-certificate'.
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/us
At this point I may have missed capturing some of the moving messages, but after closing pmusic I captured this tail:

Code: Select all

(gtkdialog:17809): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
grep: write error: Broken pipe

/root/.pmusic/tmp/exec: line 2: 17553 Broken pipe             LANG=C exec ffmpeg -i 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743' -ss 0 -f au - 2>> /root/.pmusic/tmp/ffmpeg_output
     17554 Killed                  | aplay 2> /root/.pmusic/tmp/aplay_error
Can you use the pmusic backend?

Code: Select all

pmusic -B "/dir/file"	
- yes this works - I hear the mp3 playing correctly.
Can you test the gui-code?

Code: Select all

gtkdialog -f /root/.pmusic/tmp/xml_pmusic
- Here is the result when I entered this during the hung phase:

Code: Select all

# gtkdialog -f /root/.pmusic/tmp/xml_pmusic
** (gtkdialog:1668): ERROR **: Error opening file '/root/.pmusic/tmp/xml_pmusic': No such file or directory
Trace/breakpoint trap
# 
Many thanks for your help with this problem.
cheers!
Attachments
pprocess_poss_errors.jpg
(55.72 KiB) Downloaded 493 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1852 Post by zigbert »

Great report - I will fix :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1853 Post by zigbert »

Version 4.4.6
See main post

Changelog
- Simplify some code in func_trackinfo.
- Bugfix: Start pMusic by click on file in filebrowser (thanks to greengeek)
- Bugfix: Remove quest-icon in main gui if choose to skip 'update DB' msg.

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Stream Display

#1854 Post by tlchost »

Is it normal for the display of music streams discovered in a search to be in the format:

http://208.158.48:9296,

when now playing window it's listed as
NBRN.FM|http://208.53.158.48:9296

Seems to me the second listing is easier to determine the name of the stream

I'm using OvPrecise as a bootable USB.

Do other Puppt versions have the same display differences?

thanks

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1855 Post by zigbert »

tlchost
I don't get in detail what you mean, so I've attached a screenshot of pMusic playing you're radio station.

Be aware that displaying meta-info for streams (as seen in statusbar of my screenie) requires streamripper to be installed. Most Puppies has this today. You can check yours by execute 'pmusic -D' in terminal. Without streamripper, pMusic displays url - either filename or internet address.

If I misunderstood you, please let me try once more... :)


Sigmund
Attachments
Screenshot_2014-11-22_155214.png
(84.24 KiB) Downloaded 466 times

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1856 Post by greengeek »

zigbert wrote:- Bugfix: Start pMusic by click on file in filebrowser
Thank you Sigmund! Speedy initialisation and working well now. Many thanks!

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#1857 Post by tlchost »

zigbert wrote:tlchost
IYou can check yours by execute 'pmusic -D' in terminal. Without streamripper, pMusic displays url - either filename or internet address.
R E Q U I R E D
bash [OK]
coreutils, awk, sed, diff [OK]
gtkdialog >= r512 [MISSING]
ffmpeg [OK]
aplay (alsa) [OK]

R E C O M M E N D E D
streamripper (extended radio-rip/play) [OK]
cdda2wav (play/rip audio-CD) [OK]
wget (connection to www) [OK]

O P T I O N A L
pBurn (burning audio-CD) [OK]
pFilesearch (File-search engine) >= 1.28 [OK]
pSchedule (podcast managing) >= 1.12 [OK]
pEqualizer (10 band equalizer) [OK]
Timidity (play midi) [MISSING]
libcddb (improved CD detection) [MISSING]


streamripper is installed....what do I need to do ?

thanks

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1858 Post by zigbert »

tlchost wrote:streamripper is installed....what do I need to do ?
Could you please post a screenshot, so I get it clear what you want to change.

Thank you
Sigmund

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#1859 Post by tlchost »

zigbert wrote:
tlchost wrote:streamripper is installed....what do I need to do ?
Could you please post a screenshot, so I get it clear what you want to change.
the search results on the left would be much easier to understand if they were in the format of the right pane.[/img]
Attachments
capture9167.png
(70.62 KiB) Downloaded 496 times

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#1860 Post by OscarTalks »

Testing pMusic-4.4.6 in Precise Puppy (5.7.1) with the gtkdialog upgrade it seems to run OK.

I did notice that the dependency check reports libcddb as missing.
The library is in fact installed
but the file /usr/bin/cddb_query is missing from Precise
The strange thing is that I can't find this file in the official Ubuntu packages.

I compiled libcddb from source and the file /usr/bin/cddb_query is produced
so I will attach this file on its own.
Remove the fake .gz extension (by renaming)
and place it it /usr/bin
The dependency check then reports libcddb as OK.
Attachments
cddb_query.gz
Rename to remove the fake .gz off the end of the name and then place in /usr/bin
(25.73 KiB) Downloaded 328 times
Oscar in England
Image

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1861 Post by zigbert »

tlchost
Your screenshot is a far from what I get :)

You miss the latest gtkdialog (as shown in the pmusic -D output). Version is found by 'gtkdialog -v'. You'll find a pet for the latest here
That should solve it.


Sigmund
Attachments
Screenshot_2014-11-24_181731.jpg
(71.45 KiB) Downloaded 281 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1862 Post by zigbert »

OscarTalks wrote:I compiled libcddb from source and the file /usr/bin/cddb_query is produced
so I will attach this file on its own.
I have made a link to your post in the main post.


Thank you!
Sigmund

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#1863 Post by tlchost »

zigbert wrote: You miss the latest gtkdialog (as shown in the pmusic -D output). Version is found by 'gtkdialog -v'. You'll find a pet for the latest here
That should solve it.
Sure did....thanks very much!

Thom

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

ffmpeg for Tahr

#1864 Post by sheldonisaac »

I got TahrPuppy 2 days ago, and can't play radio with Pmusic, presumably because Tahr lacks ffmpeg.
The work-arounds are too complicated for me.

Is it possible that someone can make an ffmpeg for Tahr?

Thanks,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

clone of ffmpeg

#1865 Post by don570 »

Tahr has avconv installed. You can type it in the terminal.

libav is a fork of ffmpeg


http://en.wikipedia.org/wiki/Libav

There seems to be some compatibility with the options it uses.

Perhaps you have to use a version of audacity that is specific for tahr??
since the versions available on this forum are compiled with ffmpeg

_____________________________________________________

Post Reply