pMusic 6.0.0
Sigmund
Small Christmas present for you (in time for 3.1?).
I figured out how to toggle the icon for pause/play in the tray app, very simple really once I realised all you do is switch the icons for the main gui, of course the tray app can use it too. About one minute's work after I realised.
Attached is a tarball containing the 32 bit binary and the source code. Seems working ok for me.
Cheers
Attachment removed, see later post.
Small Christmas present for you (in time for 3.1?).
I figured out how to toggle the icon for pause/play in the tray app, very simple really once I realised all you do is switch the icons for the main gui, of course the tray app can use it too. About one minute's work after I realised.
Attached is a tarball containing the 32 bit binary and the source code. Seems working ok for me.
Cheers
Attachment removed, see later post.
Last edited by 01micko on Sun 16 Dec 2012, 12:01, edited 1 time in total.
Puppy Linux Blog - contact me for access
That's great Mick
I have updated plugin thread - Try app
pMusic 3.1 is a bit further into the future. It require updates of gtkdialog and probably ffmpeg. Being on the dependency-edge is a good place to be for the developer, but not the best place for the user, so I plan to wait until at least gtkdialog-0.8.3 settles.
Thanks a lot
Sigmund
I have updated plugin thread - Try app
pMusic 3.1 is a bit further into the future. It require updates of gtkdialog and probably ffmpeg. Being on the dependency-edge is a good place to be for the developer, but not the best place for the user, so I plan to wait until at least gtkdialog-0.8.3 settles.
Thanks a lot
Sigmund
Ok, so we wait some for 3.1
One thing about the new tray icon, the icon needs to be in a fixed path for the C code so it is hard coded to "/root/.pmusic/tmp/icon_playpause.png". "$HOME" doesn't work. This makes it unfriendly to multiuser systems. I'll have a think about how to get around this in the future, so it may be wise to keep the older version available for multiuser systems for now.
One thing about the new tray icon, the icon needs to be in a fixed path for the C code so it is hard coded to "/root/.pmusic/tmp/icon_playpause.png". "$HOME" doesn't work. This makes it unfriendly to multiuser systems. I'll have a think about how to get around this in the future, so it may be wise to keep the older version available for multiuser systems for now.
Puppy Linux Blog - contact me for access
Not likely as $HOME could be /root, /home/johnny or /home/mary on any one system.zigbert wrote:Mick
Would it help if $WORKDIR was set in the rc-file or in a separate file?
However, I came up with a quick and dirty work around. Seems to work ok. When the tray app is initialised it creates a symlink to $HOME/.pmusic/tmp/icon_playpause.png in /tmp. Now the C code looks for that . Simplest way I could think of and I tested by deleting $HOME/.pmusic. I didn't test as a multiuser but it's not hard coded now so should be ok.
Attached.
EDIT: also compiled in FatDog, first attachment, no source (same as 32 src)
- Attachments
-
- pmusic_trayapp-64bit-161212.tar.bz2
- 64 bit binary. BE CAREFUL, it's not in a sub folder of it's own. You could easy mix them up.
- (3.51 KiB) Downloaded 338 times
-
- pmusic-trayapp-161212-2ND.tar.bz2
- includes 32 bin and source
- (4.79 KiB) Downloaded 342 times
Puppy Linux Blog - contact me for access
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Pmusic 3.0.6
# pmusic
/usr/local/pmusic/pmusic: line 51: [: 3.0.6: integer expression expected
fixed line 51 wrote: [ "`grep -F VERSION $CONFIG | cut -d= -f2 | cut -d. -f1`" -lt 3 ] && rm -f $WORKDIR/*
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Thanks to mcewanw I recall that ~ is equivalent to $HOME01micko wrote:... so it is hard coded to "/root/.pmusic/tmp/icon_playpause.png". "$HOME" doesn't work. This makes it unfriendly to multiuser systems....
Hope that helps but some testing is needed/usr/bin/pavrecord line 28 wrote:export PROGRAMHOME=~/.${PROGRAMNAME}
Re: Pmusic 3.0.6
Got it - Thank youL18L wrote: [ "`grep -F VERSION $CONFIG | cut -d= -f2 | cut -d. -f1`" -lt 3 ] && rm -f $WORKDIR/*
Sigmund
I can't reproduce this bug. Hmmm..... More info ?scabz wrote:one issues i am having in when clicking on the smart add button and click add if there is less tracks in the folder then the number set it frezzez when adding to the playlist.
another thing i miss the add all button that was in older pmusic.
I'll consider a new 'Add all' function.
Sigmund
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Pmusic 3.0.6
This will be valid only up to version 9zigbert wrote:Got it - Thank youL18L wrote: [ "`grep -F VERSION $CONFIG | cut -d= -f2 | cut -d. -f1`" -lt 3 ] && rm -f $WORKDIR/*
Sigmund
But there is ever valid vercmp
# vercmp
usage: vercmp version1 lt|gt|le|ge|eq version2
return value 0 if true, else 1
#
--
edit
link to vercmp: http://bkhome.org/blog/?viewDetailed=02226
Yeah, nice idea, had my doubts though and were confirmed. Oh well, thanks for trying.L18L wrote:Thanks to mcewanw I recall that ~ is equivalent to $HOME01micko wrote:... so it is hard coded to "/root/.pmusic/tmp/icon_playpause.png". "$HOME" doesn't work. This makes it unfriendly to multiuser systems....
Hope that helps but some testing is needed/usr/bin/pavrecord line 28 wrote:export PROGRAMHOME=~/.${PROGRAMNAME}
Puppy Linux Blog - contact me for access
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi Sigmund !
Result: pEqualizers GUI comes first displayed before the pMusic GUI opens; and when closing pMusic (Menu/Quit), pEqualizers GUI is displayed a second time. So at end, we have pMusic closed with 2 times pEqualizer open.
Does someone else also have this?
*** Best wishes for 2013 ! ***
Charlie
I installed pMusic-3.0.7 on Exprimo-3.6.2.1 which has version 2.6.6 in it + gtk-dialog.0.8.2+ffmpeg version >>0.8.zigbert wrote:Version 3.0.7
See main post
Changelog
- Bugfix: Detection of installed pMusic older than version 3.0.0 (thanks to L18L)
Result: pEqualizers GUI comes first displayed before the pMusic GUI opens; and when closing pMusic (Menu/Quit), pEqualizers GUI is displayed a second time. So at end, we have pMusic closed with 2 times pEqualizer open.
Does someone else also have this?
*** Best wishes for 2013 ! ***
Charlie
Just a quick report about the progress.
I am working slowly towards 3.1. It depends on gtkdialog-0.8.3 which Thunor released the other day. I will wait for a Slacko/Precise platform that includes all dependencies. - It makes it soooo easy for me.
Running several RadioHits grabber could corrupt the MyMusic database (index-file), so I have rewritten that function. I am still refining, but it basically works like this screeny:
The New Export window have settled:
The podcast setup has been rewritten simplified.
It now looks too simple.
Else, I have improved the smartadd dock by adding a 'add all' option without any new bloat
The trackinfo function has got some improvements, but maybe only one that really matters...
You can now set Album tag directly from the discography.
And there has arrived a new playmode. Maybe not the best icon (any suggestions?)
I am working slowly towards 3.1. It depends on gtkdialog-0.8.3 which Thunor released the other day. I will wait for a Slacko/Precise platform that includes all dependencies. - It makes it soooo easy for me.
Running several RadioHits grabber could corrupt the MyMusic database (index-file), so I have rewritten that function. I am still refining, but it basically works like this screeny:
The New Export window have settled:
The podcast setup has been rewritten simplified.
It now looks too simple.
Else, I have improved the smartadd dock by adding a 'add all' option without any new bloat
The trackinfo function has got some improvements, but maybe only one that really matters...
You can now set Album tag directly from the discography.
And there has arrived a new playmode. Maybe not the best icon (any suggestions?)
Version 3.1.0
See main post
Changelog
- Updated dependencies
. . . .- gtkdialog 0.8.3
. . . .- ffmpeg 0.11
. . . .- pschedule 1.1.2
- Export
. . . .- Presets for convertion.
. . . .- Disable bitrate/samlerate/channel options when choosing flac. (requires gtkdialog 0.8.3)
. . . .- Removed option to save exported files to m3u.
. . . .- Simplified gtkdialog code.
. . . .- Accept blank settings for channel/bitrate/samplerate.
- Add to playlist
. . . .- Option to Add all from the smartadd dock.
. . . .- Add non-existing file gives option to remove file from db.
. . . .- Bugfix: Add after playing always grabs the first instance of the song (in case of several).
. . . .- Bugfix: Msg: File does not exist: Bold text doesn't work if not valid utf-8 filename.
- Overview -> Most played -> now set to last 30 days instead of 60 (variable RATING_PERIODE in rc).
- Searchresult shows rating of all times instead of using variable RATING_PERIODE in rc.
- Podcast
. . . .- Simplified manager gui.
. . . .- New dialog to delete a pod.
. . . .- Bugfix: Show next run (human readable) in pSchedule.
- New playmode: None --> stop after playing song.
- Improved tooltips for playmode and addmode.
- Trackinfo
. . . .- Album-tag: Option to choose Album from discography.
. . . .- Support embedded image files (albumart) to audio file.
. . . . . . . .- Use as default albumart if exist.
. . . . . . . .- Write embedded image to audio file from albumart tab (save button).
. . . . . . . .- Added as refresh-albumart source.
. . . . . . . .- Also supported by masstagger.
. . . .- Don't reload trackinfo if corresponding info already exist
. . . . . . . .- ie. same album or when moving slider.
. . . . . . . .- This gives a marked reduction of cpu usage.
. . . .- Lyrics: #8217 is set to ' in lyricswiki converter
. . . .- Lyrics: Edit (button) not found lyrics, now makes an empty lyrics file.
. . . .- Message if searching alternativ tags and no web connection.
. . . .- Albumart: default size is set to 400px - click for full size.
. . . .- Save tags: blank tag-icons immediately to show action.
. . . .- By default, suggest an album tag from an album/single instead of various-artist-album.
. . . .- Bugfix: Tracknr-tag is now by default choosen depending on album - next searces for singles or compilations.
. . . .- Bugfix: No internet gave 2 messages when searching for alternative tags.
. . . .- Bugfix: If changing a Artist/Title tag before clicking 'Alternative tags' old tag-info are back after new tags are activated.
. . . .- Bugfix: Read stream info from ffmpeg 0.11 >
. . . .- Bugfix: Saving tags breaks album-pmu-detection.
- Rewritten Radiohits grabber.
. . . .- All streamrippers in one gui.
. . . .- Option to delete a preset.
. . . .- Advanced expander: Allow manual options to streamripper command.
. . . .- Advanced expander: Show streamripper command.
. . . .- Bugfix: Apply several RadioHits grabbers simultaniously could corrupt MyMusic index.
- Gtkdialog
. . . .- Only supported gtkdialog executable is now 'gtkdialog'. (thanks to 01micko)
. . . .- Link to gtkdialog homepage in about dialog.
- Use bash as the interpreter for all scripts.
- Save (playlist)
. . . .- More logical auto-setting of 'save-path' in save dialog.
. . . .- Tooltip for option: Include path.
. . . .- Bugfix: Add more info (1.col of sourcelist) to mymusic index.
- Set 'all time' as default time-periode in most-played dialog.
- Update length-description in db after use of $AUDIO_EDITOR (MhWaveEdit).
- Masstagger
. . . .- Handle embedded albumart.
. . . .- Bugfix: Clear tags.
. . . .- Bugfix: Set genre to Blues from drop-down menu.
- Plugins
. . . .- Icon in Tray app switches Play/Pause. (thanks to 01micko)
. . . .- Cleanup: Remove Trayapp setting in rc.
- Updated About information.
- Nad4: link to new addmode-icon.
- Bugfix: Make /tmp/ dir during install sticky. (thanks to 01micko)
- Bugfix: Moving progress slider halts playing. - Improved, but still not perfect.
- Bugfix: Click on playing track in playlists (replay) hides the play-icon.
See main post
Changelog
- Updated dependencies
. . . .- gtkdialog 0.8.3
. . . .- ffmpeg 0.11
. . . .- pschedule 1.1.2
- Export
. . . .- Presets for convertion.
. . . .- Disable bitrate/samlerate/channel options when choosing flac. (requires gtkdialog 0.8.3)
. . . .- Removed option to save exported files to m3u.
. . . .- Simplified gtkdialog code.
. . . .- Accept blank settings for channel/bitrate/samplerate.
- Add to playlist
. . . .- Option to Add all from the smartadd dock.
. . . .- Add non-existing file gives option to remove file from db.
. . . .- Bugfix: Add after playing always grabs the first instance of the song (in case of several).
. . . .- Bugfix: Msg: File does not exist: Bold text doesn't work if not valid utf-8 filename.
- Overview -> Most played -> now set to last 30 days instead of 60 (variable RATING_PERIODE in rc).
- Searchresult shows rating of all times instead of using variable RATING_PERIODE in rc.
- Podcast
. . . .- Simplified manager gui.
. . . .- New dialog to delete a pod.
. . . .- Bugfix: Show next run (human readable) in pSchedule.
- New playmode: None --> stop after playing song.
- Improved tooltips for playmode and addmode.
- Trackinfo
. . . .- Album-tag: Option to choose Album from discography.
. . . .- Support embedded image files (albumart) to audio file.
. . . . . . . .- Use as default albumart if exist.
. . . . . . . .- Write embedded image to audio file from albumart tab (save button).
. . . . . . . .- Added as refresh-albumart source.
. . . . . . . .- Also supported by masstagger.
. . . .- Don't reload trackinfo if corresponding info already exist
. . . . . . . .- ie. same album or when moving slider.
. . . . . . . .- This gives a marked reduction of cpu usage.
. . . .- Lyrics: #8217 is set to ' in lyricswiki converter
. . . .- Lyrics: Edit (button) not found lyrics, now makes an empty lyrics file.
. . . .- Message if searching alternativ tags and no web connection.
. . . .- Albumart: default size is set to 400px - click for full size.
. . . .- Save tags: blank tag-icons immediately to show action.
. . . .- By default, suggest an album tag from an album/single instead of various-artist-album.
. . . .- Bugfix: Tracknr-tag is now by default choosen depending on album - next searces for singles or compilations.
. . . .- Bugfix: No internet gave 2 messages when searching for alternative tags.
. . . .- Bugfix: If changing a Artist/Title tag before clicking 'Alternative tags' old tag-info are back after new tags are activated.
. . . .- Bugfix: Read stream info from ffmpeg 0.11 >
. . . .- Bugfix: Saving tags breaks album-pmu-detection.
- Rewritten Radiohits grabber.
. . . .- All streamrippers in one gui.
. . . .- Option to delete a preset.
. . . .- Advanced expander: Allow manual options to streamripper command.
. . . .- Advanced expander: Show streamripper command.
. . . .- Bugfix: Apply several RadioHits grabbers simultaniously could corrupt MyMusic index.
- Gtkdialog
. . . .- Only supported gtkdialog executable is now 'gtkdialog'. (thanks to 01micko)
. . . .- Link to gtkdialog homepage in about dialog.
- Use bash as the interpreter for all scripts.
- Save (playlist)
. . . .- More logical auto-setting of 'save-path' in save dialog.
. . . .- Tooltip for option: Include path.
. . . .- Bugfix: Add more info (1.col of sourcelist) to mymusic index.
- Set 'all time' as default time-periode in most-played dialog.
- Update length-description in db after use of $AUDIO_EDITOR (MhWaveEdit).
- Masstagger
. . . .- Handle embedded albumart.
. . . .- Bugfix: Clear tags.
. . . .- Bugfix: Set genre to Blues from drop-down menu.
- Plugins
. . . .- Icon in Tray app switches Play/Pause. (thanks to 01micko)
. . . .- Cleanup: Remove Trayapp setting in rc.
- Updated About information.
- Nad4: link to new addmode-icon.
- Bugfix: Make /tmp/ dir during install sticky. (thanks to 01micko)
- Bugfix: Moving progress slider halts playing. - Improved, but still not perfect.
- Bugfix: Click on playing track in playlists (replay) hides the play-icon.
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA