mmmmmtasty / SportScanner

Scanner and Metadata Agent for Plex that uses sportdb
101 stars 31 forks source link

Episode number hash override and text appended to title via metadata file #27

Closed Nielk1 closed 5 years ago

Nielk1 commented 5 years ago

This is a change I made for my own personal use but I wanted to offer it back to the main code base. You can close this request without comment if you would not like to include this feature. I am not specifically a python developer but I have tested this code to ensure it operates properly in the conditions I've run into.

This change allows for a metadata file with the .SportScanner extension to override the hash portion of the episode number in the scanner and dynamically append to the title of the event in the metadata agent. I utilize this to handle events split into multiple portions, such as the pre and post game shows, preserving their order and adding context to the title as needed. The file is two lines of text (or less) where the first line is the override episode number and the second line is the text to be appended to the title.

Nielk1 commented 5 years ago

Closed in favor of #29 I wasn't expecting to make more changes, so I've started using feature branches instead of master