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:

#1881 Post by zigbert »

greengeek wrote:2) I would like to make the Nad theme my default. I tried to do this by changing the "export THEME" setting in /usr/local/pmusic/pmusicrc to Nad, but this does not seem to work - it still starts up as gtk. (even though Nad is definitely loaded and available in preferences).
Nad5 it is ;-) (The name of the theme directory)

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

#1882 Post by greengeek »

Thanks. Nad5 now working as default :-)
The $BROWSERDIR change did not work for me though - still displays contents of /root.
I did rush this test though so may have made a mistake. Will try again later
cheers!

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

#1883 Post by zigbert »

Remember you have to change the path in pmusicrc as well:
export BROWSERDIR="/"

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

#1884 Post by greengeek »

Thanks Zigbert. Yes, that is working exactly as I would like now. Much appreciated!

I made myself a pet with these modifications which I will post here so I can grab it on my next boot if that is ok.
Attachments
pmusic_ggNad-4.4.7.pet
(148.69 KiB) Downloaded 239 times

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

#1885 Post by greengeek »

Now I'm just going to be a right pain and make another feature suggestion:

When I use the internal filebrowser and rightclick my music directory in order to "add to play queue" it adds all of the loose tracks that are in there, but does not add any of the tracks that are inside other directories inside the "Music" directory.

Is there some way to add an extra option to that rightclick menu: "Recursive add to play queue" ?

This would probably slow it down if there were too many extra directories, but it would be a nice option to have if it was possible.

Otherwise I'm going to have to learn how to make playlists :-)

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

#1886 Post by zigbert »

greengeek wrote:Is there some way to add an extra option to that rightclick menu: "Recursive add to play queue" ?
Shouldn't be too hard, but I need some days as it is not too much coding-time these days...

It is great to get some feedback from you that are using pMusic differently than myself. I never browse for music, so it is hard for me to decide how this should be coded.


Thank you
Sigmund

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

#1887 Post by zigbert »

Version 4.4.8
See main post

Changelog
- Right-click menu: Option to add files recurively if selection is directory. (thanks to greengeek)
- NLS Polish by Robert Wojewódzki (robwoj44)
- Updated russian NLS by Aleksandr Proklov (pro)
- Bugfix: Set default browser dir in rc file. (thanks to greengeek)
- Bugfix: Gettext in right-click menu in sourcelist. (thanks to pro)
- Bugfix: Right-click menu: Add track to play as next playing track corrupts playlist.

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

#1888 Post by greengeek »

Many thanks Zigbert - that really makes pMusic very useable for the relatively inexperienced Puppy users I look after. If anyone else wants it I have added the Nad5 theme into a modified 4.4.8 pet and also set the default browser location to "/" (filesystem) rather than "/root" - download here

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

#1889 Post by don570 »

Request: pmusic should open a pls file made by Audacious.

VLC player would open it correctly in April64 distro. (I checked :lol: )
pmusic would show the name of song but wouldn't play.

Unfortunately m3u playlists are treated as ordinary basic text so
I don't want to make my script create-m3u open it up.

However I have found that pls playlists open as .audio_x-scpls
so I can make a right click script to open these playlists quite easily.

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

#1890 Post by zigbert »

Can you post an example of such a pls file here?

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

#1891 Post by don570 »

You're in luck! I happen to have a playlist.

To make a playlist in Audacious --->

Menu command , then the user must supply the extension --> pls

Code: Select all

[playlist]
NumberOfEntries=1
File1=/root/puppy-reference/audio/ivy.mp3

A wikipedia entry has a good explanation
http://en.wikipedia.org/wiki/PLS_%28fil ... 9#Examples

Note that in April64 a m3u and a pls file is treated differently by operating system.
(see image)

m3u is treated as basic text whereas right-clicks on the pls file opens it as
.audio_x-scpls

Image

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

#1892 Post by don570 »

Maybe my m3u file is treated as basic text because I didn't start it with...

Code: Select all

[playlist]
...
I'll have to test.

It would open up as .audio_x-scm3u

I'll have to check this???
__________________________________

However the wikipedia page
doesn't mention starting m3u format with [playlist]

Code: Select all

#EXTM3U
#EXTINF:419,Alice In Chains - Rotten Apple
Alice In Chains_Jar Of Flies_01_Rotten Apple.mp3
#EXTINF:260,Alice In Chains - Nutshell
Alice In Chains_Jar Of Flies_02_Nutshell.mp3
#EXTINF:255,Alice In Chains - I Stay Away
Alice In Chains_Jar Of Flies_03_I Stay Away.mp3
#EXTINF:256,Alice In Chains - No Excuses
Alice In Chains_Jar Of Flies_04_No Excuses.mp3
#EXTINF:157,Alice In Chains - Whale And Wasp
Alice In Chains_Jar Of Flies_05_Whale And Wasp.mp3
#EXTINF:263,Alice In Chains - Don't Follow
Alice In Chains_Jar Of Flies_06_Don't Follow.mp3
#EXTINF:245,Alice In Chains - Swing On This
Alice In Chains_Jar Of Flies_07_Swing On This.mp3

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

