In this specific use case, I am running into a bit of challenge with PBS children's shows like Daniel Tiger's Neighborhood, where each 30 minute airing actually contains two unique episodes, each with their own title. The files I am attempting to rename and tag have the following structure.
<show-title>.<original-air-date>.<episode1-name;episode2-name>.mp4
e.g. Daniel Tigers Neighborhood.2019-01-08T00:00:00Z.Daniels Obstacle Course; Daniel Plays in a Gentle Way.mp4
The file name structure of the source file is derived from metadata provided by the DVR program and only includes information that is guaranteed to be the same across all metadata sources. Season and Episode numbers for Children's shows are rarely, if ever, the same between OTA and Online metadata sources and therefore, the Season and Episode numbers are omitted from the source file name.
Following the guidance this thread, the following command
Code: Select all
filebot -rename "Daniel Tigers Neighborhood.2019-01-08T00:00:00Z.Daniels Obstacle Course; Daniel Plays in a Gentle Way.mp4" --db TheTVDB --mapper "episode.derive(0)" --action TEST -non-strict
Code: Select all
Reverse Map [Daniel Tiger's Neighborhood - 00] to [Daniel Tiger's Neighborhood - 4x12 - Daniel Plays in a Gentle Way]
[TEST] from [/home/<username>/OTA2MP4/Complete/Daniel Tigers Neighborhood.2019-01-08T00:00:00Z.Daniels Obstacle Course; Daniel Plays in a Gentle Way.mp4] to [/home/<username>/OTA2MP4/Complete/Daniel Tiger's Neighborhood - 4x12 - Daniel Plays in a Gentle Way.mp4]
<show-title> - <SxxExx-xx> - <episode1-name, episode2-name>.mp4
e.g. Daniel Tiger's Neighborhood - S04E11-12 - Daniels Obstacle Course, Daniel Plays in a Gentle Way.mp4
Thanks in advance for any feedback you provide.