mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
Fix bug where LastFM session key in db was ignored
This commit is contained in:
parent
2545aedc2a
commit
97910f3a99
@ -816,7 +816,10 @@ lastfm_scrobble(int id)
|
||||
return -1;
|
||||
|
||||
// No session key in mem or in db
|
||||
if ((!g_session_key) || !(g_session_key = db_admin_get("lastfm_sk")))
|
||||
if (!g_session_key)
|
||||
g_session_key = db_admin_get("lastfm_sk");
|
||||
|
||||
if (!g_session_key)
|
||||
{
|
||||
DPRINTF(E_INFO, L_LASTFM, "No valid LastFM session key\n");
|
||||
g_disabled = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user