Closed kubo6472 closed 7 months ago
I put this in zurg, works fine:
on_library_update: |
for arg in "$@"
do
curl -v -X POST -H "X-MediaBrowser-Token: censored" https://domain.tld/library/refresh
done
Feature added in Version [2.0.0]
this is what breaks it, it tries connecting to plex, because your way of manipulating the config file adds this empty bracket, which is what triggers plex_debrid to start connecting to plex.
Possibly fixable by editing this:
Exception in thread Thread-1 (threaded):
pd_zurg | Traceback (most recent call last):
pd_zurg | File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
pd_zurg | self.run()
pd_zurg | File "/usr/lib/python3.11/threading.py", line 982, in run
pd_zurg | self._target(*self._args, **self._kwargs)
pd_zurg | File "/plex_debrid/ui/__init__.py", line 408, in threaded
pd_zurg | library = content.classes.library()[0]()
pd_zurg | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pd_zurg | File "/plex_debrid/content/services/trakt.py", line 616, in __new__
pd_zurg | ui_print('[trakt] getting ' + current_user[0] + "'s" + ' entire trakt collection ...')
pd_zurg | ~~~~~~~~~~~~^^^
pd_zurg | IndexError: list index out of range
Possibly fixable by editing this:
Fixed in Version [2.0.3]
Exception in thread Thread-1 (threaded): pd_zurg | Traceback (most recent call last): pd_zurg | File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner pd_zurg | self.run() pd_zurg | File "/usr/lib/python3.11/threading.py", line 982, in run pd_zurg | self._target(*self._args, **self._kwargs) pd_zurg | File "/plex_debrid/ui/__init__.py", line 408, in threaded pd_zurg | library = content.classes.library()[0]() pd_zurg | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pd_zurg | File "/plex_debrid/content/services/trakt.py", line 616, in __new__ pd_zurg | ui_print('[trakt] getting ' + current_user[0] + "'s" + ' entire trakt collection ...') pd_zurg | ~~~~~~~~~~~~^^^ pd_zurg | IndexError: list index out of range
I have finally figured this one out! The "Trakt refresh user" needs to be set in the plex_debrid settings.json; unfortunately, the only way to do so is by authorizing and adding your Trakt user by editing the Library collection service with the plex_debrid UI!
Still getting the error above. Even with added and authorized trakt user via the plex_debrid UI
Is your feature request related to a problem? Please describe. Currently limited usage to plex
Describe the solution you'd like
Allow to either set PLEX_USER/PLEX_TOKEN... or a JELLYFIN_APIKEY and JELLYFIN_ADDRESS