-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Blacklist not working #151
Comments
Can you get the logs from startup, should include stuff about the config file its loading |
I'm running into the same problem while testing, and it looks like the root issue is that the name of the library is not checked. It looks like only the directory names (aka ancestors) are checked up until the 'root' library directory. Here's an example from my log: |
I'm not sure the API has an easy way to test if an item is in a specific library, but I asked in the developer matrix. A workaround might be saving the paths of the libraries and testing the episodes's path. |
I have a some working code, but it needs to be cleaned up. I will try to make a pull request in the morning. |
Is there an existing issue for this?
Have you ran the program with debug logging?
--log-level=debug
when running the programWhat went wrong?
I edited my main.json file to exclude 2 library: "Anime" "Anime Movies"
It is displaying it being played. The Library names are "Anime" and "Anime Movies" on jellyfin
Json configuration
"blacklist": { "libraries": ["Anime", "Anime Movies"] } },
I also tried using the default blacklist that was listed in the "setup" and it's still displaying that library
"blacklist": { "media_types": ["music", "movie", "episode", "livetv"], "libraries": ["Anime", "Anime Movies"] } },
Unsure how to run --log-level=debug flag on windows.
NOTE I changed the website address in the logs
Terminal output
2024-09-15 15:53:34 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:34 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:34 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:34 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:34 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:34 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:34 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:34 INFO [jellyfin_rpc] Call of the Night | S1E1 First Flight
2024-09-15 15:53:37 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:38 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:38 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:38 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:38 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:38 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:38 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:38 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:38 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:41 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:41 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:41 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:41 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:41 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:41 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:41 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:41 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:41 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:44 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:44 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:44 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:44 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:44 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:44 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:44 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:44 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:44 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:47 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:47 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:47 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:47 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:47 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:47 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:47 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:47 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:47 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:50 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:50 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:50 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:50 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:50 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:50 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:50 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:50 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:50 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:53 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:54 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:54 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:53:54 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:53:54 DEBUG [jellyfin_rpc] NowPlayingItem exists
2024-09-15 15:53:54 DEBUG [jellyfin_rpc] PlayState exists
2024-09-15 15:53:54 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:54 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:53:54 DEBUG [jellyfin_rpc] Ancestors: [Item { name: Some("Call of the Night") }, Item { name: Some("Shows") }, Item { name: Some("root") }]
2024-09-15 15:53:57 DEBUG [hyper_util::client::legacy::pool] reuse idle connection for ("https", jellyfin.website.com)
2024-09-15 15:54:03 DEBUG [hyper_util::client::legacy::pool] pooling idle connection for ("https", jellyfin.website.com)
2024-09-15 15:54:03 DEBUG [jellyfin_rpc] Found 1 sessions
2024-09-15 15:54:03 DEBUG [jellyfin_rpc] Session username is Some("jax")
2024-09-15 15:54:03 INFO [jellyfin_rpc] Cleared activity
Jellyfin-RPC version
1.2.2
What OS are you using?
Windows 11
What version is the Jellyfin server on?
10.9.11
Anything else?
No response
The text was updated successfully, but these errors were encountered: