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 2
Plugin Development
Featured Plugins
MP2Extended
Plugin: MP2Extended
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="FreakyJ" data-source="post: 1163076" data-attributes="member: 106003"><p>I will just implement an API and you can decide if you are happy with it or not <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>What I have for now:</p><p>GetOnlineVideosSites</p><p>This returns all available sites with their Description and an Id</p><p></p><p>GetOnlineVideosSiteCategories</p><p>This gives you a list with all available categories and the infomration if these categories have SubCategories + LastUpdate time + Description</p><p></p><p>GetOnlineVideosSubCategories</p><p>This gives you the subCategories of a category</p><p></p><p>GetOnlineVideosCategoryVideos</p><p>This will return the Videos in a selected Category</p><p></p><p></p><p>Normally it is a ClientPlugin but I foreced it into an Serverplugin. How OnlineVideos Work:</p><p>There is a library called OnlineVideos.dll which provides all the functionallity of OnlineVideos.</p><p>The ClientPlugins reference this dll and just make the needed Api calls to get the information to present it in the GUI (+ a bit more).</p><p>I now took this dll and make the same api calls, but from the server side and cache all the sites on the server side instead of the client side. Does that make sense? There are just a few problems:</p><p>I needed to create my own version of the dll to make it work and there is no Nuget Package yet.</p><p></p><p></p><p>Right now you get all available sites. But we can think about a functions like "SetFavorites" and "GetFavorites". The other api calls mentioned above will stay the same <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> So this is up to your needs.</p><p></p><p></p><p>I have no idea right now^^ I will probably just return a URL to the Video and the Client has to do the playback.</p><p></p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p></blockquote><p></p>
[QUOTE="FreakyJ, post: 1163076, member: 106003"] I will just implement an API and you can decide if you are happy with it or not :) What I have for now: GetOnlineVideosSites This returns all available sites with their Description and an Id GetOnlineVideosSiteCategories This gives you a list with all available categories and the infomration if these categories have SubCategories + LastUpdate time + Description GetOnlineVideosSubCategories This gives you the subCategories of a category GetOnlineVideosCategoryVideos This will return the Videos in a selected Category Normally it is a ClientPlugin but I foreced it into an Serverplugin. How OnlineVideos Work: There is a library called OnlineVideos.dll which provides all the functionallity of OnlineVideos. The ClientPlugins reference this dll and just make the needed Api calls to get the information to present it in the GUI (+ a bit more). I now took this dll and make the same api calls, but from the server side and cache all the sites on the server side instead of the client side. Does that make sense? There are just a few problems: I needed to create my own version of the dll to make it work and there is no Nuget Package yet. Right now you get all available sites. But we can think about a functions like "SetFavorites" and "GetFavorites". The other api calls mentioned above will stay the same :) So this is up to your needs. I have no idea right now^^ I will probably just return a URL to the Video and the Client has to do the playback. (y) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
MP2Extended
Plugin: MP2Extended
Contact us
RSS
Top
Bottom