Jump to content

Envy for Kodi - addon mode not longer saves subtitles


abescalamis

Recommended Posts

abescalamis

When I download a subtitle it would save it next to the video, like the Emby app, now it only load it and but it doesn't save it

Link to comment
Share on other sites

horstepipe
2 hours ago, quickmic said:

Has this ever worked in addon mode or just in native mode?

 

this never worked in addon mode (which makes sense to me).
@abescalamismaybe Emby server's subtitles download abilities fullfill your needs?

Edited by horstepipe
Link to comment
Share on other sites

abescalamis
4 hours ago, horstepipe said:

 

this never worked in addon mode (which makes sense to me).
@abescalamismaybe Emby server's subtitles download abilities fullfill your needs?

It only worked in native mode, but after 4.0 around 2 years ago, @Angelblue05 added support for addon mode to download and save the subtitles, I been using it since but it stopped working few weeks ago, I will look for the post he made about it.

 

 

  • Like 1
Link to comment
Share on other sites

quickmic

Well I'm not really familiar with the upload function, but I checked the log.

Seems the magic happens here:

2020-09-23 18:03:30.735 T:22197  NOTICE: EMBY.helper.playutils -> {u'PlaySessionId': u'7341dad46b38499fa7e8d660e5359338', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mp4', u'RequiresClosing': False, u'DefaultAudioStreamIndex': 1, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.976025, u'Width': 1920, u'VideoRange': u'SDR', u'Codec': u'hevc', u'IsForced': False, u'AspectRatio': u'160:67', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main 10', u'TimeBase': u'1/24000', u'Language': u'und', u'SupportsExternalStream': False, u'CodecTimeBase': u'1001/24000', u'RealFrameRate': 23.976025, u'CodecTag': u'hev1', u'Level': 120, u'RefFrames': 1, u'DisplayTitle': u'1080p HEVC', u'BitRate': 2000600, u'IsDefault': True, u'IsAnamorphic': False, u'Protocol': u'File', u'Height': 804, u'PixelFormat': u'yuv420p10le', u'BitDepth': 10, u'IsExternal': False}, {u'IsForced': False, u'IsInterlaced': False, u'Profile': u'LC', u'DisplayTitle': u'English AAC 5.1 (Default)', u'CodecTag': u'mp4a', u'Language': u'eng', u'Index': 1, u'Type': u'Audio', u'DisplayLanguage': u'English', u'Channels': 6, u'Codec': u'aac', u'ChannelLayout': u'5.1', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/48000', u'Protocol': u'File', u'TimeBase': u'1/48000', u'SampleRate': 48000, u'BitRate': 224000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'English (SRT)', u'IsExternalUrl': False, u'Language': u'eng', u'Index': 2, u'DeliveryUrl': u'/Videos/315357/bdfedee2c4f83409aa7526dcfd887840/Subtitles/2/0/Stream.srt?api_key={emby-token}', u'DisplayLanguage': u'English', u'DeliveryMethod': u'External', u'Codec': u'srt', u'SupportsExternalStream': True, u'IsForced': False, u'Protocol': u'File', u'Path': u'/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}], u'Type': u'Default', u'DirectStreamUrl': u'/videos/315357/stream.mp4?DeviceId=E60E0702419843C59BAD7B54231C3621&MediaSourceId=bdfedee2c4f83409aa7526dcfd887840&Static=true&PlaySessionId=7341dad46b38499fa7e8d660e5359338&api_key={emby-token}', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).mp4', u'RequiresOpening': False, u'Bitrate': 2231350, u'IsRemote': False, u'Name': u'Cut Off', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'SupportsDirectPlay': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'RunTimeTicks': 79049700000, u'DefaultSubtitleStreamIndex': 2, u'SupportsProbing': False, u'Id': u'bdfedee2c4f83409aa7526dcfd887840', u'Size': 2204844926}]}

The suspected parameter is this, looks like the upload arguments:

u'DeliveryMethod': u'External' .....  u'/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt'

compared with filepath:

nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).mp4'

