rodin.s wrote:No, I don't have any NLS for ffmpeg, It's in English when I run 'ffmpeg -h'.
Also progress bar doesn't work only on one song. Everything is OK with other ones. Maybe my system is just too slow for pMusic (900MHz 512RAM). Sometimes I think that it would be great application if it was written in C/C++. Now I have that grey GUI while playing a song and it became normal when no song is playing. But sometimes it's OK.
This is getting interesting. I hope I can bother you some more....
You have the perfect PC for testing.
I could of course advice you to change to the LowPowered frontend found
here. Also reachable from the preferences window.
I could also advice you to do some manual tweaking like turn off trackinfo in the preferences, and increase the update_interval in the config file (/root/.pmusic/pmusicrc). pMusic can't run when editing this file because everything will then be reset when pMusic closes.
Skip what is below, my mind was half-dead.
....I will look more into this
But right now, I feel like trying to figure out what's wrong - because there is something wrong. You have several instances of func_progressbar running, and that is not logical. I will be a bit technical now, and I don't know how interesting that is to you, but it sure is for the understanding of how gtkdialog works.....
in /usr/local/pmusic/gui_misc we find this code
Code: Select all
GUI_PROGRESS='
<timer visible="false" milliseconds="true" interval="'$UPDATE_INTERVAL'">
<action>nice -n 18 '$APPDIR'/func_progressbar &</action>
<action>refresh:PROGRESS</action>
<action>refresh:STATUSBAR</action>
</timer>
I will remove the & in the forth line. There is no reason for running func_progressbar in the background and
it might be the reason for several running instances of func_progressbar. As we see of the code snippet, the update interval is set as a attribute of the <timer> widget. The obvious question is: When I now remove the &, will the <timer> fire a new <action> signal based on the update interval before the previous <action> is completed.... Sergey, you are the one who can test this. Please try the next version of pMusic and post your terminal output as last time.
If <timer> don't care about the status of its actions, we will see the same problem of several running fun_progressbar. And if so, <progressbar> could help us, because it works different. The <progressbar> widget was used earlier for the same use as <timer> does today. For <progressbar>, there is no option to set the update interval, so this is done by the sleep command instead. The sleep time will be between each instance of func_progressbar. It is simply not possible to run more than 1.
Thank you
Sigmund