DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Finished Programs => Topic started by: dcsev on September 05, 2011, 12:35 AM

Title: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 12:35 AM
I have searched ALL over the web and I have not found a single program that will do this in a batch fashion. I am certain a lot of (domestic & international) users will find this very handy!

http://lostfound.raum108.de/create_m3u/
CreateM3U 0.1.1
Create .m3u playlists with drag&drop of files and folders. For each folder a single .m3u file is created named after this folder. It will not replace already existing playlists of that name. The generated playlists do not contain EXTM3U information because a simple .m3u is nothing more than a text file with a list of file names per line. The initial tool for this task for me was a batch file ;-) As the generated playlists only include filenames without any path, as they are located along with the media files, they can be moved together with the files, for example for portable mp3 player usage.



Basically, I want to do every CreateM3U does, but with making m3u8 files. m3u8 files are basically unicode-friendly versions of .m3u playlist files.
The different (AFAIK) between m3u and m3u8 files is: m3u is ANSI  m3u8 is UTF-8 files compatible with foreign languages.


Basically, createm3u is the perfect program in every way, except it doesn't make the files m3u8 (UTF-8) format so my mp3 Winamp player skips over ? characters. :(
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 01:34 AM
UPDATE:rofl
 
answered my own request, BUT we could still use a program like create3mu that does this seamlessly.  With this script, I have to open m3u tag, load up ALL of the folders into mp3tag (takes a long time). 


One can use mp3tag using the following export configuration to do exactly what I want:
1) Relative file name
2) m3u8
3) -directoryname-.m3u8 file naming structure
4) 1 in each folder
5) UTF-8 format


$filename(%_folderpath%%_directory%.m3u8,utf-8)#EXTM3U
$loop(%_filename_ext%)#EXTINF:%_length_seconds%,%artist% - %title%
%_filename_rel%
$loopend()
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 05, 2011, 10:36 AM
SnapList (http://www.sdsoftware.org/default.asp?id=11480) will do what you want.

Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 11:58 AM
SnapList (http://www.sdsoftware.org/default.asp?id=11480) will do what you want.



Hi skwire,
long time no see.

Did you mean SnapPlay?  I didn't see an option for m3u8, only m3u
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 05, 2011, 12:03 PM
The page says SnapPlay but the app is called SnapList.  It saves the resulting playlist files as UTF-8
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: tranglos on September 05, 2011, 12:18 PM
m3u8 files are basically unicode-friendly versions of .m3u playlist files.
The different (AFAIK) between m3u and m3u8 files is: m3u is ANSI  m3u8 is UTF-8 files compatible with foreign languages.

In my experience you can save m3u files as UTF-8 and they still work with the likes of Winamp or AIMP2.

I have written a tiny command-line utility to create a file called playlist.m3u from an alphabetically sorted list of all mp3 / ogg / wav files in a folder. The resulting file extension is m3u, but the file is encoded as UTF-8 if any of the filenames contains trans-ASCII characters. I use it with Total Commander, because it lets me easily execute a command-line program in a specific folder. Let me know if it is something you could find useful!
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 12:21 PM
m3u8 files are basically unicode-friendly versions of .m3u playlist files.
The different (AFAIK) between m3u and m3u8 files is: m3u is ANSI  m3u8 is UTF-8 files compatible with foreign languages.

In my experience you can save m3u files as UTF-8 and they still work with the likes of Winamp or AIMP2.

I have written a tiny command-line utility to create a file called playlist.m3u from an alphabetically sorted list of all mp3 / ogg / wav files in a folder. The resulting file extension is m3u, but the file is encoded as UTF-8 if any of the filenames contains trans-ASCII characters. I use it with Total Commander, because it lets me easily execute a command-line program in a specific folder. Let me know if it is something you could find useful!

Hi tranglos,
yea, I would assume winamp would take m3u as UTF-8. It's too bad I don't use TC.  I used it a while back but gave it up for the best file manager yet -- XYplorer.

Plus, I would need the following criteria:


Insert Quote
UPDATE:rofl
 
answered my own request, BUT we could still use a program like create3mu that does this seamlessly.  With this script, I have to open m3u tag, load up ALL of the folders into mp3tag (takes a long time).


One can use mp3tag using the following export configuration to do exactly what I want:
1) Relative file name
2) m3u8 or m3u file extension
3) -directoryname-.m3u8 (or m3u) file naming structure
4) 1 in each folder, respecting folder structure
5) UTF-8 format
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 05, 2011, 12:48 PM
If SnapList won't cover your needs, I can write you a CreateM3U clone that will handle Unicode characters.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 01:37 PM
If SnapList won't cover your needs, I can write you a CreateM3U clone that will handle Unicode characters.

