cjmanca / plex-credits-detect

Augments plex's built in intro detection, additionally detecting credits.
MIT License
113 stars 5 forks source link

delete the credit based skips #33

Closed JohnFawkes closed 2 years ago

JohnFawkes commented 2 years ago

Is there currently a way to delete only the credit skip buttons this tool creates?

cjmanca commented 2 years ago

Not built into the tool, but it can be done a couple of ways:

  1. If you'd like to remove credits from a few specific seasons, you could get plex to re-detect intros. Plex removes all markers for the season when it does it's intro detection, including the ones generated by this tool. If my tool is running, it normally just re-inserts the previously detected credit markers immediately after, so to prevent it re-adding you'd want to add a fingerprint.ini file to that season with the detections all turned off.
  2. If you'd like to remove all credit markers from all seasons/movies, you could use this sql:
    DELETE FROM taggings WHERE `index` > 0 AND tag_id = (SELECT id FROM tags WHERE tag_type = 12);
JohnFawkes commented 2 years ago

I only did it for movies and i dont want to touch the tv shows that plex has created

cjmanca commented 2 years ago

All plex created intros have an index of 0. That SQL statement specifically ignores the plex created intros ( WHERE index > 0 )