My Small DVD TV Show Scanner

first time in Python, etc. )
hi there,
based on some problems with my DVD collection i took a sunday afternoon and try to learn how to play a bit with the scanner here.
as all scanners this one goes as well to usr/library/as/pms/scanners/Series

Pls be aware that i set this for my structure, so no error coorection or something else
right now the dirctory above the video_ts folder needs to be renamed to "showname S01E01E02E03E04....." where S01 is taken as the Season indicator.
if you come up with typos it will the scanner will try to get that fit to the given structure aka "Showname S01E01E12E03" will result into "Showname S01E01E02E03"

Things i look at is :
Errorcorrection,
Getting specials with special naming added as well ( right now you use the last episode of the season or something similar )
in case someone like to improve this thing pls feel free and post this back here :-)
If you like to test it create a testsection and see if this suites you

Best Regards
TW


Update :

The scanner supports now the following :
Naming convention :
showtitel SXXEYYYEZZZ.......... aka "24 S01E01E02.... in any order, every EXXX will be transformed into the numeric value and stored as episode number reorder possible some dvd's have different order
( 3 digits supported for episodes, needed for at least some german shows ( tatort, etc ) )

showtitel SXXEYYSAAEBB....... aka 24 S01E02S05E04S08E05...... some shows have different order even in seasons on international DVD's ( f.e. peanuts )

Last but not least :

showtitel SyyXZZ - Special DVD aka 24 S01X25 - Special DVD for Season 01 will be stored as Ep 25 with Special DVD as Titel, also a way to attach movie's to seasons ( 24, firefly, stargate, etc. )
BUT right now i dont know how to get the real metadata for this movie, so use with caution

Maybe its not the best coding example, but so far it works for me, if someone can enhance this agent, pls feel free

pls test with some test section before you rename everything and get mad at me ;-)

That’s a pretty quick turnaround! I know I wasn’t the most supportive in the other thread you started so I’m glad you didn’t let my discouragement stop you. Kudos on improving plex for everyone. :slight_smile:

Hi JoToFoSho

no Problem with your statements, lets say ( even if this small scanner is pretty basic ) we all have now more flexibility.

from my point of view i might be a good idea to have different scanners for different media types, so people can choose what kind of folder they like to setup :

i have now 4 Sections ( Streaming Movie / Streaming TV / DVD-BR Movie / DVD TV ) and you choose based on Client.



if i have a bit more time this small scanner might be extended to support more functions, so lets see.



IF someone got ideas pls let me know



Best Regards

TW

new version attached and first post updated for new naming convention

Wow, this does the trick for me… or wait no… hmm strange “flashpoint”,“game of thrones” are ok!

But when I check “Code 37” only season 1 is shown… While the naming convention is the same as flashpoint or game of thrones…



Any reason for that ?



maps are named:

Code 37

-Season 1

-Season 2

–Code 37 s2e1e2e3e4





When I was typing this I found it out, Season 2 is in .iso file format.

Is it possible to add .iso files also in the search file ?



Thanks !

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.