pMusic 6.0.0
i18n-pmusic_tray.
Thank you for the file. I have added gettext to it and have made Russian translation.
- Attachments
-
- pmusic_tray.c.gz
- source code with gettext
- (1.14 KiB) Downloaded 225 times
-
- pmusic_tray-0.1.pet
- i18n pmusic_tray with pot-file and Russian translation
- (4.16 KiB) Downloaded 250 times
pemasu wrote:I think that I will create pet.specs for Pmusic-2.20 in advance.
Puppy Linux Blog - contact me for access
I could never make heads nor tails of Pmusic. When I tried it years ago, I said to myself, "You can't just drag files over from a Rox window? Huh? This isn't integrated into Puppy.".. plus once I finally figured out how to play a file there was like, no means of moving around one's position within the file-- making it rather useless to me as I usually am listening to spoken word that's a half-hour or more in length. "Whatever, forget that.." gxine was the main player included with Puppy at that time, and suited me fine except for very small things.
So I haven't bothered since then, but just yesterday had a fresh install booted and hadn't put in my fave apps yet, and the kids working the coffeeshop put on thoroughly insipid pop music which had me lunging for my headphones, then something to fill them with. Not keen on Pmusic saying something about rifling through "my music collection" (I'm sure you don't phone-home with it, but I just on principle want nothing compiling a db on my sound files-- it just isn't necessary) I checked out what --help on the cmd line would offer me, and sure, looked simple enough to simply play a song from the directory I opened the term window in. The filename started with 0036_ so I did:
I suppose this was whatever version shipped with Lucid 528, so please ignore this and accept my apologies for all my blatherings if you've fixed it.
So I haven't bothered since then, but just yesterday had a fresh install booted and hadn't put in my fave apps yet, and the kids working the coffeeshop put on thoroughly insipid pop music which had me lunging for my headphones, then something to fill them with. Not keen on Pmusic saying something about rifling through "my music collection" (I'm sure you don't phone-home with it, but I just on principle want nothing compiling a db on my sound files-- it just isn't necessary) I checked out what --help on the cmd line would offer me, and sure, looked simple enough to simply play a song from the directory I opened the term window in. The filename started with 0036_ so I did:
Code: Select all
#pmusic 0036*
grep: /root/.pmusic/tmp/playlist: No such file or directory
mv: cannot stat `/root/.pmusic/tmp/playlist': No such file or directory
/usr/local/pmusic/gui_add: line 4: /root/.pmusic/tmp/filebrowser_dir: No such file or directory
cat: /root/.pmusic/tmp/browser: No such file or directory
mv: cannot stat `/root/.pmusic/tmp/playlist_tmp': No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
xwininfo: error: No window with name Pmusic_sources exists!
EXIT="Exit"
/usr/local/pmusic/func: line 19: 8291 Terminated $APPDIR/pmusic_tray
/usr/local/pmusic/func_player: line 15: /root/.pmusic/tmp/PLAYLIST: No such file or directory
/usr/local/pmusic/pmusic: line 317: 8297 Killed $GTKDIALOG -p Pmusic_sources -G +"$CLASSIC_X"+"$CLASSIC_Y"
# /usr/local/pmusic/func_progressbar: line 60: echo: write error: Broken pipe
grep: write error: Broken pipe
/usr/local/pmusic/func_progressbar: line 78: echo: write error: Broken pipe
#
#
# pmusic 0030*
/usr/local/pmusic/func: line 583: /root/.pmusic/tmp/RIGHT_MENU: No such file or directory
xwininfo: error: No window with name Pmusic_sources exists!
EXIT="Exit"
/usr/local/pmusic/func: line 19: 9490 Terminated $APPDIR/pmusic_tray
# /usr/local/pmusic/func_progressbar: line 60: echo: write error: Broken pipe
grep: write error: Broken pipe
/usr/local/pmusic/func_progressbar: line 78: echo: write error: Broken pipe
#
Re: i18n-pmusic_tray.
Great stuff!rodin.s wrote:Thank you for the file. I have added gettext to it and have made Russian translation.
I have not yet decided how I should include this....
I made a link to your post in the 'Pmusic language support' thread, so others (and me) can find your improvement.
Thank you
Sigmund
str4y
If you don't want to use the internal browser in Pmusic, feel free to click on a file in ROX.
To play from terminal you should offer a tab-keypress instead of the *. Then you will get the complete name. Pmusic does not support mass-adding from command-line.
Thank you for taking the time to give some feedback even if you dislike Pmusic so much. Most of us wouldn't bother...
Sigmund
If you don't want to use the internal browser in Pmusic, feel free to click on a file in ROX.
To play from terminal you should offer a tab-keypress instead of the *. Then you will get the complete name. Pmusic does not support mass-adding from command-line.
Thank you for taking the time to give some feedback even if you dislike Pmusic so much. Most of us wouldn't bother...
Sigmund
Hi zigbert, In 1.8.3 is there a preference between pmusic_CD and pCD? They look a bit different. I am asking because I am assembling Instant Update 002 for Lucid 5.2.8--the defaultcdplayer is currently pCD but I am wondering if I should change to pmusic_CD.
Lucid 5.2.8 uses the 1.8.3 branch.
I am also preparing a Super Multimedia Upgrade Version 2 for Lucid 5.2.8 which upgrades it to the 2x branch, so in that I know to use pmusic_CD.
Thanks.
Lucid 5.2.8 uses the 1.8.3 branch.
I am also preparing a Super Multimedia Upgrade Version 2 for Lucid 5.2.8 which upgrades it to the 2x branch, so in that I know to use pmusic_CD.
Thanks.
pCD is a unique app while Pmusic_CD is just an alternative frontend for Pmusic. pCD will not get further development, but it is well tested. Pmusic_CD in 1.8.3 is rather young, while in todays 2.1.x it has got more time to grow.playdayz wrote:Hi zigbert, In 1.8.3 is there a preference between pmusic_CD and pCD? They look a bit different. I am asking because I am assembling Instant Update 002 for Lucid 5.2.8--the defaultcdplayer is currently pCD but I am wondering if I should change to pmusic_CD.
Lucid 5.2.8 uses the 1.8.3 branch.
I am also preparing a Super Multimedia Upgrade Version 2 for Lucid 5.2.8 which upgrades it to the 2x branch, so in that I know to use pmusic_CD.
Thanks.
Sigmund
- broomdodger
- Posts: 279
- Joined: Sat 10 May 2008, 02:38
- Location: Santa Cruz, CA
wary 5.2 pmusic 2.1.8 playlists change
wary 5.2 pmusic 2.1.8 is the first time I have tried pmusic.
Strange things happen with playlists, they change after quiting pmusic and restarting!
I went back to wary 5.1.4.1 and did all the same initialization to pmusic 1.8.3 and the playlists seem stable.
The following is some info I could gather:
" -------1---------2---------3---------4---------5---------6----
wary 5.2
pmusic 2.1.8 also 2.1.9
+ index
+ add jazz to playlist 1 (5 pieces)
+ add classical to playlist 2 (3 pieces)
+ add rock to playlist 3 (4 pieces)
! all play ok
quit pmusic
restart pmusic
playlists have changed! Playlist 1 is now Playlist 2.
Could this have something to do with the newer gtkdialog or ffmpeg in wary 5.2?
# pmusic -D
Dependencies
R E Q U I R E D
bash [OK]
coreutils [OK]
awk [OK]
sed [OK]
gtkdialog >= 0.7.21 [MISSING]
ffmpeg >= 0.8 /usr/local/pmusic/pmusic: line 162: [: git: integer expression expected
[MISSING]
aplay (alsa) [OK]
R E C O M M E N D E D
libid3tag (meta-tagging) [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]
Pschedule (podcast managing) [OK]
pEqualizer (10 band equalizer) [MISSING]
# gtkdialog -v
gtkdialog version 0.8.0 (C) 2003-2007 Laszlo Pere, 2011 Thunor
# ffmpeg -version
ffmpeg version git-2011-10-01-78f08c0, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 2 2011 07:10:53 with gcc 4.3.4
" -------1---------2---------3---------4---------5---------6----
wary 5.1.4.1
pmusic 1.8.3
seems to work ok
playlists seem stable
# pmusic -D
Dependencies
R E Q U I R E D
bash [OK]
gtkdialog [OK]
ffmpeg [OK]
aplay (alsa) [OK]
R E C O M M E N D E D
libid3tag (meta-tagging) [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]
pschedule (podcast managing) [OK]
# gtkdialog -v
gtkdialog version 0.7.21 (C) 2003-2007 Laszlo Pere, 2011 Thunor
# ffmpeg -version
FFmpeg version SVN-r25158-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 24 2010 21:49:52 with gcc 4.3.4
Strange things happen with playlists, they change after quiting pmusic and restarting!
I went back to wary 5.1.4.1 and did all the same initialization to pmusic 1.8.3 and the playlists seem stable.
The following is some info I could gather:
" -------1---------2---------3---------4---------5---------6----
wary 5.2
pmusic 2.1.8 also 2.1.9
+ index
+ add jazz to playlist 1 (5 pieces)
+ add classical to playlist 2 (3 pieces)
+ add rock to playlist 3 (4 pieces)
! all play ok
quit pmusic
restart pmusic
playlists have changed! Playlist 1 is now Playlist 2.
Could this have something to do with the newer gtkdialog or ffmpeg in wary 5.2?
# pmusic -D
Dependencies
R E Q U I R E D
bash [OK]
coreutils [OK]
awk [OK]
sed [OK]
gtkdialog >= 0.7.21 [MISSING]
ffmpeg >= 0.8 /usr/local/pmusic/pmusic: line 162: [: git: integer expression expected
[MISSING]
aplay (alsa) [OK]
R E C O M M E N D E D
libid3tag (meta-tagging) [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]
Pschedule (podcast managing) [OK]
pEqualizer (10 band equalizer) [MISSING]
# gtkdialog -v
gtkdialog version 0.8.0 (C) 2003-2007 Laszlo Pere, 2011 Thunor
# ffmpeg -version
ffmpeg version git-2011-10-01-78f08c0, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 2 2011 07:10:53 with gcc 4.3.4
" -------1---------2---------3---------4---------5---------6----
wary 5.1.4.1
pmusic 1.8.3
seems to work ok
playlists seem stable
# pmusic -D
Dependencies
R E Q U I R E D
bash [OK]
gtkdialog [OK]
ffmpeg [OK]
aplay (alsa) [OK]
R E C O M M E N D E D
libid3tag (meta-tagging) [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]
pschedule (podcast managing) [OK]
# gtkdialog -v
gtkdialog version 0.7.21 (C) 2003-2007 Laszlo Pere, 2011 Thunor
# ffmpeg -version
FFmpeg version SVN-r25158-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 24 2010 21:49:52 with gcc 4.3.4
- broomdodger
- Posts: 279
- Joined: Sat 10 May 2008, 02:38
- Location: Santa Cruz, CA
- broomdodger
- Posts: 279
- Joined: Sat 10 May 2008, 02:38
- Location: Santa Cruz, CA
memory leak?
wary 5.2
pmusic 2.1.8
Watching 'top' memory size (vsz and %mem) gtkdialog4 used by pmusic, the memory usage keeps increasing and can get quite high, 60% !
Is this a memory leak in gtkdialog4 or something pmusic is doing?
from top:
gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0
pmusic 2.1.8
Watching 'top' memory size (vsz and %mem) gtkdialog4 used by pmusic, the memory usage keeps increasing and can get quite high, 60% !
Is this a memory leak in gtkdialog4 or something pmusic is doing?
from top:
gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0
It will still take a while, and it will be announced herebroomdodger wrote:When will that be available? Will you announce it here?zigbert wrote:broomdodger
Thank you for the report.
I will check it out.... It will probably take some time since the next version seems to be 2.2 - with new goodies
Sigmund
Re: memory leak?
Hmm, not good. I need to know the actual process that is not handled correct. Please execute the following command in a terminal and post the result herebroomdodger wrote:wary 5.2
pmusic 2.1.8
Watching 'top' memory size (vsz and %mem) gtkdialog4 used by pmusic, the memory usage keeps increasing and can get quite high, 60% !
Is this a memory leak in gtkdialog4 or something pmusic is doing?
from top:
gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0
Code: Select all
ps | grep pmusic
Thank you
Sigmund
Here is a snappy for the interested one
Pmusic 2.2 will offer a new WebMusic module with access to all music at jamendo.com. It is fully integrated with Pmusics infrastructure...
INPUT: 2000000+ tracks available directly from server or even better via index-file (download or build).
TREAT: Search, browse, full track-info support with lyrics and album art, ...
OUTPUT: Export music to local files to your preferred format.
Managing a increasing collection of music, we need better search-tools.... In this work, I have also added support of ordinary file-search via pfilesearch. This is great for those who use Pmusic as a basic player of local files, and don't care about index' and streams. By default the user should not need to bother of advanced settings, but for the power-user, there should be possibilities...
Pmusic 2.2 will offer a new WebMusic module with access to all music at jamendo.com. It is fully integrated with Pmusics infrastructure...
INPUT: 2000000+ tracks available directly from server or even better via index-file (download or build).
TREAT: Search, browse, full track-info support with lyrics and album art, ...
OUTPUT: Export music to local files to your preferred format.
Managing a increasing collection of music, we need better search-tools.... In this work, I have also added support of ordinary file-search via pfilesearch. This is great for those who use Pmusic as a basic player of local files, and don't care about index' and streams. By default the user should not need to bother of advanced settings, but for the power-user, there should be possibilities...
- broomdodger
- Posts: 279
- Joined: Sat 10 May 2008, 02:38
- Location: Santa Cruz, CA
Re: memory leak?
211224 ps | grep pmusiczigbert wrote:Hmm, not good. I need to know the actual process that is not handled correct. Please execute the following command in a terminal and post the result herebroomdodger wrote:wary 5.2
pmusic 2.1.8
Watching 'top' memory size (vsz and %mem) gtkdialog4 used by pmusic, the memory usage keeps increasing and can get quite high, 60% !
Is this a memory leak in gtkdialog4 or something pmusic is doing?
from top:
gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0Code: Select all
ps | grep pmusic
6606 root 0:00 /bin/bash /usr/local/bin/pmusic
6607 root 0:00 /bin/sh /usr/local/pmusic/pmusic
6651 root 0:00 /bin/sh /usr/local/pmusic/func -tray_app
6658 root 0:00 /usr/local/pmusic/pmusic_tray
6705 root 0:10 gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0
6717 root 0:00 sh -c while [ ! -f $WORKDIR/end_while_add ]; do cat /root/.pmusic/tmp/load_id3; echo " "; sleep 2; done
18759 root 0:00 /bin/bash /usr/local/pmusic/func_player -playing -refresh
18819 root 0:00 /bin/sh /root/.pmusic/tmp/exec
19338 root 0:00 /bin/sh /usr/local/pmusic/func_progressbar
19341 root 0:00 grep pmusic
19342 root 0:00 /bin/sh /usr/local/pmusic/func_progressbar
These two from top about 20 seconds apart:
PID PPID USER STAT VSZ %MEM CPU %CPU COMMAND
6705 6607 root S 47156 9% 0 1% gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0
about 20 seconds later
6705 6607 root S 47620 9% 0 1% gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0