rofl. holy shit. skwire, you are a living god.

skwire, could you do the following:

Basically, make it exactly the SAME design/everything as createm3u
-portable (.ini or config or whatever)
-give user the option of m3u (ANSI) or m3u8 (UTF) (or maybe even "create m3u8 if non-english/ Latin-1 characters found?)
-each m3u/m3u8 file is placed inside of the folder
-each m3u/m3u8 file is named after the folder
-recursive (I can drop /mp3s on there and all of the subfolders get m3u8/m3us)
-drag and droppable
-be able to process folders that are  "sent" to it via sendto menu.
-no prompts after dragging

I can't think of anything else
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 05, 2011, 02:01 PM
Do you use the commandline features of it?  Or just the GUI?
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 05, 2011, 02:08 PM
Just the GUI

PS: sky - edited the post above this one.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 06, 2011, 05:16 PM
UPDATE: skwire,

I just found a specific script inside Mp3tag (deep inside their forums) that does EXACTLY what I want! Please devote your time to other much-needed projects.
For anyone else googling for a solution, create an ".mte" file (without the quotes) and post the following inside: 

$filename(%_folderpath%%_directory%.m3u8,utf-8)#EXTM3U
$loop(%_filename_ext%)#EXTINF:%_length_seconds%,%artist% - %title%
%_filename_rel%
$loopend()

then save the file into mp3tag's  /export directory.  Export all your mp3s with this script and you're done. It did 100GB of m3u8 playlsits in 15 seconds. rofl!
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 06, 2011, 05:23 PM
My version of CreateM3U is just about done.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 06, 2011, 05:25 PM
AWESOME. I was just thinking what a pain it is to have to go through all the steps in mp3tag just to do individual folders. Your program will help for individual entries.!
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 06, 2011, 05:33 PM
The only item in your request list that I didn't implement was "give user the option of m3u (ANSI) or m3u8 (UTF)" one.  Currently, all playlist files are written as UTF-8 with an m3u8 extension.  Also, my version doesn't create empty playlist files in folders where there are no audio files like the original CreateM3U app does.  Here's the download: CreateM3U8 (http://skwire.dcmembers.com/apps/snacks/CreateM3U8.zip)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 06, 2011, 05:48 PM
Hot diggidity! You rule man!

I like the "no empty" playlist behavior (yours) better. I had no idea createm3u made those for empty folders.



I just tried it out. It worked great! file was in utf-8 format.  Just a random question:

do you know why yours is so much cleaner looking than mp3tag? this is what the mp3tag special export function spits out

#EXTM3U
#EXTINF:235,Acoustic Alchemy - The Alchemist
01 - The Alchemist.mp3
#EXTINF:236,Acoustic Alchemy - Jamaica Heartbeat
02 - Jamaica Heartbeat.mp3
#EXTINF:265,Acoustic Alchemy - Georgia Peach
03 - Georgia Peach.mp3
#EXTINF:364,Acoustic Alchemy - Playing For Time
04 - Playing For Time.mp3
#EXTINF:277,Acoustic Alchemy - When The Lights Go Out
05 - When The Lights Go Out.mp3
#EXTINF:397,Acoustic Alchemy - Clear Air For Miles
06 - Clear Air For Miles.mp3
#EXTINF:248,Acoustic Alchemy - Fire Of The Heart
07 - Fire Of The Heart.mp3
#EXTINF:244,Acoustic Alchemy - Freeze Frame
08 - Freeze Frame.mp3
#EXTINF:240,Acoustic Alchemy - On The Case
09 - On The Case.mp3
#EXTINF:295,Acoustic Alchemy - Break For The Border
10 - Break For The Border.mp3

what is all that #EXTINF garbage rolf
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 06, 2011, 05:54 PM
lol yours takes 2-3 seconds for 900 albums. Very impressive. This is exactly what I wanted. Thank you so much skwire <3 <3 <3 <3 <3
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 06, 2011, 06:33 PM
hey skwire,
is it possible to get the same program that makes NON-UTF8 (regular) m3u files (instead of UTF-8 m3u8 files).  That shouldn't be too difficult right?
Your program is so much faster than createm3u on my machine :D
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 07, 2011, 01:21 AM
I changed the name and gave this a full release on my website:

Website (http://skwire.dcmembers.com/wb/pages/software/splaylistmaker.php) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
+ added
* changed
- deleted
! bug fixed

v1.0.0 - 2011-09-07
    + Initial release.


[ You are not allowed to view attachments ]

sPlaylistMaker allows you to easily create .m3u and .m3u8 playlists via drag-and-drop or via the commandline.  sPlaylistMaker will recursively scan  through dropped folders and create a playlist file in each folder with the name of that folder.  Existing playlist files are left untouched, though.  

sPlaylistMaker supports Unicode characters and offers four playlist writing options:

Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 07, 2011, 01:31 AM
Wow, just wow. That just shattered my expectation. The only thing it needs now is "autocheck for updates on startup" and it's golden.
  Also, thanks for mentioning me in credits! Wow!


If I have any more ideas for software, I will definitely let you know. some of your other software has saved my life as well -- spinzip, covart ops, and now splaylistmaker
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 07, 2011, 01:41 AM
The only thing it needs now is "autocheck for updates on startup" and it's golden.

I don't add this to any of my apps.  Help, Check for Updates will have to do.   ;)

What does "s" stand for in sPlaylistMarker?

It's sort of an inside joke that, when I can't think of a good name for an app, I add a small "s" in front of what it is.  The "s" can stand for anything you want.  skwire, stisev, small, simple, super, shitty, stupid, sucky...you get the idea.   :P

Also, thanks for mentioning me in credits! Wow!

You're welcome.  Thanks for the feedback and original request.  BTW, I assume one of the four write options covers your needs, eh?
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on September 07, 2011, 01:49 AM
If I have any more ideas for software, I will definitely let you know.

Sure, just post them to this Coding Snacks forum; that's what it's here for.  =]
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on September 07, 2011, 01:51 AM
I don't add this to any of my apps.  Help, Check for Updates will have to do.   

Also got dcupdator. it seems I have a newest wastenot version than the one on the site. rofl
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Winkie on October 22, 2011, 12:51 PM
Nice review of sPlaylistMaker on addictivetips today:
Create M3U And M3U8 Playlist via Drag And Drop With sPlaylistMaker (http://www.addictivetips.com/windows-tips/create-m3u-and-m3u8-playlist-via-drag-and-drop-with-splaylistmaker/)

Finally more attention for this little but very nice app. :Thmbsup:
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on July 19, 2013, 10:36 PM
Website (http://skwire.dcmembers.com/wb/pages/software/splaylistmaker.php) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.1 - 2013-07-19
    + Added option to only match ZIP or RAR files when making a playlist.  (Thanks, stisev)
    + Added OPUS files to list of audio file extensions that are matched.
    + Added two new UTF-8 write options:
        1) .m3u, write UTF-8 (without BOM)
        2) .m3u8, write UTF-8 (without BOM)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on July 28, 2013, 04:01 PM
Website (http://skwire.dcmembers.com/wb/pages/software/splaylistmaker.php) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.2 - 2013-07-28
    + Added option to add a "#EXTM3U" header line to playlist files.
      (Thanks, M. Quinn)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: vital on March 13, 2014, 01:35 AM
anyway to add an option to force overwrite the m3u/m3u8 file? Sometimes a file could be added to a folder and would like to have m3u/m3u8 updated to add the file to the playlist..
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on March 13, 2014, 11:57 PM
anyway to add an option to force overwrite the m3u/m3u8 file? Sometimes a file could be added to a folder and would like to have m3u/m3u8 updated to add the file to the playlist..

Sure, let me find some time to add this.   :)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on March 14, 2014, 08:56 PM
Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.3 - 2014-03-14
    + Added option to overwrite existing playlists.  (Thanks, vital)
    + Added "Always on top" option.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: vital on March 16, 2014, 03:27 AM
Thanks for the update!

Another request..
How about an option to create only one m3u/m3u8 file at the root folder that's dragged in and include all mp3's from all sub folders as well?  I have different genre folders like Rock, Pop, Trance, etc and each genre can have multiple albums so it would be nice to drag the \Rock folder in and it would create a Rock.m3u file w/ all songs from all sub-folders in the \Rock folder.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on May 01, 2014, 07:17 PM
Suggestion/requests:

(1)  Add a config/ini file option that allows the user to define their own default file name for the created playlist.  I usually always name my playlists with the same name rather than using the folder name but at some point I may also want to do that so having a config/ini file would help set these and possibly other "default" options.

(2) Incorporate the option to create play lists for video as well as audio files.  I have several video tutorial collections in various video formats (flv, mp4, avi, mpg and others) that I would like to link together via a play list.

I look forward to these additions which would make this great little app just that much better for me and hopefully others as well.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on May 02, 2014, 09:35 PM
Hi, Xennon, and welcome to the DonationCoder site.

I look forward to these additions which would make this great little app just that much better for me and hopefully others as well.

Here you go.  Please test it out and let me know if that's what you had in mind.  Thank you.

Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.4 - 2014-05-02
    + Added option to specify playlist filename.  (Thanks, Xennon)
    + Added ability to create video playlists.  (Thanks, Xennon)
    * Removed the ZIP/RAR checkbox and incorporated the option into
      the new "Files to include" dropdown list.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on May 03, 2014, 12:35 AM
 :Thmbsup: BRILLIANT!!! ... Works absolutely perfectly.  :Thmbsup:

As I mentioned in my previous post, these additions/changes make this app just perfect for me.

As a matter of interest, is there a list of audio/video formats supported?  Perhaps listing these in the help file might resolve any potential future issues where a user tries to add non-supported formats and can't work out why the process failed.  Just a suggestion.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on May 04, 2014, 07:56 PM
Audio extensions: AIFF, AIF, AIFC, MP1, MP2, MP3, OGA, OGG, WAV, MO3, XM, MOD, S3M, IT, MTM, FLAC, WMA, WMP, WMV, MID, MIDI, RMI, KAR, WV, WVC, AAC, M4A, M4B, M4P, APE, AC3, SPX, TTA, OFR, MPC, ALAC, SHN, TAK, OPUS

Video extensions: 3G2, 3GP, 3GP2, 3GPP, AMR, ASF, AVI, BIK, D2V, DAT, DIVX, DRC, DSA, DSM, DSS, DSV, FLC, FLI, FLIC, FLV, IFO, IVF, M1V, M2V, M4B, M4P, M4V, MKV, MP2V, MP4, MPE, MPEG, MPG, MPV2, MOV, OGM, PSS, PVA, QT, RAM, RATDVD, RM, RMM, RMVB, ROQ, RPM, SMK, SWF, TP, TPR, TS, VOB, VP6, WEBM, WM, WMP, WMV
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: vital on May 05, 2014, 10:23 PM
How about the following playlist options:

1) recursive scan all sub-folders and create a playlist in each folder
2) recursive scan all sub-folders and create 1 playlist on root folder dragged in including all files scanned
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on May 06, 2014, 02:57 AM
How about the following playlist options:

