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:

#921 Post by zigbert »

pemasu wrote:I think that I will create pet.specs for Pmusic-2.20 in advance. :D
:lol:
Come on, 2.2.0 must show some new cool stuff...
...and that work has not yet started.

Let's fix the 2.1 branch first.


Sigmund

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

#922 Post by zigbert »

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

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#923 Post by playdayz »

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.

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

#924 Post by zigbert »

Version 2.1.9
See main post

Changelog
- Bugfix: Play audiofiles shorter than 2 sec.

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

#925 Post by zigbert »

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.
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.


Sigmund

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

wary 5.2 pmusic 2.1.8 playlists change

#926 Post by broomdodger »

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

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

#927 Post by zigbert »

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 :D


Sigmund

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#928 Post by broomdodger »

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 :D
When will that be available? Will you announce it here?

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

memory leak?

#929 Post by broomdodger »

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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#930 Post by darkcity »

Shouldn't cd ripping be added to the feature list on the first post?

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

#931 Post by zigbert »

broomdodger wrote:
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 :D
When will that be available? Will you announce it here?
It will still take a while, and it will be announced here


Sigmund

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

Re: memory leak?

#932 Post by zigbert »

broomdodger 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
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 here

Code: Select all

ps | grep pmusic

Thank you
Sigmund

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

#933 Post by zigbert »

darkcity wrote:Shouldn't cd ripping be added to the feature list on the first post?
It is already there
Playback (and ripping) of audio-CD



Sigmund

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

#934 Post by zigbert »

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.

Image

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...

Image

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

Re: memory leak?

#935 Post by broomdodger »

zigbert wrote:
broomdodger 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
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 here

Code: Select all

ps | grep pmusic
211224 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

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

#936 Post by zigbert »

broomdodger
It looks like it works ok, but you seem to have an older (low-powered) system. I checked my crappy laptop from 2007, and gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0 shows 2% while yours said 9%.

The best proposal for weaker hardware is to set up the playlist in Pmusic. - When done, click on the tray-icon and Pmusic will play in background until you click on the tray-icon again. The Pmusic-backend is not too cpu-hungry. It is the frontend using gtkdialog that steals your power.


Sigmund

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#937 Post by broomdodger »

zigbert wrote:broomdodger
It looks like it works ok, but you seem to have an older (low-powered) system. I checked my crappy laptop from 2007, and gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0 shows 2% while yours said 9%.
Sigmund
ThinkPad 1.2GHz 512MB ram
The problem I see in NOT cpu usage which is at 1% or less, but mem leak.
pmusic starts off small keeps grabbing more mem, I saw it up to 60%.
SeaMonkey never gets that high!
-Bill

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

#938 Post by zigbert »

broomdodger
Sorry for my misunderstanding.... :oops:

But since you refer to the frontend (gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +0+0), it would be good to know if it helps to click the tray-icon. The frontend pid should then be killed, and hopefully, memory will be free.

Also, there is a troublesome option that is activated by default. You will for sure benefit of turning it off. Pmusic is working hard during the loading of meta-tags.

Image


Sigmund

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

Re: memory leak?

#939 Post by Dougal »

broomdodger wrote: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
There are a couple of things worth checking here:
1) /root/.pmusic/tmp/xml_Pmusic and the memory footprint when Pmusic is started:
- maybe the "XML" (sic) file contains a lot of info (complicated UI and data) and ends up using a lot of memory
- maybe gtkdialog uses a lot of memory with some things (or has a memory leak).

2) Note how your "ps" output showed multiple instances of func_progressbar. It doesn't make sense that there are multiple progressbar instances at the same time...
They might be zombies (ps x | grep Z), but it might be that the progressbar function hangs (when the progressbar ends), in which case the func_progressbar (sub-)processes don't exit -- and don't release their memory (hence a memory leak). (You can try "ps xf" to see the hierarchy of the Pmusic processes and I suspect that all func_progressbar instances will be at the same level.)
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

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

#940 Post by zigbert »

Version 2.2.0
See main post

Changelog
- Full integration of Jamendo.com via the webmusic module.
. . . INPUT: 238000 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.
- Improved search.
. . . Search for files is supported via pfilesearch 1.27.
. . . Define search-filters from search-field or preferences.
- Radio
. . . One-click install of radio index.
. . . Seperated radio into tags/country.
. . . updated index.
- Bookmarks-dialog should now be less awkward.
. . . One click (OK-button or press enter) to save given bookmark.
. . . Gui cleanup.
. . . Open with no default bookmark when starts from File>Bookmark manager.
- 'Rating' has replaced 'Most played'.
. . . increase value when song is played (finished).
. . . decrease value when skip.
. . . Show points in Music-sources.
. . . Edit Rating points in track-info window
- Optimized the add function for faster adding to playlist.
- Faster lyrics detection. Lyricwiki.org performs best and is default.
- 'Index' has been renamed to 'My Music'
- Faster detection of BROWSER at startup.
- Preferences button in CD preset --> show only playback tab. (thanks to playdayz)
- Rewritten Mananger preset.
- Updated Classic and Wings preset.
- Option: Load meta-tags for the first X number of tracks in sourcelist (default is 50).
- Removed buttons to clear history of recent/rating index. It is still editable.
- Bugfix: 'Add all' / 'Add random' still uses 59:59 for streams.
- Bugfix: Remove headings and empty lines in sourcelist when sort.
- Bugfix: Don't use resources to try reading meta info of collections and streams after search.
- Bugfix: Remove temporary files when Pmusic quits.
- Bugfix: Pmusic -D doesn't detect gtkdialog-0.8 correct. (thanks to broomdodger)
- Bugfix: Use m3u length for http-streams if defined.
- Bugfix: Show no result if search for empty string (blank searchfield).
- Bugfix: Save m3u (without paths) containg URLs.
- Bugfix: button to select default browser dir in preferences.
- Bugfix: Multiple playtlists doesn't save correct (thanks to broomdodger)
- Bugfix: Pref button in podcast manager.
- Bugfix: mass-tagging: setting Genre doesn't work.
- NLS: Added: LOC_ADVANCED, APPLY, BROWSE, COUNTRY, INSTALL, SEARCH, 228, 495, 635, 636, 637, 811, 812, 845
- NLS: Changed: LOC104, 223, 226, 237, 238, 301, 318, 406, 407, 490, 491, 493, 630, 631
- NLS: Removed: LOC269, 276, 463, 809, 810

Post Reply