[mythtv-users] MythVideo Metadata not in English

agraham agraham at g-b.net
Sat Jul 3 23:56:58 UTC 2010


On 04/07/10 00:31, agraham wrote:
> On 21/06/10 13:22, ryan patterson wrote:
>> On Sat, Jun 19, 2010 at 4:05 PM, agraham<agraham at g-b.net> wrote:
>>> On the "Video Metadata Settings" screen the only option that appears
>>> to work
>>> is "Allocine Query pv2.05) by Xavie...".
>>>
>>> Another option is "The subdirectory "tmdb" Contai" hae know idea what
>>> this
>>> is trying to say due to the fact it has been abbrivated
>>>
>>> (which is very annoying considering there is lots of space on the
>>> screen to
>>> but the full string)
>>>
>>> Anyone know how to set it back to English ?
>>
>> You have the wrong grabber script selected. Allocine is for Europe
>> (hence the crazy language). You need to run the tmdb.py script from a
>> bash shell so you can see the whole error message. The command you
>> want will be something like:
>>
>> /usr/share/mythtv/metadata/Movie/tmdb.py -v
>> or
>> /usr/local/share/mythtv/metadata/Movie/tmdb.py -v
>>
>> Fix the error and select the correct grabber script and you should be
>> good to go.
>>
>> -Ryan
>
> I've fix that problem with a complete re-build and re-install, for some
> reason building and installing over a previous build does not install
> the python bindings.
>
> Having selected the tmdb script the metadata is pulled down in English,
> but there is no cover art for any new movies.
>
> For example:
>
> /home/mtv/share/mythtv/mythvideo/scripts/Movie/tmdb.py -D 22825
>
> Title:The Box
> Year:2009
> ReleaseDate:2009-09-17
> InetRef:22825
> URL:http://www.themoviedb.org/movie/22825
> Director:Richard Kelly
> Plot:A small wooden box arrives on the doorstep of a married couple, who
> know that opening it will grant them a million dollars and kill someone
> they don't know.
> UserRating:6.0
> MovieRating:PG-13
> Runtime:115
> Coverart:http://hwcdn.themoviedb.org/posters/b70/4bc95e74017a3c57fe02ab70/the-box-original.jpg,http://hwcdn.themoviedb.org/posters/b6b/4bc95e73017a3c57fe02ab6b/the-box-original.jpg,http://hwcdn.themoviedb.org/posters/b66/4bc95e70017a3c57fe02ab66/the-box-original.jpg
>
> Fanart:http://hwcdn.themoviedb.org/backdrops/b4e/4bc95e6d017a3c57fe02ab4e/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b52/4bc95e6d017a3c57fe02ab52/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b5e/4bc95e6f017a3c57fe02ab5e/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b62/4bc95e6f017a3c57fe02ab62/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b56/4bc95e6e017a3c57fe02ab56/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b5a/4bc95e6e017a3c57fe02ab5a/the-box-original.jpg
>
> Cast:Cameron Diaz,James Marsden,Frank Langella,Michael Zegen
> Genres:Drama,Horror,Science Fiction,Thriller
> Countries:United States of America
> ScreenPlay:Richard Kelly
> Studios:Darko Entertainment,Lin Pictures,Radar Pictures Inc.
> Type:movie
> Popularity:3
> Budget:30000000
> Imdb:0362478
> MovieRating:PG-13
> OriginalStory:Richard Matheson
> LastModifiedAt:2010-06-11 10:46:22
> AlternativeName:The Box Du bist das Experiment
> Language:en
> Homepage:http://thebox-movie.warnerbros.com/
> Translated:true
> Trailer:http://www.youtube.com/watch?v=WJmpNROTw5g
>
> So there is coverart but MythVideo still shows a big "?" instead of a
>
> Any clues as to what is going on ?
>
>
I turn on verbose debugging on the frontend, it the log indicates that 
it is copying the coverart (but not actually doing it, I think because 
of a HTML redirect"

I've checked the permissions and there are not problems reading/writing 
to the coverart directory as the mtv user.


Here are some snippets of the log:

Note there are some warnings: what do these mean ?

2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'coverart'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'screenshot'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'banner'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'fanart'


It correctly pulls down the metadata:

2010-07-04 00:39:54.282 Video Data Query: Executing 
"'/home/mtv/share/mythtv/mythvideo/scripts/Movie/tmdb.py' -l en -D 22825"
2010-07-04 00:39:54.647 Title:The Box
Year:2009
ReleaseDate:2009-09-17
InetRef:22825
URL:http://www.themoviedb.org/movie/22825
Director:Richard Kelly
Plot:A small wooden box arrives on the doorstep of a married couple, who 
know that opening it will grant them a million dollars and kill someone 
they don't know.
UserRating:6.0
MovieRating:PG-13
Runtime:115
Coverart:http://hwcdn.themoviedb.org/posters/b70/4bc95e74017a3c57fe02ab70/the-box-original.jpg,http://hwcdn.themoviedb.org/posters/b6b/4bc95e73017a3c57fe02ab6b/the-box-original.jpg,http://hwcdn.themoviedb.org/posters/b66/4bc95e70017a3c57fe02ab66/the-box-original.jpg
Fanart:http://hwcdn.themoviedb.org/backdrops/b4e/4bc95e6d017a3c57fe02ab4e/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b52/4bc95e6d017a3c57fe02ab52/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b5e/4bc95e6f017a3c57fe02ab5e/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b62/4bc95e6f017a3c57fe02ab62/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b56/4bc95e6e017a3c57fe02ab56/the-box-original.jpg,http://hwcdn.themoviedb.org/backdrops/b5a/4bc95e6e017a3c57fe02ab5a/the-box-original.jpg
Cast:Cameron Diaz,James Marsden,Frank Langella,Michael Zegen
Genres:Drama,Horror,Science Fiction,Thriller
Countries:United States of America
ScreenPlay:Richard Kelly
Studios:Darko Entertainment,Lin Pictures,Radar Pictures Inc.
Type:movie
Popularity:3
Budget:30000000
Imdb:0362478
MovieRating:PG-13
OriginalStory:Richard Matheson
LastModifiedAt:2010-06-11 10:46:22
AlternativeName:The Box Du bist das Experiment
Language:en
Homepage:http://thebox-movie.warnerbros.com/
Translated:true
Trailer:http://www.youtube.com/watch?v=WJmpNROTw5g

2010-07-04 00:39:54.649 MSqlQuery::exec(DBManager0) UPDATE videometadata 
SET title = 'The Box', subtitle = '', director = 'Richard Kelly', plot = 
'A small wooden box arrives on the doorstep of a married couple, who 
know that opening it will grant them a million dollars and kill someone 
they don't know.', rating= 'PG-13', year = '2009', releasedate = 
'2009-09-17', userrating = '6', length = '115', season = '0', episode = 
'0', filename = '/mythtv/videos/The Box.mpg', hash = '2149444d835035f3', 
trailer = '', showlevel = '1', coverfile = '', screenshot = '', banner = 
'', fanart = '', inetref = '22825', homepage = 
'http://www.themoviedb.org/movie/22825', browse = 'true', watched = 
'false', host = '', playcommand = '', childid = '-1', category = '0' 
WHERE intid = '1276'
2010-07-04 00:39:54.651 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '1')
2010-07-04 00:39:54.652 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '2')
2010-07-04 00:39:54.653 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '200')
2010-07-04 00:39:54.654 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '3')
2010-07-04 00:39:54.655 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatacountry (idvideo, idcountry) VALUES ('1276', '25')
2010-07-04 00:39:54.656 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '1091')
2010-07-04 00:39:54.658 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '3960')
2010-07-04 00:39:54.659 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '1409')
2010-07-04 00:39:54.660 MSqlQuery::exec(DBManager1) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '3961')
2010-07-04 00:39:54.660 Warning: container 'mythvideo' is missing child 
'coverart'
2010-07-04 00:39:54.660 Warning: container 'mythvideo' is missing child 
'screenshot'
2010-07-04 00:39:54.660 Warning: container 'mythvideo' is missing child 
'banner'
2010-07-04 00:39:54.660 Warning: container 'mythvideo' is missing child 
'fanart'


