[REL] YouTube Metadata Agent

The naming convention for my files is as follow (on windows)

$hh = [DateTime]::Now.ToString("HH")
$dd = [DateTime]::Now.ToString("dd")
$MM = [DateTime]::Now.ToString("MM")
$yyyy = [DateTime]::Now.ToString("yyyy")

$downloadlocation = 
"I:\TV\YouTube\%(uploader)s [%(channel_id)s]\%(uploader)s - s$yyyy"+"e1"+"$MM$dd$hh%(playlist_index)s - %(title)s  [%(id)s].%(ext)s"

As you can see I essentially…

  • use the UPLOADER as the show name

then

  • use the current YEAR as a season number,

for the EPISODE I use

  • 1 followed by month displayed as two digits (other wise months that start with a 0, i.e. JAN-SEP drop the leading 0)
  • next is date displayed as two digits
  • hour displayed as two digits (as I run my download script hourly)
  • On the end of that I append the playlist position number in order to prevent duplicate numbered episodes should a channel upload more than one video per hour (it happens rarely).
  • Finally I add the episode title and UID

Using this method means that I can use the standard plex scanner and not the ASS

3 Likes