Page 83 of 117

Posted: Thu 02 May 2013, 17:09
by don570
To Zigbert ..
Your suggestion fixed the problem in Raring distro!!
Also changing to height-request="20" fixed it as well.
The exact same result.

In addition I looked at the code in the gui_misc script and noticed a possible
spelling error...


Image

_________________________________________

Posted: Fri 03 May 2013, 16:55
by zigbert
doon570 wrote:In addition I looked at the code in the gui_misc script and noticed a possible
spelling error...
Yes it is a spelling error, but it actually works anyway :D


Thank you for mention
Sigmund

Posted: Sat 04 May 2013, 17:28
by don570
I was looking at the recent features added to audacious player

[quote]
A new command-line option (--quit-after-play) makes the player exit automatically when finished playing (#230).
A global hotkey can be configured to enable/disable the “stop after current song

Posted: Sat 04 May 2013, 18:05
by zigbert
[quote="don570"]I was looking at the recent features added to audacious player

[quote]
A new command-line option (--quit-after-play) makes the player exit automatically when finished playing (#230).
A global hotkey can be configured to enable/disable the “stop after current song

Posted: Wed 22 May 2013, 23:19
by OscarTalks
Just booted Slacko 5.5 pfix=ram and installed Pmusic 3.3.0
Zigbert's Hoovers music is not playing and other jamendo music plays for a few seconds then stops. Some radio station streams seem OK as usual though.

I was just experimenting with Lucid, trying to compile ffmpeg 0.11.3 and thought it wasn't working but now I wonder if it is a problem with Pmusic since it is the same in Slacko. Maybe my ffmpeg is OK after all.

An ffmpeg from OscarTalks

Posted: Thu 23 May 2013, 15:17
by sheldonisaac
Thanks a lot to OscarTalks for this ffmpeg.

See http://www.murga-linux.com/puppy/viewto ... 116#705116

Posted: Thu 23 May 2013, 15:36
by zigbert
jamendo has switched from http to https which ffmpeg troubles with. I have solved this in pMusic 4, by using wget to download the jamendo-stream - then pipe it to ffmpeg.


Sigmund

icon="/usr/share/icons/hicolor/scalable/apps/pmusic.svg"

Posted: Fri 24 May 2013, 13:45
by sheldonisaac
Hi, the icon="/usr/share/icons/hicolor/scalable/apps/pmusic.svg"
is in my ~/.jwmrc (Lucid Puppy 5.28-005)
but no icon appears in front of "Pmusic player/manager/grabber"

when I access pmusic via the menu

Posted: Fri 24 May 2013, 15:32
by OscarTalks
Sigmund,
Thanks for the explanation. I know you are working on pMusic 4 now so many thanks for doing that. I do notice though that in Lucid Plus 528-005 (which has ffmpeg 0.8.9) I can install pMusic 3.3.0 (along with the newer gtkdialog) and the jamendo music plays. It seems that the ffmpeg 0.11.x is introducing the problem (any 0.11.x ...not just the one I compiled). Your pMusic has lots of features and I can't test them all but are you certain that it needs >=0.11 ?

Also, when you release pMusic 4 will you please clarify the position (in the first post) about pMusic in Puppies which use libav instead of ffmpeg? Version numbers are not parallel between the two.

Sheldon,
I see what you mean. This is if you switch from Openbox to JWM in Lucid, right? This is because that older JWM does not support .svg as a format for the menu icons I believe.

Probably the best solution is to upgrade JWM and restart X. I tested that and it worked for me. I compile the latest version myself but there is this one here:-

http://www.murga-linux.com/puppy/viewtopic.php?t=83949

If for some reason you don't want to upgrade JWM then the other way would be to open the .svg icon in mtpaint, scale it down to 48x48 and save it as PNG format. Name it pmusic.png and place it in /usr/share/icons/hicolor/48x48/apps

The menu icon is defined by the file /usr/share/applications/pmusic.desktop so open that and edit the line in that so it reads:-

Icon=/usr/share/icons/hicolor/48x48/apps/pmusic.png

Then run "fixmenus" and "jwm -reload"

Posted: Fri 24 May 2013, 17:20
by zigbert
OscarTalks wrote:are you certain that it needs >=0.11 ?
pMusic works with ffmpeg 0.8, but pMusic 3 introduced specific features that requires ffmpeg 0.11. If I recall correct that was (at least) embedding of album-art to the audio-file. Later, I hope to take advantage of new features released in ffmpeg 1.2, but still, ffmpeg 0.8 should do the playing without trouble.
OscarTalks wrote:will you please clarify the position (in the first post) about pMusic in Puppies which use libav instead of ffmpeg? Version numbers are not parallel between the two.
At the moment, I don't know anything about libav. I develop with ffmpeg, but this might change if the Puppy headmasters settle on libav instead. For me, it's not critical which one of them we use, but it is troublesome to keep the track of both. I maintain too much code in Puppy already, and I try to be strict to avoid a private overload.


Sigmund

Posted: Sat 25 May 2013, 09:44
by zigbert
Things are shaping up

here are the latest smart-add dock
Image

Posted: Sun 26 May 2013, 08:57
by zigbert
pMusic 4 vs 3



Image




Image

Posted: Fri 31 May 2013, 21:53
by zigbert
Since Spotify added playlist-groups the other day, I found best to supports this as well :)
In pMusic the corresponding feature is called Favorite groups

Image

Image

Posted: Thu 06 Jun 2013, 08:05
by zigbert
Updated the NAD theme, the FAQ and the default frontend for pMusic 4

Image

Posted: Sat 08 Jun 2013, 00:57
by zigbert
Uploaded a fresh index for radio-stations


Sigmund

Posted: Sat 08 Jun 2013, 01:20
by zigbert
Uploaded new versions of the frontends LowPowered and Wings to cooperate with pMusic 4

Posted: Sat 08 Jun 2013, 09:01
by zigbert
Version 4.0.0
See main post

Changelog
- Bump dependencies to gtkdialog-svn_512
- Sourcelist.
. . . .- Right-click menu for Favorites/Music/File/Dir management.
. . . .- Multiple selection.
. . . .- Expand/collapse playlists by doubleclick.
. . . .- Icons for playlist and track (with rating indication).
. . . .- 'Repair playlist' is moved here from main menu.
- Favorites - New module.
. . . .- Replaces Bookmarks, Multiple playlists and Overview.
. . . .- Cooperates with the rating module.
. . . .- New internal playlist file-format (pmd) that contains info from db.
. . . .- Possible to group favorite playlists.
. . . .- Default favorite marks is $HOME and Jamendo Top100
- Moved from single-click to double-click for main actions.
- MyMusic DB
. . . .- Include DB-editor
. . . .- Remove menuitems tracks/collections from Music_sources menu
. . . .- Do not include files from /incomplete/ dir (streamripper).
. . . .- Use album column for pmu-albums (pmusic generated).
. . . .- Improve file locking to avoid db corruption.
. . . .- Save backup of db when doing a full indexing.
- Repair playlist / rebuild album.
. . . .- Moved from main menu to right-click menu in sourcelist
. . . .- Auto-repair when adding tracks from playlists. Searching db for similar info.
. . . .- New dialog to manually set missing source. Right-click in sourcelist or trackinfo - albumtab.
- Radio-Hits
. . . .- Right-click menu to browse and add to favorites.
. . . .- Remove sub-menu in main gui.
. . . .- Add radiohits dir to favorites when preset is saved.
- Browsing.
. . . .- Show icons.
. . . .- Do only search symlinks for directories.
. . . .- Expand/collapse playlists.
. . . .- Bugfix: Add a track from a dir NOT in db should update db with all tracks in dir.
- Search.
. . . .- Separate collections into My Playlists and pMusic albums.
. . . .- Tooltip-markup for search-field
. . . .- Default info-text (instead of $HOME) in search-field.
. . . .- If no 'collections' is found, skip heading(s).
- Playque.
. . . .- Right-click menu: Deactivate also icons for deactivated items.
. . . .- If source isn't found, search alternative source in db.
- Rating.
. . . .- Also provide icon to tracks rating.
- Smartadd.
. . . .- Rating filter.
. . . .- Set source.
- Dialog 'Db mismatch...'
. . . .- Bugfix: Move entire directory failed.
. . . .- Bugfix: Move entire directory could lead to double entries in db.
. . . .- Bugfix: Fix links in trackinfo album-tab.
. . . .- Bugfix: Lock db while updating.
- Webmusic
. . . .- Allow https streams.
. . . .- Bugfix: Jamendo has moved URL and ffmpeg doesn't support the new https location. We pipe it through wget.
- Trackinfo.
. . . .- Bugfix: Album: Update track-list is same artist but different album.
- Playmode has got its own menu.
- All builtin grapichs are now svg.
- Improved CD-audio detection.
- Updated FAQ.
. . . .- Explained rating model.
. . . .- Mostly removed not relevant stuff.
- Updated NAD theme.
- Updated Manager frontend with more accurate placement of volume slider.
- Removed function file box_progress --> not in use.
- Removed frame around now-playing svg in main gui.
- Updated info in about dialog.
- Top Hits plugin.
. . . .- Don't close window after building list.
. . . .- Include in pMusic pet.
. . . .- Option to add new list to favorites.
. . . .- Default date is set today.
- Bugfix: Add playlist externally: show filename default in save-dialog.
- Bugfix: Open pmu from Rox --> play/pause icon fails.
- Bugfix: import m3u list: Use current path if path is invalid
- Bugfix: Add m3u that contains link to non-existing file.
- Bugfix: Statusbar too narrow in Puppy Raring. (thanks to don570)
- Bugfix: Build DB with meta-tags if no mymusic db file doesn't already exist.
- Bugfix: Quick update of DB when adding tracks via a playlist file.
- Bugfix: missing gettext info in pmusic_cd. (thanks to robwoj44)
- Bugfix: open pMusic with all tracks in dir with command 'pmusic /dir' doesn't work (thanks to PaulR)
- Bugfix: About: Link to gtkdialog kept graphical theme of pMusic.

Posted: Sat 08 Jun 2013, 09:03
by zigbert
This post will be used to post extra stuff/info about the 4. generation of pMusic
Main post in this thread is linked here - Release notes.


4.0.x Highlights
  • The new Favorites-module replaces bookmarks, multiple playlists and overview.
  • Right-click menus has given a simplified workflow/gui with enhanced features (like playlist/file management).
  • Sourcelist now supports multiple selection. In combination with right-click options this makes management much more powerful.
  • The handling of the dynamic DB is now so good that searching is preferred over browsing.
  • Tighter integration of RadioHits Grabber and TopHits plugin.
  • All graphics/themes are now svg.
  • The rating module is extended to also use graphics, but still lighting fast.
  • Complete changelog here.

4.0.x Notes
  • Version upgrade from version 3.x.x is ok, but not from 2.x.x. For a fresh install, please remove /root/.pmusic/
  • pMusic 4 does NOT use UTF-8 when internally working with the db (grep). If anyone meets issues regarding this, I really want to hear. There is a global variable to change this in line 15 in /usr/local/pmusic/pmusic.
  • Some features didn't make it into this release, but things are not stopping here...
  • This release require an updated gtkdialog - attached.
  • Note to Precise/Racy/Lucid users; You might think that the builtin ffmpeg-0.8 is too old since pMusic 3/4 requires 0.11. BUT, most will work ok with ffmpeg-0.8. pMusic take advantage of new features in 0.11 (ie. embedding of albumart into audio-files), but core functions are untouched.

Sigmund

Posted: Sat 08 Jun 2013, 18:32
by zigbert
I have attached a gtkdialog pet for Precise in previous post.

Posted: Sun 09 Jun 2013, 13:17
by OscarTalks
Hello Sigmund,

Been doing a bit of quick testing of pMusic 4.0.0
Looks good in Slacko (except for missing tray app icon - see below).

In Precise (and other Puppies with earlier JWM) the menu icon is missing because of not supporting .svg icons I think. Maybe you need to include a .png icon somewhere to cover this. Files and streams are playing with the libav-0.8.x (ffmpeg substitute).

Not sure if you are intending to support Wary/Racy with pMusic 4.0.0 but I compiled gtkdialog r514 in Racy and installed pMusic. The Hoovers music plays but there is no GUI. Console shows a segmentation fault

Code: Select all

# pmusic
grep: /root/.pmusic/pmusicrc: No such file or directory
/usr/local/pmusic/pmusic: line 46: [: : integer expression expected
cat: /root/.pmusic/index_mymusic: No such file or directory
gtk-update-icon-cache: Cache file created successfully.
cat: /root/.pmusic/tmp/sourcelist: No such file or directory
/usr/local/pmusic/pmusic: line 465: 28528 Segmentation fault      $GTKDIALOG -f $WORKDIR/xml_pmusic${XML_SUFFIX} -G +"$X"+"$Y" 2>$STDERR
#
By the way, sorry if this has been covered before, but what are we supposed to do with the 2 symlinks named gtkdialog and the files gtkdialog3 and gtkdialog4 in /usr/sbin and /usr/bin? Is the arrangement in Slacko with everything in /usr/sbin the best way?

Edit:- In Slacko the tray app is missing the icon for Pause / Play