Jump to content


Photo

Emby 4.2.0.30-beta has bug in subtittle SRT (DS918+)


  • Please log in to reply
2 replies to this topic

#1 kyrios OFFLINE  

kyrios

    Advanced Member

  • Members
  • 102 posts
  • Local time: 04:46 AM

Posted 19 July 2019 - 10:04 AM

Movies : The.Adventures.of.Tintin.2011.1080p.BluRay.H264.AAC-RARBG

Subtittle : in attachment

 

It works in previous version (I forgot the version number). But does not work in current version

2019-07-19 20:36:00.594 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.30
	Command line: /volume1/@appstore/EmbyServer/releases/4.2.0.30-beta/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/netcore/2.2.1/runtime/System.Private.CoreLib.dll
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.2.0.30-beta
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Server.Implementations.TextEncoding.TextEncoding.GetFileCharacterSetFromLanguage(ReadOnlySpan`1 language)
	   at Emby.Server.Implementations.TextEncoding.TextEncoding.GetDetectedEncodingName(ReadOnlySpan`1 memory, ReadOnlySpan`1 language, Boolean enableLanguageDetection)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitleFileCharacterSet(ReadOnlyMemory`1 pathMemory, ReadOnlyMemory`1 language, MediaProtocol protocol, IDictionary`2 requestHeaders, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 language, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 language, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: System.String GetFileCharacterSetFromLanguage(System.ReadOnlySpan`1[System.Char])

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 140224 posts
  • Local time: 04:46 PM

Posted 19 July 2019 - 02:14 PM

Thanks, i can fix this error, but i would suggest renaming the subtitle file with the 2-character language code instead of Indonesia.



#3 kyrios OFFLINE  

kyrios

    Advanced Member

  • Members
  • 102 posts
  • Local time: 04:46 AM

Posted 20 July 2019 - 01:37 AM

Thanks, i can fix this error, but i would suggest renaming the subtitle file with the 2-character language code instead of Indonesia.

 

Thx U. But it has no problem with other movies with similar naming SRT.

Only this movie has problem, either in web browser, Emby client, and Kodi plugin






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users