From 40ae4b943ea1293c3e9c0bf02ab178ccb3b89343 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sat, 23 Sep 2017 15:48:30 +0100
Subject: [PATCH 3/6] ttvdb: Ignore banner of just
"http://thetvdb.com/banners/"
Seen in "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 f9464db373..7c576079ef 100644
a
|
b
|
|
139 | 139 | </xsl:element> |
140 | 140 | </xsl:when> |
141 | 141 | </xsl:choose> |
142 | | <xsl:if test="./banner/text() != ''"> |
| 142 | <xsl:if test="./banner/text() != '' and ./banner/text() != 'http://thetvdb.com/banners/'"> |
143 | 143 | <xsl:element name="image"> |
144 | 144 | <xsl:attribute name="type">banner</xsl:attribute> |
145 | 145 | <xsl:attribute name="url"><xsl:value-of select="normalize-space(banner)"/></xsl:attribute> |