Create Pmusic m3u list

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Create Pmusic m3u list

#1 Post by don570 »

News Aug 1 - Now opens directly to pmusic (mostly)
and begins playing the list

News Aug 2 - Now opens directly to popular music players
and can right click on symbolic links

News Aug 4 - Now restrains the number of
audio players to those installed on your computer




I've written a right click application ( with some code from stu90)
to help make playlists in Pmusic.

I've found that it's easier to use this method

Instructions

1) install the program create-m3u available in this post.

2) Use Rox filer to right click on folder (or entire partition)
containing some music files. Select from right click menu (see image)
and m3u file will be created. (There's probably a maximum number
of song files but I haven't checked. I believe Zigbert told me
that about one thousand songs in a playlist is possible??? )
Your default text editor is launched to give you an opportunity
to edit the list if you wish, but I find the list is reasonably
accurate. It shouldn't need much editing.

There will be underscore in m3u file name if
there is whitespace in name of folder.

Keep the depth of search to 1 folder for max speed,
but 2 or 3 works fine as well.


3) The m3u file will be located in /root. Now launch pmusic
and use file picker on left side or launch Bookmarks.
One of the Bookmarks is home folder.

4) Find an empty playlist (There's lots of them) :lol:

5) One click of button at bottom of window to quickly
make a playlist. It begins playing immediately.
A nice feature :)

6) You can trash m3u file now. Pmusic has created it's own playlist
in it's hidden config folder in /root



Image


Image
Attachments
create-m3u-2.2.pet
Use with Pmusic to create m3u list
(14.53 KiB) Downloaded 850 times
Last edited by don570 on Fri 06 Feb 2015, 00:48, edited 10 times in total.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

mkplaylist

#2 Post by shinobar »

Interesting.
FYI: there is a hidden function 'mkplaylist' in the ffconvert-1.3.

# mkplaylist --help
mkplaylist 0.1
Make play list of multimedia files in a directory.
usage: mkplaylist [PLAYLIST_FORM] (FILES|-f FILELIST)
PLAYLIST_FORM: 'asx', 'pls' or 'm3u'
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#3 Post by zigbert »

Thank you for this one
Will make a link from the Pmusic main post


Sigmund

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

#4 Post by don570 »

version 1.1

I remove temporary files in /tmp properly at completion

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

version 1.2 of create-m3u

#5 Post by don570 »

Version 1.2

Now opens directly to pmusic (most of the time)
and begins playing the list


If it doesn't launch pmusic automatically then launch it
form the start menu.

There is one flaw which I discovered while testing
on Lucid puppy (Japanese version)

Namely right click on link doesn't work properly.
I will continue to work on issue. In some puppies the partition
icon in /mnt is a link.

__________________________________________

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

Version 1.3 of create-m3u

#6 Post by don570 »

Version 1.3 of create-m3u

1) Now opens directly to popular music players


2) A right click on symbolic link of folder
or partition such as /mnt/home will be treated as if it is a real file.

3) The text of right click menu has been changed to
avoid the mention of pmusic since nearly all music players
can use a m3u playlist.


____________________________

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

new version 1.4 of create-m3u

#7 Post by don570 »

new version 1.4 of create-m3u


News Aug 4 - Now restrains the number of
audio players to those installed on your computer


.

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

new version 1.5 of create-m3u

#8 Post by don570 »

new version 1.5 of create-m3u


News Aug 7 - Now works properly with pmusic :lol:

.

User avatar
stu91
Posts: 145
Joined: Mon 06 Aug 2012, 15:11
Location: England. Dpup. Dell Inspiron 1501

#9 Post by stu91 »

Great stuff don570 - 1.4 working well here on Exprimo puppy (just created and loaded playlist into pmusic opend and loaded ok here with 1.4?) being able to choose from installed media players is a nice touch. 8)

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

#10 Post by don570 »

pmusic opend and loaded ok here with 1.4
It sure didn't work very well for me :cry:
I needed to use the full path to pmusic to
launch it reliably.

This isn't the first time I've noticed a bug in a script and
others don't notice it.

I'm now working on a script that will list the m3u playlists
it finds recursively in a folder and then play them with your
choice of player.

I've started to examine the problem here.

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

_______________________________________

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

#11 Post by don570 »

I have now created a playlist player for m3u playlists
Uncheck option in window of create-m3u to create the
playlist in your home folder /root

Then for convenient storage drag the playlist to a folder
such as /root/my-documents/Playlists .

http://murga-linux.com/puppy/viewtopic. ... 711#652711

________________________________________

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

Version 1.7

#12 Post by don570 »

Version 1.7
Rewrote the program for gettext. I put in right click menu choice
in different languages. I made interface changes.

I corrected mistake with links in 64 bit distros.

It now makes the m3u playlist in the music folder and optionally
in the user's home directory.

The music folder can be dragged to another location and the
m3u playlist is still valid.


___________________________________

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#13 Post by xanad »

Italian .mo
Attachments
create-m3u-1.7_IT.zip
(13.82 KiB) Downloaded 341 times
[url]http://www.xanad.tk[/url] Html5 Parallax

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

#14 Post by don570 »

new Version 1.9


I made a mistake in how I gettext'd a label.
Momanager would just ignore it. Fixed.

I'll work on translations using Google translate.

_________________________________________

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

#15 Post by don570 »

version 2.0

- foreign translations would stop app from working -Fixed


- added in a lot of foreign translations --> Arabic, Chinese, Italian, Spanish,
Portugese, Japanese, Hungarian , Czech, Russian, German , Dutch and Polish.

This allowed me to practice using Google translation service

_____________________________________________________
Last edited by don570 on Thu 12 Feb 2015, 19:23, edited 1 time in total.

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#16 Post by ASRI éducation »

I just tested.
It is very convenient.
Thank you!
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

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

#17 Post by don570 »


version 2.1


Added the change suggested by by ASRI. Now the French translation
doesn't need \\ protection of apostrophe.

_____________________________________

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

#18 Post by don570 »

version 2.2

- I put VLC player on the list of audio players since it works correctly
in April64 distro

____________________________

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

#19 Post by don570 »

Xine works correctly in Wary64!! Good.

__________________________________

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

#20 Post by greengeek »

I'm not sure who maintains "mkplaylist" referred to by Shinobar but it has always bothered me that in my Slacko 5.6 derivative the rightclick menu only shows a generic icon next to "mkplaylist" but I finally figured out why:

The mkplaylist desktop entry in /root/.config/rox.sourceforge.net/OpenWith folder lists the required icon as /usr/share/pixmaps/puppy/audio.svg but that puppy directory and the icon are not present in my Slacko derivative.

Just thought I'd mention it in case it bothers anyone else too.
:)

Post Reply