Plex now has commercial removal built in

I for one am glad they added this. This saves the hassle of having one more thing to have to setup when redoing my Plex PC

@dorvinion said:

@iced98lx said:
Anyone else note that existing recording series have this enabled by default upon upgrading?

I noticed that existing recordings had it set to on, despite the option being disabled by default in the main settings.

Glad I checked.

This is a known issue, a display bug, and we’re actively looking into it. We’ll have documentation for this feature coming out later today.

Another note, this has come out to Plex Pass users only who have selected “Beta” as their Update Channel. You’re getting an early look at the feature :slight_smile:

@kinoCharlino said:

@dorvinion said:

@iced98lx said:
Anyone else note that existing recording series have this enabled by default upon upgrading?

I noticed that existing recordings had it set to on, despite the option being disabled by default in the main settings.

Glad I checked.

This is a known issue, a display bug, and we’re actively looking into it. We’ll have documentation for this feature coming out later today.

display bug?!?! its not a display bug. it removed commercials from a recording even though the global setting was off.

i had to manually go into the numerous recordings in order to turn this “display bug” off. my next recording is tonight, will this “display bug” not do what it did to the previous recording?

@AeroR1 said:
display bug?!?! its not a display bug. it removed commercials from a recording even though the global setting was off.

i had to manually go into the numerous recordings in order to turn this “display bug” off. my next recording is tonight, will this “display bug” not do what it did to the previous recording?

Display bug was what engineering initially communicated with me, but we’ve since diagnosed the issue and its not just an issue with display. Commercials are getting removed because it’s looking at the pref and getting a default of true if the pref isn’t there. This, of course, is not expected behavior for the feature. One of the consequences of electing to use a beta version; the unexpected can happen. :slight_smile:

great news … really lovely feature and im interested how it will work out :wink:
tested already around with comskip together with TVH and PLEX … lets see how the cuts will come up in germany :wink:

Thanks for adding this feature

Quick tip… you can add your own comskip.ini configuration to Plex DVR so that it replaces the built-in defaults. To do so, create a new folder “DVR” in your Plex Media Server application support or appdata folder and copy your comskip.ini file there. Below are the default paths for Linux, Mac, and Windows:

* Linux: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/
* Mac: users/<user>/Library/Application Support/Plex Media Server/
* Windows: \Users\<user>\AppData\Local\Plex Media Server\

A few more notes:

  • No support for FreeBSD or any platform that does not support transcoding
  • After a program has ended, the recording will show as 100% complete in the Recording Schedule while this post-processing task is running
  • Commercials are stripped out of the recording before they are added to your library. Show durations will appear shorter, file sizes will be smaller

@kinoCharlino said:

@AeroR1 said:
display bug?!?! its not a display bug. it removed commercials from a recording even though the global setting was off.

i had to manually go into the numerous recordings in order to turn this “display bug” off. my next recording is tonight, will this “display bug” not do what it did to the previous recording?

Display bug was what engineering initially communicated with me, but we’ve since diagnosed the issue and its not just an issue with display. Commercials are getting removed because it’s looking at the pref and getting a default of true if the pref isn’t there. This, of course, is not expected behavior for the feature. One of the consequences of electing to use a beta version; the unexpected can happen. :slight_smile:

That’s a cop out. You test the on/off switch on a beta before you release it. “You (Plex)” obviously did not do a recording with the feature on and the off before releasing it to see if it behaves the way you intended it.

There is no way that Plex did that before releasing. Deploying it via the beta channel doesn’t automatically change the code in the software.

I’ll admit that calling it a display bug perhaps was a bit disingenuous. But let’s not lose sight of the high-level facts that this addition is in the beta release and is making a huge step towards a feature many desire.

@kinoCharlino Is there any kind of a Quick Tip to keep the original in addition to the cut version just in case the comskip doesn’t get it exactly right?

Anyone have an easy way to turn off this feature that was set for every existing recording I have… Hundreds of movies I have set to record now have this enabled. I never set this feature on… I started doing it one at a time, its going to take days to fix everyone of these. The two movies it had already done before i noticed this new setting, I lost part of the beginning and part of the end, there are no breaks in the middle of the movie for it to have cut out…I also have lots of series… not sure were to go with them.

@rodgerzeisler said:
Is there any kind of a Quick Tip to keep the original in addition to the cut version just in case the comskip doesn’t get it exactly right?

