mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 21:03:00 -05:00
Better log message when libspotify is missing
This commit is contained in:
@@ -1794,7 +1794,11 @@ spotify_login(char *path)
|
||||
|
||||
if (!g_sess)
|
||||
{
|
||||
DPRINTF(E_LOG, L_SPOTIFY, "Can't login! No valid Spotify session.\n");
|
||||
if (!g_libhandle)
|
||||
DPRINTF(E_LOG, L_SPOTIFY, "Can't login! - could not find libspotify\n");
|
||||
else
|
||||
DPRINTF(E_LOG, L_SPOTIFY, "Can't login! - no valid Spotify session\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user