[mythtv] [PATCH] mythvideo - Better grabbing of impaward posters
Daniel Ahlberg
aliz at tamperd.net
Tue Dec 9 17:27:04 EST 2003
Mythvideo would only find links to impawards posters if it was the first entry
listed on the posters page.
diff -ru mythvideo-0.12_orig/mythvideo/videomanager.cpp
mythvideo-0.12/mythvideo/videomanager.cpp
--- mythvideo-0.12_orig/mythvideo/videomanager.cpp 2003-09-24
05:09:58.000000000 +0200
+++ mythvideo-0.12/mythvideo/videomanager.cpp 2003-12-09 23:13:47.000000000
+0100
@@ -434,12 +434,12 @@
// Check for posters on impawards.com first, since their posters
// are usually much better quality
- beg = "Posters on other sites</h2></p>\n<ul>\n<li><a href=\"";
+ beg = "<a href=\"http://www.impawards.com";
end = "\">http://www.impawards.com";
QString impsite = parseDataAnchorEnd(res, beg, end);
if (impsite != "<NULL>")
{
-
+ impsite = "http://www.impawards.com" + impsite;
//cout << "Retreiving poster from " << impsite << endl;
QUrl impurl(impsite);
More information about the mythtv-dev
mailing list