I just did a little debugging. It appears bazarr is receiving a `invalid token` error when trying to use the download endpoint of the API.
Searching appears to be working, but downloads return a 401 with the above error.
I did some extra debugging. If I use curl with the same API key and token as bazarr is using, it fails. However I created my own API key in my OS account, and I used that instead of the hardcoded bazarr API key (using curl again) and it worked.
So my guess is there is either something wrong with the bazarr API key, or something wrong on OS's API.
Here is a slightly redacted log from bazarr:
https://gist.github.com/tecnobrat/7079c ... a4ef6c4193
And my testing:
[bstolz@owl ~] curl --request POST \
--url
https://api.opensubtitles.com/api/v1/download \
--header 'Accept: application/json' \
--header 'Authorization: Bearer REDACTED' \
--header 'Content-Type: application/json' \
--header 'Api-Key: s38zmzVlW7IlYruWi7mHwDYl2SfMQoC1' \
--data '{ "file_id": 7203216 }'
{"message":"invalid token","uk":"app_166_REDACTED","uid":2,"ts":1690146711}%
[bstolz@owl ~] curl --request POST \
--url
https://api.opensubtitles.com/api/v1/download \
--header 'Accept: application/json' \
--header 'Authorization: Bearer REDACTED' \
--header 'Content-Type: application/json' \
--header 'Api-Key: MY_API_KEY' \
--data '{ "file_id": 7203216 }'
{"link":"REDACTED","file_name":"American Gods (2017) - S01E03 - Head Full of Snow [Bluray-1080p][10bit][x265][AAC 5.1]-RAR.srt","requests":1,"remaining":4,"message":"Your quota will be renewed in 2 hours and 47 minutes (2023-07-23 23:59:59 UTC) ts=1690146745 ","reset_time":"2 hours and 47 minutes","reset_time_utc":"2023-07-23T23:59:59.999Z","uk":"app_50246_REDACTED","uid":2,"ts":1690146745}
Now that I look closer, I'm 99% sure this issue is on OS's end. I have a VIP account and its saying that my limit there is only 5, which means that OS thinks I am making this request unauthenticated.