Package: vdr-plugin-live
Version: 0.2.0+git20120428-3
Severity: minor
Tags: patch

Hi

On 2012-11-28, imdb has changed the API used for querying movie 
information[1], which in turn breaks its implementation in 
vdr-plugin-life. The attached patch adapts vdr-plugin-live to the
current imdb API.

Regards
        Stefan Lippers-Hollmann

[1]     http://akas.imdb.com/help/show_leaf?find&ref_=fn_hlp

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')

Kernel: Linux 3.7-0.slh.3-aptosid-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vdr-plugin-live depends on:
ii  libc6                        2.13-37
ii  libcxxtools8                 2.1.1-1
ii  libgcc1                      1:4.7.2-4
ii  libpcre3                     1:8.31-1
ii  libpcrecpp0                  1:8.31-1
ii  libstdc++6                   4.7.2-4
ii  libtntnet10                  2.1-2
ii  vdr [vdr-abi-1.7.28-debian]  1.7.28-1

vdr-plugin-live recommends no packages.

vdr-plugin-live suggests no packages.

-- no debconf information
vdr-plugin-live: adapt to new imdb API (2012-11-28)

Signed-off-by: Stefan Lippers-Hollmann <[email protected]>

--- a/pages/pageelems.ecpp
+++ b/pages/pageelems.ecpp
@@ -104,7 +104,7 @@ int update_status(1);
 <%args>
 	string title;
 </%args>
-<%cpp> if (LiveSetup().GetShowIMDb()) { </%cpp> <a href="http://akas.imdb.com/Tsearch?title=<$ StringUrlEncode(title) $>" target="_blank"><img src="<$ LiveSetup().GetThemedLink("img", "imdb.png") $>" alt="" <& tooltip.hint text=(tr("Find more at the Internet Movie Database.")) &>></img></a> <%cpp> } </%cpp>
+<%cpp> if (LiveSetup().GetShowIMDb()) { </%cpp> <a href="http://akas.imdb.com/find?q=<$ StringUrlEncode(title) $>&s=tt" target="_blank"><img src="<$ LiveSetup().GetThemedLink("img", "imdb.png") $>" alt="" <& tooltip.hint text=(tr("Find more at the Internet Movie Database.")) &>></img></a> <%cpp> } </%cpp>
 </%def>
 
 <# ---------------------------------------------------------------------- #>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to