Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 10:30:02 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: Batch m3u8 creator - similar to createm3u  (Read 34511 times)

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
DONE: Batch m3u8 creator - similar to createm3u
« on: September 05, 2011, 12:35:38 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
Quote
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. :(

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #1 on: September 05, 2011, 01:34:24 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()

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #2 on: September 05, 2011, 10:36:04 AM »
SnapList will do what you want.


stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #3 on: September 05, 2011, 11:58:11 AM »
SnapList 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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #4 on: September 05, 2011, 12:03:30 PM »
The page says SnapPlay but the app is called SnapList.  It saves the resulting playlist files as UTF-8

tranglos

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,079
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #5 on: September 05, 2011, 12:18:07 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!

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #6 on: September 05, 2011, 12:21:46 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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #7 on: September 05, 2011, 12:48:21 PM »
If SnapList won't cover your needs, I can write you a CreateM3U clone that will handle Unicode characters.

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #8 on: September 05, 2011, 01:37:34 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
« Last Edit: September 05, 2011, 02:08:15 PM by stisev »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #9 on: September 05, 2011, 02:01:55 PM »
Do you use the commandline features of it?  Or just the GUI?

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #10 on: September 05, 2011, 02:08:42 PM »
Just the GUI

PS: sky - edited the post above this one.

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #11 on: September 06, 2011, 05:16:55 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!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #12 on: September 06, 2011, 05:23:30 PM »
My version of CreateM3U is just about done.

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #13 on: September 06, 2011, 05:25:15 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.!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #14 on: September 06, 2011, 05:33:27 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
« Last Edit: September 06, 2011, 05:39:50 PM by skwire, Reason: Grammatical fix. »

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #15 on: September 06, 2011, 05:48:36 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

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #16 on: September 06, 2011, 05:54:07 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

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #17 on: September 06, 2011, 06:33:51 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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #18 on: September 07, 2011, 01:21:39 AM »
I changed the name and gave this a full release on my website:

Website | Download
+ added
* changed
- deleted
! bug fixed

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


2011-09-07_010133.pngDONE: Batch m3u8 creator - similar to createm3u

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:

  • "Automatic" - This mode will automatically determine which extension and file encoding type to use.  If any filenames in a given folder use non-ASCII characters, the resulting playlist file will use a .m3u8 extension and be written in UTF-8 format.  Otherwise, the playlist file will use a .m3u extension and be written in the system's default codepage.
  • ".m3u, write ASCII" - This mode will always use the .m3u extension and files will always be written in the system's default codepage.
  • ".m3u8, write UTF-8" - This mode will always use the .m3u8 extension and files will always be written in UTF-8 format.
  • ".m3u, write UTF-8" - This mode will always use the .m3u extension but files will be written in UTF-8 format.

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #19 on: September 07, 2011, 01:31:54 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
« Last Edit: September 07, 2011, 01:37:19 AM by stisev »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #20 on: September 07, 2011, 01:41:15 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?
« Last Edit: September 07, 2011, 01:48:31 AM by skwire »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #21 on: September 07, 2011, 01:49:25 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.  =]

stisev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 123
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #22 on: September 07, 2011, 01:51:05 AM »
Quote
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

Winkie

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 82
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #23 on: October 22, 2011, 12:51:34 PM »
Nice review of sPlaylistMaker on addictivetips today:
Create M3U And M3U8 Playlist via Drag And Drop With sPlaylistMaker

Finally more attention for this little but very nice app. :Thmbsup:

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,666
    • View Profile
    • Donate to Member
Re: DONE: Batch m3u8 creator - similar to createm3u
« Reply #24 on: July 19, 2013, 10:36:11 PM »
Website | Download
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)