#1893 Post by don570 »

PLS mime types and players that support it.

Mime Types:application/music, audio/scpls, audio/x-scpls, domino playlist, interface/x-tcmp-pls, lyd/scpls, video/x-scpls


http://www.pcpitstop.com/libraries/file ... t=pls.html

______________________________

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

#1894 Post by zigbert »

don570
Thank you for the info.
pls is headed for next release.

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

#1895 Post by don570 »

Here's another audacious pls file

Code: Select all

[playlist]
NumberOfEntries=4
File1=/root/puppy-reference/audio/2barks.wav
File2=/root/puppy-reference/audio/generic.mp3
File3=/root/puppy-reference/audio/ivy6.wav
File4=/root/puppy-reference/audio/goodluck.m4a

Last edited by don570 on Sat 28 Feb 2015, 20:45, edited 2 times in total.

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

#1896 Post by zigbert »

pls support is added for both playback and saving.
Using the standard described at https://en.wikipedia.org/wiki/PLS_%28file_format%29

Example file created by pMusic

Code: Select all

[playlist]
NumberOfEntries=10
File1=/mnt/sdb1/musikk/mp3/Ylvis - Stonehenge.mp3
Title1=Ylvis - Stonehenge
Length1=235
File2=/mnt/sdb1/musikk/mp3/Iron maiden - Infinite dreams.mp3
Title2=Iron maiden - Infinite dreams
Length2=368
File3=/mnt/sdb1/musikk/streamripper/metal/RockFM/TNT - My Religion.mp3
Title3=TNT - My Religion
Length3=211
File4=/mnt/sdb1/musikk/mp3/Return - The day after.mp3
Title4=Return - The day after
Length4=271
File5=/mnt/sdb1/musikk/mp3/Yngwie Malmsteen - Carry on wayward son.mp3
Title5=Yngwie Malmsteen - Carry on wayward son
Length5=308
File6=/mnt/sdb1/musikk/mp3/Black sabbath - The shining (LP).mp3
Title6=Black sabbath - The shining 
Length6=357
File7=/mnt/sdb1/musikk/mp3/Stratovarius - Legions.mp3
Title7=Stratovarius - Legions
Length7=344
File8=/mnt/sdb1/musikk/streamripper/metal/DMR_Metal_Canada_128/Eternal Tears Of Sorrow - When The Darkest Night Falls.mp3
Title8=Eternal Tears Of Sorrow - When The Darkest Night Falls
Length8=146
File9=/mnt/sdb1/musikk/mp3/Maria Arredondo - Just a little heartache.mp3
Title9=Maria Arredondo - Just a little heartache
Length9=198
File10=/mnt/sdb1/musikk/mp3/Artch - Where I go.mp3
Title10=Artch - Where I go
Length10=358

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

#1897 Post by zigbert »

Even if pMusic supports other playlist formats, the internal format *.pmu takes advantages of the info in the pMusic database.
I saved the same tracklist as m3u, pls and pmu.
The attached image shows how it looks when expanded in the builtin filebrowser.
Attachments
forum.jpg
(37.62 KiB) Downloaded 362 times

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

#1898 Post by don570 »

When I right click on a playlist (m3u or pls) with the Rox file manager
I can make the songs appear in pmusic music list with my script create-m3u.

...but does this m3u or pls filename appear on the Bookmarks list
automatically?? That would simplify the procedure of making Bookmarks.

Maybe I could write the name of the m3u file to the tail of one of your
hidden files??

Looking forward to v4.5 8)

___________________________________________________________

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

#1899 Post by zigbert »

don570
Executing the command 'pmusic /path/playlist.pls' opens the playlist and start playing. It is added to the pMusic db, but not as a bookmark (favorite marks in pMusic). This is meant for personal use only. The db is the systems playground.

The last added playlist is always stored in $HOME/.pmusic/tmp/last_added_playlist


Sigmund

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

#1900 Post by zigbert »

I updated the jamendo index last night, and it has grown remarkable.
sept 2014: 350 000 tracks
feb 2015: 600 000 tracks

The index file to download is 13Mb - not bad for half a million of songs ;-)
Attachments
forum.jpg
(45.56 KiB) Downloaded 279 times

Post Reply