There’s 15 millions playlist access in those logs…
But I can see that you have 12 playlists with the same unique id …
SELECT playlists._id, playlists.provider_id, playlists.type, playlists.content_type, playlists.media_type, playlists.external_id, playlists.external_data, playlists.title, playlists.thumbnail, playlists.offline_status, playlists.auto_offline, playlists.auto_sync, playlists.smart_filter, playlists.is_favorite, playlists.resume_file, playlists.random_seed, playlists.duration, playlists.song_count, playlists.last_modified, playlists.local_thumbnail, playlists.tags, playlists.last_played, playlists.sort_order, playlists.date_added, playlists.display_mode, playlists.fav_date, playlists.unique_id, playlists.display_mode_size, playlists.display_mode_spacing FROM playlists WHERE (playlists._id= ? OR playlists.unique_id= ?) ('65f93b7a-31f6-4884-b6d3-a29637946b56','65f93b7a-31f6-4884-b6d3-a29637946b56') [12 in 0.76ms]
And the first one with that id returns those 2316 results
Query: SELECT songs._id, songs.thumbnail, songs.title, songs.display_artist, songs.duration, songs.offline_status, songs.external_id, songs.provider_id, CASE WHEN songs.thumbnail IS NULL THEN albums.thumbnail ELSE songs.thumbnail END, CASE WHEN (songs.local_thumbnail IS NULL AND songs.thumbnail IS NULL) THEN albums.local_thumbnail ELSE songs.local_thumbnail END, albums.title, songs.file, songs.external_data, songs.is_favorite, songs.play_count, songs.rating, songs.user_rating FROM songs LEFT JOIN albums ON (songs.album_id=albums._id) WHERE ((songs._id IN (SELECT songs._id FROM songs WHERE ((songs.last_played < ?) AND (songs.play_count = 1)) AND (songs.provider_id IN (1)) ORDER BY songs.duration ASC LIMIT 111111))) ORDER BY RANDOM() ASC LIMIT 11111 ('2025-01-10 16:28:52') [2316 in 32.27ms]
So everything works correctly, now the actual question is how the hell do you manage to have playlists with the same unique ID.