Skip to content

Commit b4760d8

Browse files
authored
Fix: Added channel 5 to streaming services in options.json (#14)
Channel 5 was missing from the list, it caused a wrong title name to be calculated.
1 parent fd85c83 commit b4760d8

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Credits
101101
The script relies on python libraries:
102102

103103
- [GuessIt 3.8.0](http://guessit.readthedocs.org) to extract information from file names and includes portions of code from [SABnzbd](https://sabnzbd.org/).
104+
- [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)
104105
- [BabelFish 0.6.0](https://github.com/Diaoul/babelfish)
105106
- [ReBulk 3.2.0](https://github.com/Toilal/rebulk/)
106107
- [dateutil 2.8.2](https://github.com/dateutil/dateutil)

lib/guessit/config/options.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@
658658
"ALL4",
659659
"4OD"
660660
],
661+
"Channel 5": "MY5",
661662
"CHRGD": "CHGD",
662663
"Cinemax": "CMAX",
663664
"Country Music Television": "CMT",

testdata.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@
136136
"OUTPUTFILE": "/movies/S04E18.mkv",
137137
"NZBPO_SERIESFORMAT": "%sn/Season %s/%sn - S%0sE%0e - %en"
138138
},
139+
{
140+
"id": "series-8",
141+
"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",
142+
"OUTPUTFILE": "/series/Mkv/Motorway Cops Catching Britains Speeders/Season 7/Motorway_Cops_Catching_Britains_Speeders - S07E05 - 1080p.Web.mkv",
143+
"NZBPO_SERIESFORMAT": "%Ext/%sn %y/Season %s/- %s_n - S%0sE%0e - %en - %qss.%qf.%ext"
144+
},
139145
{
140146
"id": "dated-deprecated-t-1",
141147
"INPUTFILE": "The.Daily.Show.2013.06.27.Tom.Goldstein.HDTV.x264-FQM.mkv",
@@ -206,4 +212,4 @@
206212
"NZBPO_MULTIPLEEPISODES": "range",
207213
"NZBPO_EPISODESEPARATOR": "-E"
208214
}
209-
]
215+
]

0 commit comments

Comments
 (0)