home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Das Erste: Livestream not working
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SilentBob" data-source="post: 1245646" data-attributes="member: 109674"><p>I get the same problems, the dll which gets downloaded during the update does not match the latest GitHub Sources.</p><p>[USER=98267]@doskabouter[/USER] you can simply try this with this code (need some usings and references from OnlineVideo.dll, but this is the minimized original code), it says the dll was updated 2018-06-26 20:37:16</p><p>and when you downlowd the dll and reflect it e.g. with IlSpy you see the changed code is missing</p><p>[CODE]</p><p> Site[] _onlineSites = null;</p><p> Dll[] _onlineDlls = null;</p><p></p><p> OnlineVideosService ws = new OnlineVideosService() { Timeout = 30000, EnableDecompression = true };</p><p> try</p><p> {</p><p> _onlineSites = ws.GetSitesOverview();</p><p> }</p><p> catch (Exception ex)</p><p> {</p><p> Log.Warn("Error on getting sites overview from server: {0}", ex.ToString());</p><p> }</p><p> try</p><p> {</p><p> _onlineDlls = ws.GetDllsOverview();</p><p> }</p><p> catch (Exception ex)</p><p> {</p><p> Log.Warn("Error on getting dlls overview from server: {0}", ex.ToString());</p><p> }</p><p></p><p> var dasErsteSite = _onlineSites.First(s => s.Name.Contains("Das Erste"));</p><p> Console.WriteLine(dasErsteSite.LastUpdated);</p><p> var dll = _onlineDlls.First(d => d.Name.Contains("offbyone"));</p><p> byte[] onlineDllData = ws.GetDll(dll.Name);</p><p> var localPath = string.Format(@"C:\Temp\{0}.dll",dll.Name);</p><p> if (onlineDllData != null && onlineDllData.Length > 0) File.WriteAllBytes(localPath, onlineDllData);</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="SilentBob, post: 1245646, member: 109674"] I get the same problems, the dll which gets downloaded during the update does not match the latest GitHub Sources. [USER=98267]@doskabouter[/USER] you can simply try this with this code (need some usings and references from OnlineVideo.dll, but this is the minimized original code), it says the dll was updated 2018-06-26 20:37:16 and when you downlowd the dll and reflect it e.g. with IlSpy you see the changed code is missing [CODE] Site[] _onlineSites = null; Dll[] _onlineDlls = null; OnlineVideosService ws = new OnlineVideosService() { Timeout = 30000, EnableDecompression = true }; try { _onlineSites = ws.GetSitesOverview(); } catch (Exception ex) { Log.Warn("Error on getting sites overview from server: {0}", ex.ToString()); } try { _onlineDlls = ws.GetDllsOverview(); } catch (Exception ex) { Log.Warn("Error on getting dlls overview from server: {0}", ex.ToString()); } var dasErsteSite = _onlineSites.First(s => s.Name.Contains("Das Erste")); Console.WriteLine(dasErsteSite.LastUpdated); var dll = _onlineDlls.First(d => d.Name.Contains("offbyone")); byte[] onlineDllData = ws.GetDll(dll.Name); var localPath = string.Format(@"C:\Temp\{0}.dll",dll.Name); if (onlineDllData != null && onlineDllData.Length > 0) File.WriteAllBytes(localPath, onlineDllData); [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Das Erste: Livestream not working
Contact us
RSS
Top
Bottom