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
How to activate and play(!) playlist from commandline?, Tried thousands methods. xD
endzeit
post Apr 16 2010, 20:48
Post #1





Group: Members
Posts: 4
Joined: 16-April 10
Member No.: 79924



Hey folks,

I'm having foobar related issues and would love to get some input. smile.gif

Here's what i'm trying to achieve:
  • Let's say i'm listening to Music from my "Chillout" Playlist.
  • I'm starting a fast and violent game. (haha)
  • I quickly realize that Chillout isn't the best music choice even if i'm able to shuffle through my Chillout playlist via keyboard hotkey.
  • I then would like to switch to my "All Music" playlist via hotkey and listen / shuffle songs from there.
  • I can't find a way to do that. crying.gif

I'm using Autohotkey for my Hotkey-needs so the best way would be to send several commands to foobar2000.exe.
I'm able to activate a different playlist (via foo_cmd_playlist) but i'm lacking some kind of "select" or play command -> as nothing has been played foobar keeps playling stuff from my Chillout playlist.

This is what i have so far:
  • Activate "All Music" Playlist - WORKS
    foobar2000.exe /playlist-activate:"All Music"
  • Select all files from (All Music-) playlist - WORKS (may not be neccesary)
    foobar2000.exe /runcmd="Edit/Select All"
  • Start playing songs from selected playlist - DOESN'T WORK
    I can't find a command / way to do that. sad.gif

I've also tried adding the selected files to the Playback queue but i can't find a command for that and then would still need a command to start playing songs from Queue..

Moar info:
I'm using foobar 1.0.2.1.
Help needed! rolleyes.gif

Thanks!

This post has been edited by endzeit: Apr 16 2010, 20:49
Go to the top of the page
+Quote Post
2E7AH
post Apr 16 2010, 22:53
Post #2





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



QUOTE (endzeit @ Apr 16 2010, 20:48) *
foobar2000.exe /playlist-activate:"All Music"

add "/play" at the end

don't forget to activate "playback follows cursor" (which will be reseted after usage by default) as although playlist is switched to desired it isn't "activated" as "nowplaying"

This post has been edited by 2E7AH: Apr 16 2010, 23:50
Go to the top of the page
+Quote Post
endzeit
post Apr 17 2010, 00:12
Post #3





Group: Members
Posts: 4
Joined: 16-April 10
Member No.: 79924



omg, how simple!
Works perfectly now (foobar2000.exe /playlist-activate:"All Music" /play /rand).

Big thx 2E7AH,
another piece to make foobar my ultimate audioplayer, hehe. (:
Go to the top of the page
+Quote Post
Forfit
post Jul 29 2012, 07:00
Post #4





Group: Members
Posts: 144
Joined: 11-April 09
Member No.: 68870



QUOTE (endzeit @ Apr 17 2010, 00:12) *
Works perfectly now (foobar2000.exe /playlist-activate:"All Music" /play /rand).

It not works form me in FB 1.1.13 at start, it not change playlist and play current playlist.
To works, i must:
foobar2000.exe /playlist-activate:"All Music"
and then
foobar2000.exe /play /rand

This post has been edited by Forfit: Jul 29 2012, 07:04
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: 24th May 2013 - 03:55