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: 1245492" data-attributes="member: 109674"><p>That's a good hint, i just wanted to fix the mediathek streams and did not look larger around. so my first intention was to quick fix it, and most of the code was already there from offbyone. In a next step i would have provided such a playlist parser as well, but good to see there is already one. </p><p>Just a question: Is it by intention that only one stream is returned per streamname (e.g. if there are Urls for same size and bitrate, only one is returned)</p><p> </p><p>You asked me to provide the code as fast as possible <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> </p><p>I can update the pull request or create another one, as i would like to do some clenaups as well.</p><p></p><p></p><p>not more than already in. i changed the last fallback which already today returns default(T), default(T) means in most cases: null</p><p></p><p>These are the default values for the more important types inside of <em>CLR,</em></p><ul> <li data-xf-list-type="ul">Classes - null</li> <li data-xf-list-type="ul">Nullable<T> - null</li> <li data-xf-list-type="ul">Numerics structs (int, double, decimal, etc) - 0</li> <li data-xf-list-type="ul">DateTime structs - 01/01/0001.</li> <li data-xf-list-type="ul">Char structs - empty char.</li> <li data-xf-list-type="ul">Bool structs - false</li> </ul><p>The Convert call does not throw an exception it tries to convert, if possible you get your type if not null... so similar to todays implementation</p><p></p><p></p><p>I did not got this point, maybe you could give an example, or mark the code in pullrequest comment.</p><p>For me this pull request is just one fix of the mediathek(s) as I saw other issues as well. I would like to refactor some code and consolidate some communalties of the ard, zdf and wdr mediathek code</p></blockquote><p></p>
[QUOTE="SilentBob, post: 1245492, member: 109674"] That's a good hint, i just wanted to fix the mediathek streams and did not look larger around. so my first intention was to quick fix it, and most of the code was already there from offbyone. In a next step i would have provided such a playlist parser as well, but good to see there is already one. Just a question: Is it by intention that only one stream is returned per streamname (e.g. if there are Urls for same size and bitrate, only one is returned) You asked me to provide the code as fast as possible ;) I can update the pull request or create another one, as i would like to do some clenaups as well. not more than already in. i changed the last fallback which already today returns default(T), default(T) means in most cases: null These are the default values for the more important types inside of [I]CLR,[/I] [LIST] [*]Classes - null [*]Nullable<T> - null [*]Numerics structs (int, double, decimal, etc) - 0 [*]DateTime structs - 01/01/0001. [*]Char structs - empty char. [*]Bool structs - false [/LIST] The Convert call does not throw an exception it tries to convert, if possible you get your type if not null... so similar to todays implementation I did not got this point, maybe you could give an example, or mark the code in pullrequest comment. For me this pull request is just one fix of the mediathek(s) as I saw other issues as well. I would like to refactor some code and consolidate some communalties of the ard, zdf and wdr mediathek 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