Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support Plex "Skip Ads" function during playback #175

Open
2 tasks done
nzkiwi68 opened this issue Dec 26, 2024 · 5 comments
Open
2 tasks done

Feature Request: Support Plex "Skip Ads" function during playback #175

nzkiwi68 opened this issue Dec 26, 2024 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nzkiwi68
Copy link

Description:

If you have the subscription/paid version of Plex Server, then during recording live TV, you can detect and offer during playback to skip ads.
The detect ads/commercials inside Plex Server has two modes of operation;

  1. Detect commercials and mark for skip (safest in case of a detection error)
  2. Detect and delete commercials (do not record the ad segment thereby a smaller saved recording)

I always use the detect and offer to skip.
plex-for-kodi doesn't offer the "Skip Ads" button during playback of a recorded TV show.
If I watch the same recorded TV show using the plex.tv web based browser client or the Apple TV 4K Plex client, then the offer to "Skip Ads" appears and with a single button push you skip the entire ad break segment. It's actually really good and rarely gets anything wrong.

Please support the "Skip Ads" feature for the paid version of Plex Server.

Details:

Add-on version: 0.7.9
Kodi version: 21.1.0
OS Platform: CoreELEC 21.1.1
Hardware: Ugoos AM6B+

Reference & More Information:

Plex Server URL about ad detect and skip:
Plex Server - Removing Commercials

Picture from Plex web client showing "Skip Ads" button:

Plex web client Skip Ads button

Plex Server > Live TV DVR > DVR Settings > Detect commercials and mark for skip:

Plex Server showing Detect commercials option

Checklist

  • No logs provided, but, very happy to add anything requested.
  • I don't seem to have the rights to be able to add appropriate GitHub labels, otherwise I would have...
@pannal
Copy link
Owner

pannal commented Dec 26, 2024

Can you get me the XML of such a file in question? Go to Plex web, visit the item, three dots, details, view XML.

@nzkiwi68
Copy link
Author

I could record something small with my plex server, one of the TV channels that isn't HD and via dropbox link or similar provide you a small recording for you to play with that has an ad break in it that the web client and Apple TV plex client offer to skip the ad break.

Please let me know if this of assistance and I will get this prepared for you.

@nzkiwi68
Copy link
Author

XML file at
xml.txt
tched.

I see this in the XML:

<Marker id="3631" type="commercial" startTimeOffset="70600" endTimeOffset="110800"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="1379880" endTimeOffset="1619920"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="2322400" endTimeOffset="2557600"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="3294520" endTimeOffset="3535920"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="4220800" endTimeOffset="4450840"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="5558000" endTimeOffset="5813040"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="6745400" endTimeOffset="7005480"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="8395280" endTimeOffset="8508560"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="commercial" startTimeOffset="9053560" endTimeOffset="9054800"> <Attributes id="3631"/> </Marker> <Marker id="3631" type="credits" startTimeOffset="7772246" endTimeOffset="8406246"> <Attributes id="3631" version="4"/> </Marker> <Marker id="3631" type="credits" startTimeOffset="8490246" endTimeOffset="8518246"> <Attributes id="3631" version="4"/> </Marker> <Marker id="3631" type="credits" startTimeOffset="8690246" endTimeOffset="8712246"> <Attributes id="3631" version="4"/> </Marker>

@pannal
Copy link
Owner

pannal commented Dec 26, 2024

Got it. I have no experience with DVR and Plex, but these are just markers with a different type. I can easily adapt the functionality of the intro and credits marker types for "commercial". Thanks for providing the XML, I'll add it to my list for 0.8.1.

@pannal pannal added enhancement New feature or request good first issue Good for newcomers labels Dec 26, 2024
@nzkiwi68
Copy link
Author

nzkiwi68 commented Dec 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants