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:

Re: memory leak?

#941 Post by zigbert »

Dougal
- 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).
I am not the one to tell the reason why gtkdialog uses more resources than a compiled code, but it obviously does. But I find it strange that Pmusic should use 60% of 512Mb RAM. - That is a lot...
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...
Well, that could make perfectly sense. The func_progressbar is not a loop running in the background. It is a function called from the gui each 0.2 sec, and depending on its output, it might not be finished before next call. Most of these calls quits immediately, but some will occupy the system with larger requests. When a new track is started, func_progressbar will update the values of NOW_PLAYING. This require 'ffmpeg -i', and for streams, that could in particular take some time.


Thank you for your input and concern
Sigmund

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

Pmusic-2.2.0 playlists are remembered

#942 Post by broomdodger »

Racy 5.1.110
Pmusic-2.2.0

Playlists are remembered, thank you for the fix.
Music plays, seems to work well.

-Bill

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

Pmusic-2.2.0 from cli -- odd

#943 Post by broomdodger »

Racy 5.1.110
Pmusic-2.2.0

When starting pmusic from the cli, it shows seamonkey which is not running. This seems odd!

" -------1---------2---------3---------4---------5---------6----
094244 pmusic
/usr/bin/seamonkey




ADDMODE=""
ARTWORK=""
BALANCE="100"
BUTTON_PLAY=""
PLAYLIST=""
PLAYLIST_ALL="'001 /mnt/home/music/Sandy Bull/RE-INVENTIONS/01 Blend.mp3' '002 /mnt/home/music/Sandy Bull/RE-INVENTIONS/07 Triple Ballade.mp3' '003 /mnt/home/music/Sandy Bull/RE-INVENTIONS/Carnival Jump.mp3'"
PLAYMODE=""
PROGRESS="3"
SEARCH="/mnt/home/music"
SEARCHPATH="/mnt [OR] /root"
SEARCH_FILES="false"
SEARCH_MYMUSIC="true"
SEARCH_RADIO="false"
SEARCH_WEBMUSIC="false"
SOURCE=""
STATUSBAR=" (32:06) List 2 (0:12/8:49) Sandy Bull - Carnival Jump"
VOLUME="100"
EXIT="quit"
/usr/local/pmusic/func: line 7: 17007 Terminated $APPDIR/pmusic_tray
" -------1---------2---------3---------4---------5---------6----

-Bill

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

#944 Post by zigbert »

broomdodger

Code: Select all

# pmusic
/usr/bin/seamonkey
Seamonkey is determined as default web-browser. - that's all.
But still, there is no need to give the output. I will fix....


Sigmund

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

#945 Post by zigbert »

Version 2.2 introduce a nifty (I learned that word from Barry :) ) button. Pmusic has always been made for large music collection, but version 2.2 is made for huge collections. Since jamendo.com gives access to 250000+ tracks there was a need of an improved search engine. The new button gives quick access to search filters.

Image

Image

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#946 Post by DaveS »

Dear God I am struggling with Pmusic. I seem unable to index my music. Each time I return to the browser window after indexing it reports 'index missing' (Racy) Whatever am I doing wrong? Surely it should not be this difficult?
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#947 Post by DaveS »

DaveS wrote:Dear God I am struggling with Pmusic. I seem unable to index my music. Each time I return to the browser window after indexing it reports 'index missing' (Racy) Whatever am I doing wrong? Surely it should not be this difficult?
Huh... seems Pmusic cant index via a symlink, path has to be absolute. Who would have known.......
Once given an absolute path to my music directory at /mnt/ home/Music/, indexing works, specifiying a path which includes a symlink (/root/Music) where Music is a symlink fails.
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#948 Post by DaveS »

219 seems to be able to build indexes, but then says they dont exist in the browser window.
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#949 Post by DaveS »

DaveS wrote:219 seems to be able to build indexes, but then says they dont exist in the browser window.
Exactly the same with 220.
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#950 Post by DaveS »

183 indexes fine but cant display genre
Spup Frugal HD and USB
Root forever!

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

#951 Post by zigbert »

DaveS wrote:Huh... seems Pmusic cant index via a symlink, path has to be absolute. Who would have known.......
Once given an absolute path to my music directory at /mnt/ home/Music/, indexing works, specifiying a path which includes a symlink (/root/Music) where Music is a symlink fails.
How could I know, if you didn't report. Thank you!!! :)


Sigmund

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

#952 Post by zigbert »

DaveS wrote:219 seems to be able to build indexes, but then says they dont exist in the browser window.
Could you post your index file (or parts of it) here. Depending on your index configuration and your music files, you'll find it in $HOME/.pmusic/index_alphabetic, index_playlists, index_directories and index_all.


Sigmund

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

#953 Post by zigbert »

DaveS wrote:183 indexes fine but cant display genre
This makes me a bit curious....

How do you set up the index configuration? Are you setting any of the options in the advanced tab (in MyMusic manager (2.2.0) / Index manager)? This could be weak point since I 'never' use them myself.

If indexing depends on meta-tags (advanced tab), the genre information is supposed to show up immediately, while a quick indexing (no advanced filters) should load genre information as a post_function - first show filenames, then show meta-info when loaded. This function can of course be switched off in preferences.


Sigmund

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#954 Post by DaveS »

Hi Zigbert.. this is from 219 running in Slacko. Below is the browser message

Index_alphabetic is empty

This is from 'index_all'

Code: Select all

  /root/.pmusic/tmp/generated_playlists/Acker Bilk - No.1s & Million Sellers (4CDs) (CD2).album|Acker Bilk - No.1s & Million Sellers (4CDs) (CD2).album
  /root/.pmusic/tmp/generated_playlists/Blur - The Best Of Blur (Disc 1).album|Blur - The Best Of Blur (Disc 1).album
  /root/.pmusic/tmp/generated_playlists/BONNIE TYLER - Greatest Hits of The 60s & 70s - Volume 3.album|BONNIE TYLER - Greatest Hits of The 60s & 70s - Volume 3.album
  /root/.pmusic/tmp/generated_playlists/Bruce Springsteen - Born In The U.S.A..album|Bruce Springsteen - Born In The U.S.A..album
  /root/.pmusic/tmp/generated_playlists/Chaka Demus & Pliers - Tease Me.album|Chaka Demus & Pliers - Tease Me.album
  /root/.pmusic/tmp/generated_playlists/Cornershop - Brimful of Asha.album|Cornershop - Brimful of Asha.album
Attachments
missing.png
(23.02 KiB) Downloaded 371 times
Spup Frugal HD and USB
Root forever!

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

#955 Post by zigbert »

Dave
Could you please....

1.)
Run a simple indexing an see if that works (do not set anything in advanced tab).

2.)
Show a pic of the advanced tab, so I can see your settings when things fail.


Thanks
Sigmund

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#956 Post by DaveS »

zigbert wrote:Dave
Could you please....

1.)
Run a simple indexing an see if that works (do not set anything in advanced tab).

2.)
Show a pic of the advanced tab, so I can see your settings when things fail.


Thanks
Sigmund
YES... indexing works with 'simple' approach.

Here is how I would set the filter
Attachments
filters.png
(15.07 KiB) Downloaded 354 times
Spup Frugal HD and USB
Root forever!

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

#957 Post by zigbert »

Dave
Thank you, I will dig into this, - hopefully in the weekend. Please give some feedback when you see 2.2.1 in the scenes.


Sigmund

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#958 Post by DaveS »

zigbert wrote:Dave
Thank you, I will dig into this, - hopefully in the weekend. Please give some feedback when you see 2.2.1 in the scenes.


Sigmund
Sure.. I have 220 to play with
Spup Frugal HD and USB
Root forever!

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

#959 Post by zigbert »

I gave it quick look, and the problem doesn't seem to be that complex. This test version should fix:
- index a symlink dir
- index with metatags
- index genre tag


Does it???
Sigmund
Attachments
pmusic-2.2.0.pet
(80.54 KiB) Downloaded 173 times

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#960 Post by DaveS »

zigbert wrote:I gave it quick look, and the problem doesn't seem to be that complex. This test version should fix:
- index a symlink dir
- index with metatags
- index genre tag


Does it???
Sigmund
OK, on it.........
Spup Frugal HD and USB
Root forever!

Post Reply