1) recursive scan all sub-folders and create a playlist in each folder
2) recursive scan all sub-folders and create 1 playlist on root folder dragged in including all files scanned


I think option (1) already works .. drag the root folder onto the app and a playlist is created in each subfolder (if they contain media files).  I discovered this by accident.

Option (2) Would be handy and being able to combine multiple playlists into a single playlist would be nice too.

I noticed that moving the playlist from its original folder to another folder breaks the connection with the media files ... is that a design fault with the .m3u file format or is there some way to have the playlist record the actual path to the media so that moving the playlist does not break it?  Maybe there's a different playlist format that does note the media's path?
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on May 06, 2014, 01:53 PM
How about the following playlist options:

1) recursive scan all sub-folders and create a playlist in each folder
2) recursive scan all sub-folders and create 1 playlist on root folder dragged in including all files scanned

The first option is what the application already does.  I'll consider the second option.

I noticed that moving the playlist from its original folder to another folder breaks the connection with the media files ... is that a design fault with the .m3u file format or is there some way to have the playlist record the actual path to the media so that moving the playlist does not break it?  Maybe there's a different playlist format that does note the media's path?

It's not a design fault.  It's simply a generic filepath issue.  Basically, there are three ways to handle a file's path:

1) No path at all, just the filename.  Most applications then prepend the playlist's path to derive the actual location of the file.  Using this method allows you to move the folder of files anywhere and the playlist will still work.  However, as you've found, moving the playlist file breaks the pathing.

