Tried the above code. It gave me a full screen display with no controls so the only way out was to re-start X. It looks as though you provided a status bar and exit control, but neither displayed, album art also did not update with track change. Never simple is itzigbert wrote:This is easy to set up in PmusicDaveS wrote:OK, feature request... It would be great if the album art could be displayed on the screen in a separate window, which updates as tracks are switched, so that anytime I am just using my pc as a music supply box, dinner parties etc
Imagine you build your own preset 'Nowplaying' containg this:Store it in /usr/local/pmusic/preset.Code: Select all
#!/bin/bash set -a . $APPDIR/gui_misc HEIGHT=`xwininfo -root | grep -m 1 '\geometry' | cut -f4 -d ' ' | cut -f2 -d 'x' | cut -f1 -d '+'` WIDTH=`xwininfo -root | grep -m 1 '\geometry' | cut -f4 -d ' ' | cut -f1 -d 'x'` GUI=' <window title="Pmusic" icon-name="gtk-media-stop" default_height="'$HEIGHT'" default_width="'$WIDTH'" decorated="false"> <vbox homogeneous="true"> <vbox> <hbox homogeneous="true"> <vbox> <pixmap> <variable>ARTWORK</variable> <input file>'$HOME'/.pmusic/nowplaying_albumart.jpg</input> </pixmap> </vbox> </hbox> </vbox> '$GUI_PROGRESSBAR' </vbox> <action signal="hide">exit:Exit</action> </window>'
After starting the music playlist in the ordinary Pmusic you call your new preset from terminal:Code: Select all
pmusic -j -p Nowplaying
The tagging lib in Pmusic is id3lib that lacks support of album art (correct me if I'm wrong). If you know a tiny lib that allows read/write of this, please tell me.DaveS wrote:Album either downloaded in real time or (preferably) extracted from local track tags.
Sigmund
pMusic 6.0.0
Spup Frugal HD and USB
Root forever!
Root forever!
Puppy Linux Blog - contact me for access
Version 2.2.2
See main post
Changelog
- NowPlaying preset (thanks to DaveS).
- Presets are available from View-menu.
- Save playlist: Show only m3u-files in filechooser dialog.
- Save playlist: Go to correct dir in filechooser dialog.
- Show filesize in Track-info --> Stream tab.
- Set rating via right-click-menu
- Remove shortcuts to rating/recent (in preferences) in Overview.
- pmusic --dump-gtk
- Pmusic -D in Menu->Help->Dependency check.
- Bumped requested pfilesearch to latest 1.28
- Removed mass-tagging option in Track-info dialog.
- Bugfix: Add playlist with non-existing files and no length-definition.
- Bugfix: Choose file in save-dialog.
- Bugfix: The WebMusic menu grows (doubles all items) when swithing Preset.
- Bugfix: Track-info dialog: Keep the word 'Genre' at right when scaling the window.
- Bugfix: Deactivate CD-menuitem in Music-source menu if no device is present.
- Bugfix: Importing stream from Streamtuner shows meta-header as a unique track.
- Bugfix: Wary: Classic preset: search filter needs more space.
- NLS: Added: LOC_SIZE, 180, 181, 195
- NLS: Removed: LOC658
See main post
Changelog
- NowPlaying preset (thanks to DaveS).
- Presets are available from View-menu.
- Save playlist: Show only m3u-files in filechooser dialog.
- Save playlist: Go to correct dir in filechooser dialog.
- Show filesize in Track-info --> Stream tab.
- Set rating via right-click-menu
- Remove shortcuts to rating/recent (in preferences) in Overview.
- pmusic --dump-gtk
- Pmusic -D in Menu->Help->Dependency check.
- Bumped requested pfilesearch to latest 1.28
- Removed mass-tagging option in Track-info dialog.
- Bugfix: Add playlist with non-existing files and no length-definition.
- Bugfix: Choose file in save-dialog.
- Bugfix: The WebMusic menu grows (doubles all items) when swithing Preset.
- Bugfix: Track-info dialog: Keep the word 'Genre' at right when scaling the window.
- Bugfix: Deactivate CD-menuitem in Music-source menu if no device is present.
- Bugfix: Importing stream from Streamtuner shows meta-header as a unique track.
- Bugfix: Wary: Classic preset: search filter needs more space.
- NLS: Added: LOC_SIZE, 180, 181, 195
- NLS: Removed: LOC658
Hi zigbert, This is about the tiniest thing ever, but I notice that libavcodec can decode mpc audio files, but Pmusic doesn't seem to recognize them. Not many people have mpc (musepack) audio files of course.
Also, I posted Pmusic_Upgrade for Lucid 5.2.8 so Lucid users can upgrade to the new Pmusic. (The Pmusic Upgrade has the necessary ffmpeg 0.8.x.) Thanks.
Also, I posted Pmusic_Upgrade for Lucid 5.2.8 so Lucid users can upgrade to the new Pmusic. (The Pmusic Upgrade has the necessary ffmpeg 0.8.x.) Thanks.
Just a status report for the next Pmusic.
It is still far from finished, but some of the major stuff is already in place.
The lack of Pmusic (as my daughters see it) is that spotify is 'required' to easy get the newest hits. That will not be an issue anymore. They will get "Potify" for Christmas
It took some time to settle on how to implement the support of streamripper. It is optional, so Pmusic will run perfectly without it, but it has several benefits, and I find its size acceptable (115kb uncompressed). One of the good things about streamripper is that it also plays streams much better that ffmpeg, so Pmusic will prefer it if available. This makes Pmusic actually support all 6000 radio stations available (as long as the URL is alive/correct). I think we should offer a unique radio-frontend (as the CD-player/ripper)....
It is still far from finished, but some of the major stuff is already in place.
The lack of Pmusic (as my daughters see it) is that spotify is 'required' to easy get the newest hits. That will not be an issue anymore. They will get "Potify" for Christmas
It took some time to settle on how to implement the support of streamripper. It is optional, so Pmusic will run perfectly without it, but it has several benefits, and I find its size acceptable (115kb uncompressed). One of the good things about streamripper is that it also plays streams much better that ffmpeg, so Pmusic will prefer it if available. This makes Pmusic actually support all 6000 radio stations available (as long as the URL is alive/correct). I think we should offer a unique radio-frontend (as the CD-player/ripper)....
Glad I could surprise
Title: Stop kidding - Get down!
http://sigmundberglund.com/bilder/utval ... 20ned.html
Title: Stop kidding - Get down!
http://sigmundberglund.com/bilder/utval ... 20ned.html
Version 2.3.0 is uploaded
See main post
Notes for this release!
1.)
To enjoy the latest news in Pmusic you will need to install 'streamripper'. It is available from the Puppy package manager. It is a rather small program of about 125kb uncompressed. With streamripper Pmusic will be lifted dramatically when it comes to radio playback and ripping. See the Music-source 'Radio Hits'.
2.)
There is hidden a unique frontend for radio-enthusiasts. Hidden because the official Puppy iso lacks streamripper. You can still use it by executing:
/usr/local/pmusic/pmusic -j -p '.Radio'
3.)
There is also hidden support for playback of youtube streams. It is depending on the executable movgrab. This will hopefully be changed in the future, so that Pmusic itself can support youtube. This is most to show how things can be done. You'll find a pet of an youtube index at the same url where you downloaded Pmusic 2.3.0.
Changelog
- Support of streamripper (optional).
. . . Trustful playback of mp3/ogg radio-streams.
. . . Show metainfo (for playing track) for radio stream.
. . . New Radio-Hits module to grab tracks from radio-streams.
. . . . . . Store tracks on local disc.
. . . . . . Fully integarted with Pmusic infrastructure.
. . . . . . Includes tested presets to build music-DB of chosen genre.
- Switch to Mananger as default frontend.
- Rewritten 'Search-filter selector' in the main window.
- Improved radio-station-db to include about 11000 stations.
- New Radio frontend.
- New Manager_LowPowered frontend for older systems.
- Edit audio-stream (right-click menu) and store meta-info.
- Added support of *.mpc files. (thanks to playdayz)
- Allow only one playing track (stop previous) using -B switch.
- Allow artwork in Manager to be wider than square.
- Moved all menuitems for setting up music sources from File to Music-Sources.
- Show active frontend in View-menu.
- Reorganized preferences window.
- Export: Option to build playlist of exported tracks.
- Export gui has got a minor cleanup.
- Added streamripper (split radio into tracks) option to export.
- Number of multiple playlists are increased to 9.
- 'Search while typing' as option in preferences (default off).
- Option to set external programs in preferences.
- Search Webmusic is off by default - no index gives slower search. Turned on when index is installed.
- Youtube as possible new WebMusic source (requires the movgrab executable). No export support.
- A bit darker button-icons in the default theme.
- Click 'Rating' / 'Recent' in overview now shows dbs.
- Updated Webmusic (jamendo) index.
- Bugfix: Show levels for vol/bal at startup when not using Classic frontend.
- Bugfix: Don't show open-menuitem when not running Classic frontend.
- Bugfix: Don't show cursor in info-fields in the track-info window.
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
- Bugfix: Remove track from playlist via right-click menu
- Bugfix: Search with pfilesearch (even if off) if no indexes is built.
- Bugfix: track info spins too long for some radio URLs.
- Bugfix: Reading ID3 info containg ':'
- Bugfix: Searching jamendo.com (no index file) froze Pmusic if no connection.
- Bugfix: Close Radio-index window after finished building new db.
- Bugfix: Play icon in playlist don't show if song is twice in list.
- Bugfix: Show streaminfo for radio-stations that contains non-english chars.
- NLS: Added: LOC_AUDIOEDITOR, EXPORT, MOREINFO, PRESET, SETUP, WEBBROWSER, 139, 229, 263, 287, 288, 2911, 2912, 2913, 751, 752, 753, 760, 761, 762, 763, 764, 770, 771, 810, 846, 849
- NLS: Changed: LOC222, 267, 290, 292, 298, 490, 631, 636, 725
- NLS: Removed: LOC104, 106, 107, 109, 1010, 114, 263, 494
See main post
Notes for this release!
1.)
To enjoy the latest news in Pmusic you will need to install 'streamripper'. It is available from the Puppy package manager. It is a rather small program of about 125kb uncompressed. With streamripper Pmusic will be lifted dramatically when it comes to radio playback and ripping. See the Music-source 'Radio Hits'.
2.)
There is hidden a unique frontend for radio-enthusiasts. Hidden because the official Puppy iso lacks streamripper. You can still use it by executing:
/usr/local/pmusic/pmusic -j -p '.Radio'
3.)
There is also hidden support for playback of youtube streams. It is depending on the executable movgrab. This will hopefully be changed in the future, so that Pmusic itself can support youtube. This is most to show how things can be done. You'll find a pet of an youtube index at the same url where you downloaded Pmusic 2.3.0.
Changelog
- Support of streamripper (optional).
. . . Trustful playback of mp3/ogg radio-streams.
. . . Show metainfo (for playing track) for radio stream.
. . . New Radio-Hits module to grab tracks from radio-streams.
. . . . . . Store tracks on local disc.
. . . . . . Fully integarted with Pmusic infrastructure.
. . . . . . Includes tested presets to build music-DB of chosen genre.
- Switch to Mananger as default frontend.
- Rewritten 'Search-filter selector' in the main window.
- Improved radio-station-db to include about 11000 stations.
- New Radio frontend.
- New Manager_LowPowered frontend for older systems.
- Edit audio-stream (right-click menu) and store meta-info.
- Added support of *.mpc files. (thanks to playdayz)
- Allow only one playing track (stop previous) using -B switch.
- Allow artwork in Manager to be wider than square.
- Moved all menuitems for setting up music sources from File to Music-Sources.
- Show active frontend in View-menu.
- Reorganized preferences window.
- Export: Option to build playlist of exported tracks.
- Export gui has got a minor cleanup.
- Added streamripper (split radio into tracks) option to export.
- Number of multiple playlists are increased to 9.
- 'Search while typing' as option in preferences (default off).
- Option to set external programs in preferences.
- Search Webmusic is off by default - no index gives slower search. Turned on when index is installed.
- Youtube as possible new WebMusic source (requires the movgrab executable). No export support.
- A bit darker button-icons in the default theme.
- Click 'Rating' / 'Recent' in overview now shows dbs.
- Updated Webmusic (jamendo) index.
- Bugfix: Show levels for vol/bal at startup when not using Classic frontend.
- Bugfix: Don't show open-menuitem when not running Classic frontend.
- Bugfix: Don't show cursor in info-fields in the track-info window.
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
- Bugfix: Remove track from playlist via right-click menu
- Bugfix: Search with pfilesearch (even if off) if no indexes is built.
- Bugfix: track info spins too long for some radio URLs.
- Bugfix: Reading ID3 info containg ':'
- Bugfix: Searching jamendo.com (no index file) froze Pmusic if no connection.
- Bugfix: Close Radio-index window after finished building new db.
- Bugfix: Play icon in playlist don't show if song is twice in list.
- Bugfix: Show streaminfo for radio-stations that contains non-english chars.
- NLS: Added: LOC_AUDIOEDITOR, EXPORT, MOREINFO, PRESET, SETUP, WEBBROWSER, 139, 229, 263, 287, 288, 2911, 2912, 2913, 751, 752, 753, 760, 761, 762, 763, 764, 770, 771, 810, 846, 849
- NLS: Changed: LOC222, 267, 290, 292, 298, 490, 631, 636, 725
- NLS: Removed: LOC104, 106, 107, 109, 1010, 114, 263, 494
I will upload tomorrow Dpup Exprimo 5.X.10.3. Pmusic 2.3.0 with streamripper and pequalizer included. Pmusic works fine. Thank you Zigbert of your continuous work with this great music player-manager-stripper and what next in future.
- Attachments
-
- Pmusic-2.3.0-Dpup-Exprimo.jpg
- (36.31 KiB) Downloaded 552 times