diff --git a/src/db-memory.c b/src/db-memory.c index 04c854ae..cb5de7b6 100644 --- a/src/db-memory.c +++ b/src/db-memory.c @@ -604,7 +604,7 @@ int db_get_playlist_is_smart(int playlistid) { if(!current) { result=0; } else { - result=1; + result=current->is_smart; } pthread_rwlock_unlock(&db_rwlock);