Fixes #151. This PR fetches the VirtualFolders (aka libraries) from Jellyfin, filter the libraries based off the user-provided names, and then compare the location of the item currently being played to the location of the blacklisted libraries. Since I like over-optimizing, I also cache the blacklisted library paths so we don't have to make that API call, and potentially expensive operation, on every check. The behavior can easily be changed, however.
Fixes #151. This PR fetches the VirtualFolders (aka libraries) from Jellyfin, filter the libraries based off the user-provided names, and then compare the location of the item currently being played to the location of the blacklisted libraries. Since I like over-optimizing, I also cache the blacklisted library paths so we don't have to make that API call, and potentially expensive operation, on every check. The behavior can easily be changed, however.