Skip to content

stop sending mine=true into playlistItems#78

Open
alexanderadam wants to merge 1 commit into
philippe44:masterfrom
alexanderadam:fix/playlist_mixup_oauth_params
Open

stop sending mine=true into playlistItems#78
alexanderadam wants to merge 1 commit into
philippe44:masterfrom
alexanderadam:fix/playlist_mixup_oauth_params

Conversation

@alexanderadam
Copy link
Copy Markdown
Contributor

problem was: open "my playlists", click any list, get items from a totally different one. happens because mine=true was kept in the per-item passthrough. when LMS then asked playlistItems.list for one specific playlist, mine=true was still attached and YT returned whatever first matched the auth context, not the requested playlistId.

mine is only valid on playlists.list. keep it there, drop it from the per-item bag, and also delete it again in playlistHandler so we cant trip on it later.

problem was: open "my playlists", click any list, get items from a
totally different one. happens because mine=true was kept in the
per-item passthrough. when LMS then asked playlistItems.list for one
specific playlist, mine=true was still attached and YT returned
whatever first matched the auth context, not the requested playlistId.

mine is only valid on playlists.list. keep it there, drop it from
the per-item bag, and also delete it again in playlistHandler so
we cant trip on it later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant