pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

locale not working

#1216 Post by vicmz »

Pmusic 2.6.3 working fine. The only bug is the GUI remains English despite default system language being Spanish. I'm translating the latest Pmusic and I can't see the translations on the GUI. I tried restarting X and rebooting, no changes. I have a Wary 5.3 frugal install to USB key, UTF-8 turned on.

BTW, I like the new choice for saving geometry, makes it more comfortable.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

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

#1217 Post by 01micko »

Hi Sigmund

I should learn to read code :oops:

I see your intention in the pinstall.sh and what I reference was wrong. It may even break stuff in a current running system, though will more likely just error and not run.

The stuff you intend to happen in woof can't because $HOME is not defined. Until woof supports multiuser the only way is either hard code to root or not have that routine. Also /tmp don't exist until the system is up and running. I just glanced at $HOME and didn't read the code knowing in my head $HOME can't exist in the build system. Sorry!

Maybe you could hide your code elsewhere and make it part of the pmusic initial code generation? That would work.

Cheers
Puppy Linux Blog - contact me for access

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

Re: locale not working

#1218 Post by zigbert »

vicmz wrote:Pmusic 2.6.3 working fine. The only bug is the GUI remains English despite default system language being Spanish. I'm translating the latest Pmusic and I can't see the translations on the GUI. I tried restarting X and rebooting, no changes. I have a Wary 5.3 frugal install to USB key, UTF-8 turned on.

BTW, I like the new choice for saving geometry, makes it more comfortable.
I 'think' your problem is that Pmusic has changed structure of the locale-files. The older model (which you probably are using) holds the spanish file as /usr/local/pmusic/locals/es:ES_spanish, while the new file is /usr/share/locales/es/LC_MESSAGES/pmusic


Good luck
Sigmund

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

#1219 Post by zigbert »

01micko wrote: I see your intention in the pinstall.sh and what I reference was wrong. It may even break stuff in a current running system, though will more likely just error and not run.

The stuff you intend to happen in woof can't because $HOME is not defined. Until woof supports multiuser the only way is either hard code to root or not have that routine. Also /tmp don't exist until the system is up and running. I just glanced at $HOME and didn't read the code knowing in my head $HOME can't exist in the build system. Sorry!
No $HOME and no /tmp - is this the intended way to build up a system? When you tell this, it's not hard to see that my script fails :D
01micko wrote:Maybe you could hide your code elsewhere and make it part of the pmusic initial code generation? That would work.
Of course, but it wouldn't set up the roxapp or the rox-icon until you start Pmusic, and that doesn't sound like the best solution to me.


Sigmund

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1220 Post by greengeek »

Hi Sigmund, I have recently been using earlier versions of Pmusic to play and rip music, but have been unable to find a way to get it to play an entire folder. Is there an easy way to add a whole folder to the playlist? And does this function only exist in more recent versions? (I think it was version 1.63 I was trying...). Thanks

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

#1221 Post by zigbert »

greengeek
Browse (with the internal browser) to the folder of your liking, and choose 'Add all' from the Music-Source menu.


Sigmund

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1222 Post by greengeek »

zigbert wrote:greengeek
Browse (with the internal browser) to the folder of your liking, and choose 'Add all' from the Music-Source menu.
Thanks Sigmund. I tried this (took me a while because I did not realise initially that the browsing is "single-click" not double :-) ) but it seems that it is necessary to go into the deepest folder and add the tracks just from that folder, instead of being able to add a group of folders. Am I using this wrong, or is this a normal limitation?

I would like to be able to add my entire "Music" folder to the playlist (and then select "random play", but I don't want to have to go into each folder one by one to add them to the playlist. Hope you can understand what I am trying to explain.
Attachments
pburn add all.jpg
(50.25 KiB) Downloaded 480 times

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

#1223 Post by zigbert »

greengeek
I fully understand you (I hope :) )
It seems you are used to another kind of audio players that uses the playlist as its music storage - Like Winamp. Pmusic on the other hand is not clever with huge playlists. Instead it want you to work in the Music-source field which is built to handle enormous music collections. What is one of Pmusic strengths is that the Playlist(s) integrates well with other tools like copy/convert/rip/burn/masstag. With this in mind, the playlist (in Pmusic) is not the place to dump stuff, but the place to collect the tracks you actually want to act on; and acting of course includes playing....

Here follows 3 quests from the Pmusic FAQ

When I dump all my thousands of songs into a playlist, Pmusic becomes real slow?

Yes, depending on your CPU, Pmusic starts to become slow after adding some hundreds songs. But there is a solution. Please keep in mind a typical 150 song playlist is probably a 8+ hour long session. If your collection is larger than that, I recommend you to index the music files. It is a much faster way of selecting your songs to play. See next question for more information.

Why should I index my music?

There is no need of indexing your audio files. Pmusic has a builtin file-browser where you can find your music and add it to the playlist. This works perfectly for small music collections. If you on the other hand experience that it's hard to navigate through your huge collection, it's time to consider indexing.

You might think that 'indexing' sounds advanced, - but it's not. it is only a table holding information about all your songs and albums. This makes it easy to sort your music by artist, album, song name.... Also, Pmusic lists 20000 songs from your index in a blink of an eye. Open a directory with the same amount of files, you can drink a cup of coffee while waiting. While building the table (the index), Pmusic scans your system for audio files. It is possible to run various filters during this scan. ie. 'files in the same directory belongs together, and should be put in a new album'. Pmusic offers some simple filters depending on your collection structure.

