I wanted some way of stopping playback in Foobar 2000 after the end of the current album is reached but couldn't find either any acceptable built-in way of doing it (eg. via the playback queue) or any plugin that would help me (apart from maybe foo_uie_queuemanager but that seems to be incompatible with current versions and no longer updated).
So, I threw something together quickly. Thanks to foosion's handy tutorials and the quite neat, if sparsely documented, SDK this was really quick and painless - it only took a couple of hours in the end from downloading the SDK.
Here's the DLL for download: foo_stopaftercuralbum v0.2 (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=5128)
And here's the source: foo_stopaftercuralbum v0.2 source (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=5129)
(NB: This was built against the 0.9 SDK but works fine in the v1.0 betas, at least as of beta 5.)
This will add an extra 'Stop After Current Album' in your Playback menu. When enabled it should do exactly what it sounds like it should do!
The albums are differentiated on the basis of the following string by default:
'%album artist%| | %album% | %date% | %directoryname%'
If that changes then the album is regarded as having changed. You can change it in the advanced preferences if you like (under Playback -> Stop after current album).
I hope this is useful to someone. Let me know if you use it and like it :)
Thank You!!!
Very useful as i mainly use foobar for listening full albums with autoplaylists.
Very good indeed. Thanks
Edit: I can not download it.
Error: Invalid File.
If you ever wanted to make version 0.2:
// config.cpp:
advconfig_string_factory cfg_albumPattern("Stop after current album - album pattern", guid_cfg_albumPattern, advconfig_entry::guid_branch_playback, 0, "%album artist%|%album%|%date%|%directory%");
// on_playback_new_track():
pfc::string8 format;
cfg_albumPattern.get(format);
p_track->format_title_legacy(NULL, new_id_string, format, NULL);
@eradumvelhinho:
I just downloaded it on a different computer and it worked fine for me?
@Yirkha:
Thanks for the tip :)
Problem fixed!
aah, this is great. something i've always missed! thank you very much, knox!
two things for a possible v0.2
- an option to reset stop-after-current-album when stopping
- "stop after current album" should appear below "stop after current" in the playback menue
I love this component, and I agree with solarlag's recommendations
I've uploaded v0.2 - see the opening post.
There are some options under Advanced -> Playback -> Stop after current album to control the format of the album ID string and to only stop once, ie. to reset as requested after stopping once. Unfortunately the SDK doesn't allow the option in the Playback menu to be inserted earlier. Well, it might be possible but the SDK specifically says you shouldn't.
If a moderator could edit my opening post to point at these new links that'd be great. I don't seem to be able to do it myself (I guess there's some limit on how long after posting you can edit).
(Edit: nevermind!)
Post editing privileges fixed.
Please use our uploads forum (http://www.hydrogenaudio.org/forums/index.php?showforum=42) instead of external file hosting services.
Thanks :) And I have done now.
thanks for the update, knox!
great component
thanks
This is what I ever wanted, thanks for making dream reality Sir knox!
A "Stop after Playback Queue" function would be nice (like in the outdated foo_uie_queuemanager)...
A "Stop after Playback Queue" function would be nice (like in the outdated foo_uie_queuemanager)...
foo_stop_after_queue-0.1
http://www.saunalahti.fi/cse/foobar2000/ (http://www.saunalahti.fi/cse/foobar2000/)
Thank you very much, Case!
Wow thanks very much for this simple component!
I really like it.
I have tried the more recent (and overly complex imo) foo_stopafteralbum (http://www.hydrogenaudio.org/forums/?showtopic=83743), but it didn’t work for me (?).
Then I found this good old foo_stopaftercuralbum (http://www.hydrogenaudio.org/forums/?showtopic=72355) back again, which still works great for me (and there are even some settings available) !
Just curious if anyone still has this old component kicking around.