pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2131 Post by zigbert »

trio wrote:Remember pwidgets days? :D
I remember those days with pleasure :D
I haven't seen anything like it around here since then.

Wonder where tasmod is...
...and what happened to the other guy? If I remember correct, I think his name was 01micko.
He's probably around here somewhere :lol:

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

#2132 Post by zigbert »

live wrote:>I can send you the very latest code.
Send it and I will look into it.
I send you it as fast as I have done some basic improvements - give me a couple of days...

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#2133 Post by live »

Oh, just send it so, I'll cast a first look, it'll give me so inside to propose solutions.

In a couple of days I'll be on holiday

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

#2134 Post by zigbert »

Ok, here's a draft.
Looking at the code, it is clear that this module of pMusic hasn't got priority.
Any input are welcome. I am a newbie to podcasts, and if we gonna reach a better user experience, I need help.

Some new features and it now follows the new gui standard for the upcoming 5.2.0

This release is to be considered as a draft for discussion. It's not heavily tested and is probably more unstable than the previous releases.

I have deactivated visualization because it conflicts with many podcast formats. I will look at that later...
Attachments
forum.png
(99.26 KiB) Downloaded 368 times
pmusic-5.1.2.pet
(113.07 KiB) Downloaded 245 times

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#2135 Post by live »

Thanks :)

OK, let's start by explaning what one does with podcasts.

As with music, for each podcast entry/title one needs to see:
1. to which channel/album it belongs, some podcast channels may have hundreds of titles.
2. its description, hopefully split into author, title, duration, track date, downloaded date


One is interested (= subscribes) to some channels, in doing so, one distinguishes 3 status (flags => different appearance styles):
1. new podcasts (that will need to be downloaded, possibly with a filter - typically a limiting number)

2. already downloaded podcast, that will be deleted (often automatically with some user set rule, typically after a period of time)

3. already downloaded podcast, that one wants to archive, keep and NOT delete.

Now, with pMusic.
I think podcast grabber window should be limited to manage subscriptions and possibly if you want display the new released podcats, since last download.

All the rest ought to be in the main window, as for music.

With the present version 512, it appears to me as extra work to have a list both in the grabber window and the main window.

A good test can be http://radiofrance-podcast.net/podcast09/rss_10351.xml

As previously said, for podcast its useful to know played track, from none.

Some styling suggestions:
* I would make the sliders button <> a bit bigger (one day everyting will be with touchscreen)
* the current played track in the play list, I would use another background color to make it more visible

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#2136 Post by vicmz »

Tested pMusic 5.0.5 in Slacko, Precise and Xenial. I was unable to generate a .pot file with all GUI strings, the file contains about fifty strings and it should contain over five hundred. This is because only the main pmusic script has the required gettext header:

Code: Select all

export TEXTDOMAIN=pmusic
export OUTPUT_CHARSET=UTF-8
Then Momanager only gets gettext strings from that single script. That is why most of the GUI remains in English.

After editing manually all the scripts that contain gettext to include the TEXDOMAIN and OUTPUT_CHARSET, I finally got a .pot file with 554 strings.

Bellow are the edited scripts.

*EDIT

After updating the translations for pMusic, everything still remains in English. Will post again later if I find out why.
Attachments
Screenshot_2016-07-16_19.53.24.jpg
(192.7 KiB) Downloaded 233 times
pmusic.mo.gz
remove false .gz and copy to /usr/share/locale/es/LC_MESSAGES
(52.81 KiB) Downloaded 228 times
pmusic.tar.gz
pMusic 5.0.5 scripts now include TEXTDOMAIN to make translations properly.
(104.07 KiB) Downloaded 226 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

#2137 Post by zigbert »

