[mythtv-users] Commercial Skip and seek table in leanfront

John Pilkington johnpilk222 at gmail.com
Sat Oct 15 22:25:02 UTC 2022


On 15/10/2022 21:15, George Bingham wrote:
> 
> 
> On Sat, Oct 15, 2022 at 2:59 PM Peter Bennett <pb.mythtv at gmail.com 
> <mailto:pb.mythtv at gmail.com>> wrote:
> 
>     A quick test shows that in mythfrontend, if there is a cut list, the
>     cut
>     list is used for skipping and the comm skip data is ignored. Presumable
>     if you are using comm skip you should first use the Z to load the
>     detected commercials to the cut list before manually editing it.
> 
>     There seems no way to prevent the cut list being used in mythfrontend
>     playback.
> 
>     I should be able to easily implement something in leanfront. I can
>     expand the commercial skip menus to use commercial skip or cutlist,
>     whichever is present, with cutlist taking precedence. It would not use
>     the cut list unless you enabled the comm skip / cutlist.
> 
>     Peter
> 
> 
> Hi Peter,
> 
> I think that would be ideal. Would really make leanfront a preferred 
> frontend for my chromecast devices if you were able to make it use the 
> cut list over the skipllist. I didn't really know / understand the two 
> terms until this thread.
> 
> I was so excited that you were doing this with leanfront that I went 
> ahead and updated to v32 ( I'd been meaning to for some time, but just 
> hadn't gotten around to it). And I figured out how with a couple 
> mythutil commands to replace the skiplist with the cutlist so that 
> leanfront will have a corrected skiplist to work from. I figured I'd add 
> a job to call on select recordings after editing the cutlist manually, 
> but maybe I'll forgo that for now if you're planning on updating your 
> new leanfront.
> 
> FYI here's the mythutil commands to set your skiplist to equal your 
> cutlist.. Obviously, you'd only want to do this on recordings you have 
> manually edited.
> 
> CUTLIST=`mythutil --quiet --chanid 26205 --starttime 20221015110000 
> --getcutlist | cut -d : -f 2`
> mythutil --quiet --chanid 26205 --starttime 20221015110000 --setskiplist 
> $CUTLIST
> 
> 
> Perhaps there's an easier way to do the above?
> 
> Thanks,
> 
> 
> George
> 

I've used sed to do something similar if I want to tweak the edit points 
and go round again.  I just tried using it to write a skiplist for a new 
mpeg2 recording having several adverts.

But at present, for me, Peter's 377 leanfront .apk doesn't appear to 
take any notice of either list...

John P



More information about the mythtv-users mailing list