-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce a specific folder structure for Extras to avoid misidentification #1338
Conversation
EDIT: The following describes how to fix the database The following must be done in a for loop, unless someone feels like writing a complex query that probably wouldn't work anyway (NOTE:
Obviously, the string replace shouldn't be done in SQL. UserDataKey is a column value taken from the following select
This deletes the wrong Extras entries:
|
Does not fix the issue fully. While new movies now do show up in the collection after adding them, they show up without any metadata associated with it. |
The fix has been changed to enforce a more sane folder structure similar to Plex and Emby |
Patch LGTM for new movies. Thanks. Will check the database fix later. |
to fix collections - see jellyfin/jellyfin#1278 and jellyfin/jellyfin#1338
Would it be possible to block the 10.3.3 release until this is merged? Thanks. |
Untested
If someone can test my latest changes, that would be great. My initial test seems fine |
Works for me. |
I'm using jellyfin in a docker on a Openmediavault NAS, and for me, the issue is still there :
|
@kjlhgfds that's expected because this fix is only about new movies added to the library. Your existing movie entries are already corrupted. Use @oddstr13 jellyfin-collection-fix.py to fix your database. |
I'm running on a QNAP NAS and oddstr13's script worked fine using Entware's Python3. For anybody else on this platform make sure you change the DBFILE variable to point to the correct location and make sure procps-ng-ps is installed as the script won't work with Busybox ps. Thanks @cvium, @oddstr13 and @lukastribus Edit:- It only partially worked, my existing admin account is OK but any accounts that do not have access to all libraries still show collections with no items. |
Could you please submit issues on https://github.com/oddstr13/jellyfin-fixup-scripts ? Include the data location on QNAP. Also, a link to QNAP setup instructions would be appreciated, so I can test there too (I'm assuming you've installed via App Center here). |
Fixes #1278
Caveat: This change only fixes newly added media