2) Relative paths.  That is, only the path relative to the playlist's location is saved.  Let's assume you have the following file:

c:\path\to\my\music\song.mp3

If you wanted to save the playlist file in:

c:\path\to

The relative path that would be saved in the playlist file would be:

my\music\song.mp3

As with the first option, an application will generally prepend the playlist's path to the exisiting relative path in order to derive the file locations.  This method allows you to move multi-level folders and have the playlist(s) still work.

3) Full paths.  That is, something like c:\path\to\my\music\song.mp3 would be saved to the playlist file.  This allows you to move the playlist files to wherever you'd like.  However, you now cannot move the files themselves without breaking the playlist.  For instance, let's assume you had need to move your collection from c:\ drive to d:\ drive.  With full paths, all your playlist files are now broken.

I hope that helps to explain things.  As you can see, there is no perfect solution.   :(
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on May 06, 2014, 07:20 PM

I hope that helps to explain things.  As you can see, there is no perfect solution.   :(

Yes, this does clear things up.  In that case, perhaps one solution might be to have an option to choose how to handle multiple sub-folders when creating a playlist.
eg: At the moment, dragging multiple folders onto the app creates 1 playlist in each folder - what if the user had the option to continue in this way (default) or to create 1 playlist in the root folder for all media contained in the sub-folders?  A checkbox/radio button toggle in the UI might work.

This option would allow for those situations where you may have your files organised per artist, with different album folders under that artist and you want to listen to that artist's full collection.

Just a thought.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on June 21, 2014, 12:01 PM
Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.5 - 2014-06-21
    * Playlist contents are sorted now.  (Thanks, Stephane)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: msteph on June 24, 2014, 11:58 PM
I'd like to endorse vital's request for the option to create 1 playlist in the root folder for all the songs in the sub-folders.  This would seem to be the logical next improvement of an already terrific app.

For example, I have my New Age music collection, approximately 1000 songs, in subfolders according to the artist name, 116 artists.  If I drop the New Age folder onto the app it's going to create 116 m3u's in their respective folders, which is great - very useful. 

But I'd also like to, as would vital & Xennon, be able to create one playlist in the root folder that has all 1000 songs.  I do have a current m3u that has all those songs but I had to create it by copying each artist's songs into one big all-inclusive folder and then making the playlist.  Having sPlaylistMaker do that would have been an elegant solution and saved a lot of time.

:)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on June 26, 2014, 01:29 AM
@vital, @Xennon, and @msteph: Here's a test build with the following requested options:


http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker_.zip (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker_.zip)

The help file has been updated as well so please take a moment to read through the new options.  Let me know how the testing goes.  Thanks.

[ You are not allowed to view attachments ]
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on June 26, 2014, 02:47 AM
This is great! - I'm totally happy with these most recent changes.  I have only tested those features I was looking for so far, and can say that everything seems to work perfectly.  Thank you skwire.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: msteph on June 26, 2014, 07:11 PM
I agree with Xennon, this update is great, skwire.  The root folder option and the path options worked perfectly with my new age songs.  I also made a playlist of my collection of pop and rock songs, which I'd never done before, for whatever reason.

The new help file is nicely done, very complete and more informative than the previous one.

 :Thmbsup: 
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on June 27, 2014, 03:15 AM
Thanks, Xennon and msteph, for testing this.  Based on that, I'm going to release it.

Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.6 - 2014-06-27
    + Added option that creates one playlist per root folder.  (Thanks, vital)
    + Added path options when creating playlist (no path, relative path,
      and full path).  (Thanks, Xennon)
    * Unicode write mode in Automatic mode is now without a BOM.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on January 20, 2015, 09:47 PM
Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.8 - 2015-01-20
    + Option to automatically exit the program after creating playlists.
      (Thanks, Lukasz)

v1.0.7 - 2014-06-27
    + Customizable support for the audio, video, and archive extension list.
      Check the help file for details.  Basically, just modify the appropriate
      entries in the config.ini file.  (Thanks, Wayne)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on January 31, 2015, 08:27 AM
skwire,
Thanks for keeping this app updated. It has been invaluable in getting my music collection in order!


wanted to submit a possible bug report about the latest version (v1.08)

The latest feature that was added -- quit after making m3u file -- does not work if a folder is sent to sPlaylistmaker via the 'sendto' menu.  I do this often to save myself some time. The m3u is created but the app remains running.  If I do it the 'normal' way (meaning open the app and then drag the folder) it works.

Is this something you'd be able to fix?
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on January 31, 2015, 12:04 PM
Thanks for keeping this app updated. It has been invaluable in getting my music collection in order!

Good to hear.  =]  I'm glad you still find it useful.

