[mythtv-users] mythutil --clearskiplist doesn't clear recorded.commflagged in the database

Michael T. Dean mtdean at thirdcontact.com
Tue Mar 26 15:30:33 UTC 2013


On 03/26/2013 10:54 AM, Michael Stucky wrote:
> I'm using a modified version of John Pilkington's MythDVBcut to which 
> I've tried to add the ability to clear the "skiplist". MythDVBcut 
> already clears the "cutlist" from a recording:
>
> # Cutting completed.  Now clean up.
> CMD="ionice -c3 mythutil  --clearcutlist  --chanid "$chanid" 
> --starttime "$starttime" -q "
> echo "running: "${CMD}""
> ${CMD}
> echo -e "Cutlist has been cleared.\n"
>
> This clears the "cutlist" from 'recordedmarkup' and clears the 
> 'cutlst' flag in 'recorded'. Once the recording has been cut the 
> skiplist created by mythcommflag is no longer valid so I added:
>
> CMD="ionice -c3 mythutil  --clearskiplist  --chanid "$chanid" 
> --starttime "$starttime" -q "
> echo "running: "${CMD}""
> ${CMD}
> echo -e "Skiplist has been cleared.\n"
>
> This clears the "skiplist" from 'recordedmarkup' but doesn't clear the 
> 'commflagged' flag in 'recorded'. So my question, is this a bug or 
> intended behavior?

Should probably be considered a bug.  That flag makes more sense 
indicating whether a skip list currently exists rather than whether 
commercial flagging has ever been run on the recording.

Mike


More information about the mythtv-users mailing list