[mythtv-users] Apple Trailer Downloader

Ma Begaj derliebegott at gmail.com
Thu Jun 26 11:30:49 UTC 2008

2008/6/26 Nick Rout <nick.rout at gmail.com>:
> On Thu, Jun 26, 2008 at 11:02 PM, Ma Begaj <derliebegott at gmail.com> wrote:
>> 2008/6/26 Nick Rout <nick.rout at gmail.com>:
>>> On Thu, Jun 26, 2008 at 9:23 PM, Ma Begaj <derliebegott at gmail.com> wrote:
>>>> but it would be maybe even much better if you could put the $trailer
>>>> in DB for "filename" instead of $localTrailer, and let mplayer stream
>>>> all *.mov files instead of downloading all before someone even knows
>>>> whether s/he wants to watch it.
>>>> mplayer or a shell script with mplayer command could cache trailers
>>>> and save them for the further watching. but this is more complicated
>>>> than your script and I even do not know whether "filename" can contain
>>>> absolute paths. this would probably be a "misuse" of this field.
>>> You could have the scraping script write the network address of the
>>> file to the database and a custom playing script to the database. The
>>> custom playing script would stream the file and write it to the hard
>>> drive at the same time, and then remove the custom viewing script from
>>> the database (so that subsequent plays use the "default"  player.
>> That could also be done if someone only uses "default" player. Nice idea.
>> But I do not use it for MythVideo because of some problems with subtitles and
>> because mplayer is much more configurable (position of subtitles,
>> using of core-avc-for-linux, less cpu...)
> If playcommand is set to NULL in the database then the system default
> player is used, that depends on what you have set it to be, not
> necessarily "Internal" - mine is set to mplayer.
> what I am saying though is you could easily set up a logic for:
> 1. not downloading the video file unless someone wants to watch it;
> 2. after someone has watched (and downloaded) it once, it doesn't need
> to be downloaded next time.
> this can be done by manipulating the filename and playcommand fields
> in the database.

Sorry, I thought you are talking about "Internal" when you said "default" :)

More information about the mythtv-users mailing list