diff --git a/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt b/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt index a2f5547cc..aa95e341e 100644 --- a/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt +++ b/app/src/main/java/com/dd3boh/outertune/db/daos/PlaylistsDao.kt @@ -68,6 +68,7 @@ interface PlaylistsDao { LEFT JOIN playlist_song_map psm ON p.id = psm.playlistId LEFT JOIN song s ON psm.songId = s.id WHERE name LIKE '%' || :query || '%' + AND s.inLibrary IS NOT NULL GROUP BY p.id LIMIT :previewSize """)