vicmz
I wonder where the bug is....
To get it work with Spanish (choose es in the preferences), I had to restart the X server. Now I had to go to the preferences once more and press OK to rebuild gui files (since it didn't build Spanish at first attempt).

Even without setting $LANG to es, pmusic reports a gtk error. I checked Gimp and pFind as well, and got the same error. Inkscape on the other hand went straight to Spanish.

???

Code: Select all

# pmusic --debug
/usr/local/pmusic/pmusic: line 454: kill: (11754) - No such process


(process:19684): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Attachments
forum.png
(79.54 KiB) Downloaded 314 times

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

#2138 Post by zigbert »

Thank you for the feedback
live wrote:Now, with pMusic.
I think podcast grabber window should be limited to manage subscriptions and possibly if you want display the new released podcats, since last download.

All the rest ought to be in the main window, as for music.

With the present version 512, it appears to me as extra work to have a list both in the grabber window and the main window.
To be considered. Though, I think it is possible to use the same code for browsing the podcast channels in both the setup dialog and in the main gui.
live wrote:As previously said, for podcast its useful to know played track, from none.
The latest version of pMusic does so... The icon color switches from yellow to green when played.
live wrote:Some styling suggestions:
* I would make the sliders button <> a bit bigger (one day everyting will be with touchscreen)
* the current played track in the play list, I would use another background color to make it more visible
Regarding touchscreen, I believe a unique theme is the best way. Graphical theming in pMusic is gtk-based, and we have tested touchscreen theming in Slacko 6.3.x. and it works well. See pTheme in the Desktop menu.

A different color on the playing track in the playlist would have been nice, but afaik, this is not possible with gtkdialog.

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#2139 Post by vicmz »

zigbert wrote:vicmz
I wonder where the bug is....
To get it work with Spanish (choose es in the preferences), I had to restart the X server. Now I had to go to the preferences once more and press OK to rebuild gui files (since it didn't build Spanish at first attempt).

Even without setting $LANG to es, pmusic reports a gtk error. I checked Gimp and pFind as well, and got the same error. Inkscape on the other hand went straight to Spanish.

???

Code: Select all

# pmusic --debug
/usr/local/pmusic/pmusic: line 454: kill: (11754) - No such process


(process:19684): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Apparently, after setting the system language there is a directory that should be created but is missing.

Following the advice of Wow, I made a symlink to es_AR.utf8 with the name es_AR in /usr/lib/locale (see the screenshot below). Then, I deleted /root/.pmusic and started pMusic, now in full Spanish language using the original scripts of the pet (without TEXTDOMAIN).

There is still the doubt about why Momanager did not create a .pot with all the 500+ lines until I included the TEXTDOMAIN in all scripts, but that is for the Momanager thread.
*EDIT* actually Momanager does require TEXTDOMAIN to be in all gui scripts, it is the only way to create a working .mo

Thank you, Zigbert.
Attachments
Shot_2016-07-18_23.28.02.png
(151.13 KiB) Downloaded 264 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

#2140 Post by zigbert »

vicmz wrote:Following the advice of Wow, I made a symlink to es_AR.utf8 with the name es_AR in /usr/lib/locale
I wonder why /usr/lib/locale doesn't exist at all in my Slacko 6.3.2...
... and what's inside?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#2141 Post by smokey01 »

zigbert I just had a play with 5.1.2 after converting to Fatdog64 package format.

I can confirm the icons are fixed in Fatdog64-710.
The libcddb problem seems to have disappeared.
Rip CD just rips tracks in the playlist, excellent.

Maybe a future feature.
Be able to rip track/s while playing from the same playlist. Currently when playing a song then click on rip, the music stops playing.

I haven't found any more problems yet. It's working great.

Thanks

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#2142 Post by smokey01 »

For Fatdog64-710 users, use the pEqualizer below. I had to add a symlink to make it work with Fatdog. http://smokey01.com/fd710/packages/pequ ... 6_64-1.txz

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

#2143 Post by zigbert »

smokey
Thanks for testing and feedback.

Are there anything I should do to better support the Fatdog package format?

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#2144 Post by smokey01 »

zigbert I was mistaken. The libcddb problem exists.

See the two attached screenshots. One with libcddb loaded, the other without. Both times a CD was in the drive. It doesn't appear libcddb is required as it knows the track information. It also retrieves the lyrics but not the album art. VLC has no problem retrieving the album art so it must use different links.
Attachments
pMusic-CD-Audio-player-with-cddb.png
libcddb loaded.
(24.14 KiB) Downloaded 169 times
pMusic-CD-Audio-player-without-cddb.png
libcddb not loaded
(50.34 KiB) Downloaded 173 times

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

#2145 Post by zigbert »

smokey01
Looks like we have different versions of libcddb. I tested

Code: Select all

cddb_query --version
, but no version information
The command used in pMusic is

Code: Select all

LC_ALL=C cddb_query -i /dev/cdrom read
(/dev/cdrom is not hardcoded, but set in the preferences)

What output do you get when executing this command?
I get:

Code: Select all

# LC_ALL=C cddb_query -i /dev/cdrom read
CD-ROM device: /dev/cdrom
CD contains 10 track(s)
Artist:   Helloween
Title:    Keeper Of The Seven Keys Part II
Genre:    Heavy Metal
Year:     1988
Length:   54:58 (3298 seconds)
10 tracks
  [01] 'Invitation' by Helloween (1:08)
  [02] 'Eagle Fly Free' by Helloween (5:10)
  [03] 'You Always Walk Alone' by Helloween (5:10)
  [04] 'Rise And Fall' by Helloween (4:23)
  [05] 'Dr Stein' by Helloween (5:05)
  [06] 'We Got The Right' by Helloween (5:08)
  [07] 'March Of Time' by Helloween (5:15)
  [08] 'I Want Out' by Helloween (4:41)
  [09] 'Keeper Of The Seven Keys' by Helloween (13:37)
  [10] 'Save Us' by Helloween (5:14)
It might be the -i switch that troubles?
It can be removed, but then user can NOT choose device if there are installed more than one.

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#2146 Post by vicmz »

zigbert wrote:
vicmz wrote:Following the advice of Wow, I made a symlink to es_AR.utf8 with the name es_AR in /usr/lib/locale
I wonder why /usr/lib/locale doesn't exist at all in my Slacko 6.3.2...
... and what's inside?
The locale files to setup the default system language, generated by the C library. I am not experienced in that subject, all I know is that pMusic 4 series did not have this issue, it appeared in pMusic 5 series. I need to test more just in case it is something specific to a couple of Puppy versions.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2147 Post by don570 »

I've noticed that fatdog distro stores the right click menu items in
/etc/xdg/rox.sourceforge.net/SendTo


uextract install script seems to put items there as well.

Joined: 26 Oct 2011
Posts: 1493


PostPosted: Wed 21 Aug 2013, 08:50 Post subject: FatDog/Lighthouse UExtract Instructions Reply with quote
Note for FatDog users:

UExtract seems to work pretty well on this Pup, just before installing, make sure to create one symlink:
Code:
ln -s /etc/xdg/rox.sourceforge.net/SendTo /root/.config/rox.sourceforge.net/OpenWith

and then install UExtract.
Right-click entries will appear, next to the existing ones

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#2148 Post by smokey01 »

These are the results with libcddb-1.3.2 loaded and an audio CD in the drive.
there doesn't seem to be an -i switch in this version of cddb.

LC_ALL=C cddb_query -i /dev/cdrom read
Usage: cddb_query [OPTION] COMMAND [ARG]

Available options:
-c <mode> local cache mode [on|off|only] (default = on)
-D <cache dir> directory for local cache (default = ~/.cddbslave)
-e <charset> character set encoding (default = UTF-8, see iconv -l)
-h display this help and exit
-l <level> log level, one of debug, info, warning, error or
critical (default = warning)
-p <port> port of CDDB server (default = 888)
-P <protocol> server protocol [cddbp|http|proxy] (default = cddbp)
-q quiet, do not print any error or log messages
-s <server> name of CDDB server (default = freedb.org)
-t use track times (in seconds) instead of frame offsets

Available commands:
calc <len> <n> <fo_1> ... <fo_n>
calculate disc ID
query <len> <n> <fo_1> ... <fo_n>
query CDDB server and list all matching entries
read <cat> <id> retrieve disc details from CDDB server
search <str> perform a text search against the CDDB database
album <artist> <title>
perform a text search against the CDDB database (only
works on freedb2.org servers)
sites retrieve a list of mirror sites

Command arguments
<cat> disc category (see below)
<fo_i> without -t: frame offset of track i
with -t: length of track i in seconds
<id> disc ID in hexadecimal
<len> disc length in seconds
<n> track count
<str> search string


Available CDDB categories are:
data, folk, jazz, misc, rock, country, blues, newage, reggae,
classical, and soundtrack

Examples:
To calculate the disc ID of the CD 'Mezzanine' from Massive Attack:

cddb_query calc 3822 11 150 28690 51102 75910 102682 \
121522 149040 175772 204387 231145 268065

To query for matches of the CD 'Mezzanine' from Massive Attack:

cddb_query query 3822 11 150 28690 51102 75910 102682 \
121522 149040 175772 204387 231145 268065

To read the details of the CD 'Mezzanine' from Massive Attack:

cddb_query read misc 0x920ef00b

To search for all CDs with the string 'Mezzanine':

cddb_query search Mezzanine
or
cddb_query album '' Mezzanine
zigbert wrote:smokey01
Looks like we have different versions of libcddb. I tested

Code: Select all

cddb_query --version
, but no version information
The command used in pMusic is

Code: Select all

LC_ALL=C cddb_query -i /dev/cdrom read
(/dev/cdrom is not hardcoded, but set in the preferences)

What output do you get when executing this command?
I get:

Code: Select all

# LC_ALL=C cddb_query -i /dev/cdrom read
CD-ROM device: /dev/cdrom
CD contains 10 track(s)
Artist:   Helloween
Title:    Keeper Of The Seven Keys Part II
Genre:    Heavy Metal
Year:     1988
Length:   54:58 (3298 seconds)
10 tracks
  [01] 'Invitation' by Helloween (1:08)
  [02] 'Eagle Fly Free' by Helloween (5:10)
  [03] 'You Always Walk Alone' by Helloween (5:10)
  [04] 'Rise And Fall' by Helloween (4:23)
  [05] 'Dr Stein' by Helloween (5:05)
  [06] 'We Got The Right' by Helloween (5:08)
  [07] 'March Of Time' by Helloween (5:15)
  [08] 'I Want Out' by Helloween (4:41)
  [09] 'Keeper Of The Seven Keys' by Helloween (13:37)
  [10] 'Save Us' by Helloween (5:14)
It might be the -i switch that troubles?
It can be removed, but then user can NOT choose device if there are installed more than one.

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

#2149 Post by zigbert »

don570 wrote:I've noticed that fatdog distro stores the right click menu items in
/etc/xdg/rox.sourceforge.net/SendTo
I have made a symlink from OpenWith to SendTo for next release. That is how it is done in Slacko.

Thank you

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

#2150 Post by zigbert »

smokey01
Great info!
I think we can solve it by NOT setting the -i switch if CD-device is not set - as in most cases.

Thank you

Post Reply