This might still work. It did in an earlier internal build. I’m told it might change as it was used for debugging. Hit this endpoint with your token:

http://127.0.0.1:32400/:/prefs/set?dvrRemoveComskipFiles=0&X-Plex-Token=TOKEN

  • After a program has ended, the recording will show as 100% complete in the Recording Schedule while this post-processing task is running

A note on this one, as I’m sure seeing this on slower machines could cause a bit of panic… we’re going to be displaying the post-processing state correctly on the web client side so that it doesn’t look like the same symptom as the “100% stuck” issue, which also has a fix in the beta.

@kinoCharlino said:

@rodgerzeisler said:
Is there any kind of a Quick Tip to keep the original in addition to the cut version just in case the comskip doesn’t get it exactly right?

This might still work. It did in an earlier internal build. I’m told it might change as it was used for debugging. Hit this endpoint with your token:

http://127.0.0.1:32400/:/prefs/set?dvrRemoveComskipFiles=0&X-Plex-Token=TOKEN

And does it save this change across reboots of the server and upgrades of Plex?

What exactly should I see that is different by disabling (assuming 0 is disabled) this preference?

@AeroR1 said:
That’s a cop out. You test the on/off switch on a beta before you release it. “You (Plex)” obviously did not do a recording with the feature on and the off before releasing it to see if it behaves the way you intended it.

I dug a bit deeper into this one and it turns out it was something enabled intentionally in an earlier debugging version and got left in there. This was the direct result of engineering and QA testing, but got missed on the way out to beta. It’s being fixed. This beta build is unfinished work. Not everything will work as expected. Things could break. If you’re not comfortable with that, the beta channel might not be right for you. It’s up to you, just know this is a pre-release build.

@nydave69 said:
Anyone have an easy way to turn off this feature that was set for every existing recording I have… Hundreds of movies I have set to record now have this enabled. I never set this feature on… I started doing it one at a time, its going to take days to fix everyone of these. The two movies it had already done before i noticed this new setting, I lost part of the beginning and part of the end, there are no breaks in the middle of the movie for it to have cut out…I also have lots of series… not sure were to go with them.

Not right now, but we are working on a new build to fix this.

@rodgerzeisler said:
And does it save this change across reboots of the server and upgrades of Plex?
What exactly should I see that is different by disabling (assuming 0 is disabled) this preference?

It’ll save across reboots and PMS upgrades. You won’t actually see anything different until you try recording and you get two files. Bear in mind that preference could be depreciated as it was originally intended for debugging and not as a feature.

I haven’t tried it yet, but does this immediately remove commercials after the recording or is it processed ‘as a scheduled task’? I just want to avoid high CPU usages during hours that I’m watching live tv or recording other shows.

Love this feature! I have tested it on a couple of shows and it seems to work really well. One thing I have noticed (by looking at the logs in the .grab folder) is that it must be detecting the logo to determine when the commercials start. The tv channels here (NZ) like to turn off the logo about 1-2 seconds before they go to a commercial break, so it means the show is cut slightly early before a break.

Is there anyway to compensate for that somehow?

@steveh11284 , it processes it immediately after the show is finished recording.

Started right after the movie completed recording…

@nydave69 said:
Anyone have an easy way to turn off this feature that was set for every existing recording I have… Hundreds of movies I have set to record now have this enabled. I never set this feature on… I started doing it one at a time, its going to take days to fix everyone of these. The two movies it had already done before i noticed this new setting, I lost part of the beginning and part of the end, there are no breaks in the middle of the movie for it to have cut out…I also have lots of series… not sure were to go with them.

Another thing you can do is downgrade to the latest non-beta version of PMS to fix this. A new build to correct this is will be out ASAP.

@damoncoursey said:
Love this feature! I have tested it on a couple of shows and it seems to work really well. One thing I have noticed (by looking at the logs in the .grab folder) is that it must be detecting the logo to determine when the commercials start. The tv channels here (NZ) like to turn off the logo about 1-2 seconds before they go to a commercial break, so it means the show is cut slightly early before a break.

Is there anyway to compensate for that somehow?

@steveh11284 , it processes it immediately after the show is finished recording.

http://www.kaashoek.com/files/tuning.htm

It is also possible to create additional pseudo blackframes some seconds after a logo disappears or before a logo appears The following line in the ini file will create a pseudo blackframe 6 seconds after the logo disappears and 8 seconds before the logo appears.

after_logo=6

before_logo=8