<div class="gmail_quote">2011/7/11 Artem Astafyev <span dir="ltr"><<a href="mailto:artem.astafyev@gmail.com">artem.astafyev@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">2011/7/11 Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 07/11/2011 06:06 AM, Artem Astafyev wrote:<br>
> 2011/7/11 Nick Rout<br>
</div><div>>> Frankly I have no need for this feature, I can understand it if you<br>
>> have, eg, a load of music videos and want to keep playing music videos<br>
>> continuously.<br>
>><br>
>> But i use mythvideo for movies and tv programmes, and don't want some<br>
>> random video popping up after the latest movie I watched.<br>
>><br>
>> A system that automatically started the next video in some arbitrary<br>
>> order would p*** me off. In fact my LG tv accessing mythvideo via DLNA<br>
>> does that, which makes me hate it.<br>
</div><div>> I just want to know if it's possible before writing a patch :) By the way it<br>
> may be configurable whether to play next video automatically.<br>
> But writing custom script is a good idea. I'll have to use external player<br>
> but it's better then nothing.<br>
<br>
</div>There are some upcoming major changes to the database schema, that will<br>
allow using of MythVideo video data the same as MythTV recordings. At<br>
this point, it's quite possible that we'll consolidate much of the<br>
handling code--including the Watch Recordings playlist feature.<br>
<br>
Once this is done, I plan to do some changes that a) add tag support to<br>
recordings (/video) that allow the user to assign any number of tags to<br>
each media file MythTV handles and filter lists by any number of tags<br>
(using and or or grouping), b) modify the playlist support to allow<br>
creating playlists based on similar tag filtering as well as create<br>
"dynamic" playlists using various "commonly useful" criteria (which I<br>
haven't yet defined). I can't tell you when these changes will be<br>
finished, but I can tell you it won't be soon. As mentioned, the<br>
database schema change is major, so will not happen before 0.25.<br></blockquote><div><br></div></div></div><div>Great news Mike! I'm looking forward.</div></div>
</blockquote></div><br>For those who need this feature I provide script that plays files sequentally starting from given file. Maybe someone who is more experienced in shell may optimize it.<div><br></div><div>#!/bin/bash<div>
<br></div><div>DIR=`dirname "$1"`</div><div>declare -a files</div><div>declare -a playlist</div><div>files=( "${DIR}"/* )</div><div><br></div><div>i=0;</div><div>playlist[$i]=$1;</div><div>for file in "${files[@]}"; do</div>
<div> if [ "$file" == "$1" ]; then</div><div> ((i++));</div><div> elif test -f "$file" && (($i>0)) ; then</div><div> playlist[$i]=$file;</div><div> ((i++));</div>
<div> fi;</div><div>done</div><div><br></div><div>mplayer -fs "${playlist[@]}"</div><div><br></div>-- <br>Best regards,<div>Artem Astafyev</div><br>
</div>