Can't get it to work: drag&drop to Foobar2000 in button

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Can't get it to work: drag&drop to Foobar2000 in button

Post by *Guillaume »

I have a button in the TC button bar for Foobar2000 (an audio player). Now when I drag a folder to that button, the strange thing is that the playlist order isn't alphabetically. But when I drag a folder from within TC to Foobar2000, the files are sorted alphabetically...

Next thing is, how can I add multiple files (all selected) to the playlist when dragging them to the button? Normally this will only add the first selected file to the Foobar2000 playlist...
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3869
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

how can I add multiple files (all selected) to the playlist
All you need is lst2str.exe from http://www.ghisler.com/tools.htm

For details of usage see:

http://ghisler.ch/board/viewtopic.php?t=402
#5767 Personal license
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

I'm sorry, I can't get it to work :oops:

Command:

Code: Select all

E:\Program Files\Total Commander\lst2str.exe
Parameters:

Code: Select all

/X:"E:\Program Files\FooBar2000\foobar2000.exe" /L:%L

Error message:

Code: Select all

You haven't specified either /X: or /L: parameters (...)
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3869
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

May try lst2multi for your purpose which is similar

Dont forget to quote %L

/X:"E:\Program Files\FooBar2000\foobar2000.exe" /L:"%L"
#5767 Personal license
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

sqa_wizard wrote:May try lst2multi for your purpose which is similar

Dont forget to quote %L

/X:"E:\Program Files\FooBar2000\foobar2000.exe" /L:"%L"
Already tried quoting %L, doesn't work...
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

Already tried quoting %L, doesn't work...
From TC's help file:
You can also drop files on the button bar. If you drag a file onto an icon, the corresponding program is started with this file (or the first marked file).

So it seems, that you have to press the button on the Button Bar to let TC pass the right parameters to lst2str.

Regards,
~ Florian
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Ok, works, but only some of the files I select are addes (the first xx - varies) :cry:
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

To enqueue the selected files and folders to the foobar2000 playlist specify the parameter /add like

Code: Select all

/X:"E:\Program Files\FooBar2000\foobar2000.exe" /L:"%L" /S:"/add"
~ Florian
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

I know, but that isn't the problem. It simply doesn't add all the selected files to the playlist...
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

Oh sorry - I didn't understand you. You're right - the same happens at my machine - weird ...

~ Florian
Gregory
Junior Member
Junior Member
Posts: 89
Joined: 2003-02-08, 10:04 UTC
Location: Kiev, Ukraine

Post by *Gregory »

Guillaume wrote:Ok, works, but only some of the files I select are addes (the first xx - varies) :cry:
Maybe, that's because of 256 chars limit:
* You can now define your prefered command line length, however, be warned, some programs [winamp ...] cannot handle more than the good old 256 bytes, so to conserve valuable space use short DOS names, in TCmd's case use lowercase switches (%l, %m etc..)
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Yes, that's it. There's a significant difference between the number of files added when using long filenames (%L) and using 8.3-format (%l). Nevertheless, using %l doesn't help that much, since there are still files not being added because of the commandline character limitation...
Gregory
Junior Member
Junior Member
Posts: 89
Joined: 2003-02-08, 10:04 UTC
Location: Kiev, Ukraine

Post by *Gregory »

Try to use WALaunch4TC . This program is written for Winamp 3 but works with second version too. It passes m3u playlist made from selected files to WinAMP
User avatar
Guillaume
Junior Member
Junior Member
Posts: 90
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

Gregory wrote:Try to use WALaunch4TC . This program is written for Winamp 3 but works with second version too. It passes m3u playlist made from selected files to WinAMP
That's just disgusting, it opens a DOSBox *puke*
Gregory
Junior Member
Junior Member
Posts: 89
Joined: 2003-02-08, 10:04 UTC
Location: Kiev, Ukraine

Post by *Gregory »

Check 'run minimized' and you will never see it
Post Reply