Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anyone here running MythTV (frontend only?)
Date: Fri, 08 Jul 2005 01:00:21
Message-Id: 20050708122949.F6EB.NICK@rout.co.nz
In Reply to: Re: [gentoo-user] Anyone here running MythTV (frontend only?) by Ow Mun Heng
1 On Thu, 07 Jul 2005 19:30:18 +0800
2 Ow Mun Heng wrote:
3
4 >
5 > > Now back to the point, did the OP set the directory where his video
6 > > files reside in the mythtv setup?
7 >
8 > Yeah.. I set it up but unfortunately the browser doesn't recognise any
9 > of the files. I'm not sure why.
10
11 you perhaps need to go into the mythvideo setup and get it to scan for
12 video files.
13
14 Not quite sure where it is, i find the myth menu system a little
15 confusing, but you end up with a menu called "set up videos" or
16 something like that. I think in there somewhere it scans for the files
17 in your video directory and loads them into the database.
18
19 if you want to see what the database has in it about your videos then
20 connect to mysql and use the following:
21
22 CONNECT mythconverg;
23 SELECT * FROM videometadata;
24
25
26
27 If you want pretty pictures, plot summaries etc, you then have a bit of
28 work to do. Hint: the system searches for the movie on imdb according to
29 the filename. so it will probably find the right imdb entry if you have
30 a file called incredibles.avi, but it will choke on
31 the.incredibles.xvid.hackersite.dvdrip.avi. You can either rename your
32 files to sensible names, or have another box handy with a web browser so
33 you can manually search imdb.com and get the movie number. eg the
34 incredibles movie page is:
35
36 http://www.imdb.com/title/tt0317705/
37
38 so the number that mythvideo wants in order to retrieve all the pretty
39 info is 01317705
40
41 for further info on how it parses the imdb site find the imdb.pl script
42 that mythvideo installed and take a look. It should be
43 /usr/share/mythtv/mythvideo/scripts/imdb.pl
44
45 Mythvideo calls the script to find the movie. If it cannot decide from
46 several possibilities it offers a list of possibles, and you choose the
47 right one. Once it has the right one it downloads lovely info and a
48 poster to display on your screen for that movie.
49
50 If it cannot find any possibilities it asks you for the imdb number.
51
52 heres a screenie that explains itt better than me:
53
54 http://mythtv.sourceforge.net/mc/mythvideo3.png
55
56
57 nick@sf ~ $ /usr/share/mythtv/mythvideo/scripts/imdb.pl --help
58 /usr/share/mythtv/mythvideo/scripts/imdb.pl version [unknown] calling
59 Getopt::St d::getopts (version 1.05 [paranoid]), running under Perl
60 version 5.8.5.
61
62 Usage: imdb.pl [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]
63
64 The following single-character options are accepted:
65 Boolean (without arguments): -o -h -r -d -i -v -D -M -P
66
67 Options may be merged together. -- stops processing of options.
68 [Now continuing due to backward compatibility and excessive paranoia.
69 See ``perldoc Getopt::Std'' about $Getopt::Std::STANDARD_HELP_VERSION.]
70 IMDB Query (v1.2) by Tim Harvey, Andrei Rjeousski
71 Performs queries using the www.imdb.com website.
72 usage: /usr/share/mythtv/mythvideo/scripts/imdb.pl -hdrviMPD [parameters]
73 -h help
74 -d debug
75 -r dump raw query result data only
76 -v display version
77 -i display info
78
79 -M [options] <query> get movie list
80 some known options are:
81 type=[fuzy] looser search
82 from_year=[int] limit matches to year
83 to_year=[int] limit matches to year
84 sort=[smart] ??
85 tv=[no|both|only] limits between tv and movies
86 Note: multiple options must be separated by ';'
87 -P <movieid> get movie poster
88 -D <movieid> get movie data
89
90
91 >
92 > --
93 > gentoo-user@g.o mailing list
94
95 --
96 Nick Rout
97
98 --
99 gentoo-user@g.o mailing list