[mythtv-users] Having trouble with Jamu

Elkin Fricke managementboy at gmail.com
Tue Mar 16 22:10:09 UTC 2010


On Tue, Mar 16, 2010 at 9:09 PM, Nick Rout <nick.rout at gmail.com> wrote:
> On Wed, Mar 17, 2010 at 8:11 AM, Elkin Fricke <managementboy at gmail.com> wrote:
>> Hi everyone,
>>
>> I use Jamu to populate my Recordings (not mythvideo), and some movies
>> do not get detected correctly. I have tried by manually changing the
>> category to "Film" or "Movie" but no fix. Here is an example of the
>> output of running Jamu (python
>> /usr/share/mythtv/mythvideo/scripts/jamu.py -MWV):
>>
>> DEBUG: XML URL:http://api.themoviedb.org/2.1/Movie.search/en/xml/c27cb71cff5bd76e1a7a009380562c62/lord%20of%20the%20flies
>>
>> No movie inetref [Lord of the Flies]
>> 2010-03-16 19:56:11,911) DEBUG Getting show Lord of the Flies
>> 2010-03-16 19:56:11,911) DEBUG Searching for show Lord%20of%20the%20Flies
>> 2010-03-16 19:56:11,911) DEBUG Retrieving URL
>> http://www.thetvdb.com/api/GetSeries.php?seriesname=Lord%20of%20the%20Flies&language=en
>> 2010-03-16 19:56:14,716) DEBUG Series result returned zero
>> TV Series - No (fanart) for [Lord of the Flies]
>> 2010-03-16 19:56:14,716) DEBUG Getting show Lord of the Flies
>> 2010-03-16 19:56:14,716) DEBUG Searching for show Lord%20of%20the%20Flies
>> 2010-03-16 19:56:14,716) DEBUG Retrieving URL
>> http://www.thetvdb.com/api/GetSeries.php?seriesname=Lord%20of%20the%20Flies&language=en
>> 2010-03-16 19:56:14,717) DEBUG URL
>> http://www.thetvdb.com/api/GetSeries.php?seriesname=Lord%20of%20the%20Flies&language=en
>> was cached in /tmp/tvdb_api_1000/5cdb5bdd72bbd799e84e80bcd279de8f.body
>> 2010-03-16 19:56:14,717) DEBUG Series result returned zero
>> TV Series - No (coverfile) for [Lord of the Flies]
>>
>> I think its strange, that if I paste the above Debug XML URL into any
>> browser, what I get back is a perfect match. Does someone know what I
>> am doing wrong?
>
> I assume this is the url you are referring to:
>
> http://www.thetvdb.com/api/GetSeries.php?seriesname=Lord%20of%20the%20Flies&language=en
>
> I get this in firefox:
>
> "This XML file does not appear to have any style information
> associated with it. The document tree is shown below.
>
> <Data>
> </Data>"
>
> in IE I get:
>
> " <?xml version="1.0" encoding="UTF-8" ?>
>  <Data /> "
>
> But wouldn't you expect it to be searching themoviedb.org for a movie?
> (However that doesn't seem to have Lord of the Flies either, someone
> needs to add it)
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Hi Nick,

when I download this url
http://api.themoviedb.org/2.1/Movie.search/en/xml/c27cb71cff5bd76e1a7a009380562c62/lord%20of%20the%20flies

i get something like:

<OpenSearchDescription>
<opensearch:Query searchTerms="lord of the flies"/>
<opensearch:totalResults>6</opensearch:totalResults>
-
<movies>
-
<movie>
<score>1.0</score>
<popularity>2</popularity>
<name>Lord of the Flies</name>
<alternative_name/>
<type>movie</type>
<id>10847</id>
<imdb_id>tt0100054</imdb_id>
<url>http://www.themoviedb.org/movie/10847</url>
<rating>6.0</rating>
-
<overview>
Stranded on an island, a group of schoolboys degenerate into savagery.
</overview>
<released>1990-03-16</released>
-
<images>
<image type="poster"
url="http://images.themoviedb.org/posters/72830/folder_cover.jpg"
size="cover" id="72830"/>
<image type="poster"
url="http://images.themoviedb.org/posters/72830/folder_thumb.jpg"
size="thumb" id="72830"/>
<image type="poster"
url="http://images.themoviedb.org/posters/72830/folder_mid.jpg"
size="mid" id="72830"/>
<image type="poster"
url="http://images.themoviedb.org/posters/72830/folder.jpg"
size="original" id="72830"/>
<image type="backdrop"
url="http://images.themoviedb.org/backdrops/69533/backdrop_thumb.jpg"
size="thumb" id="69533"/>
<image type="backdrop"
url="http://images.themoviedb.org/backdrops/69533/backdrop_poster.jpg"
size="poster" id="69533"/>
<image type="backdrop"
url="http://images.themoviedb.org/backdrops/69533/backdrop.jpg"
size="original" id="69533"/>
</images>
</movie>

which I had assumed was the XML required by Jamu. But it does not get
downloaded or used.

Thanks for the help,

Elkin


More information about the mythtv-users mailing list