Hi,<div><br></div><div>I managed to get the script to work as a userjob in the end (whay hey!)</div><div><br></div><div>only thing is the file names system of the recordings. I use an app to search through the subtitles and its designed to work with files with a particular format (basicially the one used in DVBVIewer).</div>
<div><br></div><div>Is there a way that I can maybe add a script that can change the filenames of the ripped subtitle files to read like:</div><div>%date%-%time%-%channel%-%programme% ?</div><div><br></div><div>Dave<br><br>
<div class="gmail_quote">On 20 January 2012 18:14, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
fixed top posting<br>
<br>
On 01/20/2012 12:57 PM, David Crawford wrote:<br>
> On 20 January 2012 04:25, David Crawford wrote:<br>
<div class="im">>> On 20 January 2012 00:58, Michael T. Dean wrote:<br>
>>> On 01/19/2012 03:08 PM, Doug Lytle wrote:<br>
>>>> David Crawford wrote:<br>
>>>>> Whats 0.25? Sorry trying to figure this out.<br>
>>>> The next greatest version of MythTV when it's released<br>
>>> And note that if you enable "0.25pre" on Mythbuntu repos (<br>
>>> <a href="http://www.mythbuntu.org/repos" target="_blank">http://www.mythbuntu.org/repos</a> ), you're enabling unstable/development<br>
>>> code, and you're expected to keep up with the -dev and -commits mailing<br>
>>> lists (so you know what works and what doesn't and don't report bugs for<br>
>>> things that shouldn't be working/are works in progress) and so you know<br>
>>> when to update to fix issues that are fixed.<br>
>>><br>
>>> Chances are, now that Raymond has told you exactly what's wrong with<br>
>>> your current script, you may want to use the current script until 0.25<br>
>>> is released, then you can switch it to use mythccextractor,<br>
>>> instead--especially since either way you'll need a script (as with<br>
>>> mythccextractor, you'll need to post-process its output to strip out<br>
>>> duplicate words, as you want).<br>
</div><div class="im">>> So enabling that will allow me test the script out at least?<br>
>><br>
>> And yes that would probably be the best thing to do (use the current<br>
>> script until 0.25) Raymond was right about %DIR% being the thing needed and<br>
>> i'm grateful for the help, the original script writer also told me i should<br>
>> try this but the thing is the script still fails as it only seems to work<br>
>> from the command terminal when i open the terminal where the<br>
>> video/recording is located and try<br>
>> python ~dave/uksub2srt/uksub2srt.py -i video.mpg -o<br>
>> ~dave/subtitles/video.srt<br>
>><br>
>> as opposed to -i ~dave/videos/video.mpg (or where the recording is located<br>
>> /lar/lib/mythtv/livetv)<br>
>><br>
>> i think this is because the script writes a failure folder with logs in<br>
>> the directory of the video and it can't do it in this case; the error it<br>
>> gives is<br>
>><br>
>> error: the file /var/lib/livetv/failure/var/lib/livetv/video.mpg.txt does<br>
>> not exist..<br>
>><br>
>> why does it have to do that ? :(<br>
>><br>
>> thanks alot for the help btw, especially raymond -very much appreciated<br>
</div><div class="im">> Any advice on how to setup mythccextractor in mythbuntu by any chance?<br>
><br>
<br>
</div>Most important advice: going to unstable/development is basically a<br>
one-way process. You can't downgrade a database to -fixes/stable, after<br>
using it with any unstable/development apps. Therefore, you can only<br>
downgrade after restoring a pre-upgrade database backup:<br>
<a href="http://www.mythtv.org/wiki/Database_Backup_and_Restore" target="_blank">http://www.mythtv.org/wiki/Database_Backup_and_Restore</a> (which means you<br>
lose any changes that occurred when running the unstable/development<br>
code). If you really want to try, just enable 0.25pre--and sign up for<br>
(and catch up and keep up with)<br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-commits" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-commits</a> and<br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-dev" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-dev</a> .<br>
<div class="HOEnZb"><div class="h5"><br>
Mike<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>