mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Old media segments from the Chapter Segments Provider plugin don't get deleted #7015
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ioqy on GitHub (May 16, 2025).
Description of the bug
I had some chapters incorrectly identified as commercials. After changing the settings of the "Chapter Segments Provider" plugin to not identify the chapters I ran the "Media Segment Scan" task and refreshed the metadata of the movie with the "Replace all metadata" mode, but the commercial segment was still there. Only after deleting all records in the "MediaSegments" table and running the Media Segment Scan again where the commercial segments gone.
Reproduction steps
What is the current bug behavior?
The chapter is still identified as a commercial
What is the expected correct behavior?
The chapter to not be identified as a commercial
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.10.7
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@d3nnis77 commented on GitHub (May 30, 2025):
Can confirm this bug.
It also does not apply new rules.
As the media segment task takes literally no time to complete, it seems like it only tries to check new files and not update existing segments.
@ioqy Where is this "MediaSegments table" that has to be deleted as a workaround?
@ioqy commented on GitHub (May 30, 2025):
@d3nnis77 In the SQLite database
config/data/jellyfin.db