...the prefix is missing.

Should the subtitle destination be that one?

nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt

 

Link to comment
Share on other sites

abescalamis
25 minutes ago, quickmic said:

Well I'm not really familiar with the upload function, but I checked the log.

Seems the magic happens here:


2020-09-23 18:03:30.735 T:22197  NOTICE: EMBY.helper.playutils -> {u'PlaySessionId': u'7341dad46b38499fa7e8d660e5359338', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mp4', u'RequiresClosing': False, u'DefaultAudioStreamIndex': 1, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.976025, u'Width': 1920, u'VideoRange': u'SDR', u'Codec': u'hevc', u'IsForced': False, u'AspectRatio': u'160:67', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'Main 10', u'TimeBase': u'1/24000', u'Language': u'und', u'SupportsExternalStream': False, u'CodecTimeBase': u'1001/24000', u'RealFrameRate': 23.976025, u'CodecTag': u'hev1', u'Level': 120, u'RefFrames': 1, u'DisplayTitle': u'1080p HEVC', u'BitRate': 2000600, u'IsDefault': True, u'IsAnamorphic': False, u'Protocol': u'File', u'Height': 804, u'PixelFormat': u'yuv420p10le', u'BitDepth': 10, u'IsExternal': False}, {u'IsForced': False, u'IsInterlaced': False, u'Profile': u'LC', u'DisplayTitle': u'English AAC 5.1 (Default)', u'CodecTag': u'mp4a', u'Language': u'eng', u'Index': 1, u'Type': u'Audio', u'DisplayLanguage': u'English', u'Channels': 6, u'Codec': u'aac', u'ChannelLayout': u'5.1', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/48000', u'Protocol': u'File', u'TimeBase': u'1/48000', u'SampleRate': 48000, u'BitRate': 224000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'English (SRT)', u'IsExternalUrl': False, u'Language': u'eng', u'Index': 2, u'DeliveryUrl': u'/Videos/315357/bdfedee2c4f83409aa7526dcfd887840/Subtitles/2/0/Stream.srt?api_key={emby-token}', u'DisplayLanguage': u'English', u'DeliveryMethod': u'External', u'Codec': u'srt', u'SupportsExternalStream': True, u'IsForced': False, u'Protocol': u'File', u'Path': u'/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}], u'Type': u'Default', u'DirectStreamUrl': u'/videos/315357/stream.mp4?DeviceId=E60E0702419843C59BAD7B54231C3621&MediaSourceId=bdfedee2c4f83409aa7526dcfd887840&Static=true&PlaySessionId=7341dad46b38499fa7e8d660e5359338&api_key={emby-token}', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).mp4', u'RequiresOpening': False, u'Bitrate': 2231350, u'IsRemote': False, u'Name': u'Cut Off', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'SupportsDirectPlay': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'RunTimeTicks': 79049700000, u'DefaultSubtitleStreamIndex': 2, u'SupportsProbing': False, u'Id': u'bdfedee2c4f83409aa7526dcfd887840', u'Size': 2204844926}]}

The suspected parameter is this, looks like the upload arguments:


u'DeliveryMethod': u'External' .....  u'/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt'

compared with filepath:


nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).mp4'

...the prefix is missing.

Should the subtitle destination be that one?


nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt

 

Here is the proof that angelblue added support in 2019

 

Link to comment
Share on other sites

quickmic

I'm still not sure if upload subtitles is possible without direct file access. Anyway, can you please confirm my assumption?

Should the subtitle uploaded to:

nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt

Is this the destination? Looks like you have direct file access...

Edited by quickmic
Link to comment
Share on other sites

abescalamis
12 minutes ago, quickmic said:

I'm still not sure if upload subtitles is possible without direct file access. Anyway, can you please confirm my assumption?

Should the subtitle uploaded to:


nfs://192.168.1.33/volume1/Data/Media/Movies/Blu-ray/Cut Off (2018)/Cut Off (2018).en.srt

Is this the destination? Looks like you have direct file access...

That is the correct destination.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...