OnlineVideos support (1 Viewer)

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Mod: This has been split out of the WebMP discussion thread

    I will post my feature request here then (as you still havent told me what bribes you take ;) )

    Could MPExtended be extended to include OnlineVideos as well? So you could browse the catalog of OnlineVideo sites remotly, stream a video to a remote site and start the video on the MP box? That would be a nice addition.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    ... the ISS Edition ...
    While it would be cool to have MPExtended running on the International Space Station, I think we've to settle with IIS for now ;)

    I will post my feature request here then (as you still havent told me what bribes you take ;) )

    Could MPExtended be extended to include OnlineVideos as well? So you could browse the catalog of OnlineVideo sites remotly, stream a video to a remote site and start the video on the MP box? That would be a nice addition.
    Well, I accept anything that helps me pay the rent or that you can eat (or drink)... ;)

    Seriously, the problem with OnlineVideos is that it doesn't fit in the current structure of MPExtended. It's not a 'standard' movie library such as Moving Pictures or My Films. It'll require a whole new API. I've to look at the OnlineVideos code to see how easy (or difficult) to implement that is. Anyway, I created an issue for it in our issue tracker.
     

    ollienator

    MP Donator
  • Premium Supporter
  • October 13, 2007
    15
    2
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I will post my feature request here then (as you still havent told me what bribes you take ;) )

    Could MPExtended be extended to include OnlineVideos as well? So you could browse the catalog of OnlineVideo sites remotly, stream a video to a remote site and start the video on the MP box? That would be a nice addition.

    this would be a tough one to implement in the service i guess.
    i wrote a site util for onlinesvideos some time ago and if i remember correctly, the onlinevideos plugin scans categories and video links for each site dynamically on access. so you cant just read the content from a database as you would with music / tvseries / movingpictures / tv server.
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I will post my feature request here then (as you still havent told me what bribes you take ;) )

    Could MPExtended be extended to include OnlineVideos as well? So you could browse the catalog of OnlineVideo sites remotly, stream a video to a remote site and start the video on the MP box? That would be a nice addition.

    this would be a tough one to implement in the service i guess.
    i wrote a site util for onlinesvideos some time ago and if i remember correctly, the onlinevideos plugin scans categories and video links for each site dynamically on access. so you cant just read the content from a database as you would with music / tvseries / movingpictures / tv server.

    I guess the OV plugin has a function that returns the correct list given the path input (so on top level it will give you the language folders, then it will provide the en sites, then it will provide the categories defined). So it "should" be possible, just a little different logic. As I have no time for coding at the moment, I can just be the wise guy here and not help. So if someone is interested, great, if not - I understand.

    Thanks!
     

    ollienator

    MP Donator
  • Premium Supporter
  • October 13, 2007
    15
    2
    Re: [Updated 30 Dec!] MPExtended WebMediaPortal 0.4.1

    I guess the OV plugin has a function that returns the correct list given the path input (so on top level it will give you the language folders, then it will provide the en sites, then it will provide the categories defined). So it "should" be possible, just a little different logic. As I have no time for coding at the moment, I can just be the wise guy here and not help. So if someone is interested, great, if not - I understand.

    Thanks!

    i said tough, not impossible ;-)
    the problem i'm seeing is that you would need to take the onlinevideos source and strip all gui stuff / mediaportal plugin code and port it over to mpextended to generate the site lists - calling the original plugin dll directly from the service is next to impossible (correct me if i'm wrong there). then you'd get a wild mix of video formats (think flv, mp4, etc) that you'd need to feed to the transcoder...

    plus, since you have your browser open when using webmediaportal, i think it would be easier to just open another tab and go to the video sites directly without the webmp detour.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    i said tough, not impossible ;-)
    the problem i'm seeing is that you would need to take the onlinevideos source and strip all gui stuff / mediaportal plugin code and port it over to mpextended to generate the site lists - calling the original plugin dll directly from the service is next to impossible (correct me if i'm wrong there).
    Calling the original DLL is easy, but it depends on how well their API is designed whether we can easily integrate it. According to DieBagger their API is quite usable, so that would be great.
    then you'd get a wild mix of video formats (think flv, mp4, etc) that you'd need to feed to the transcoder...
    Thats not a problem.
    plus, since you have your browser open when using webmediaportal, i think it would be easier to just open another tab and go to the video sites directly without the webmp detour.
    It's mainly intended to be used by mobile clients like Eve - request was posted in the wrong thread. So I split it out to a new thread :)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Time for me to say a few things I guess ;)

    a) OnlineVideos is already implemented as API -> we have one dll that can be used by any application, and another one that does all MediaPortal1 related GUI stuff ('and another one for MP2, ... :) )

    b) In order to get the sites, categories and videos you definitely need to use the API meaning the calls inside the dll, the only things stored in a DB are Favorites.
    But if you wire the paths right this is not very hard, proven by the fact that we already have 3 front-ends using the API.

    c) Since you already use vlc or ffmpeg for transcoding, the video types are not a problem, but the access (protocols). I am especially thinking of RTMP here. We now use our own directshow filter for those connections, and I do not know if VLC/ffmpeg supports all rtmp features yet (meaning encrypted streams).

    I'd be happy to help out with this and make required changes inside OnlineVideos, as long as they won't break current sites.
     

    ollienator

    MP Donator
  • Premium Supporter
  • October 13, 2007
    15
    2
    cool. i thought that the original plugin dlls needed mediaportal itself as a host application. as i said, wasn't sure though. thanks for setting things straight. ;)
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    This list => item => list sounds like a typical file system to me, so why not just implement it as a fs plugin? Shouldn't be much work if the api is good enough.
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    It seems I kicked of a good discussion. Thanks for that and for moving the post (sorry).

    I remember MP2 using dokan to create a virtual filesystem for the media database, maybe it would be helpful to have OnlineVideos represented as a fs?
     

    Users who are viewing this thread

    Top Bottom