FingerlessGlovs 7 Posted May 10, 2015 Share Posted May 10, 2015 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 More sharing options...
Solution Angelblue05 4130 Posted May 10, 2015 Solution Share Posted May 10, 2015 (edited) 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 May 10, 2015 by Angelblue05 2 Link to comment Share on other sites More sharing options...
im85288 1493 Posted May 10, 2015 Share Posted May 10, 2015 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) 1 Link to comment Share on other sites More sharing options...
FingerlessGlovs 7 Posted May 18, 2015 Author Share Posted May 18, 2015 Thanks Guys. Link to comment Share on other sites More sharing options...
kolbasz 20 Posted May 18, 2015 Share Posted May 18, 2015 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 More sharing options...
marcelveldt 736 Posted May 18, 2015 Share Posted May 18, 2015 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 More sharing options...
kolbasz 20 Posted May 18, 2015 Share Posted May 18, 2015 Word Makes sense. Link to comment Share on other sites More sharing options...
Recommended Posts