The latest feature that was added -- quit after making m3u file -- does not work if a folder is sent to sPlaylistmaker via the 'sendto' menu.

Hmmm...I just tested it via my SendTo menu (I hadn't before) and it seems to work as intended.  Please make sure you're using v1.0.9, though.  See below.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on January 31, 2015, 12:15 PM
And I just realised that I didn't notify this thread of the 1.0.9 release.  Apologies.   :-[

Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.0.9 - 2015-01-23
    ! The auto-exit option is now obeyed even when invoked from the commandline.
      (Thanks, Ɓukasz)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on January 31, 2015, 02:47 PM
Thanks skwire!! I can confirm it works now.  ;D
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on April 13, 2015, 10:09 PM
Another suggestion:

I'm not sure if this might be better served by a separate app entirely, but might be handy if it's incorporated into sPlaylistmaker as well.

Allow the user to rename the media files based on the contents of a text file and then create the playlist from the renamed media.

Often I get collections of files that are just numbered 01 to xx but I then find out what their *proper* names should be and find myself doing a lot of work to rename these files to their proper descriptive names.  I can usually get the correct names into a text file (1 per line) to match the media files so having some way to automatically merge the correct names onto the existing files would save a lot of renaming work.

I have a file renaming utility that can do this albeit in a clumsy way - maybe you could find a elegant and simple solution?

eg: If i have a collection of files named 01.mp4 to 20.mp4 and a corresponding text file with 20 lines which each line representing a 1:1 match to the file list, I want to rename these 00-20 files to the names in my text list (names only, not extensions).

I hope that makes sense.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on April 14, 2015, 09:29 AM
I'm not sure if this might be better served by a separate app entirely, but might be handy if it's incorporated into sPlaylistmaker as well.

Correct, this is better suited to a file renaming application.

I can usually get the correct names into a text file (1 per line) to match the media files so having some way to automatically merge the correct names onto the existing files would save a lot of renaming work.
I have a file renaming utility that can do this albeit in a clumsy way - maybe you could find a elegant and simple solution?

When I want to do freestyle renaming like this, I use one of two programs (depending on how fancy I need to get with the text editing): SpeedRenamer (http://tinytools.objective-view.de/Tools/SpeedRenamer) and Freename (http://freename.sourceforge.net/)

Note that SpeedRenamer's website is in German but the program is in English.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Xennon on April 14, 2015, 02:28 PM
Thanks, I'll check out those 2 apps - they might be easier than the one I currently use.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: unc0nnected on December 26, 2015, 04:08 PM
Was surprised to find a bit of functionality missing, specifying the filename of the playlists based on customized variables such as Artist, Album, Folder, etc etc.  Right now it will automatically name the file based on folder but that's it.  Being able to put something like "%1_%2_%3" into the playlist filename field, with %1=Artist, %2=Album and %3=Folder you can completely autogenerate the filenames to include multi-CD albums.  Right now if I have something like /Artist/Album/CD1 and I autogenerate playlist names based on folders it will name the playlist 'CD1' which is about as useless and can be when I have 500 folders named CD1 :)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on December 26, 2015, 04:55 PM
Hi, unc0nnected, and welcome to the DonationCoder website.   :Thmbsup:

Was surprised to find a bit of functionality missing, specifying the filename of the playlists based on customized variables such as Artist, Album, Folder, etc etc.

While I won't argue with you that sPlaylistMaker is pretty simplistic, please keep in mind that it was written as Unicode-capable clone of the following app: http://lostfound.raum108.de/create_m3u/ (http://lostfound.raum108.de/create_m3u/)

If I'm not mistaken, I think the following app will cover your custom variable needs: http://www.oddgravity.de/app-opc.php (http://www.oddgravity.de/app-opc.php)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Sempfmaus on March 08, 2016, 06:51 AM
Hi there!

First of all, thank you very much for this extremely useful program.

I am using it now for about 4 days, and i am impressed how fast and configurable to any possible needs it is.
I also like the clean & lean look of your tools.

I have one request though, would it be possible to put a character in front of the name of the .m3u? (maybe trough the .ini file?)


The thing is when i drop the root-folder with all my my soundtracks into sPlayListMaker, it makes all the playlists for all albums in the corresponding folders. Which is good so far.
The .m3us have now the names of the folder of the album. (e.g. "Inception.m3u")

Now if there are 20 (or more) mp3s in that album, the .m3u is somewhere down there between all the mp3s.
(mostly waaay down there, because the .mp3s are mostly named with the tracknumbers in front, and therefore the .m3u is almost everytime on the bottom or somewhere in the middle of all the .mp3s.)

What i then do is i put a ! in front of the name of the .m3u, so it is always on top of the folder, and i can doubleclick it without scrolling down &  searching for the .m3u.
e.g. "Inception.m3u"  -->  "!Inception.m3u" (can be done with a mass-renamer)

But now unfolds another problem.

I cant drop the root-folder where all my soundtracks are stored into sPlayListMaker again, because the programm will create a new .m3u (without the ! ) for all albums in there,
because its thinking there is no .m3u for all the albums.

So would it be possible for you to implement some kind of "put one character in front of the generated .m3u-filename"-function?
maybe in the .ini-file: "PlaylistName=+!" or something like that.

I just hope i didnt overlooked any function of your programm, which already allows me to do this.


Sorry for my poor english, and apologies for this wall of text, but i didnt know how i should make my request clear simpler. ;)

And another thing which interests me .. if I can humbly ask which programming language do you use?

Regards .. Sempfmaus ;)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on March 08, 2016, 06:57 PM
Hi, Sempfmaus, and welcome to the DonationCoder site.   :)

