2024-11-11, 04:41 PM
To resolve the issue of ghost libraries, my usual solution is to remove them by editing the database. Here's the process:
- Download SQLite Browser.
- Shut down the server.
- Open library.db (always back up first!). Locations vary:
- /var/lib/jellyfin/data/library.db
- X:\ProgramData\Jellyfin\Server\data\library.db
- X:\Users\Username\AppData\Local\jellyfin\data\library.db
- /var/lib/jellyfin/data/library.db
- Choose the “Browse Data” tab, right under that is the option to choose table type, select “TypedBaseItems”
- Enter “MediaBrowser.Controller.Entities.CollectionFolder” in the Filter in any column field
- Find the entry you want to get rid of. Right-click on the number and select delete record.
- Click the “Write Changes” button, then close the database and restart the server.