(working) Packer plugin for M3U/M3U8 playlist creation?
Moderators: Hacker, petermad, Stefan2, white
(working) Packer plugin for M3U/M3U8 playlist creation?
Hi. I've been trying to use this plugin for the Subject mater, with no luck. Plugin fails and doesn't work under x68/x64 versions of TC.
M3U/M3U8 1.0.0: https://totalcmd.net/plugring/M3U.html
Is there another plugin that can generate M3U/M3U8/PLS playlists from a selection of audio files? Couldn't find any in the official plugins page, nor in the unofficial totalcmd.net site.
Thanks
M3U/M3U8 1.0.0: https://totalcmd.net/plugring/M3U.html
Is there another plugin that can generate M3U/M3U8/PLS playlists from a selection of audio files? Couldn't find any in the official plugins page, nor in the unofficial totalcmd.net site.
Thanks
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Hi.
Not the most elegant method though..., having the files selected, hit "copy path (long)", make a new text file, paste the contents of the clipboard and save as the .m3u extension
I have this AutoHotkey script, which creates a random list of songs. Look for the music in the directories that are in the file "Full_Directory.txt" which can be something like this:
h:\Mp3\
f:\Temp\
i:\Music\Foundry\
g:\MP3\temp\
m:\temp_mp3\
Save the lists in "h:\PlayList\", which can be changed to suit each one.
Not the most elegant method though..., having the files selected, hit "copy path (long)", make a new text file, paste the contents of the clipboard and save as the .m3u extension
I have this AutoHotkey script, which creates a random list of songs. Look for the music in the directories that are in the file "Full_Directory.txt" which can be something like this:
h:\Mp3\
f:\Temp\
i:\Music\Foundry\
g:\MP3\temp\
m:\temp_mp3\
Save the lists in "h:\PlayList\", which can be changed to suit each one.
Code: Select all
FileDelete, Full_Mp3.txt
loop, h:\PlayList\NewList_*.m3u
Iniciate := % Floor(A_Index)+1
Loop, Read, Full_Directory.txt
NumDirectory:= % Floor(A_Index)
PlayerList:= "h:\PlayList\NewList_" Iniciate ".m3u"
Number:=""
InputBox, Number, Number of Mp3 in the List, , , 250, 100
Loop, %NumDirectory%
{
FileList := ""
FileReadLine, NameFile, Full_Directory.txt, %A_Index%
NameFileTemp:= NameFile "\*.mp3"
Loop, Files, %NameFileTemp%, R
FileList .= A_LoopFileFullPath "`n"
FileAppend, %FileList%, Full_Mp3.txt
}
Loop, Read, Full_mp3.txt
NumLines := A_Index
Loop, %Number%
{
NumList:= UniqueRands( 1, NumLines, 25 )
FileReadLine, NameFile, Full_mp3.txt, %NumList%
FileAppend, %NameFile%`n, %PlayerList%
}
FileDelete, Full_Mp3.txt
SoundPlay, *64
MsgBox, Ended process!!
UniqueRands( Low, High, HowMany=1 ) ; integers only
{
If (Low > High)
return UniqueRands( High, Low, HowMany )
If ( HowMany > 1 && Howmany - 1 <= High - Low )
{
Nums := Low
Loop % High - Low
Nums .= "`n" Low + A_Index
Sort, Nums, Random
Pos := 0
Loop %HowMany%
Pos := InStr( Nums "`n", "`n", 0, Pos+1 )
return SubStr( Nums "`n", 1, Pos-1 )
}
Random, Nums, %Low%, %High%
return Nums
}
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Works fine here for me in TC versions 8.52a and 10.52 (32-bit and 64-bit). How exactly does it fail for you? Did you try to create the playlist in a writable location?Helix751 wrote: 2023-08-06, 22:59 UTCPlugin fails and doesn't work under x68/x64 versions of TC.
M3U/M3U8 1.0.0: https://totalcmd.net/plugring/M3U.html
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
2Helix751
Why do you need a plugin to create a m3u doesnt TCs SAVESELECTION do what you need?
example button (m3u filename = -=<current folder name>=-.m3u):
Why do you need a plugin to create a m3u doesnt TCs SAVESELECTION do what you need?
example button (m3u filename = -=<current folder name>=-.m3u):
Code: Select all
TOTALCMD#BAR#DATA
SAVESELECTION
-=%B0=-.m3u
<YOUR ICON HERE>
Create M3U from selected files
0
-1
Last edited by Sir_SiLvA on 2023-08-07, 16:16 UTC, edited 1 time in total.
Hoecker sie sind raus!
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Upon clicking OK on the Pack files dialogue with M3U selected as packer, it displays an error warning window "Error packing files" with no further information.Dalai wrote: 2023-08-07, 02:34 UTC Works fine here for me in TC versions 8.52a and 10.52 (32-bit and 64-bit). How exactly does it fail for you?
Yes. Tried many different locations.Did you try to create the playlist in a writable location?
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Maybe some packer option(s) are the culprit, so I recommend to test different ones. If that doesn't help, I suggest to try TC with a fresh INI file, install the plugin there and try again.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Just because there was a plugin avilable and it made sense to have a packer plugin for this.Sir_SiLvA wrote: 2023-08-07, 03:22 UTC 2Helix751
Why do you need a plugin to create a m3u doesnt TCs SAVESELECTION do what you need?
Thanks for the alternative solution, btw. It works Ok.
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Are you sure you locked at the official page at https://www.ghisler.com/plugins.htm ???Helix751 wrote: 2023-08-06, 22:59 UTC Is there another plugin that can generate M3U/M3U8/PLS playlists from a selection of audio files?
Couldn't find any in the official plugins page...
Well if thats not good enough for you for whatever still not specified reasons, you could always try the MakeBAT-Plugin:
Page: https://www.ghisler.com/plugins.htmWrite-only plugin to create batch files (*.bat) with all the selected files, e.g. for repetitive tasks. May also be used to create mp3 playlists. Source included!
Download: https://plugins.ghisler.com/plugins/makebat.zip
Hoecker sie sind raus!
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Indeed yes. I looked in the official list of plugins (nothing there) and also in the unofficial one in totalcmd.net (where the non.working M3U/M3U8 plugin was published).Sir_SiLvA wrote: 2023-08-07, 19:34 UTC Are you sure you locked at the official page at https://www.ghisler.com/plugins.htm ???
Thanks. It's a nice plugin-oriented solution as well.Well if thats not good enough for you for whatever still not specified reasons, you could always try the MakeBAT-Plugin:
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
I tried this button, it works fine. But the first piece is never played. Only when you put a blank line at the beginning will the first piece be played.
Is there a way to automatically insert a blank line using the button?
Is there a way to automatically insert a blank line using the button?
#77116
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
2Gerd K
This is most likely due to a BOM (Byte Order Mark) at the file's beginning (first three bytes). When saving the file as ANSI, it should work. To do that use SAVESELECTIONA instead of SAVESELECTION. Be aware that saving filenames from a different codepage (Chinese, Cyrillic and so on) will probably not work when saving the list that way.
Regards
Dalai
This is most likely due to a BOM (Byte Order Mark) at the file's beginning (first three bytes). When saving the file as ANSI, it should work. To do that use SAVESELECTIONA instead of SAVESELECTION. Be aware that saving filenames from a different codepage (Chinese, Cyrillic and so on) will probably not work when saving the list that way.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: (working) Packer plugin for M3U/M3U8 playlist creation?
Thanks a lot Dalai! I had the problem that SAVESELECTION filelist with VLC always lead to a "file not found" for the first file and thought it must be a VLC bug (because MP3 lists created with SAVESELECTION play just fine in AIMP)Dalai wrote: 2023-09-12, 18:10 UTC This is most likely due to a BOM (Byte Order Mark) at the file's beginning (first three bytes). When saving the file as ANSI, it should work. To do that use SAVESELECTIONA instead of SAVESELECTION. Be aware that saving filenames from a different codepage (Chinese, Cyrillic and so on) will probably not work when saving the list that way.

Hoecker sie sind raus!