jmbannon / ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp
https://ytdl-sub.readthedocs.io
GNU General Public License v3.0
1.74k stars 70 forks source link

Music presets: easily download from multiple urls #931

Open PlexSheep opened 7 months ago

PlexSheep commented 7 months ago

I want to download multiple specific playlists for a channel.

It would be really nice if we could just do:

YouTube Releases:
   = J-Pop:
      "Ado":
        - "https://www.youtube.com/@Ado1024/releases"
        - "https://www.youtube.com/playlist?list=PLaxauk3chSWjJUBirUlCQH9fOgvfiNjcc"
        - "https://www.youtube.com/playlist?list=PLaxauk3chSWizBh8KxPj83Ue03qy0A_Xv"
   = Genre2:
      "Ado":
        - "https://example.com/important_music"
        - "https://example.com/important_music2"

And be done with it.

Workaround

This is hard to find, but something like this seems to work okay for now.

YouTube Releases:
   = J-Pop:
      "Ado":
        download:
          - "https://www.youtube.com/@Ado1024/releases"
          - "https://www.youtube.com/playlist?list=PLaxauk3chSWjJUBirUlCQH9fOgvfiNjcc"
          - "https://www.youtube.com/playlist?list=PLaxauk3chSWizBh8KxPj83Ue03qy0A_Xv"

If you're facing issues with the workaround, deleting the working directories in the folder where the items are downloaded to can help.

PlexSheep commented 7 months ago

The above syntax (with the "download" part) actually works sometimes, but sometimes not. It's really confusing.

PlexSheep commented 7 months ago

Adding to this: I've had trouble with one channel being part of different "genres". The one coming later in the subscriptions file seemingly overwrote the one coming first.

jmbannon commented 7 months ago

The above should be possible without download, I'll re-purpose this issue to track adding that feature. As for subscriptions overriding, this is expected behavior, but to your point, maybe it does make sense to allow duplicate subscription names if they live in different spots

PlexSheep commented 7 months ago

What would the syntax be without use of the download workaround?

jmbannon commented 7 months ago

A list like you originally tried @PlexSheep