diff --git a/README.md b/README.md index d97952b..58adb02 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Credits The script relies on python libraries: - [GuessIt 3.8.0](http://guessit.readthedocs.org) to extract information from file names and includes portions of code from [SABnzbd](https://sabnzbd.org/). + - [Patch 1](https://github.com/guessit-io/guessit/pull/799/commits/91b52758b24dac4944f21b5a04de830dd861689e) by [PDA-1](https://github.com/PDA-1) Added support for Channel 5 streaming service (My5) - [BabelFish 0.6.0](https://github.com/Diaoul/babelfish) - [ReBulk 3.2.0](https://github.com/Toilal/rebulk/) - [dateutil 2.8.2](https://github.com/dateutil/dateutil) diff --git a/lib/guessit/config/options.json b/lib/guessit/config/options.json index 1eeaff8..39cd8fc 100644 --- a/lib/guessit/config/options.json +++ b/lib/guessit/config/options.json @@ -658,6 +658,7 @@ "ALL4", "4OD" ], + "Channel 5": "MY5", "CHRGD": "CHGD", "Cinemax": "CMAX", "Country Music Television": "CMT", diff --git a/testdata.json b/testdata.json index dabad28..460f5e7 100644 --- a/testdata.json +++ b/testdata.json @@ -136,6 +136,12 @@ "OUTPUTFILE": "/movies/S04E18.mkv", "NZBPO_SERIESFORMAT": "%sn/Season %s/%sn - S%0sE%0e - %en" }, + { + "id": "series-8", + "INPUTFILE": "Motorway.Cops.Catching.Britains.Speeders.S07E05.1080p.MY5.WEB-DL.AAC2.0.H.264-RAWR/Motorway.Cops.Catching.Britains.Speeders.S07E05.1080p.MY5.WEB-DL.AAC2.0.H.264-RAWR.mkv", + "OUTPUTFILE": "/series/Mkv/Motorway Cops Catching Britains Speeders/Season 7/Motorway_Cops_Catching_Britains_Speeders - S07E05 - 1080p.Web.mkv", + "NZBPO_SERIESFORMAT": "%Ext/%sn %y/Season %s/- %s_n - S%0sE%0e - %en - %qss.%qf.%ext" + }, { "id": "dated-deprecated-t-1", "INPUTFILE": "The.Daily.Show.2013.06.27.Tom.Goldstein.HDTV.x264-FQM.mkv", @@ -206,4 +212,4 @@ "NZBPO_MULTIPLEEPISODES": "range", "NZBPO_EPISODESEPARATOR": "-E" } -] \ No newline at end of file +]