I have one request though, would it be possible to put a character in front of the name of the .m3u? (maybe trough the .ini file?)

See below for a new version with your added feature request.

Sorry for my poor english, and apologies for this wall of text, but i didnt know how i should make my request clear simpler. ;)

Your written English is wonderful  :Thmbsup: and much better than many native speakers I know.   ;)

And another thing which interests me .. if I can humbly ask which programming language do you use?

All my applications (http://skwire.dcmembers.com/fp/?page=software) are written in AutoHotkey (https://autohotkey.com/).



Website (http://skwire.dcmembers.com/fp/?page=splaylistmaker) | Download (http://skwire.dcmembers.com/apps/splaylistmaker/sPlaylistMaker.zip)
v1.1.0 - 2016-03-08
    + Added option to prepend a string to the generated playlist filenames.
      (Thanks, Sempfmaus)
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Sempfmaus on March 09, 2016, 07:14 AM
Wow, that was quick!

I have tested the new version, and it works perfectly. :D

Thank you so much for this wonderful programm, i think i would not have any need for any other .m3u-tool ever!
It just does everything i will ever need regarding .m3us. <3

Oh and another thing... the user unc0nnected (two posts above my first) had a question about multi-CD albums.
I know its a bit late, but here is what i do in this situation.

If a album has two discs, i just rename the .mp3s to reflect the cd, e.g. Intromusic.mp3 to CD1_Intromusic.mp3, and put them alltogether in one folder.
Altrough if the album has more than two or three cds, i just rename the folder to something better than CD1.
(Can be easily done with a multi or mass-renamer.)


I also have two copies of sPlayListMaker on my harddisk:
1.) one configured to "No path at all, just the filename" and "Write location: Each Folder" (for single-cd albums and root-folder for all my collections).
2.) another configured to "Relative paths" and "Write location: Root Folder(s) only" (for multi-cd albums).

