Help - Search - Members - Calendar
Full Version: Get selected songs
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
andrei5008
Hi. How should I obtain the selected songs from the active playlist?

I figured out that I should obtain a pointer to the current playlist_manager service, but how do I do that?

Thanks.
foosion
I suggest reading the SDK readme.
andrei5008
Ok, I finally get it:

t_size plCount = static_api_ptr_t<playlist_manager>()->get_playlist_count();
...
...
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.