pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#981 Post by DaveS »

zigbert wrote:
DaveS 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
This is easy to set up in Pmusic :D
Imagine you build your own preset 'Nowplaying' containg this:

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>'
Store it in /usr/local/pmusic/preset.
After starting the music playlist in the ordinary Pmusic you call your new preset from terminal:

Code: Select all

pmusic -j -p Nowplaying
DaveS wrote:Album either downloaded in real time or (preferably) extracted from local track tags.
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.


Sigmund
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 it :)
Spup Frugal HD and USB
Root forever!

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

#982 Post by zigbert »

DaveS
2.2.2 will solve it.

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

#983 Post by DaveS »

zigbert wrote:DaveS
2.2.2 will solve it.
:)
Spup Frugal HD and USB
Root forever!

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

#984 Post by DaveS »

Zigbert, is it possible to get 221 to run in Spup1? I installed id3lib, but then got a bunch of gtkdialog errors.
Spup Frugal HD and USB
Root forever!

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#985 Post by 01micko »

Puppy Linux Blog - contact me for access

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

#986 Post by zigbert »

Mick
Good to see you back on track after a well-deserved break :D

un-named-one

pmusic

#987 Post by un-named-one »

Hey, just a quick question.

What puppy version is Pmusic 2.2.1 compiled in?

Thanks

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

#988 Post by zigbert »

un-named-one
Pmusic is not compiled at all, since it is a simple bash-script.


Sigmund

un-named-one

#989 Post by un-named-one »

Oh. Yeah. :oops:
I suppose that I should have realized that.
Thanks,
Nomer

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

#990 Post by zigbert »

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

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

#991 Post by playdayz »

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.

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

#992 Post by zigbert »

mpc recognition is added.
Thank you Larry!


Sigmund

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

#993 Post by DaveS »

Apologies for slow reply. Now Playing view is brilliant thanks :)
Everything else working just fine :) :)
Spup Frugal HD and USB
Root forever!

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

#994 Post by DaveS »

Brilliant

Image
Spup Frugal HD and USB
Root forever!

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

#995 Post by zigbert »

DaveS wrote:Now Playing view is brilliant thanks :)
If there is anything you see to improve it, please tell.


Sigmund

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

#996 Post by zigbert »

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

Image

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

Image

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

#997 Post by Dougal »

zigbert wrote: The lack of Pmusic (as my daughters see it)
:shock: :shock: :shock: :shock: :shock:
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:

#998 Post by zigbert »

Glad I could surprise :D

Image
Title: Stop kidding - Get down!
http://sigmundberglund.com/bilder/utval ... 20ned.html

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

#999 Post by zigbert »

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

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#1000 Post by pemasu »

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

Post Reply