Replies: 2 comments 2 replies
-
@Domoberry 👍🏻 Thank you. I am using this to bulk convert using PowerShell: To create a PowerShell script that bulk-converts Step 1: Open PowerShellYou can open PowerShell using one of the following methods:
Step 2: Create the PowerShell Script
Step 3: Run the PowerShell Script
ConclusionThe script will process all |
Beta Was this translation helpful? Give feedback.
-
@touwys |
Beta Was this translation helpful? Give feedback.
-
@touwys
I need to have a .m3u8 copy of all my .m3u playlists for some use with iTunes. ListFix can 'Save as' a playlists in .m3u8, so that is the absolute recommended way to go. However, if you have a lot of .m3u playlists to convert, having a 'bulk convert' option would be nice.
With some digging, AI, trial & error, here an idea to do such conversion in bulk. Please correct/amend, I'm not an expert, use at your own risk, intended to address mentioned iTunes issue only, etc.
A key assumption is that the relevant difference between an .m3u audio playlist and an .m3u8 audio playlist is how characters are encoded. .m3u typically uses the Windows standard 'Ansi' encoding, where .m3u8 uses 'UTF-8' character encoding. iTunes for example cannot correctly import an .m3u playlist which uses Ansi encode special characters. The same playlist in .m3u8 works fine.
In essence, the conversion is done by the convertcp tool. This Windows Command Line program converts from Ansi to UTF-8. Download and place convertcp.exe and an .m3u file in a test folder, open a Windows command box in the same test folder and type:
convertcp 0 65001 /i "My playlist.m3u" /o "My converted playlist.m3u8"
The resulting .m3u8 file will end up in the same test folder.
Next is to process an entire folder with many .m3u files. Make a copy of your .m3u files and place them in the same (test) folder and type the following command in the CMD box:
for /f "delims=|" %f in ('dir /b "d:\Users\Public\Test\*.m3u"') do convertcp 0 65001 /i "%f" /o "%~nf.m3u8"
A set of .m3u8 playlists can now be found in this test folder.
Lot's of refinements are possible: use (relative) source and target folder-paths, use convertcp from a program folder, create a batch file, any smarter way to do the same, verify assumptions, etc. But first check if this works in the 1st place.
Beta Was this translation helpful? Give feedback.
All reactions