terrelsa13 / MUMC

Multi-User Media Cleaner aka MUMC (pronounced Mew-Mick) will go through movies, tv episodes, audio tracks, and audiobooks in your Emby/Jellyfin libraries deleting media items you no longer want.
GNU General Public License v3.0
92 stars 6 forks source link

[ON HOLD] During Runtime, Check If Each Configured Library Is Still Enabled/Accessible For Each User #118

Closed terrelsa13 closed 2 months ago

terrelsa13 commented 3 months ago

https://github.com/terrelsa13/MUMC/issues/109#issuecomment-2155891781

Upside

terrelsa13 commented 3 months ago

Jellyfin does not have the /Library/SelectableMediaFolders API path.

So two options:

  1. Wait until Jellyfin implements the ability to select individual sub-folders in each library, which will likely come with the /Library/SelectableMediaFolders API path; or at least their version of it.
    1. /Library/SelectableMediaFolders API path has the sub-folder Ids which can be used to match the included/excluded sub-folders for each user.
  2. Use the /Library/MediaFolders API path, which would require sub-folder library matching by path names instead of by Ids.
    1. Once Jellyfin implements selecting individual sub-folders in each library this code would be re-written to do it the correct way.
terrelsa13 commented 3 months ago

This feature is on HOLD until Jellyfin allows selecting sub-folders within libraries.

terrelsa13 commented 2 months ago

Implemented for Emby only. Once Jellfyfin catches up with using subfolder level permissions; this will work for JF as well.