Background:
The way that Formula1 boadcasts is organized doesn't fit very well with ether Movies or TV Series. Adding them as home movies is one unsatisfactory option, but instead I tried to make a Formula1 Media Scanner.
It is working for my purpose, and I take no responsibility should it cause you any harm, but you are free to reuse and modify it.
How it works:
I typically have all my Formula1 media in one folder, and one broadcast can be named i.e. formula1.2014.spain.grand.prix.qualifying.uncut.720p.hdtv.x264.mkv. The Formula1 Media Scanner picks up the various parts of the file name using this regular expression:
'(?P.*?)[\._ ](?P[0-9]{4})[\._ ](?P.*?)[\.](?P.*?)\.(720p|HDTV|x254|1080p)'
In the above example it will find the following match:
MATCH 1
show [1-9] `formula1`
season [10-14] `2014`
location [15-20] `spain`
ep [21-48] `grand.prix.qualifying.uncut`
5. [49-53] `720p`
Install and use:
copy the attached file to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/
restart plexmediaserver
Add a new library called Formula1 and add the folder containing F1 broadcasts
Select Advanced and Scanner: Formula1
Bugs:
You have to re-add the library when you get new files, because it adds a new show with the same name for the new files, why?
The way it increments the episode numbers might be lost from scan to scan? Have not verified due to the bug above.
If you have suggestions how to fix the bugs, please let me know.
GitHub:
can’t wait to try it. (I get an error message when I try and download).