Playlists created by Jellyfin (XML) are automatically deleted after library scan #7219

Open
opened 2025-12-22 05:25:17 +01:00 by backuprepo · 1 comment
Owner

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

  1. Create a playlist from the Jellyfin web interface.

  2. Wait or trigger a library scan.

  3. Playlist disappears from Jellyfin.

  4. Playlist file still exists on disk.

  5. 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

- OS: Windows 10 Pro x64
- Linux Kernel: N/A
- Virtualization: No
- Clients: everyone
- Browser: Brave, Chrome, etc
- FFmpeg Version: FFmpeg version packaged with Jellyfin 10.10.7
- Playback Method: Direct play / streaming local
- Hardware Acceleration: Intel QuickSync (QSV)
- GPU Model: N/A
- Plugins: tested without any plugins
- Reverse Proxy: Caddy (tested without it)
- Base URL: Default
- Networking: Exposed to local network and externally over HTTPS
- Jellyfin Data Storage: C:\Users\Plex\AppData\Local\Jellyfin
- Media Storage: On separate internal drives (e.g. D:\, F:\)
- External Integrations: None

Jellyfin logs

[2025-08-05 14:30:46.982 +02:00] [INF] [19] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Playlist", Name: "lista de pelis", Path: "C:\Users\Plex\AppData\Local\Jellyfin\data\playlists\lista de pelis"

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

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 1. Create a playlist from the Jellyfin web interface. 2. Wait or trigger a library scan. 3. Playlist disappears from Jellyfin. 4. Playlist file still exists on disk. 5. 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 ```markdown - OS: Windows 10 Pro x64 - Linux Kernel: N/A - Virtualization: No - Clients: everyone - Browser: Brave, Chrome, etc - FFmpeg Version: FFmpeg version packaged with Jellyfin 10.10.7 - Playback Method: Direct play / streaming local - Hardware Acceleration: Intel QuickSync (QSV) - GPU Model: N/A - Plugins: tested without any plugins - Reverse Proxy: Caddy (tested without it) - Base URL: Default - Networking: Exposed to local network and externally over HTTPS - Jellyfin Data Storage: C:\Users\Plex\AppData\Local\Jellyfin - Media Storage: On separate internal drives (e.g. D:\, F:\) - External Integrations: None ``` ### Jellyfin logs ```shell [2025-08-05 14:30:46.982 +02:00] [INF] [19] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Playlist", Name: "lista de pelis", Path: "C:\Users\Plex\AppData\Local\Jellyfin\data\playlists\lista de pelis" ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs [example_playlist_1.txt](https://github.com/user-attachments/files/21600371/example_playlist_1.txt) [example_playlist_2.txt](https://github.com/user-attachments/files/21600373/example_playlist_2.txt) [log_20250805.log](https://github.com/user-attachments/files/21600372/log_20250805.log) ### Relevant screenshots or videos _No response_ ### Additional information _No response_
backuprepo added the
stale
bug
labels 2025-12-22 05:25:17 +01:00
Author
Owner

@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.

@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](https://jellyfin.org/contact).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7219
No description provided.