But the biggest advantage of an index is its speed when searching for a song. Pmusic searches so fast that the search result shows up while typing. The downside is that the index must be refreshed after adding more music to your collection.

So if you have a large library, indexing is the way to go. Because of the search speed, you can create a playlist "session" to suit your needs of the moment quite quickly. When you have a playlist the way you want it, you can always save it for reuse later.

But hey, since I can't put my entire collection into the playlist, how can I play a random song?

In Pmusic you have to first 'Add random songs' from the music-source (browser) field into the playlist, - then play. You can define how many songs you want to pick randomly from the list of your music sources.

This way gives an improved random feature... Because Pmusic picks random tracks only from the shown list in the music-source field, you can finetune the random feature. Ie. First search for TNT, and then pick 10 random TNT-songs.

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

#1224 Post by zigbert »

greengeek
I see that it should offer a 'recursive' checkbox for 'Add random'. Added to todo list.

This could be valid for 'Add all', but I really don't want users to do this... because Pmusic probably becomes a bad experience.


Sigmund

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#1225 Post by OscarTalks »

Hello Sigmund,

I have installed Pmusic 2.6.3 in Slacko 5.3.3 and Lupu Plus 5.2.8-005 on another computer but I can't see the "Stop" function in the "Track" menu.

I can see a line in the file /usr/local/pmusic/gui_menu

Is there something else I need to do?

Many thanks for all the hard work.
Oscar in England
Image

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

#1226 Post by zigbert »

OscarTalks
I wonder how you made it? :)

in /root/.pmusic/tmp/, there is some xml files which is the gui-code. These should be removed during version check in /usr/local/pmusic/pmusic line 45. In fact all temporary files are removed, but to get a fresh gui-build the xml-files has to go.

Another way is to change frontend in the view-menu. That will also remove old xml-files.

The xml-files is stored for next run to make the startup time faster.


Sigmund

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#1227 Post by OscarTalks »

Sigmund,
I just cliked on the .pet on page 1.
I had installed 2.6.2 a few days previously and I uninstalled that in PPM before installing 2.6.3 (thinking it would just roll back to the original 2.5.3 and I didn't need the extra entry in the list of installed programs)
Maybe I should not have done this.
Oscar in England
Image

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

#1228 Post by zigbert »

OscarTalks wrote:Sigmund,
I just cliked on the .pet on page 1.
I had installed 2.6.2 a few days previously and I uninstalled that in PPM before installing 2.6.3 (thinking it would just roll back to the original 2.5.3 and I didn't need the extra entry in the list of installed programs)
Maybe I should not have done this.
It shouldn't matter. Let's keep an eye on this. If it happens again, please report.


Thank you
Sigmund

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

Re: locale not working

#1229 Post by vicmz »

zigbert wrote:
vicmz wrote:Pmusic 2.6.3 working fine. The only bug is the GUI remains English despite default system language being Spanish. I'm translating the latest Pmusic and I can't see the translations on the GUI. I tried restarting X and rebooting, no changes. I have a Wary 5.3 frugal install to USB key, UTF-8 turned on.

BTW, I like the new choice for saving geometry, makes it more comfortable.
I 'think' your problem is that Pmusic has changed structure of the locale-files. The older model (which you probably are using) holds the spanish file as /usr/local/pmusic/locals/es:ES_spanish, while the new file is /usr/share/locales/es/LC_MESSAGES/pmusic


Good luck
Sigmund
Thanks. I have another question, where's the locale file for Pmusic 2.6.3, since you no longer have a 'locales' folder in this version? I'm using the file from 2.6.2 and I can't find a couple of strings, for example 'Quit and save geometry'.

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

#1230 Post by zigbert »

vicmz
Please look for /usr/local/pmusic/locales or the symlink in /usr/share/locales/en/LC_MESSAGES/pmusic

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

#1231 Post by vicmz »

Thanks! I'll post in the language support thread when I'm done.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#1232 Post by recobayu »

is it possible with pmusic to "drag n drop"? (like gnome-mplayer).
i select some file and then just drop it to pmusic..
i'm very like the pequalizer and file info..
good job zigbert..
:wink:

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

#1233 Post by zigbert »

recobayu wrote:is it possible with pmusic to "drag n drop"? (like gnome-mplayer).
i select some file and then just drop it to pmusic..
i'm very like the pequalizer and file info..
good job zigbert..
:wink:
Sorry about that, but atm gtkdialog (that is pmusic' gui-library) does not support drag'n drop.
BUT, on the other hand, you can simply click on the file in the filemanager, and it will add itself to the playlist. (As long as Pmusic is the default audioplayer)


Sigmund

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

#1234 Post by don570 »

When I use Pemasu's Exprimo it allows me to use
drag and drop of files and folders into
folder select and file select boxes that gtkdialog scripts use.

I don't know how Pemasu does that trick but it's neat!!! :lol:

If you could integrate that feature into pmusic
it would nice feature. Maybe drag a music file to
a special area in the pmusic window and the file
is added automatically to current playlist.

________________________________________________

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#1235 Post by esmourguit »

Hello Zigbert,
There are two LOC2913 in /usr/local/pmusic/locales :

LOC2913="Copy / Convert / Rip / Record"
LOC2913="Start with number"

Which one is the good one?

What is the "- NLS: Added: $LOC_STOP " in changelog of 24/06?

Thanks ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

Post Reply