Jump to content

EmbyCon problem with direct file playback in Kodi


Go to solution Solved by muzicman0,

Recommended Posts

Posted

I am trying to use Kodi to play back my Emby library so that I can take advantage of EDL support.  It works great on some files, but others it won't play.  For instance, I have 4 episodes recorded of Manifest.  Episode 1, 3, and 4 won't play, but episode 2 will.  All of these are in the same folder.  There are other files from other series that will play, and still others that will not.  In other words, it seems random.  I also haven't been able to find any common denominator.

 

If I use one of the HTTP methods, they all play fine, but then I lose EDL support.

 

If I look at the Kodi logs, it says there is a 'conflict of credentials...no idea what that means, or why it works on some files, but not others....here is the log from Kodi:

2020-02-03 19:55:43.453 T:4984  NOTICE: EmbyCon.resources.lib.functions|INFO|Sending embycon_play_action : {'auto_resume': '-1', 'audio_stream_index': None, 'item_id': '627233', 'force_transcode': False, 'subtitle_stream_index': None, 'action': 'play', 'media_source_id': ''}
2020-02-03 19:55:43.587 T:1112  NOTICE: EmbyCon.resources.lib.play_utils|INFO|Received embycon_play_action : {u'auto_resume': u'-1', u'audio_stream_index': None, u'action': u'play', u'force_transcode': False, u'subtitle_stream_index': None, u'item_id': u'627233', u'media_source_id': u''}
2020-02-03 19:55:43.679 T:6012  NOTICE: VideoPlayer::OpenFile: smb://USERNAME:PASSWORD@10.1.0.122/rtv/Manifest (2018)/Season 2/Manifest S02E01 Fasten Your Seatbelts.ts
2020-02-03 19:55:43.679 T:1296  NOTICE: Creating InputStream
2020-02-03 19:55:51.333 T:1296 WARNING: XFILE::CWin32SMBDirectory::ConnectAndAuthenticate: Can't connect to "\\10.1.0.122\rtv" with username "xxxx" and with password because of conflict of credential. Will try to close current connections.
2020-02-03 19:55:55.349 T:1296 WARNING: Previous line repeats 2 times.
2020-02-03 19:55:55.349 T:1296 WARNING: XFILE::CWin32SMBDirectory::ConnectAndAuthenticate: Can't connect to "\\10.1.0.122\rtv" with username "xxxx" and with password. Error code: 1219
2020-02-03 19:55:55.349 T:1296   ERROR: CVideoPlayer::OpenInputStream - error opening [smb://USERNAME:PASSWORD@10.1.0.122/rtv/Manifest (2018)/Season 2/Manifest S02E01 Fasten Your Seatbelts.ts]
2020-02-03 19:55:55.349 T:1296  NOTICE: CVideoPlayer::OnExit()
2020-02-03 19:55:55.416 T:6012  NOTICE: CVideoPlayer::CloseFile()
2020-02-03 19:55:55.416 T:6012  NOTICE: VideoPlayer: waiting for threads to exit
2020-02-03 19:55:55.416 T:6012  NOTICE: VideoPlayer: finished waiting
2020-02-03 19:56:13.984 T:6012  NOTICE: Stopping player

I'm hoping that maybe someone has seen something similar.  I can't find support online directly for the plugin.  

 
 
Posted

Hi, I don't know if this is a problem that we can really help you with. It appears to be specific to your local environment. Notice the error message:

2020-02-03 19:55:55.349 T:1296 WARNING: XFILE::CWin32SMBDirectory::ConnectAndAuthenticate: Can't connect to "\\10.1.0.122\rtv" with username "xxxx" and with password. Error code: 1219

I don't know what error code 1219 is, does Kodi have documentation of it's error codes? But I'm going to take an educated guess. It either is not able to reach \\10.1.0.122, or the authentication did not succeed.

Posted

That's what I would have thought as well, except that other files play back fine.  I have even wiped the system and reinstalled everything (on the Kodi side), but it still won't work.  It is consistently the same files that won't play.  I have tried 1 of my 2 shields, and a PC.  Both have the same issue.  So weird.  I appreciate the response though.

  • Solution
Posted

I'm guessing it has something to do with having the shared resource on the same drive as the Emby server.  Since I have the same content on another PC (It's a One Drive folder), I changed the smb address, and it works fine now.

 

Thanks for the help, as always.

  • Like 1
Posted

Thanks for the feedback !

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...