Closed Ulyssedev closed 4 months ago
@Ulyssedev You are correct. Looks like this is something Jellyfin is doing differently than Emby.
When MUMC sends an API query for user's information the script is currently expecting to see both a list of included folders and a list of excluded folders for each user. Jellyfin for some reason, has decided to not send excluded folders in the returned data.
First I will need to determine if there is a different way to get the excluded folder data for each user. If there is, the goal would be to use common code for both Emby and Jellyfin.
0 - Select users and libraries
as an option.In the meantime; you should be able to use 0 - Select users and libraries
to bypass this error. When manually selecting both users and libraries the script does not need to know which libraries are not included for a specific user.
@Ulyssedev I have bad news.
Jellyfin does not support per-folder access assignments for libraries. Either a user has access to all of the library or none of the library. This seems like a feature miss on their part. Googling this and the answer given when someone asks to have this feature enabled is, "to use multiple libraries". Which is a bummer because Emby has this capability.
Dashboard > Users > Username > Access > Library Access > Libraries
:Until Jellyfin enables a way to assign individual access to folders within a library (similar to Emby); Jellyfin users will no longer have 2 - Select libraries only
as an option.
Jellyin users will continue to have 0 - Select users and libraries
and 1 - Select users only
as options.
@Ulyssedev Instead of completely removing 2 - Select libraries only
as an option for Jellyfin users. MUMC will automatically select/deselect all other folders in same library.
Example:
0 - movies - Path: /media/pharaoh/xbmc/movies - NetPath: smb://172.31.14.161/movies - LibId: c8ca023cdbb96c78e4de5f023456789a
1 - tvshows - Path: /media/pharaoh/xbmc/tv - NetPath: smb://172.31.14.161/tv - LibId: 7c6b1294b30d4c722993e40123456789a
2 - tvshows - Path: /media/pharaoh/xbmc/tv2 - NetPath: None - LibId: 7c6b1294b30d4c722993e40123456789a
3 - music - Path: /media/pharaoh/xbmc/music/albums - NetPath: smb://172.31.14.161/albums - LibId: 60c6bb241c9195d4b536e0123456789a
1
is manually selected.
2
is automatically added to the selection because it shares the same library id.
Next console output will appear as shown:
0 - movies - Path: /media/pharaoh/xbmc/movies - NetPath: smb://172.31.14.161/movies - LibId: c8ca023cdbb96c78e4de5f023456789a
1 - tvshows
2 - tvshows
3 - music - Path: /media/pharaoh/xbmc/music/albums - NetPath: smb://172.31.14.161/albums - LibId: 60c6bb241c9195d4b536e0123456789a
This has been "fixed" in the v5.7.2 release. Let me know if you run into any other issues.
Keep in mind, Jellyfin does not allow assigning individual folder access to users. In Jellyfin the user either has access to all folders in a library or none of the folders in a library.
Hey, I'm trying to use this tool with the latest version of Jellyfin (10.8.13) although I'm getting hit with this error when trying to blacklist 3 libraries (With option number two selected: 2 - Select libraries only. Selected libraries will be blacklisted for all users according to their access policy.)
I tried with Python 3.8, 3.11 and 3.12 and the same error is happening. When trying with a lower version of MUMC, a 404 is being returned from the Jellyfin server stating that the route SelectableMediaFolders is not found.
My main goal would be to delete any content that has not been played for the last 90 days by any user. Thanks a lot for taking the time to look at my issue, let me know if any extra information is needed.
Terminal Output: