<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Nick Rout wrote:
<blockquote
cite="mid:52bd4a780806250303p3d28fb8cye0454a9aa72f691b@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Jun 25, 2008 at 8:11 PM, John Payne <a class="moz-txt-link-rfc2396E" href="mailto:mythtv@payne.ch"><mythtv@payne.ch></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Nick Rout wrote:
On Wed, Jun 25, 2008 at 6:34 AM, John Payne <a class="moz-txt-link-rfc2396E" href="mailto:mythtv@payne.ch"><mythtv@payne.ch></a> wrote:
It uses LWP::Simple, XML::Simple, File::Basename, DBI & DBIx:Perlish,
which is simplifies DB access without the usual DBI overhead.
Using ubuntu, can you tell me which package to apt-get to obtain
DBIx::Perlish? running your script gives me:
Can't locate DBIx/Perlish.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at bin/apple_trailer_download.pl line 9.
BEGIN failed--compilation aborted at bin/apple_trailer_download.pl line 9.
Can't seem to find it in ubuntu.
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
I'm afraid I can't help you there - I'm on fedora using the Mythdora
distributon. On this and other Unixes I install modules using the Perl CPAN
module.
I assume there''ll be a Ubuntu package for CPAN - install that then run (as
root) "perl -MCPAN -e shell" - you'll have to go through the initial
configuration and select you local CPAN mirrors, then just "install
DBIx::Perlish".
Anyone else know another solution for ubuntu?
</pre>
</blockquote>
<pre wrap=""><!---->
yeah I did that in the end. many perl modules that can be installed
via CPAN are also available as ubuntu packages and I like to keep
everything within the deb packaging system if I can, but I will make
exceptions like this where necessary.
a little comment: if the download of the movie file fails (say eg the
user running the script doesn't have write permissions in the
destination directory (oops) then the database entry still gets
written. Thats a bit annoying, particularly when you run it again
(properly this time) it doesn't download the failed files as it thinks
it already has them. Therefore some error checking is needed. But I am
no perl programmer, so who am i to comment anyway!
anyway, happily watching trailers.
</pre>
<blockquote type="cite">
<pre wrap="">John
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
Hmm, good point. Error checking was never one of my strong points.....<br>
I'll check that out - I need to add a check for the poster download
anyway as I don't seem to get all of them <br>
<br>
Pleased to hear you got it working<br>
<br>
</body>
</html>