Then it says copying to /home/mtv/.mythtv/MythVideo/Fanart/ but does not 
actually do it:


2010-07-04 00:39:54.661 Copying 
'http://hwcdn.themoviedb.org/posters/b70/4bc95e74017a3c57fe02ab70/the-box-original.jpg' 
-> '/home/mtv/.mythtv/MythVideo/22825_coverart.jpg'...
2010-07-04 00:39:54.662 Copying 
'http://hwcdn.themoviedb.org/backdrops/b4e/4bc95e6d017a3c57fe02ab4e/the-box-original.jpg' 
-> '/home/mtv/.mythtv/MythVideo/Fanart/22825_fanart.jpg'...



2010-07-04 00:39:54.663 MythUIImage(39786832): Load(), loading 
'shared/grid_noimage.png' in foreground


2010-07-04 00:39:54.713 Coverart download finished: Tried to write 
/home/mtv/.mythtv/MythVideo/22825_coverart.jpg, but it appears to be an 
HTML redirect (filesize 212). 1
2010-07-04 00:39:54.714 MSqlQuery::exec(DBManager1) UPDATE videometadata 
SET title = 'The Box', subtitle = '', director = 'Richard Kelly', plot = 
'A small wooden box arrives on the doorstep of a married couple, who 
know that opening it will grant them a million dollars and kill someone 
they don't know.', rating= 'PG-13', year = '2009', releasedate = 
'2009-09-17', userrating = '6', length = '115', season = '0', episode = 
'0', filename = '/mythtv/videos/The Box.mpg', hash = '2149444d835035f3', 
trailer = '', showlevel = '1', coverfile = '', screenshot = '', banner = 
'', fanart = '', inetref = '22825', homepage = 
'http://www.themoviedb.org/movie/22825', browse = 'true', watched = 
'false', host = '', playcommand = '', childid = '-1', category = '0' 
WHERE intid = '1276'
2010-07-04 00:39:54.715 MSqlQuery::exec(DBManager0) DELETE FROM 
videometadatagenre WHERE idvideo = '1276'
2010-07-04 00:39:54.716 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '1')
2010-07-04 00:39:54.717 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '2')
2010-07-04 00:39:54.718 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '200')
2010-07-04 00:39:54.719 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatagenre (idvideo, idgenre) VALUES ('1276', '3')
2010-07-04 00:39:54.720 MSqlQuery::exec(DBManager0) DELETE FROM 
videometadatacountry WHERE idvideo = '1276'
2010-07-04 00:39:54.721 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatacountry (idvideo, idcountry) VALUES ('1276', '25')
2010-07-04 00:39:54.723 MSqlQuery::exec(DBManager0) DELETE FROM 
videometadatacast WHERE idvideo = '1276'
2010-07-04 00:39:54.724 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '1091')
2010-07-04 00:39:54.725 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '3960')
2010-07-04 00:39:54.726 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '1409')
2010-07-04 00:39:54.727 MSqlQuery::exec(DBManager0) INSERT INTO 
videometadatacast (idvideo, idcast) VALUES ('1276', '3961')
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'coverart'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'screenshot'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'banner'
2010-07-04 00:39:54.728 Warning: container 'mythvideo' is missing child 
'fanart'
2010-07-04 00:39:54.728 MythUIImage(39786832): Load(), loading 
'shared/grid_noimage.png' in foreground
2010-07-04 00:39:54.728 MythUIImage::LoadImage(39786832, 
shared/grid_noimage.png) Object buttonimage
2010-07-04 00:39:54.728 MythUIImage::LoadImage found in cache 
:shared-grid_noimage.png--232x187.png: RefCount = 26

2010-07-04 00:39:54.729 MythUIImage(39786832): Load(), loading 
'/home/mtv/.mythtv/MythVideo/0422774_coverart.jpg' in foreground
2010-07-04 00:39:54.729 MythUIImage::LoadImage(39786832, 
/home/mtv/.mythtv/MythVideo/0422774_coverart.jpg) Object buttonimage
2010-07-04 00:39:54.729 MythUIImage::LoadImage found in cache 
:-home-mtv-.mythtv-MythVideo-0422774_coverart.jpg--232x187.png: RefCount = 2
2010-07-04 00:39:54.729 MythUIImage(39812864): Load(), loading 
'shared/grid_noimage.png' in foreground
2010-07-04 00:39:54.729 MythUIImage::LoadImage(39812864, 
shared/grid_noimage.png) Object buttonimage
2010-07-04 00:39:54.729 MythUIImage::LoadImage found in cache 
:shared-grid_noimage.png--232x187.png: RefCount = 26
2010-07-04 00:39:54.729 MythUIImage(39812864): Load(), loading 
'/home/mtv/.mythtv/MythVideo/0137363_coverart.jpg' in foreground







More information about the mythtv-users mailing list