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
Fanart Handler
Latest Media Handler v2.4.X.000
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="styrsven" data-source="post: 1176760" data-attributes="member: 135607"><p>I looked at the code, and there is code for 4TR and the old API, but the api from 2.3 is different and not backward compatible, so LatestMediaHandler gets no contact.</p><p>I actually downloaded the code and had a look.</p><p></p><p>It seems to me that LatestTVRecordingsHandler.cs, Latest4TRRecordingsHandler.cs and LatestArgusRecordingsHandler.cs are copies of each other with minor changes in each.</p><p></p><p>My attempt on doing something would be to create a common baseclass that all inherits from and just keep the server-specific code in the inherited classes (that would simplify LatestTVAllRecordingsHandler.cs also), Then creating a new class, LatestArgusPost23RecordingsHandler.cs for the new API.</p><p>One issue is that the class for fetching the logo path is not a part of the published api, and only exist in a .NET4.5 dll.</p><p></p><p>I could make an attempt to doing something like this if it is ok with you. It would probably take some time, though.</p></blockquote><p></p>
[QUOTE="styrsven, post: 1176760, member: 135607"] I looked at the code, and there is code for 4TR and the old API, but the api from 2.3 is different and not backward compatible, so LatestMediaHandler gets no contact. I actually downloaded the code and had a look. It seems to me that LatestTVRecordingsHandler.cs, Latest4TRRecordingsHandler.cs and LatestArgusRecordingsHandler.cs are copies of each other with minor changes in each. My attempt on doing something would be to create a common baseclass that all inherits from and just keep the server-specific code in the inherited classes (that would simplify LatestTVAllRecordingsHandler.cs also), Then creating a new class, LatestArgusPost23RecordingsHandler.cs for the new API. One issue is that the class for fetching the logo path is not a part of the published api, and only exist in a .NET4.5 dll. I could make an attempt to doing something like this if it is ok with you. It would probably take some time, though. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
Latest Media Handler v2.4.X.000
Contact us
RSS
Top
Bottom