[mythtv-users] Auto-marking videos as watched

Michael T. Dean mtdean at thirdcontact.com
Mon Nov 15 03:26:12 UTC 2010


  On 11/14/2010 10:02 PM, Jean-Yves Avenard wrote:
> On 15 November 2010 10:14, Michael T. Dean wrote:
>>   On 11/14/2010 05:51 PM, Sean Grieve wrote:
>>> I ran a verbose frontend and this is what I found after I finished
>>> watching the video:
>>>
>>> --------------
>>> 2010-11-13 08:47:10.614 MSqlQuery::exec(DBManager0) UPDATE videometadata
>>> SET watched = 'false' WHERE title = 'TEST' AND subtitle = 'TESTSUB' AND
>>> filename = 'TEST.avi' ;
>>> 2010-11-13 08:47:10.615 Marking recording as unwatched
>>> --------------
>>>
>>> Have posted to dev forum. Haven't had a response yet though.
>> Where are you within the video when you exit.  You need to be "sufficiently
>> close" to the end for MythTV to mark the recording as watched.  Note, also,
>> that for some video types, MythTV may not be able to figure out how close
>> you are to the end without help (i.e. for MPEG-2 you may need to create
>> video seek tables, or for some AVIs you may be out of luck, etc.).  How
>> close is "sufficiently close"?  If you always exit within the last 4 minutes
>> of the video, it should be sufficiently close.  On longer recordings,
>> farther from the end will work (up to 12 minutes), but I recommend always
>> exiting within 4 minutes of the end if you're relying on automatically
>> marking the recording as watched rather than manually doing so.
>>
>> Note that MythTV will mark a show as not watched--even if it was marked as
>> watched when you entered playback--if you exit at any point that's not close
>> enough to the end.  (Since you started watching, again, and didn't finish,
>> MythTV assumes you want to finish watching it later.)
> What about for those videos to simply mark them as watched once started ?
>
> I find this a better alternative than not marking them as watched at all..

OK, I assumed that the same code that's being used for recordings (which 
shouldn't be marked as watched--which typically means high-priority for 
expiration--until you've finished watching the recording) was also being 
used for non-recording videos.  That said, I've not actually looked at 
the code or tried it myself, so I may be way off base on that assumption.

Mike


More information about the mythtv-users mailing list