mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Playlists created by Jellyfin (XML) are automatically deleted after library scan #7219
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#7219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Jolaru21 on GitHub (Aug 5, 2025).
Description of the bug
Jellyfin Version: 10.10.7
OS: Windows 10
Install method: Official installer (non-Docker)
Client: Web UI / Local machine
LogLevel: Information (also tested with Debug)
Reproducible: Always
Summary
Playlists created via the Jellyfin web interface (stored as XML in data/playlists/) are detected correctly when created, but are automatically deleted after the next library scan — without any error or warning.
This happens with all types of content: movies, shows, music, books, etc.
Attached logs and examples of my playlists creation (by jellyfin)
Additional Information
.m3u playlists work fine and are not deleted, even when created manually with the same media paths.
Issue is related to: https://github.com/jellyfin/jellyfin/issues/12008 (but still unresolved).
This behavior affects music, video, TV shows, books, etc.
File paths are 100% correct and media is accessible.
Unused plugins and unrelated folder issues have been ruled out.
The deletion happens regardless of metadata or other logs.
Reproduction steps
Create a playlist from the Jellyfin web interface.
Wait or trigger a library scan.
Playlist disappears from Jellyfin.
Playlist file still exists on disk.
No error or warning is shown in the logs.
What is the current bug behavior?
Playlists created via the Jellyfin web interface are automatically deleted after a library scan, even though the XML file still exists and the referenced media paths are valid. No error or explanation appears in the logs.
What is the expected correct behavior?
Jellyfin should not delete playlists automatically unless the file is missing or invalid.
If the playlist fails validation, the logs should reflect the reason explicitly.
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
Jellyfin 10.10.7 (Windows x64, official installer – not Docker)
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
example_playlist_1.txt
example_playlist_2.txt
log_20250805.log
Relevant screenshots or videos
No response
Additional information
No response
@jellyfin-bot commented on GitHub (Dec 4, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.