Comments (9)
I recently discovered the true source of this error (link), this is something that can't be fixed in the plugin so the only thing we can do is wait for opensubtitles to make changes on their side
from jellyfin-plugin-opensubtitles.
@MBR-0001 it should be fixed. Also I added new rule to replace "%20" to "+"
from jellyfin-plugin-opensubtitles.
[2021-11-01 02:37:52.029 +00:00] [ERR] [156] MediaBrowser.Providers.Subtitles.SubtitleManager: Error downloading subtitles from "Open Subtitles"
System.Text.Json.JsonException: Failed to parse response, code: Moved, context: options: System.Collections.Generic.Dictionary2[System.String,System.String], page: 1, body: "" ---> System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0. ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan
1 bytes)
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) --- End of inner exception stack trace --- at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex) at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, Type returnType, JsonSerializerOptions options)
at OpenSubtitlesHandler.Models.ApiResponse1..ctor(HttpResponse response, String[] context) --- End of inner exception stack trace --- at OpenSubtitlesHandler.Models.ApiResponse
1..ctor(HttpResponse response, String[] context)
at OpenSubtitlesHandler.OpenSubtitles.SearchSubtitlesAsync(Dictionary`2 options, String apiKey, CancellationToken cancellationToken)
at Jellyfin.Plugin.OpenSubtitles.OpenSubtitleDownloader.Search(SubtitleSearchRequest request, CancellationToken cancellationToken)
at MediaBrowser.Providers.Subtitles.SubtitleManager.SearchSubtitles(SubtitleSearchRequest request, CancellationToken cancellationToken)
from jellyfin-plugin-opensubtitles.
Which version of the plugin are you using?
from jellyfin-plugin-opensubtitles.
It looks like the opensubtitles api is returning a 301 status code but not providing the location header 🤔
@opensubtitles could this be caused by the current api outage?
from jellyfin-plugin-opensubtitles.
strange, I can not duplicate the problem. Please send some requests examples (curl is ok) how to do it, I tried to generated download link and then download and it works.
from jellyfin-plugin-opensubtitles.
Hello, I think I have run into the same issue, see my reddit post here. I also noticed that this issue should be solved in newer versions of this plugin. Unfortunately, they are not available yet through the jellyfin stable nor unstable repos.
from jellyfin-plugin-opensubtitles.
v13-16 failed to build, but v17 did build, and is available for those running 10.8.
from jellyfin-plugin-opensubtitles.
Thanks! Now we just have to wait for 10.8 to be released ;)
from jellyfin-plugin-opensubtitles.
Related Issues (20)
- Subtitles aren't downloaded automatically for me. HOT 20
- [Issue]: OpenSubtitles.com Username and/or Password NOT working. HOT 14
- Can't sign in HOT 10
- OpenSubs API Key ServiceUnavailable HOT 1
- API rate limit exceeded HOT 3
- Service Unavailable Error HOT 2
- Open Subtitles 18.0.0.0.0 - Status: Malfunctioned HOT 2
- [Issue]: Subtitles added to queue but are not downloaded HOT 5
- Cannot download subtitles for .strm files HOT 5
- Can't save authentication credentials HOT 2
- Subtitle download fails HOT 2
- [opensubtitles] Contact us HOT 3
- [Issue]: ServiceUnavailable error when download subtitles HOT 2
- Unable to sign into the opensubtitles plugin HOT 11
- Can't download subtitles HOT 1
- Refresh the view when a subtitle track has finished downloading HOT 2
- Can't Sign in to plugin: Request failed - BadGateway HOT 1
- Plugin doesn't find subtitles - but they do exist on the website HOT 6
- [BUG]: Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. HOT 8
- [BUG]: `System.NullReferenceException: Object reference not set to an instance of an object.` HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-plugin-opensubtitles.