Help - Search - Members - Calendar
Full Version: [Request] Reset playback order to 'Default'
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
martynonline
Hi all,

I'm after a plugin that'll make it so when i start foobar it resets the order to 'default' (or resetting it on close would also work).

I cant do this using the commandline as i especially need it for when i run mp3 files from windows.

The reason i need this is because i have two shortcuts, 1) to start foobar normally 2) to start foobar playing all my songs in an album on random. so if i close foobar after listening to my collection on random, when i next want to listen to an album for example, it'll play them all jumbled up!

hope someone can help,

thanks in advance, m
Squeller
I'm thinking of 2 plugins and you maybe you achieve what you want with those:
1. foo_menu_addons -> You can have a startup playlist with this and control the startup playlist via command line. There's also foo_cmd_playlist which does the same. foo_menu_Addons: -> http://acropolis.lokalen.org
2. foo_utils_playback (I think it is the one!) Stores the playback order per playlist. Search...
martynonline
QUOTE(Squeller @ Mar 10 2008, 18:47) *

I'm thinking of 2 plugins and you maybe you achieve what you want with those:
1. foo_menu_addons -> You can have a startup playlist with this and control the startup playlist via command line. There's also foo_cmd_playlist which does the same. foo_menu_Addons: -> http://acropolis.lokalen.org
2. foo_utils_playback (I think it is the one!) Stores the playback order per playlist. Search...


foo_utils_playback is buggy for me and craps out with an error message text file (failure.txt) upon closing, shouldve mentioned that in original post. I have no problem with getting the correct playlist to start its just getting foobar to forget its on random for next time i start it up by playing an album from within windows.

thanks for trying to help smile.gif but any alternatives anyone?
buktore
foo_cwbowron have function call "Startup Actions" which you can use it to set playback order to default when startup or do whatever you want.

You also get album art browser as a bonus. free of charge wink.gif

EDIT: On second thought, it may interfere with shotcut to made foo start with random mode (it may stop working since startup action force it to default) So I'm not sure, try it and see what happen.

The other way I can think off is to use foo_scheduler to have it set playback order to default and then close and bind the command to a button for use to close foobar.
foosion
QUOTE(martynonline @ Mar 10 2008, 19:28) *
I cant do this using the commandline as i especially need it for when i run mp3 files from windows.

Well, you can, but you'll need to edit the Windows registry for that. You can save the following to a .reg file and double-click it to import it (it works on Windows XP at least):
CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\foobar2000.mp3]
@="Audio file (MP3)"

[HKEY_CLASSES_ROOT\foobar2000.mp3\DefaultIcon]
@="C:\\Programme\\foobar2000\\icons\\mp3.ico"

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell]
@="play"

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\enqueue]
@="Enqueue in foobar2000"

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\enqueue\command]
@="\"C:\\Programme\\foobar2000\\foobar2000.exe\" /command:Default /add \"%1\""

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\open]
@="Open in foobar2000"

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\open\command]
@="\"C:\\Programme\\foobar2000\\foobar2000.exe\" /command:Default \"%1\""

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\play]
@="Play in foobar2000"

[HKEY_CLASSES_ROOT\foobar2000.mp3\shell\play\command]
@="\"C:\\Programme\\foobar2000\\foobar2000.exe\" /command:Default \"%1\""

The changes from this will be lost when you modify file association settings in foobar2000, and you will have to reapply them.
martynonline
thanks for trying to help guys.

buktore: didnt try your first suggestion since i would prefer not to install columns ui, and besides, its seems a bit of a clunky 'sledgehammer to crack a nut' way of doing it as i only have this seemingly simple requirement (please no offense, i appreciate every idea!!). i have scheduler installed already but as you probably know the options are quite limited. if you could explain how to set it to 'reset order to default on close' that would be perfect (as i would also like foobar to rescan my media library on close too)

foosion: i tried your idea but it didnt seem to work. foobar stayed on random (ie didnt reset) with the added side-affect of making foobar load up selections of multiple mp3s very slowly.

thanks again for the effort. is it really that hard to make foobar start up forgetting its last 'order' setting? (i ask because i fear i may have to keep the current workaround of having two installations of foobar just so i can keep one on default and one on random with seperate shortcuts going to each. :[ ugly way of doing it)
martynonline
fooision, i've just realised, i have foobar installed as an 'application install folder' rather than the default install. would this be effecting your reg fix?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.