-
Notifications
You must be signed in to change notification settings - Fork 1
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
ERROR in app: Exception on /triggers/manual [POST] #5
Comments
|
Because of the line number I can infer that you are using the old 0.1.1 version. Nevertheless the new version should still have that bug in it. Looks like the bug is caused by Plex having a different media location than the instance triggering the update (sonarr, radarr, bazarr o whatever service is calling the adapter). This is generally due to mount discrepancies. If you are using Docker I recommend to keep the same filepath between the instance calling the adapter and Plex. |
I have just updated to the latest container and I've double-checked the paths - they are all the same and are consistent with the host paths themselves as Plex runs natively. |
@jrcalvert hmm looks like I've found the issue but to confirm it I need you to provide the full path to the media file that produced the error. The full path should include the media file. You can mask any username if you'd like for security. I will also need the path to the media library that you added in Plex. As a summary what I think is happening is: for paths which have a subdirectory the scanning will work okay, but for the absolute paths that contain the media file it won't. Lets say you have the media library /RAID/deleted/TV in plex. If you scan for /RAID/deleted/TV/Walking_Dead/Season_1/S01E01.mkv it will work. Lets now assume you have /RAID/deleted/TV in plex but your file is located at /RAID/deleted/TV/S01E01.mkv, this will not work. See how the first example has subpaths Walking_Dead and Season_1 in it after the media library path, but the second example doesn't. This happens because the script assumes a sonarr/radarr-like file structure which is not always the case. autoscan-adapter/plexapihandler.py Line 32 in 8e143fe
If you can confirm all this by providing the full paths I will push a version with a fix. Thanks |
@jrcalvert the issue has. been solved in https://github.com/dantebarba/autoscan-adapter/tree/0.3.0 |
Thank you.
Sorry, I have been away
…On Sun, 18 Feb 2024, 21:46 Dante Barba, ***@***.***> wrote:
@jrcalvert <https://github.com/jrcalvert> the issue has. been solved in
https://github.com/dantebarba/autoscan-adapter/tree/0.3.0
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADXRBWUYODAUQ3WMYFZHJMLYUJZDFAVCNFSM6AAAAABC6HYNFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGQ2TINZXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello - I am getting the error below for some paths. The paths do exist and are accesible by Plex.
The text was updated successfully, but these errors were encountered: