[mythtv] MythVideo Trailers suggestions needed!

Andrei Rjeousski arjeousski at gmail.com
Thu Sep 2 15:06:17 EDT 2004


Hi, I've started working on the patch to add trailers support to
mythvideo. I have already coded a perl script for which given an IMDB
number, it gets URL for the trailer from www.apple.com (similar to
what "imdb.pl -P" is doing). I am new to development for myth, and
just wanted to hear some suggestions.

Heres how i think it should work:
I was thinking of storing locations to trailers the same way as
mythvideo currently stores path's to posters. (may be have another
trailer status column, which would denote if the trailer exists,
doesnt exist or the video is new and we haven't tried to get the
trailer yet.

The main trailer downloader application would be similar to
mythfilldatabase, which could be scheduled using cron or ran manually.
This application would actually go though all the movies and download
them. The trailers would have to be downloaded, since not everyone has
a fast enough connection to actually stream them.

In the main mythvideo browser when pressing "info" button, there will
be an option to watch trailer if it exists. May be even have an icon
somewhere on the screen indicating whether the trailer exists.

I'd love to hear your suggestions on the best way to implement this.

I am attaching my trailer finder script and again, i'd love to hear
your suggestions and comments :)

-- 
Andrei Rjeousski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trailer.pl
Type: application/octet-stream
Size: 8873 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040902/064e8213/trailer.obj


More information about the mythtv-dev mailing list