diff options
Diffstat (limited to 'addons/metadata.tvdb.com/tvdb.xml')
-rw-r--r-- | addons/metadata.tvdb.com/tvdb.xml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/addons/metadata.tvdb.com/tvdb.xml b/addons/metadata.tvdb.com/tvdb.xml index 5335f4560e..844f94501b 100644 --- a/addons/metadata.tvdb.com/tvdb.xml +++ b/addons/metadata.tvdb.com/tvdb.xml @@ -242,11 +242,23 @@ <expression><EpisodeNumber>([0-9]*)</EpisodeNumber>.*?<SeasonNumber>0</SeasonNumber></expression> </RegExp> <!-- Normal Season/Episodes --> - <RegExp conditional="!absolutenumber" input="$$8" output="<season>\1</season>" dest="4+"> - <expression><SeasonNumber>([^<]*)</SeasonNumber></expression> + <RegExp conditional="!absolutenumber" input="$$9" output="<season>\1</season>" dest="4+"> + <RegExp conditional="!dvdorder" input="$$8" output="\1" dest="9"> + <expression clear="yes"><SeasonNumber>([^<]*)</SeasonNumber></expression> + </RegExp> + <RegExp conditional="dvdorder" input="$$8" output="\1" dest="9"> + <expression><Combined_season>([^<]*)</Combined_season></expression> + </RegExp> + <expression/> </RegExp> - <RegExp conditional="!absolutenumber" input="$$8" output="<episode>\1</episode>" dest="4+"> - <expression><EpisodeNumber>([^<]*)</EpisodeNumber></expression> + <RegExp conditional="!absolutenumber" input="$$9" output="<episode>\1</episode>" dest="4+"> + <RegExp conditional="!dvdorder" input="$$8" output="\1" dest="9"> + <expression clear="yes"><EpisodeNumber>([^<]*)</EpisodeNumber></expression> + </RegExp> + <RegExp conditional="dvdorder" input="$$8" output="\1" dest="9"> + <expression><Combined_episodenumber>([^<]*)</Combined_episodenumber></expression> + </RegExp> + <expression/> </RegExp> <RegExp input="$$8" output="<thumb>http://thetvdb.com/banners/\1</thumb>" dest="4+"> <expression><filename>([^<]+)</filename></expression> |