[Question] MPExtended WebMediaPortal and Chromecast (1 Viewer)

MrTechno

Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    Here's where I've got to so far. I started with https://github.com/googlecast/CastHelloVideo-chrome, stripped out the default video selection then added jQuery and wired up some AJAX calls.

    Apologies for the appalling design and lack of error handling. I've only tested it with MP3s but it probably works with other types of content. I'll make it a bit more polished if I have any time next week - remove the hard coded MIME type, add some metadata to LoadRequest that kind of thing.

    The client side will only work on Chrome with the Google Cast extension (I'm running on Windows 7 64 bit with Chrome v33). You can host the files on IIS, Apache or any else that can do proxy redirects (direct AJAX calls from Javascript running on your web browser to MPExtended would be a cross domain request which is disallowed for security reasons hence the convoluted setup).

    Feedback and contribs very welcome. Enojy!
     

    Attachments

    • ChoMPEd.zip
      42.9 KB

    hafblade

    Portal Pro
    January 19, 2011
    675
    290
    Trier, Germany
    Home Country
    Germany Germany
    I tried some other approach.
    "Plex Media Server" has the possibility to transcode everything.
    Furthermore some user in their forum uploaded some simple "MediaPortal TV Server integration" :)
     

    Users who are viewing this thread

    Similar threads

    I’ll bear that in mind. I kinda have the skin where I want it now as I only use it for TV Recordings as everything else is done thru Plex. I’ve mainly for remotely setting up TV Recordings when away from home.
    I’ll bear that in mind. I kinda have the skin where I want it now as I only use it for TV Recordings as everything else is done...
    I've gone from a x86 to a x64 MedialPortal 1.36 system today and so am having to redo my whole MPExtended environment. I no longer...
    Replies
    25
    Views
    5K
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    3K
    I ended up simply setting all of my non-OS drives to "Offline" in disk management, then did a repair of MPExtended. That put the MPExtended service files folder on the root of my C drive. At least it's on the OS drive. Having it on another drive made Windows Backup want to make a disk image of that drive also. I was never able to...
    I ended up simply setting all of my non-OS drives to "Offline" in disk management, then did a repair of MPExtended. That put the...
    I recently upgraded MPExtended, and it placed the files on the root of my P: drive. I took my P drive offline and then it...
    Replies
    2
    Views
    1K
    Are different people taking turns watching the same thing on the same HTPC? For me, separating users in MP2 is a drawback, as is the interface. Simply put, this can't be done in MP1, or rather, it can't be done quickly, because everything would have to be rewritten. But if each user logs in with their own Windows account, MP1 can...
    Are different people taking turns watching the same thing on the same HTPC? For me, separating users in MP2 is a drawback, as is...
    Hello, Is there a way to integrate a multi-user interface in MP1 where you can create different end users, similar to MP2? A...
    Replies
    2
    Views
    1K
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    536
    Top Bottom