Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 Jan 2020, 23:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 6.0.0
Post new topic   Reply to topic View previous topic :: View next topic
Page 143 of 156 [2336 Posts]   Goto page: Previous 1, 2, 3, ..., 141, 142, 143, 144, 145, ..., 154, 155, 156 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Fri 15 Jul 2016, 17:15    Post subject:  

trio wrote:
Remember pwidgets days? Very Happy
I remember those days with pleasure Very Happy
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 Laughing

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Fri 15 Jul 2016, 17:17    Post subject:  

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...
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
live

Joined: 10 Feb 2010
Posts: 223

PostPosted: Sat 16 Jul 2016, 06:27    Post subject:  

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
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Sat 16 Jul 2016, 11:34    Post subject:  

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...
forum.png
 Description   
 Filesize   99.26 KB
 Viewed   356 Time(s)

forum.png

pmusic-5.1.2.pet
Description 
pet

 Download 
Filename  pmusic-5.1.2.pet 
Filesize  113.07 KB 
Downloaded  175 Time(s) 

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
live

Joined: 10 Feb 2010
Posts: 223

PostPosted: Sat 16 Jul 2016, 16:07    Post subject:  

Thanks Smile

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
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1268

PostPosted: Sat 16 Jul 2016, 16:55    Post subject:  

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:
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.
Screenshot_2016-07-16_19.53.24.jpg
Description 
jpg

 Download 
Filename  Screenshot_2016-07-16_19.53.24.jpg 
Filesize  192.7 KB 
Downloaded  191 Time(s) 
pmusic.mo.gz
Description  remove false .gz and copy to /usr/share/locale/es/LC_MESSAGES
gz

 Download 
Filename  pmusic.mo.gz 
Filesize  52.81 KB 
Downloaded  157 Time(s) 
pmusic.tar.gz
Description  pMusic 5.0.5 scripts now include TEXTDOMAIN to make translations properly.
gz

 Download 
Filename  pmusic.tar.gz 
Filesize  104.07 KB 
Downloaded  156 Time(s) 

_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Sun 17 Jul 2016, 19:32    Post subject:  

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:
# 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.
forum.png
 Description   
 Filesize   79.54 KB
 Viewed   302 Time(s)

forum.png


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Sun 17 Jul 2016, 19:42    Post subject:  

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.

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1268

PostPosted: Mon 18 Jul 2016, 23:41    Post subject:  

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:
# 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.
Shot_2016-07-18_23.28.02.png
Description 
png

 Download 
Filename  Shot_2016-07-18_23.28.02.png 
Filesize  151.13 KB 
Downloaded  218 Time(s) 

_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Tue 19 Jul 2016, 19:02    Post subject:  

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?

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Tue 19 Jul 2016, 20:36    Post subject:  

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

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Tue 19 Jul 2016, 21:36    Post subject:  

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/pequalizer-0.9.0-x86_64-1.txz
_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Wed 20 Jul 2016, 17:34    Post subject:  

smokey
Thanks for testing and feedback.

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

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Thu 21 Jul 2016, 20:43    Post subject:  

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.
pMusic-CD-Audio-player-with-cddb.png
 Description   libcddb loaded.
 Filesize   24.14 KB
 Viewed   157 Time(s)

pMusic-CD-Audio-player-with-cddb.png

pMusic-CD-Audio-player-without-cddb.png
 Description   libcddb not loaded
 Filesize   50.34 KB
 Viewed   161 Time(s)

pMusic-CD-Audio-player-without-cddb.png


_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6626
Location: Valåmoen, Norway

PostPosted: Fri 22 Jul 2016, 04:30    Post subject:  

smokey01
Looks like we have different versions of libcddb. I tested
Code:
cddb_query --version
, but no version information
The command used in pMusic is
Code:
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:
# 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.

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 143 of 156 [2336 Posts]   Goto page: Previous 1, 2, 3, ..., 141, 142, 143, 144, 145, ..., 154, 155, 156 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4482s ][ Queries: 13 (0.3920s) ][ GZIP on ]