scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 @@scalda - one thing I see if your logs that is not in mine is even where there is not .srt file you get: ScanForExternalSubtitles: Searching for subtitles...I am wondering if when it searches the path for subtitles it ends up scraping the path into the db. I tried playing around with the subtitles settings, but could not reproduce this log message. Do you know how to turn it on/off? All my subtitles are off be default for all videos via the audio setting menu Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 @@scalda - one thing I see if your logs that is not in mine is even where there is not .srt file you get: ScanForExternalSubtitles: Searching for subtitles... I am wondering if when it searches the path for subtitles it ends up scraping the path into the db. I tried playing around with the subtitles settings, but could not reproduce this log message. Do you know how to turn it on/off? i have just played a video that i know has a subtitle file and the database is still changed Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 (edited) You can see it is causing a big delay: 14:11:09 T:1595200544 DEBUG: script.module.osmcsetting.updates : - blurp 52 - DialogBusy.xml 14:11:12 T:1378870304 DEBUG: ScanForExternalSubtitles: END (total time: 59553 ms) I am not saying it has anything to do with whether the srt is there or not, I am saying that when I play I don't get that scan for srt, and when you play, it always scans for them. I don't know why.. But it is a clue! 59554ms is a long time! Edited May 24, 2015 by xnappo Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 Another thing I have just found when playing that file is that it couldn't connect to the emby server so it failed to play. Where as if that was a direct path it would of played no problem and it would of reestablished when emby was available again to run the sync Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 That is a true statement - the server must be up and reachable with the current code to play files. Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 Please try this hack: http://forum.kodi.tv/showthread.php?tid=162506&pid=1417742#pid1417742 Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 That is a true statement - the server must be up and reachable with the current code to play files. Kodi shouldn't have to relie on emby being up for local play I feel,over http yes but not direct local play Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 (edited) It is needed for Emby remote control and playback status. Please start a new thread called: FR: Option to use direct paths for playback And if more people want it, we will look into it. But.. Let's continue on this thread to figure out why the real path is getting added to the DB - that is a bug! Edited May 24, 2015 by xnappo Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 It is needed for Emby remote control and playback status. Please start a new thread called: FR: Option to use direct paths for playback And if more people want it, we will look into it. But.. Let's continue on this thread to figure out why the real path is getting added to the DB - that is a bug! sorry off topic but you just put "It is needed for Emby remote control and playback status" but from the photos you can see it works on a old version before all the changes sorry just wanted to point that out. back to topic where would you like me to look next? Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 Please try hard-coding the sub-title search path like discussed in the link a couple of posts ago, then see if it stops adding stuff to the library. Regarding playback - yes if the server is online, it will work with the path. I meant if the server is offline, obviously it will not. Admittedly the change was done primarily for a large number of people asking for Plex replacement - remote access. It might be reasonable to add direct paths back in, but I need the other devs to chime in on why we stopped making it an option. I think there was one other problem I am not remembering that cause big issues long-term. Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 Please try hard-coding the sub-title search path like discussed in the link a couple of posts ago, then see if it stops adding stuff to the library. Regarding playback - yes if the server is online, it will work with the path. I meant if the server is offline, obviously it will not. Admittedly the change was done primarily for a large number of people asking for Plex replacement - remote access. It might be reasonable to add direct paths back in, but I need the other devs to chime in on why we stopped making it an option. I think there was one other problem I am not remembering that cause big issues long-term. the workaround cut down the search time but still added the path to the database Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 24, 2015 Share Posted May 24, 2015 (edited) Wow - this is really weird. Can you try Confluence and see? Sorry but I am running out of ideas Was the playback noticeably faster from a user point of view? Edited May 24, 2015 by xnappo Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 Wow - this is really weird. Can you try Confluence and see? Sorry but I am running out of ideas Was the playback noticeably faster from a user point of view? tried that and there is no difference in play back start time, but the increment database sync is still going when a file is played Link to comment Share on other sites More sharing options...
scalda 69 Posted May 24, 2015 Author Share Posted May 24, 2015 @xnappo i have just noticed that when a file is first played ffmpeg runs and gathers all information for the video, but once it's stopped and replayed it doesn't do it again 20:43:48 T:1956884480 DEBUG: OnPlayMedia plugin://plugin.video.emby/movies/2080d4184c92cd9b5cc4d147a159f18e/?id=2080d4184c92cd9b5cc4d147a159f18e&mode=play 20:43:48 T:1956884480 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc 20:43:48 T:1956884480 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear 20:43:48 T:1956884480 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc 20:43:48 T:1956884480 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd 20:43:48 T:1956884480 DEBUG: StartScript - calling plugin Emby('plugin://plugin.video.emby/movies/2080d4184c92cd9b5cc4d147a159f18e/','39','?id=2080d4184c92cd9b5cc4d147a159f18e&mode=play') 20:43:48 T:1222636576 NOTICE: Thread LanguageInvoker start, auto delete: false 20:43:48 T:1956884480 DEBUG: WaitOnScriptResult - waiting on the Emby (id=76) plugin... 20:43:48 T:1222636576 INFO: initializing python engine. 20:43:48 T:1222636576 DEBUG: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): start processing 20:43:48 T:1222636576 NOTICE: -->Python Interpreter Initialized<-- 20:43:48 T:1222636576 DEBUG: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): the source file to load is "/home/osmc/.kodi/addons/Emby.Kodi-master/default.py" 20:43:48 T:1222636576 DEBUG: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): setting the Python path to /home/osmc/.kodi/addons/Emby.Kodi-master:/home/osmc/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0 20:43:48 T:1222636576 DEBUG: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): entering source directory /home/osmc/.kodi/addons/Emby.Kodi-master 20:43:48 T:1222636576 DEBUG: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): instantiating addon using automatically obtained id of "plugin.video.emby" dependent on version 2.1.0 of the xbmc.python api 20:43:49 T:1222636576 NOTICE: Parameter string: ?id=2080d4184c92cd9b5cc4d147a159f18e&mode=play 20:43:49 T:1236788256 DEBUG: webserver: request received for /jsonrpc 20:43:49 T:1222636576 NOTICE: PLAY Called 20:43:49 T:1222636576 NOTICE: EMBY PlayUtils -> File is direct playing. 20:43:49 T:1956884480 DEBUG: WaitOnScriptResult- plugin returned successfully 20:43:49 T:1222636576 INFO: CPythonInvoker(76, /home/osmc/.kodi/addons/Emby.Kodi-master/default.py): script successfully run 20:43:49 T:1956884480 DEBUG: Loading settings for smb://scott:password@MEDIASERVER/x$/Movies/Interstellar (2014)/Interstellar.mkv 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers(smb://USERNAME:PASSWORD@MEDIASERVER/x$/Movies/Interstellar (2014)/Interstellar.mkv) 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv 20:43:49 T:1956884480 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1) 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1) 20:43:49 T:1956884480 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players 20:43:49 T:1947202592 DEBUG: CAESinkPi:Drain delay:99ms now:0ms 20:43:49 T:1947202592 DEBUG: CAESinkPi:Deinitialize 20:43:49 T:1947202592 DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000 20:43:49 T:1947202592 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x54644cc8 20:43:49 T:1956884480 NOTICE: DVDPlayer: Opening: smb://USERNAME:PASSWORD@MEDIASERVER/x$/Movies/Interstellar (2014)/Interstellar.mkv 20:43:49 T:1956884480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 20:43:49 T:1956884480 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec 20:43:49 T:1956884480 DEBUG: CMMALRenderer::UnInit 20:43:49 T:1956884480 DEBUG: CMMALRenderer::PreInit 20:43:49 T:1171256352 NOTICE: Thread DVDPlayer start, auto delete: false 20:43:49 T:1171256352 NOTICE: Creating InputStream 20:43:49 T:1171256352 DEBUG: CSMBFile::Open - opened x$/Movies/Interstellar (2014)/Interstellar.mkv, fd=10000 20:43:49 T:1222636576 INFO: Python script stopped 20:43:49 T:1222636576 DEBUG: Thread LanguageInvoker 1222636576 terminating 20:43:49 T:1171256352 DEBUG: ScanForExternalSubtitles: Searching for subtitles... 20:43:49 T:1171256352 DEBUG: ScanArchiveForSubtitles:: Found file zip://%2fhome%2fosmc%2fEmby.Kodi-master33%200.1.91.zip/Emby.Kodi-master/ 20:43:49 T:1171256352 DEBUG: ScanForExternalSubtitles: END (total time: 114 ms) 20:43:49 T:1171256352 NOTICE: Creating Demuxer 20:43:50 T:1171256352 DEBUG: Open - probing detected format [matroska,webm] 20:43:50 T:1171256352 DEBUG: Open - avformat_find_stream_info starting 20:43:50 T:1171256352 DEBUG: Open - av_find_stream_info finished 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Input #0, matroska,webm, from 'smb://scott:password@MEDIASERVER/x$/Movies/Interstellar (2014)/Interstellar.mkv': 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : RARBG.COM - Interstellar.2014.1080p.BluRay.x264.DTS-RARBG 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: encoder : libebml v1.3.1 + libmatroska v1.4.2 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: creation_time : 2015-03-15 00:26:21 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Duration: 02:49:03.94, start: 0.083000, bitrate: 12822 kb/s 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.0: start 0.000000, end 575.283042 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 01 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.1: start 575.283042, end 1032.281250 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 02 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.2: start 1032.281250, end 1500.707542 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 03 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.3: start 1500.707542, end 2145.101292 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 04 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.4: start 2145.101292, end 2536.825958 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 05 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.5: start 2536.825958, end 3019.558208 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 06 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.6: start 3019.558208, end 3287.784500 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 07 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.7: start 3287.784500, end 3539.369167 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 08 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.8: start 3539.369167, end 3974.971000 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 09 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.9: start 3974.971000, end 4648.018375 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 10 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.10: start 4648.018375, end 5131.960167 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 11 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.11: start 5131.960167, end 5671.957958 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 12 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.12: start 5671.957958, end 6374.659958 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 13 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.13: start 6374.659958, end 6934.510917 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 14 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.14: start 6934.510917, end 7334.327000 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 15 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.15: start 7334.327000, end 7976.802167 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 16 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.16: start 7976.802167, end 8453.778667 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 17 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.17: start 8453.778667, end 9312.052750 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 18 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.18: start 9312.052750, end 9839.830000 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 19 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Chapter #0.19: start 9839.830000, end 10143.925458 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Chapter 20 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Interstellar.2014.1080p.BluRay.x264.DTS-RARBG 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default) 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Metadata: 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: title : Interstellar.2014.1080p.BluRay.x264.DTS-RARBG 20:43:50 T:1171256352 INFO: ffmpeg[45CFF420]: Stream #0:2(eng): Subtitle: subrip 20:43:50 T:1171256352 DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0 20:43:50 T:1171256352 DEBUG: CDVDDemuxFFmpeg::AddStream(1, ...) -> 1 20:43:50 T:1171256352 DEBUG: CDVDDemuxFFmpeg::AddStream(2, ...) -> 2 20:43:50 T:1171256352 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.clock input port 80 output port 81 m_handle 0x53575890 Link to comment Share on other sites More sharing options...
xnappo 1593 Posted May 25, 2015 Share Posted May 25, 2015 Yeah, agreed - this is fine. I thought the screenshots @@scalda was posting was from the 'episodes'/'movies' tables. It is fine to have this added to the path/files tables - it doesn't do any harm. Link to comment Share on other sites More sharing options...
scalda 69 Posted May 25, 2015 Author Share Posted May 25, 2015 (edited) Yeah @@marcelveldt just confirmed that this is normal. Kodi adds these to the Files and Paths tale to allow it to keep track of settings as I said above. So its just a question as to why it is talking so long to start the playback. I think the answer is Pi is slow but we already know that from the last addon. The question is can we do anything to speed up the playback start up times. It has nothing to do with the slowness of my pi as this is on a pi2 and runs faster than my xperia z2 running kodi and your addon. It does it on my windows pc aswell running the latest addon. I am running a old version of your addon on another windows pc aswell 0.0.33 and that is instant in playing along with all the features working that you have stated that's why you had to change it all in 0.1 Edited May 25, 2015 by scalda Link to comment Share on other sites More sharing options...
scalda 69 Posted May 25, 2015 Author Share Posted May 25, 2015 (edited) If it is happening on multiple clients with different architecture it could be network or server related. I think for now until we have a better idea of what your problem is you should stick with the older version. It might be possible we find an issue that is causing your problem or we add options to help reduce the issue in the future. Don't worry I will be as it works the way it should and does everything to the point of the reason you changed it. The thing that gets me and to why it's slow is that it keeps going back to the emby server to get information for it to play the video every time so that is extra time before the file plays as it has to find out where it is ever single time where as before I wouldn't even need the emby server online for my kodi to play a file instantly due to no database update or kodi asking emby where the file is everytime. I'm sorry but since 0.1 you have taken this in the wrong direction to what it was first created for which was a database sync tool, where as now you are turning kodi into a emby program if that was what you wanted to do then you guys should of just worked and sorted out XBMB3C as that's what your turning this into Edited May 25, 2015 by scalda Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted May 25, 2015 Share Posted May 25, 2015 Don't worry I will be as it works the way it should and does everything to the point of the reason you changed it. The thing that gets me and to why it's slow is that it keeps going back to the emby server to get information for it to play the video every time so that is extra time before the file plays as it has to find out where it is ever single time where as before I wouldn't even need the emby server online for my kodi to play a file instantly due to no database update or kodi asking emby where the file is everytime. I'm sorry but since 0.1 you have taken this in the wrong direction to what it was first created for which was a database sync tool, where as now you are turning kodi into a emby program if that was what you wanted to do then you guys should of just worked and sorted out XBMB3C as that's what your turning this into We did it so the addon would be compatible with all other Emby clients: You can now direct play, direct stream and transcode the file so the Kodi setup can connect from everywhere in the world to your Emby server. As for the server to be online: yes it does need to have the server online because the server has to informed about watch states etc. After we release the first stable version we will take a look in optimizing this. For example we can store the path etc. in the local DB so that we only need to contact the server if the stored info fails. We can extend this approach to support offline mode where we would track what has been watched in the time the server was offline and sync that back. But: like I said it won't be happening untill we released the first version. Fact is that the current addon version is really stable, handles all Emby conditions and is also really fast. If you don't like it, stick with the old XBMB3C addon or maybe even the older version of this addon. 1 Link to comment Share on other sites More sharing options...
scalda 69 Posted May 25, 2015 Author Share Posted May 25, 2015 (edited) We did it so the addon would be compatible with all other Emby clients: You can now direct play, direct stream and transcode the file so the Kodi setup can connect from everywhere in the world to your Emby server. As for the server to be online: yes it does need to have the server online because the server has to informed about watch states etc. After we release the first stable version we will take a look in optimizing this. For example we can store the path etc. in the local DB so that we only need to contact the server if the stored info fails. We can extend this approach to support offline mode where we would track what has been watched in the time the server was offline and sync that back. But: like I said it won't be happening untill we released the first version. Fact is that the current addon version is really stable, handles all Emby conditions and is also really fast. If you don't like it, stick with the old XBMB3C addon or maybe even the older version of this addon. That's fine then make it a option for when http option is turned on. As for watch States and that that all does when the connection is reestablished like it did before you changed it all, I never found anything wrong with with the releases before 0.1 I Will never use xbmb3c as it was/is shockingly crap I will be sticking with version 0.0.33 as it is the best version you released. I use my kodi setup for about 5-6 hours if not more a day, as it is the only source I have for watch TV and movies, I don't have sky or normally TV so I notice alot especially in playback and such Edited May 25, 2015 by scalda Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted May 25, 2015 Share Posted May 25, 2015 I created a feature request for this: https://trello.com/c/jCBVwx1M/81-cache-playback-path-to-local-kodi-db-for-faster-playback-start 1 Link to comment Share on other sites More sharing options...
Recommended Posts