Jump to content

Emby only plays on SMB when server is working


FingerlessGlovs
Go to solution Solved by Angelblue05,

Recommended Posts

FingerlessGlovs

Hi Guys,

 

Emby only plays on SMB when server is working. Would it be possible for it to still work if the emby service is not running on server? as Samba is more stable.

20:40:38 T:1968644096   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:40:42 T:1788712000  NOTICE: Parameter string: ?id=0ce503771875b83f39d3bd421c23f204&mode=play
20:40:43 T:1788712000  NOTICE: EMBY DownloadUtils -> logMsg : === ENTER downloadUrl ===
20:40:43 T:1788712000  NOTICE: EMBY DownloadUtils -> logMsg : Header: {'Accept-Charset': 'UTF-8,*', 'Content-type': 'application/json', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="4b4c128121aa642086bb225659a7d471", Client="Kodi", Device="Living Room Pi", DeviceId="9759412A1F08463C8696D257636993D7", Version="0.1.81"', 'X-MediaBrowser-Token': '2bc7cef665d94c089783cc24129dbf34'}
20:40:44 T:1788712000  NOTICE: EMBY DownloadUtils -> logMsg : URL: http://192.168.2.10:8096/mediabrowser/Users/4b4c128121aa642086bb225659a7d471/Items/0ce503771875b83f39d3bd421c23f204?format=json&ImageTypeLimit=1
20:40:44 T:1788712000  NOTICE: PLAY Called
20:40:44 T:1788712000    INFO: CPythonInvoker(7, /storage/.kodi/addons/plugin.video.emby/default.py): script successfully run
20:40:44 T:1788712000    INFO: Python script stopped
20:40:44 T:1788712000   DEBUG: Thread LanguageInvoker 1788712000 terminating
20:40:44 T:1968644096   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
20:40:44 T:1968644096   ERROR: PlayMedia could not play media: plugin://plugin.video.emby/tvshows/5fbf54d2d7ba7c3692013f9ad6f5f109/?id=0ce503771875b83f39d3bd421c23f204&mode=play
20:40:45 T:1968644096   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
Link to comment
Share on other sites

  • Solution
Angelblue05

The server needs to be running at the time of playback for the addon to know the path to the file. It's the only way this will work.

 

If the server is online, it will return the filepath and then we can determine if the file can be directly played from the device (using smb protocol)

 

 

Sent from my iPhone using Tapatalk

Edited by Angelblue05
  • Like 2
Link to comment
Share on other sites

im85288

Exactly plus the server needs to be online for it to report playback progress etc. Only mobile apps will support offline mode (for synced content)

  • Like 1
Link to comment
Share on other sites

kolbasz

I ran into this this weekend.  Updated the server and it didnt come back online, media wasnt starting...It took a bit to get the server up, but it would be nice to be able to cache the path re-directs.

 

My thought is that if path re-direction is in play, then we know we will likely need direct play.  Although, on the other hand, on one of my other systems still using mysql db, the db was stopped and so none of the media was appearing in kodi, so it too has limitations...

Link to comment
Share on other sites

marcelveldt

Although, on the other hand, on one of my other systems still using mysql db, the db was stopped and so none of the media was appearing in kodi, so it too has limitations...

Exactly, consider Emby as the replacement for the mysql database. The Emby server needs to be online to track your watched status etc.

Offcourse we can store/cache the direct path in the Kodi database but you'll loose sync with the server like watched status etc.

Maybe we will support offline mode somewhere in a future version but for now the Emby server needs to be online.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...