I have made a link for both to my "SentTo" folder in windows explorer, so i can just rightclick a album and select the appropriate.

So my workflow is like this: rightclick the rootfolder of my collections, select 1.). (All single-cd albums have a .m3u in their folders.)
Then go into the folder, select all the multi-cd folders, rightclick and select 2.). (All multi-cd albums have a .m3u in their root folders.)

This way i have all on just a rightclick, without the hassle to configure sPlayListMaker every time i want to do multi-cd albums.

Hope this helps someone who has this kind of "problem". ^^

Again thanks for the update & i will have a look at AutoHotkey.

Regards .. SempfMaus
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on March 09, 2016, 08:44 AM
Wow, that was quick!
I have tested the new version, and it works perfectly. :D

Good to hear and thank you for testing.

If a album has two discs, i just rename the .mp3s to reflect the cd, e.g. Intromusic.mp3 to CD1_Intromusic.mp3, and put them alltogether in one folder.
Altrough if the album has more than two or three cds, i just rename the folder to something better than CD1.

I daresay most people use something like the following folder structure:

ArtistName
'--> AlbumName1
'--> AlbumName2
'--> AlbumName3
     `--> CD1
     `--> CD2


I do the following:

ArtistName
'--> AlbumName1
'--> AlbumName2
'--> AlbumName3 (CD1)
'--> AlbumName3 (CD2)


