Request for MakeBat

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mia
Junior Member
Junior Member
Posts: 25
Joined: 2004-03-17, 09:53 UTC

Request for MakeBat

Post by *mia »

It's possible, if i use MakeBat plugin for create m3u playlist, sorting files into directories? Include MakeBat any option for sorting? Thanks for answers.
...to define recurse, we must to define recurse first...
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Mark the desired folders, Press Alt-F5, choose .m3u extension, press OK, enter
%P%N
as command.

MakeBat is a packer plugin creating batch files with the marked files, nothing else. The order of the listed file names depends on you. If you have sorted the source panel by name the playlist will be sorted by name, too.

Icfu
This account is for sale
mia
Junior Member
Junior Member
Posts: 25
Joined: 2004-03-17, 09:53 UTC

Post by *mia »

Not work for me :-( I have sorted files by name, but this not work for subdirectories. %P%N just add full pathname. I using %D%M (relative paths). So, i must write my own app :-(
...to define recurse, we must to define recurse first...
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Second checkbox? Recursively check subdirectories?
Try again...

Icfu
This account is for sale
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3307
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

mia wrote:Not work for me :-( I have sorted files by name, but this not work for subdirectories. %P%N just add full pathname. I using %D%M (relative paths). So, i must write my own app :-(
??
for me it works - I have all my mp3-albums in a folder called "albums"
If i select the folder iron maiden wich contains several albums and use
the batch-plugin as icfu said i get this a m3u-file with:
<drive>:\albums\iron maiden\<album title>\<songtitel>.mp3
so you must be doin something wrong ?

or have I missunderstood you?
Hoecker sie sind raus!
mia
Junior Member
Junior Member
Posts: 25
Joined: 2004-03-17, 09:53 UTC

Post by *mia »

Well, i have directory "metallica" with some subdirectories "kill em all", "garage days"... with some albums into. I want to make playlist for directory "metallica". Sorting in TC is by name. Mark directory "metallica", press ALT+F5, choose "m3u", write to line with name of playlist this: "m3u:00-all.m3u" (this will make playlist in current directory), press enter, in next step i choose "%D%M" and press enter. My playlist looks like:

metallica\and justice for all\03-exe of the beholder.mp3
metallica\and justice for all\05-the shortest straw.mp3
metallica\and justice for all\01-blackened.mp3
metallica\and justice for all\06-harvester of sorrow.mp3
metallica\and justice for all\09-dyers eve.mp3
metallica\and justice for all\02-and justice for all.mp3
.
.
.
.
.
.
metallica\metallica\01-enter sandman.mp3
metallica\metallica\02-sad but true.mp3
metallica\metallica\09-of wolf and man.mp3
metallica\metallica\06-dont tread on me.mp3
metallica\metallica\05-wherever i may roam.mp3
metallica\metallica\10-the god that failed.mp3
metallica\metallica\04-the unforgiven.mp3
.
.
.

etc...

looks like unsorted, right? But why? Any reason?
...to define recurse, we must to define recurse first...
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3307
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

mh..strange - i did what you did and for me
it works just fine:

Evanescence\Le Nouveau Gothique\play.m3u
Evanescence\Le Nouveau Gothique\Evanescence - 01 - Intro.Ogg
Evanescence\Le Nouveau Gothique\Evanescence - 02 - Where Will You Go.Ogg
Evanescence\Le Nouveau Gothique\Evanescence - 03 - Bring Me To Life.Ogg
Evanescence\Le Nouveau Gothique\Evanescence - 04 - Whisper.Ogg
Evanescence\Le Nouveau Gothique\Evanescence - 05 - Field Of Innocence.Ogg
Evanescence\Le Nouveau Gothique\Evanescence -.
.
.
Evanescence\Origin\Evanescence - 11 - Eternal.mp3

and no matter if i choose in TC Sort by name/date/size the list is always
sorted here....
Hoecker sie sind raus!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

The only reason I could imagine how that could happen is when you don't sort by name (Alt-F3) but you press Alt-F7 (don't sort) instead.

Icfu
This account is for sale
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3307
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

icfu wrote:The only reason I could imagine how that could happen is when you don't sort by name (Alt-F3) but you press Alt-F7 (don't sort) instead.
first: its CTRL and not ALT :)
second: as posted no matter how tc sorts the list is allways sorted...
Hoecker sie sind raus!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

first: its CTRL and not ALT
True. :)
second: as posted no matter how tc sorts the list is allways sorted...
This is true only on NTFS partitions where "unsorted" and "sorted by name" looks identical.

On FAT/FAT32 "unsorted" means "sorted by physical order on disk" and can be different and the plugin will show exactly that.

Icfu
Last edited by icfu on 2005-01-26, 10:20 UTC, edited 1 time in total.
This account is for sale
mia
Junior Member
Junior Member
Posts: 25
Joined: 2004-03-17, 09:53 UTC

Post by *mia »

Right, in subdirectories is no matter, how method of sort is selected. All depends to order at copy files to directory :-(
...to define recurse, we must to define recurse first...
mia
Junior Member
Junior Member
Posts: 25
Joined: 2004-03-17, 09:53 UTC

Post by *mia »

ICFU: yes it's true, i use FAT32 and all looks that files are copied to playlist just as are physically placed onto disk :-(
...to define recurse, we must to define recurse first...
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3307
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

icfu wrote:On FAT/FAT32 "unsorted" means "sorted by physical order on disk" and can be different and the plugin will show exactly that.
I am using FAT32 and didnt have seen that cause mostly I copy my files in the right order :)

mia: than the solutions is -> STRG+F3 and THEN make the m3u-file :)
Hoecker sie sind raus!
Post Reply