File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ CancellationToken ct
5858 && cached is not null
5959 )
6060 {
61- _log . LogInformation ( "Subtitle list cache HIT key={Key}" , listKey ) ;
61+ _log . LogDebug ( "Subtitle list cache HIT key={Key}" , listKey ) ;
6262 return cached ;
6363 }
6464
65- _log . LogInformation ( "Subtitle list cache MISS key={Key}" , listKey ) ;
65+ _log . LogDebug ( "Subtitle list cache MISS key={Key}" , listKey ) ;
6666
6767 var cfg = GelatoPlugin . Instance ! . GetConfig ( Guid . Empty ) ;
6868 var subs = await cfg . Stremio ! . GetSubtitlesAsync ( id , mediaType ) . ConfigureAwait ( false ) ;
@@ -247,7 +247,7 @@ CancellationToken cancellationToken
247247 {
248248 Format = GuessSubtitleCodec ( sub . Url ) ,
249249 Stream = ms ,
250- Language = "en" ,
250+ Language = sub . LangCode ?? sub . Lang ,
251251 } ;
252252 }
253253
You can’t perform that action at this time.
0 commit comments