Basically, no subfolders for multi-disc albums.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: Sempfmaus on March 09, 2016, 09:28 AM
Ah thats also a verry good idea!

But that could end up in a really long folder-structure..

e.g.: "Karajan 1980s Complete DG Recordings - 78 cds" or "Deutsche Grammophon The Originals series - 141 cds".
Ok, that are extreme examples, but your way is viable for me up to 5 cd-packs.

Also with my method i got a .m3u for the whole cd-pack, and i can just doubleclick it & have all the .mp3s in my player, and i often use the shuffle function.

Anyway thanks for the suggestion, always thankful for new ideas. :)

PS: i have heard before from AutoHotkey, but i thought it is just a gui for batch-files. ^^
I will definitive have a look at that .

Regards .. SempfMaus
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on July 03, 2016, 04:55 AM
Hi skwire,
I've been using sPlaylistMaker since its inception and I haven't had any major problems until now.  I am hoping you can figure it out. Using M4A files.

These are the offending files. You'll notice that Directory Lister has the same error in listing as sPlaylistMaker.

Here is director lister's files:
http://pastebin.com/A1AEtrih

Here is the sPlaylistmaker's m3u file: http://pastebin.com/pDjDR04x

Here is an image of the settings I use:
(http://i.imgur.com/O2BysAN.png)

The problem is that the listing jumps from 10 > 100.  :(
See pic:
(http://i.imgur.com/UfLKaLb.png)

I am not having this problem with any other albums.  M4A files do not allow the extra 0's needed  MP3s do, but it's not an option to convert my collection. :(

It may not be 100% sPlaylistMaker's fault. but is there any way to correct this in the program?  I have subscribed to this thread  so I will see replies quickly.

Thank you again for all that you do. It is sincerely appreciated!
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on April 19, 2020, 05:41 PM
Paging @skwire..

4 years later I ran into the same problem as what I posted above on July 2016.   I've confirmed that Winamp is misordering (100 before 20) because of the way it's listed in the playlist.

Is there any hope for a fix for sPlaylistmaker?  This has been a solid app for the past 4-5 years and I hope to have it listed in proper numerical sorting for the tracks.

Thank you good sir!!
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: skwire on April 20, 2020, 10:32 PM
Is there any hope for a fix for sPlaylistmaker?  This has been a solid app for the past 4-5 years and I hope to have it listed in proper numerical sorting for the tracks.

This was trickier than I thought it would be, but give this interim build a test and let me know your results.

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/splaylistmaker/sPlaylistMaker_v1.1.0.6.zip
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: dcsev on April 21, 2020, 11:22 PM
 I've done some testing and can confirm it's working now.

Jody, you are a god among gods.  Sometimes the simplest issues are the hardest.    I sincerely appreciate your time and effort for the updated build & for this brilliant program.
Title: Re: DONE: Batch m3u8 creator - similar to createm3u
Post by: mouser on April 22, 2020, 01:29 AM
Jody is the best.

And this is a good time to remind folks that if you can, sending some donations to the coders who create stuff is always welcome. You can click on the gold coin under someone's name to send them some donationcredits or get the link to donate to them directly.  :up: