[mythtv] [PATCH] abstract IMDB queries into external scripts

Isaac Richards ijr at po.cwru.edu
Fri Jan 30 03:41:31 EST 2004


On Thursday 29 January 2004 02:33 am, Tim Harvey wrote:
> Ok, here's my followup patch:
>
> Installation:
>
>    I still can't figure out how to include 'new' files in a patch.  The
> suggestions posted in this thread did not work for me (cvs add fails,
> and hacking my local dir to 'think' there is a CVS entry just tells me
> it can't find the prev rev in CVS to diff against).  Therefore you'll
> have to extract the contents of the 'scripts.tgz' in the
> mythvideo/mythvideo directory.  The Makefile will be looking for files
> in that directory.  Apparently my last patch had something wrong with
> the binary I uploaded (last byte was left off!?).  I'm not sure what
> caused this, but please let me know if there is something wrong with
> this one as well.

Well, I _was_ going to apply this, but there's a few problems.  First off, the 
options parsing in the script didn't work for me (attached imdb.pl fixes it 
for running on the command line, thanks to mdz).  Secondly, I don't think 
this deals with titles with spaces in it at all, and it may also need to 
quote the args to -M (need to on the command line, at least).  I'm not 
getting anything back from the QProcess, at least.

Isaac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imdb.pl
Type: application/x-perl
Size: 14123 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040130/e1e21b64/imdb.pl


More information about the mythtv-dev mailing list