<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
John Payne wrote:
<blockquote cite="mid:486E411F.6090505@payne.ch" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
John Payne wrote:
<blockquote cite="mid:486E39EE.9050903@payne.ch" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Nick Rout wrote:
<blockquote
cite="mid:52bd4a780807031419q2f9dcfacwfeb64103de16261d@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Jul 4, 2008 at 3:34 AM, John Payne <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:mythtv@payne.ch"><mythtv@payne.ch></a> wrote:
Nice to see this idea come to fruition, I am not enough of a coder to
do more than a rough hack of it, and too lazy ooops I mean busy to
have even started!
</pre>
<blockquote type="cite">
<pre wrap="">There also needs be some checking in case the user cancels the streaming
before it's finished I guess. Not sure how to check that - I'll need to
experiment with mplayer for return codes etc. If it is cancelled (or fails)
I won't change anything as the download is probably incomplete or unwanted.
</pre>
</blockquote>
<pre wrap=""><!---->
The movie file size is in the apple xml file I think.
<preview>
<large filesize="15590852">
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://movies.apple.com/movies/fox/australia/australia-tlrc_h640w.mov">http://movies.apple.com/movies/fox/australia/australia-tlrc_h640w.mov</a>
</large>
</preview>
Could this be used to test the file on your machine?
Not sure where you would store it.
_______________________________________________
mythtv-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a moz-do-not-send="true" 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>
Of course, yes, thanks for the reminder - I only looked at length
(minutes) which I save in the DB.<br>
I think I need a slight change - looks like I'll have to stream then
download - mplayer doesn't seem to be able to do both at the same
time. <br>
However I assume I can then check for a premature completion and assume
that the user doesn't want to save it<br>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a moz-do-not-send="true" 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, size does matter....<br>
Unfortunately I can get the filesize when I read in the list of
trailers, but when the player runs (and downloads) I don't have the XML
structure anymore, and I don't see a suitable column in the
videometadata to (mis)use...<br>
<br>
Back to the drawing board<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
Now we see the fundamental problem inherent in the system....<br>
I assumed that if I create a nice record in the videometadata table
then it will appear in the Video library. Unfortunately Mythvideo seems
to scan the video folders then gets the metadata from the table. As a
result I can't select the new trailers as thee are no files....<br>
<br>
All that work for nowt. Thinks: perhaps I could create a dummy file
with touch?<br>
<br>
:-(<br>
<br>
John<br>
</body>
</html>