YoutubeDL-Material icon indicating copy to clipboard operation
YoutubeDL-Material copied to clipboard

[BUG] Playlist URL Subscription is saved as channel

Open Kachelkaiser opened this issue 1 year ago • 3 comments

Describe the bug PLaylist URL Subscription is saved as channel

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Subscriptions'
  2. Click on 'Blue plus'
  3. Enter PLaylist URL eg. https://www.youtube.com/watch?v=4Xui-szCbI&list=PL_H50xx0qoB_j9HBnUB1Cz2j1Z-Wmtgu
  4. Give custom name, if wanted
  5. Click 'Subscribe'
  6. Entry is now saved as channel instead as playlist

Expected behavior new entry is saved as playlist subscription

Screenshots grafik

Environment

  • YoutubeDL-Material version 4.3
  • Docker tag:

Ideally you'd copy the info as presented on the "About" dialogue in YoutubeDL-Material. (for that, click on the three dots on the top right and then check "installation details". On later versions of YoutubeDL- Material you will find pretty much all the crucial information here that we need in most cases!)

Installation details:

Installed version: v4.3 Installation type: docker Docker tag: latest Commit hash: fc3c179 Build date: 2022-07-05

Kachelkaiser avatar Sep 22 '22 07:09 Kachelkaiser

enter as https://www.youtube.com/playlist?list=PL_H50xx0qoB_j9HBnUB1Cz2j1Z-Wmtgu

cthuluzombie avatar Sep 30 '22 10:09 cthuluzombie

The logic for whether it's a playlist or channel is dumb (it just checks if the keyword playlist is present). Maybe there's a way to check that I'm missing but I think that's the only way as of now.

Regardless there's no special logic for playlists, it's just for organizing the UI. Maybe we should remove the distinction entirely, but to me it sounds helpful.

Tzahi12345 avatar Apr 26 '23 03:04 Tzahi12345

The logic for whether it's a playlist or channel is dumb (it just checks if the keyword playlist is present). Maybe there's a way to check that I'm missing but I think that's the only way as of now.

Regardless there's no special logic for playlists, it's just for organizing the UI. Maybe we should remove the distinction entirely, but to me it sounds helpful.

Please let's not remove granularity. IMHO there's a big difference between selectively subscribing to a fraction of what a channel has to offer and the entire channel and as long as we keep them separated any possible future feature like upgrading to a full channel sub (as long as all of a playlist's uploaders are the same for example) is a lot easier to get done.

IMHO the separation is a necessity.

That being said, subscribing to a playlist or channel from a video URL with a playlist reference is a little "eh...." anyhow.

If the reference to a playlist ever gets redone by the platform (here YT) this may not resolve anymore whilst channel and video URLs should probably always remain the same.

Imagine playlists get dropped from the URL scheme some day on YT and if you open the URL it just redirects to the video URL sans playlist reference, suddenly your subscription starts behaving like a channel sub because the scope gets changed from referencing a playlist towards the default behavior of downloading a video's uploader channel.

OR, imagine some day YT changes to the point where a video can transfer to another channel.

IMHO it should always be taken into account that subscribing to the actual channel URL is likely the most robust thing to do and the easiest to fix automatically if there's any need to do that. Subscribing to anything that merely references the channel indirectly (owner of video = xyz) or directly in the URL is flaky, and the same can be said about playlists.

We can probably add a logic to YTDL-M that specifically looks for the URL style you referenced, but the question is if it may lead to expectations of that being a reliable path to walk on.

GlassedSilver avatar Apr 26 '23 13:04 GlassedSilver