tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Titles in Plex

Open burnbrigther opened this issue 6 months ago • 1 comments

I know this has been asked a number of times, apologies for bringing it up again. That being said, there isn't really any documentation on how to do it. I just want my titles to show up in Plex in some more presentable way than: 2016-11-09_mreflow_speed-up-online-video-playback_ueXqymddCUE_ios-vp9-opus-30fps Willing to change video formats or download containers or whatever, really just need a step by step on how to do it. Thanks!

burnbrigther avatar Jun 19 '25 22:06 burnbrigther

I don't use Plex, so I can't instruct anyone on how to do this.

However, please start a document about this and write down everything that you learn. That way we will have something for the next person who asks.

Possibly helpful:

  • #45
  • #633

tcely avatar Jun 19 '25 23:06 tcely

I recommend ZeroQI's YouTube-Agent and Absolute Series Scanner. It downloads descriptions and tags and does a nice job of title recognition. Takes a bit more setup in Tubesync. You will need to rename folders to be Channel Name [youtube-UCXXXXX]. If your channels upload more than once a day, I recommend Channel Name [youtube2-UCXXXXX]. I default to "youtube2" for safety. Playlists should use [youtube-PLXXXXX] It will organize your episodes into seasons by Year. Episodes are numbered MDDMMSS (no leading 0 for month). For an episode today, S2025E6251035. I also recommend changing your file naming scheme to be {uploader} - {yyyy_mm_dd} - {title_full} [{key}].{ext}. The [key] part is required for metadata recognition. Your scheme may vary if on Windows. I am using Linux.

To setup in Plex after installation, create a Youtube library as TV Show. Add your Tubesync directory and set the Scanner to Absolute Series Scanner and set the Agent to YouTubeSeries. It is also best if you create your own Youtube API key to pull metadata. ZeroQi walks you through how to do that. Hope this helps someone.

Image Image Image Image`

mikeyounge avatar Jun 25 '25 16:06 mikeyounge

I also recommend changing your file naming scheme to be {uploader} - {yyyy_mm_dd} - {title_full} [{key}].{ext}.

Why is {title} not better in this case?

I also wonder if YYYYMM can be used as the season so that the episode can start with a day.

The answer is; no.

(?P<season>\d{1,4})

https://github.com/ZeroQI/YouTube-Agent.bundle/blob/e63f7a81b3493cf522a3d58276bc2ed117ed206c/Contents/Code/init.py#L357-L360

tcely avatar Jun 25 '25 17:06 tcely

I'm pretty sure you can use either title variables. For my organization and Plex installation, spaces are absolutely acceptable, so I use {title_full} and - (Space Dash Space) as my delimiter.

I'm not sure about YYYYMM. ZeroQi doesn't mention that. Edit: guid_type | Real file numbering | Seasons numbering | Episodes numbering | Use case (example)

youtube | YouTube | None | None | Put Playlist id (PL... 2+16/32 chars long) on series folder or season folder (auto-reversing) or channel id on series folder (year used as season, added as date-based unless there are duplicates for the date in which case it choose ep number MMDDxx with XX being incremental)

youtube2 | YouTube | None | None | Recommended for channels that release multiple episodes per day. Put channel id on series folder (year used as season, episodes added as MMDDhhmm. If date not present in filename, will use the files date for Month, Day, Hour and Minute, but if the date is present in the filename than Month and Day are pulled from it instead)

mikeyounge avatar Jun 25 '25 17:06 mikeyounge

After reading this over, I'm wondering if you use the .info.json files or have a YouTube API key configured.

tcely avatar Jun 25 '25 20:06 tcely

I have both, but I know the agent and scanner provide the episode numbering as described above. It works, so I haven't experimented the other way.

mikeyounge avatar Jun 25 '25 21:06 mikeyounge

I recommend ZeroQI's YouTube-Agent and Absolute Series Scanner. It downloads descriptions and tags and does a nice job of title recognition. Takes a bit more setup in Tubesync. You will need to rename folders to be Channel Name [youtube-UCXXXXX]. If your channels upload more than once a day, I recommend Channel Name [youtube2-UCXXXXX]. I default to "youtube2" for safety. Playlists should use [youtube-PLXXXXX] It will organize your episodes into seasons by Year. Episodes are numbered MDDMMSS (no leading 0 for month). For an episode today, S2025E6251035. I also recommend changing your file naming scheme to be {uploader} - {yyyy_mm_dd} - {title_full} [{key}].{ext}. The [key] part is required for metadata recognition. Your scheme may vary if on Windows. I am using Linux.

To setup in Plex after installation, create a Youtube library as TV Show. Add your Tubesync directory and set the Scanner to Absolute Series Scanner and set the Agent to YouTubeSeries. It is also best if you create your own Youtube API key to pull metadata. ZeroQi walks you through how to do that. Hope this helps someone.

Image Image Image Image`

Thank you for this - just starting looking on how to do this today, ran across your post and now have it set up. It works great!

pcsmith811 avatar Jun 26 '25 04:06 pcsmith811

Anyone who wants to add to the Plex notes should add a suggestion / comment on #1154. Thanks!

tcely avatar Jun 26 '25 05:06 tcely

@pcsmith811 Glad I could help. Manual page looks awesome as always @tcely. Thanks for continuing to enhance this great application. I literally use it everyday. Thanks @meeb for creating it.

mikeyounge avatar Jun 26 '25 22:06 mikeyounge