JordyAlkema / Youtube-DL-Agent.bundle

A plex metadata agent for Youtube-DL downloads
119 stars 14 forks source link

Help configuring things just right for archiving a very large channel #5

Open Glynax opened 3 years ago

Glynax commented 3 years ago

I have tried several different file naming schemes for youtube DL with your agent and the absolute series scanner, and have fumbled my way into getting a few smaller channels to sort out properly. But my main youtuber has 12+ TB worth of videos and I'd like to get the agent reading them nicely before I go and download that many. He does have many playlists available but I want to archive the entire channel which means instead of sorting by playlist I am trying to just download the entire channel as I don't want to miss any stray videos (of which there are many) My last attempt was --output "C:\YouTube-Download\%(uploader)s [%(uploader_id)s]\%(upload_date)s %(title)s[%(id)s].%(ext)s" all metadata and other settings work I just need the output set to the right permutation to get them sorted by.. Preferably year with the first "episode" being the first video of that year then the next being the second and so on, which is why I just tried upload date at the start. The youtuber is Northernlion for reference and any help or advice is greatly appreciated at this point.

JordyAlkema commented 3 years ago

For sorting, you should be able to do this by going into advanced setting on your Plex library and doing the following:

Do make sure you are putting the videos from each uploader in a separate directory, I am not sure if everything works properly otherwise.

At first it will look like the sorting is not working, this is because initially Plex will use the date the file was created to sort. However when Plex/The scanner have done their job and the agent starts working it will change the date to the upload date that is set in the metadata file (and fill all other metadata). For large libraries this can take multiple hours.

Also another tip, if you want to get all videos from a youtube channel you can pass the entire channel to Youtube-DL by using this url https://www.youtube.com/user/Northernlion/videos

Glynax commented 3 years ago

I do have them in different directories per uploader. So far the issue I am having with your example "/youtube/%(uploader)s [%(uploader_id)s]/%(title)s[%(id)s].%(ext)s" is that some videos go into one season but most go into the specials season and many of them have duplicate episodes per episode like it lumping 5 different episodes into one episode. I have found some other permutations of file naming schemes that seem to work using a playlist index for example to distinguish episodes from one another but that was when I was ripping particular playlists from another channel, not an entire channel, I don't believe I can index his entire channel like that as not everything is in a playlist. Also I did not know you could pass the url you gave me, I have been using https://www.youtube.com/channel/UC3tNpTOHsTnkmbwztCs30sA which seems to load his entire channel as well. Can you clarify if there is any difference between using his channel ID like that or just using the videos link you gave?