IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Addressing right click playlist functions from the commandline, [Support is for confirmed problems, not how-to questions]
trilliansounds
post Jun 28 2012, 20:37
Post #1





Group: Members
Posts: 4
Joined: 12-February 08
Member No.: 51259



Hi,

hope someone can help with a commandline query...

I'm trying to load a few tracks into a playlist and then convert them but I can't get the switch to work.

So far:

CODE
foobar2000.exe "C:\Test Recording2.mp3" "C:\Test Recording.flac"


Will load the two clips into a playlist and start playing.

But how can I address the Convert to > a saved preset called "WAVtest"?

Going by the wiki page:
/command:<menu command> - invokes the specified main menu command
/playlist_command:<context menu command> - invokes the specified context menu command on current playlist selection
/playing_command:<context menu command> - invokes the specified context menu command on currently played track
/context_command:<context menu command> <files> - invokes the specified context menu command on the specified files

CODE
foobar2000.exe /context_command:WAVTest "C:\Test Recording2.mp3" "C:\Test Recording.flac"


Doesn't work.

Also is it possible to run the command Replaygain > Scan per-file track gain via the commandline?

Thanks in advance

This post has been edited by trilliansounds: Jun 28 2012, 20:39
Go to the top of the page
+Quote Post
trilliansounds
post Jun 29 2012, 09:33
Post #2





Group: Members
Posts: 4
Joined: 12-February 08
Member No.: 51259



Found this topic on addressing volume controls from the command line.

Volume control command line

So foobar2000.exe "/command:Up" will increase the volume

But none of these variations work:
foobar2000.exe "/command:WAVtest" "C:\Test Recording2.mp3" "C:\Test Recording.flac"
foobar2000.exe "/context_command:WAVtest" "C:\Test Recording2.mp3" "C:\Test Recording.flac"
foobar2000.exe "/playlist_command:WAVtest" "C:\Test Recording2.mp3" "C:\Test Recording.flac"
foobar2000.exe "C:\Test Recording2.mp3" "C:\Test Recording.flac" "/playlist_command:WAVtest"

What's missing?!
Go to the top of the page
+Quote Post
foosion
post Jun 29 2012, 11:17
Post #3





Group: FB2K Moderator (Donating)
Posts: 4433
Joined: 24-February 03
Member No.: 5153



You could try the foo_runcmd component. With it you can launch foobar2000 with the following command line:
CODE
foobar2000.exe "/runcmd-files=<pattern>" <files>

Replace <files> with the list of files you want to convert and <pattern> with a pattern for your converter preset. "Convert/WAVtest" might work. You can use the "Run Command" GUI to test the pattern.


--------------------
http://foosion.foobar2000.org/ - my components for foobar2000
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd September 2014 - 04:45