syralk 12 Posted December 21, 2018 Share Posted December 21, 2018 Hi just saw that when I use Emby connect on the Roku it take more time to connect then using the real address. I mean each time I open the app. and the behavior only do that when I'm using remote connection. it can take 1-2 minute to connect when I open the app if the setup is Emby connect if the setup is using the real url and port without emby connect its instant. and its only behaving this way remotely. Link to comment Share on other sites More sharing options...
Luke 37029 Posted December 21, 2018 Share Posted December 21, 2018 The initial connection to the server might be slightly slower, but then after that it will be exactly the same. 1 Link to comment Share on other sites More sharing options...
syralk 12 Posted December 21, 2018 Author Share Posted December 21, 2018 The initial connection to the server might be slightly slower, but then after that it will be exactly the same.So It is normal it's happen each time I open the app? Sent from my ONEPLUS A3000 using Tapatalk Link to comment Share on other sites More sharing options...
Luke 37029 Posted December 22, 2018 Share Posted December 22, 2018 It checks our Emby Connect domain for updated information. It really shouldn't be noticeable though, it's just a small data request. 1 Link to comment Share on other sites More sharing options...
syralk 12 Posted December 22, 2018 Author Share Posted December 22, 2018 It checks our Emby Connect domain for updated information. It really shouldn't be noticeable though, it's just a small data request.ThanksIt's just do that on the Roku On the other device emby connect is really fast. Sent from my ONEPLUS A3000 using Tapatalk Link to comment Share on other sites More sharing options...
Luke 37029 Posted December 23, 2018 Share Posted December 23, 2018 @@ebr will an in-app log help identify what portions of startup are taking the longest? Link to comment Share on other sites More sharing options...
ebr 14905 Posted December 30, 2018 Share Posted December 30, 2018 Unfortunately, no as there are no time stamps in the Roku logging. (something we should look at adding) Link to comment Share on other sites More sharing options...
Luke 37029 Posted December 31, 2018 Share Posted December 31, 2018 ok perhaps @@speechles can do this at least for the startup portions so that we can troubleshoot this. thanks. Link to comment Share on other sites More sharing options...
speechles 1917 Posted December 31, 2018 Share Posted December 31, 2018 (edited) The building of the timestamps is done from unixtime so there is time lost doing the conversion to something we can read(make sense of) as humans. But that aside.. There are two functions. Debug() and DebugT(). Debug does not waste time building timestamping nor provides it. DebugT does both. My proposal would be, since in debug mode things are slower anyways an extra few milliseconds is moot. We just have debug as an alias for debugT atm. Function Debug(message as string) ' add this as the first line DebugT(message) ... rest of function continues ... End Function In this way for the time being everything gets timestamped on logs.. maybe this makes too much text to send in via logging with timestamps on literally everything? Maybe just do the connection manager? Let me know which way to go and I can do whichever you want. Edited December 31, 2018 by speechles Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now