pMusic 6.0.0
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
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
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...
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...
greengeek
if 4.4.3 works - 4.4.5 should, so I am interested in getting this solved.
Any terminal output?
Can you use the pmusic backend?
Can you test the gui-code?
Sigmund
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
Code: Select all
pmusic -B "/dir/file"
Code: Select all
gtkdialog -f /root/.pmusic/tmp/xml_pmusic
Sigmund
Hi Sigmund,zigbert wrote:Any terminal output?Can you use the pmusic backend?Code: Select all
pmusic --debug
Can you test the gui-code?Code: Select all
pmusic -B "/dir/file"
Code: Select all
gtkdialog -f /root/.pmusic/tmp/xml_pmusic
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
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
- yes this works - I hear the mp3 playing correctly.Can you use the pmusic backend?Code: Select all
pmusic -B "/dir/file"
- Here is the result when I entered this during the hung phase:Can you test the gui-code?Code: Select all
gtkdialog -f /root/.pmusic/tmp/xml_pmusic
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
#
cheers!
- Attachments
-
- pprocess_poss_errors.jpg
- (55.72 KiB) Downloaded 493 times
Stream Display
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
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
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
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
R E Q U I R E Dzigbert wrote:tlchost
IYou can check yours by execute 'pmusic -D' in terminal. Without streamripper, pMusic displays url - either filename or internet address.
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
the search results on the left would be much easier to understand if they were in the format of the right pane.[/img]zigbert wrote:Could you please post a screenshot, so I get it clear what you want to change.tlchost wrote:streamripper is installed....what do I need to do ?
- Attachments
-
- capture9167.png
- (70.62 KiB) Downloaded 496 times
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
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.
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
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
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
Sure did....thanks very much!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.
Thom
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
ffmpeg for Tahr
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
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
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P
clone of ffmpeg
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
_____________________________________________________
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
_____________________________________________________