Commercial Skip?
#1
I've heard mention of some type of commercial skip functionality in Kodi. Is this a separate addon, or something PVR client specific? If it's specific, does NextPVR have such an option?
Reply
#2
I use MCEBuddy and Comskip to remove commercials in the shows I record with NextPVR.

Page on skipping commercials in Kodi Skip commercials in Kodi

Lots of information in this wiki as well:
Kodi wiki - EDL

This video talks about creating an Edit Decision List (EDL) in Kodi to skip commercials.
https://www.youtube.com/watch?v=HR_fZs5TELs

Lots of information in this wiki as well:
Kodi wiki - EDL

I haven't played with an EDL in Kodi yet, maybe it will fit your needs.

Good luck!

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#3
If your using a Synology (even when your not) maybe this post can help you also regarding comskip http://forum.kodi.tv/showthread.php?tid=...pid2246304
Reply
#4
Thanks guys! Looks like I got some reading to do, and plans for my next project. Smile
Reply
#5
(2016-07-28, 22:30)hansolo77 Wrote: Thanks guys! Looks like I got some reading to do, and plans for my next project. Smile

You're welcome!

I hope you get it all figured out. My system is a constant work-in-progress, I keep tweaking things!
My husband thinks I'm a little crazy, but he likes the end results.
He just shakes his head when he sees me staring at configuration files!

Good luck!

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#6
(2016-07-28, 23:04)MarchHare Wrote:
(2016-07-28, 22:30)hansolo77 Wrote: Thanks guys! Looks like I got some reading to do, and plans for my next project. Smile

You're welcome!

I hope you get it all figured out. My system is a constant work-in-progress, I keep tweaking things!
My husband think I'm a little crazy, but he likes the end results.
He just shakes his head when he sees me staring at configuration files!

Good luck!

-MH
I hope i'm right but your the woman that takes care of the HTPC stuff in house?
That's just awesome, i would suspect the other way around Wink

/ontopic:
If you need help with getting comskip to work just ping me Wink
Reply
#7
(2016-07-28, 23:10)schumi2004 Wrote:
(2016-07-28, 23:04)MarchHare Wrote:
(2016-07-28, 22:30)hansolo77 Wrote: Thanks guys! Looks like I got some reading to do, and plans for my next project. Smile

You're welcome!

I hope you get it all figured out. My system is a constant work-in-progress, I keep tweaking things!
My husband think I'm a little crazy, but he likes the end results.
He just shakes his head when he sees me staring at configuration files!

Good luck!

-MH
I hope i'm right but your the woman that takes care of the HTPC stuff in house?
That's just awesome, i would suspect the other way around Wink

/ontopic:
If you need help with getting comskip to work just ping me Wink

What an odd comment.
I'll keep you in mind for Comskip.

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#8
Well, I did some experimenting last night and found that Kodi does actually skip commercials, if things are set up right.

After reading through the wiki ( Kodi wiki - EDL) and this site (Skip commercials in Kodi) I decided to give it a try.

I ran Comskip on one of my recorded shows and copied the show and the corresponding .txt file into a shared directory on my NAS, navigated to it in Kodi and watched the video.

Kodi skipped over the commercials that Comskip had marked without any probem.

I hope this helps shed some light, it's an interesting journey of learning!

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#9
something to consider is the early access that has improved speed http://www.kaashoek.com/comskip/
Reply
#10
(2016-07-29, 17:29)bry- Wrote: something to consider is the early access that has improved speed http://www.kaashoek.com/comskip/

That's the one that I'm using, a good program is worth paying for!

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#11
Something else to consider, just in case you haven't found this, is that Npvr can trigger comskip on it's own. You don't really need to install mcebuddy. Npvr has a number of hooks for batch files built in. See the wiki here http://www.nextpvr.com/nwiki/pmwiki.php?...BatchFiles

Mine looks like this:

@echo off
cd /d "C:\Users\Public\NPVR\comskip"
start /wait comskip %1
"C:\Program Files (x86)\curl.exe" -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://kodi:[email protected]:8080/jsonrpc > NUL 2>&1

This runs comskip on a recording as soon as it's finished and then runs a library update on my main kodi install so that the new recording shows up in the library. You have probably seen that the edl files only work when using library playback and not when you play back through the pvr plugin.
Reply
#12
(2016-08-05, 11:40)dgeezer Wrote: Something else to consider, just in case you haven't found this, is that Npvr can trigger comskip on it's own. You don't really need to install mcebuddy. Npvr has a number of hooks for batch files built in. See the wiki here http://www.nextpvr.com/nwiki/pmwiki.php?...BatchFiles

Mine looks like this:

@echo off
cd /d "C:\Users\Public\NPVR\comskip"
start /wait comskip %1
"C:\Program Files (x86)\curl.exe" -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://kodi:[email protected]:8080/jsonrpc > NUL 2>&1

This runs comskip on a recording as soon as it's finished and then runs a library update on my main kodi install so that the new recording shows up in the library. You have probably seen that the edl files only work when using library playback and not when you play back through the pvr plugin.

Nice!
I'll have to check that out, thanks!

Is that in your PostProcessing.bat file?

-MH
I sit beside the fire and think, of all that I have seen; of meadow flowers and butterflies, in summers that have been.
But all the while i sit and think, of times there were before, I listen for returning feet, and voices at the door.
Reply
#13
Yes. That's the entire file that I am using now.

The library update part is an entirely other topic. I would skip that for now. This is all you need in a postprocessing.bat file:

Code:
@echo off
cd /d "C:\Users\Public\NPVR\comskip"
comskip %1


You will get better results in Kodi if you use .edl files. You will need to edit the comskip.ini file in your comskip folder.

Add the line edl_skip_field=3 to the end of the file.

Also change output_edl=0 to output_edl=1 .

The edl skip field 3 identifies the block as a commercial to Kodi. You may see a popup letting you know that a commercial is being skipped. I think that this only works in Kodi 17, not sure. Also, the commercial skipping only works when you are playing back a recording through the library. It won't work if you play back the recordings in the PVR add on.
Reply

Logout Mark Read Team Forum Stats Members Help
Commercial Skip?0