Open krystof1119 opened 4 months ago
Sorry, misclicked and rerequested the review, didn't mean to do that.
Sorry for the late response, time got away from me. I've incorporated the suggestion and rebased the patch onto the current version of the code.
Currently, when a video is viewed in audio-only mode (/watch?listen=1...), the 'related video' links shown on the video include listen=true in the URL parameters, but if the video was opened as part of the playlist, the links to other videos in that playlist don't include it. This PR changes it such that the links have '&listen=1' appended to them when the user is watching a video in audio-only mode.
I made the same change for mixes, and from a cursory look, it seems to me as though it's working (but I personally don't use mixes, so I can't say for sure).