From 23ef0db39bf6755a32def2ecf531810b6babe385 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sat, 23 Sep 2017 15:49:29 +0100
Subject: [PATCH 4/6] ttvdb: ignore user rating of 0
v1 used to, from comparing "ttvdb.py -l en -a GB -C 330432".
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
---
mythtv/bindings/python/MythTV/ttvdb/XSLT/tvdbCollection.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mythtv/bindings/python/MythTV/ttvdb/XSLT/tvdbCollection.xsl b/mythtv/bindings/python/MythTV/ttvdb/XSLT/tvdbCollection.xsl
index 7c576079ef..87b88c1d1a 100644
a
|
b
|
|
82 | 82 | <xsl:if test="./zap2it_id/text() != ''"> |
83 | 83 | <tmsref><xsl:value-of select="normalize-space(zap2it_id)"/></tmsref> |
84 | 84 | </xsl:if> |
85 | | <xsl:if test="./siteRating/text() != ''"> |
| 85 | <xsl:if test="./siteRating/text() != '0'"> |
86 | 86 | <userrating><xsl:value-of select="normalize-space(siteRating)"/></userrating> |
87 | 87 | </xsl:if> |
88 | 88 | <xsl:if test="./siteRatingCount/text() != ''"> |