From fe2911b99bedb648cf7c95b2be9bc9bfeecdb57a Mon Sep 17 00:00:00 2001 From: William McBrine Date: Thu, 10 Dec 2009 12:45:34 -0500 Subject: [PATCH] Default tvRating to "No Rating" instead of "TV-NR". --- plugins/video/templates/TvBus.tmpl | 2 ++ plugins/video/video.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/video/templates/TvBus.tmpl b/plugins/video/templates/TvBus.tmpl index edf29b5..5f07d85 100644 --- a/plugins/video/templates/TvBus.tmpl +++ b/plugins/video/templates/TvBus.tmpl @@ -99,7 +99,9 @@ $video.displayMinorNumber $escape($video.callsign) + #if $video.tvRating $video.tvRating[0] + #end if $video.startTime $video.stopTime diff --git a/plugins/video/video.py b/plugins/video/video.py index 0822740..5064956 100644 --- a/plugins/video/video.py +++ b/plugins/video/video.py @@ -439,8 +439,7 @@ class VideoDetails(DictMixin): 'displayMinorNumber' : '0', 'isEpisode' : 'true', 'colorCode' : ('COLOR', '4'), - 'showType' : ('SERIES', '5'), - 'tvRating' : ('NR', '7') + 'showType' : ('SERIES', '5') } if key in defaults: return defaults[key] -- 2.11.4.GIT