Skip to content

Commit

Permalink
Merge branch 'patch-1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Dec 18, 2016
2 parents b8520f1 + 62c8194 commit 1a9cf06
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 1 deletion.
8 changes: 8 additions & 0 deletions guessit/rules/properties/streaming_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def streaming_service():

rebulk.string('AE', 'A&E', value='A&E')
rebulk.string('AMBC', value='ABC')
rebulk.string('AMC', value='AMC')
rebulk.string('AMZN', 'AmazonPrime', value='Amazon Prime')
rebulk.regex('Amazon-Prime', value='Amazon Prime')
rebulk.string('AS', 'AdultSwim', value='Adult Swim')
Expand All @@ -37,11 +38,13 @@ def streaming_service():
rebulk.string('CW', 'TheCW', value='The CW')
rebulk.regex('The-CW', value='The CW')
rebulk.string('DISC', 'Discovery', value='Discovery')
rebulk.string('DIY', value='DIY Network')
rebulk.string('DSNY', 'Disney', value='Disney')
rebulk.string('EPIX', 'ePix', value='ePix')
rebulk.string('HBO', 'HBOGo', value='HBO Go')
rebulk.regex('HBO-Go', value='HBO Go')
rebulk.string('HIST', 'History', value='History')
rebulk.string('ID', value='Investigation Discovery')
rebulk.string('IFC', 'IFC', value='IFC')
rebulk.string('PBS', 'PBS', value='PBS')
rebulk.string('NATG', 'NationalGeographic', value='National Geographic')
Expand All @@ -52,12 +55,17 @@ def streaming_service():
rebulk.string('NFL', value='NFL')
rebulk.string('NICK', 'Nickelodeon', value='Nickelodeon')
rebulk.string('NF', 'Netflix', value='Netflix')
rebulk.string('RTE', value='RTÉ One')
rebulk.string('SESO', 'SeeSo', value='SeeSo')
rebulk.string('SPKE', 'SpikeTV', 'Spike TV', value='Spike TV')
rebulk.string('SYFY', 'Syfy', value='Syfy')
rebulk.string('TFOU', 'TFou', value='TFou')
rebulk.string('TLC', value='TLC')
rebulk.string('TV3', value='TV3 Ireland')
rebulk.string('TV4', value='TV4 Sweeden')
rebulk.string('TVL', 'TVLand', 'TV Land', value='TV Land')
rebulk.string('UFC', value='UFC')
rebulk.string('USAN', value='USA Network')

rebulk.rules(ValidateStreamingService)

Expand Down
111 changes: 110 additions & 1 deletion guessit/test/episodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@
release_group: monkee
type: episode

# Streaming service: AMBC
# Streaming service: HIST
? Show.Name.720p.HIST.WEBRip.AAC2.0.H.264-monkee
: options: -t episode
title: Show Name
Expand Down Expand Up @@ -2792,3 +2792,112 @@
format: HDTV
release_group: abc
type: episode

# Streaming service: DIY Network
? Show.Name.S01.720p.DIY.WEBRip.AAC2.0.H.264-BTN
: title: Show Name
season: 1
screen_size: 720p
streaming_service: DIY Network
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: BTN
type: episode

# Streaming service: USA Network
? Show.Name.S01E02.Exfil.1080p.USAN.WEBRip.AAC2.0.x264-AJP69
: title: Show Name
season: 1
episode: 2
screen_size: 1080p
streaming_service: USA Network
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: AJP69
type: episode

# Streaming service: TV3 Ireland
? Show.Name.S01E08.576p.TV3.WEBRip.AAC2.0.x264-HARiKEN
: title: Show Name
season: 1
episode: 8
screen_size: 576p
streaming_service: TV3 Ireland
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: HARiKEN
type: episode

# Streaming service: TV4 Sweeden
? Show.Name.S05.720p.TV4.WEBRip.AAC2.0.H.264-BTW
: title: Show Name
season: 5
screen_size: 720p
streaming_service: TV4 Sweeden
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: BTW
type: episode

# Streaming service: TLC
? Show.Name.S02.720p.TLC.WEBRip.AAC2.0.x264-BTW
: title: Show Name
season: 2
screen_size: 720p
streaming_service: TLC
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: BTW
type: episode

# Streaming service: Investigation Discovery
? Show.Name.S01E01.720p.ID.WEBRip.AAC2.0.x264-BTW
: title: Show Name
season: 1
episode: 1
screen_size: 720p
streaming_service: Investigation Discovery
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: BTW
type: episode

# Streaming service: RTÉ One
? Show.Name.S10E01.576p.RTE.WEBRip.AAC2.0.H.264-RTN
: title: Show Name
season: 10
episode: 1
screen_size: 576p
streaming_service: RTÉ One
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: RTN
type: episode

# Streaming service: AMC
? Show.Name.S01E01.1080p.AMC.WEBRip.H.264.AAC2.0-CasStudio
: title: Show Name
season: 1
episode: 1
screen_size: 1080p
streaming_service: AMC
format: WEBRip
audio_codec: AAC
audio_channels: '2.0'
video_codec: h264
release_group: CasStudio
type: episode

0 comments on commit 1a9cf06

Please sign in to comment.