This is a script to process YouTube videos on Channels DVR Server to apply a nicer thumbnail.
This assumes the YouTube ID and/or the published date is in the EpisodeTitle
of the video. IE, Name of Video_(2023-01-06)_[akZxhhcwkR4]
. This should be the case if the filename is Name of Video_(2023-01-06)_[akZxhhcwkR4].EXT
in order to derive the video title from the filename when importing.
Published Date is optional.
When running this script, it will process every video in the video group. It will:
- Pull the YouTube id from the title
- Use it to generate the thumbnail url
- Pull the published date from the title
- Use the new thumbnail url for the video
- Update the Original Date of the video to use the published date
- Update the EpisodeTitle to remove the YouTube ID and Original Date