Jellyfin Forum
SOLVED: Playlist disappear right after library scan - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Playlist disappear right after library scan (/t-solved-playlist-disappear-right-after-library-scan)

Pages: 1 2 3


Playlist disappear right after library scan - Rubén Navarro López - 2024-09-25

As title says, Playlist disappear right after library scan, and I found the folder "playlists" on jf path and still there, but not on my media anymore.

Someone knows how to fix this?

I want to add a playlist for recommended halloween movies for every user on my server.

Thanks!


RE: Playlist disappear right after library scan - TheDreadPirate - 2024-09-25

Can you share your logs via pastebin?


RE: Playlist disappear right after library scan - Rubén Navarro López - 2024-09-25

I would like to, but there is no log about this Confused-face.

It just happens every time after scan library. It removes the playlist created.


RE: Playlist disappear right after library scan - theguymadmax - 2024-09-25

Try this: Go to Dashboard → Scheduled Tasks → Maintenance → Clean up collections and playlists, and delete "On application startup." This will help if your mounts aren’t detected immediately at startup.


RE: Playlist disappear right after library scan - pixel24 - 2024-09-25

Yes, I had the same problem. All my media is stored on an SMB/ADS server. With version 10.9, my playlists kept getting completely wiped out. Even after disabling Jellyfin from starting automatically and manually checking before the Jellyfin start that the mount was correctly bound and all libraries were available, the issue persisted.

In the end, I removed the script responsible for this. Well, what can I say? At least it works now.


RE: Playlist disappear right after library scan - Rubén Navarro López - 2024-09-25

(2024-09-25, 08:47 PM)theguymadmax Wrote: Try this: Go to Dashboard → Scheduled Tasks → Maintenance → Clean up collections and playlists, and delete "On application startup." This will help if your mounts aren’t detected immediately at startup.

That's not the solution for this problem, because it wasn't executed since 4 days, so it can't be, but thanks anyway

Pixel24, what do you mean? In my case, I didn't reboot the server, I just reescan the library and right after, it disappear, which script did you deleted?


RE: Playlist disappear right after library scan - pixel24 - 2024-09-26

Ok, that was a misunderstanding. In my case, all playlists were emptied when the server started, even though all mounts were available. I then removed the script mentioned above.

I don't recall the problem occurring during the media scan. Sorry for the confusion.

I was able to observe the process "Removing items from playlists" in the logfile while manually starting the Jellyfin server. Have you checked the logfile during the media scan to see if it gives any clues about what's happening?


RE: Playlist disappear right after library scan - Rubén Navarro López - 2024-09-26

Hey! don't worry.

Yes, I checked, but there is no log about that, because it's just a reescan. In my case, it doesn't generate logs for a scan...

Dunno what to do, but I think I wrote a case about this a year ago and was exactly the same issue.


RE: Playlist disappear right after library scan - Rubén Navarro López - 2024-09-26

anyone knows how can I force logs for this, in order to check what's happening?


RE: Playlist disappear right after library scan - TheDreadPirate - 2024-09-26

You can edit logging.default.json. I don't know which OS your server is running but here are the common locations.

Linux: /etc/jellyfin/
Docker: /config/config/
Windows: C:\ProgramData\Jellyfin\Server\config

Edit the top section to look like this.

Code:
{
    "Serilog": {
        "MinimumLevel": {
            "Default": "Debug",
            "Override": {
                "Microsoft": "Debug",
                "System": "Debug"
            }
        },

Replace "Information" and "Warning" with "Debug". Once you save the file the change in log level should immediately take effect. No need to restart.