mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[spotify] Move "has_podcast_support" to spotify_status and expose this
flag in the web API
This commit is contained in:
@@ -1989,6 +1989,7 @@ create_base_playlist(void)
|
||||
static void
|
||||
scan(enum spotify_request_type request_type)
|
||||
{
|
||||
struct spotify_status sp_status;
|
||||
time_t start;
|
||||
time_t end;
|
||||
|
||||
@@ -2006,7 +2007,8 @@ scan(enum spotify_request_type request_type)
|
||||
create_saved_tracks_playlist();
|
||||
scan_saved_albums(request_type);
|
||||
scan_playlists(request_type);
|
||||
if (spotify_podcast_support())
|
||||
spotify_status_get(&sp_status);
|
||||
if (sp_status.has_podcast_support)
|
||||
scan_saved_shows(request_type);
|
||||
|
||||
scanning = false;
|
||||
|
||||
Reference in New Issue
Block a user