HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: D3smo on 2014-07-09 17:21:29

Title: Replacement for foo_cmd_playlist
Post by: D3smo on 2014-07-09 17:21:29
I would like to script using foo_run to select a playlist (made by Autoplaylist) and play it

I saw it's possible using foo_cmd_playlist

http://www.hydrogenaud.io/forums/index.php...rt=#entry803684 (http://www.hydrogenaud.io/forums/index.php?showtopic=80343&pid=803684&mode=threaded&start=#entry803684)

But this addon is not working anymore on new version of foobar is there a replacement or another way to do that ?
Title: Replacement for foo_cmd_playlist
Post by: D3smo on 2014-07-11 08:49:28
I would like to script using foo_run to select a playlist (made by Autoplaylist) and play it

I saw it's possible using foo_cmd_playlist

http://www.hydrogenaud.io/forums/index.php...rt=#entry803684 (http://www.hydrogenaud.io/forums/index.php?showtopic=80343&pid=803684&mode=threaded&start=#entry803684)

But this addon is not working anymore on new version of foobar is there a replacement or another way to do that ?


Solved using foo_scheduler
Title: Re: Replacement for foo_cmd_playlist
Post by: richard3840 on 2021-08-22 10:21:57
Thank you.

Scheduler can create an action that switches to a specific playlist, and then create an event for that action with an associated menu item. That menu item can be accessed by foo_runcmd
Title: Re: Replacement for foo_cmd_playlist
Post by: marc2k3 on 2021-08-22 19:05:31
I have a component called foo_run_main that can run any dynamically generated menu item such as "View/Switch to playlist/<name>" without the need for adding static menu items with foo_scheduler.

See "Other components" link in my signature.
Title: Re: Replacement for foo_cmd_playlist
Post by: richard3840 on 2021-08-24 16:48:00
Thank you. That does sound good.