Streaming XBMC to Chromecast

Search This thread

blitz_7

Senior Member
Jul 26, 2011
100
19
NC
Wow thanks, worked perfectly. Just a note, I had to clear the cache for my xbmc app to get it to load first.
 

Asphyx

Senior Member
Dec 19, 2007
2,155
378
Android Wear
Google Pixel Watch
What your doing with XBMC is not all that different than what you do with aVia using Plex...
The difference is XBMC has no transcoding capability on it's DLNA server so if the files are not CCast compatible you may run into some issues with those.

It will work as will any DLNA server you could be running.
 

stewwmann

Senior Member
Feb 2, 2013
203
42
San Diego
Yeah, thanks for this, but how do I get xbmc to stream to cc? I have this file in where you said, and i have cleared cache for both avia and xbmc, but I see no cc button in xbmc or anything like that. how do I get all 3 to see each other?
 
  • Like
Reactions: serotta

Asphyx

Senior Member
Dec 19, 2007
2,155
378
Android Wear
Google Pixel Watch
Yeah, thanks for this, but how do I get xbmc to stream to cc? I have this file in where you said, and i have cleared cache for both avia and xbmc, but I see no cc button in xbmc or anything like that. how do I get all 3 to see each other?

You don't stream it from XBMC you are just routing it through aVia....
It would seem that all your doing is adding player profiles to XBMC (android) which may make it work or be seen by aVia.
 

blitz_7

Senior Member
Jul 26, 2011
100
19
NC
All I did too get this to work was follow the first post, cleared caches and rebooted my S4. I launched xbmc and When I picked what I wanted to watch avia launched and I hit the cast button. All was good depending on what file type the show in.
 
  • Like
Reactions: Riff76

argonzal

Senior Member
Nov 8, 2010
138
12
Does this simply play local media through XBMC or will it play add on channels also?

Sent from my SPH-L900 using XDA Premium HD app
 

Asphyx

Senior Member
Dec 19, 2007
2,155
378
Android Wear
Google Pixel Watch
Does this simply play local media through XBMC or will it play add on channels also?

Sent from my SPH-L900 using XDA Premium HD app

Depends on the format. Some sources work fine, some doesn't.

Sent from my HTC_PN071 using Tapatalk

Many of those channels use streaming methods that are incompatible with CCast at this point in time. It's a good bet that if the streams require an external player ext in Chrome to play, they will not work on the CCast since it has no ability to add extensions to it's limited Chrome implementation.

Many of those channels are available freely on the web and may even be made available in Real Player as channels. (Not sure I don't have Real Player installed) so that might be the way to see that content on CCast.

Unfortunately it is not likely that something like Plex that has transcoding will be able to transcode those files due to the fact that they are streams and not files and Transcoders don't like to wait around for input.

Me personally while I like the channel capabilities in XBMC and Plex I would much rather the content providers support CCast in their own Apps which most have available because then when they change their system for storage their App will change to reflect that as opposed to jst stop working which is common with Channels on Plex and XBMC,

OH and for the record I'm not sure but it seems very likely that the OP was referring to XBMC for Android not XBMC for other Operating systems as far as local content is concerned.
And while it may be true the fact is aVia should be able to see the same files XBMC Android can see on the device and since XBMC does not transcode at all you really not gaining anything other than the importing of the XBMC library to make navigation easier.
 
Last edited:

DJames1

Senior Member
Oct 10, 2013
385
115
Unfortunately it is not likely that something like Plex that has transcoding will be able to transcode those files due to the fact that they are streams and not files and Transcoders don't like to wait around for input.

It's interesting that almost all the Plex streaming channels work with a Roku box as the client player, but none of them work with the Chromecast. Perhaps Roku does something substantially different, perhaps it's just a matter of testing and debugging (Roku is the #1 client for Plex), or perhaps Google has no intention of allowing Plex channels on the CC.
 

Asphyx

Senior Member
Dec 19, 2007
2,155
378
Android Wear
Google Pixel Watch
It's interesting that almost all the Plex streaming channels work with a Roku box as the client player, but none of them work with the Chromecast. Perhaps Roku does something substantially different, perhaps it's just a matter of testing and debugging (Roku is the #1 client for Plex), or perhaps Google has no intention of allowing Plex channels on the CC.

I don't find it all that interesting...Roku is a much more robust box than Chromecast is. It doesn't rely on a single browser for everything the way CCast does.

CCast is not meant as another version of Roku, It is another version of Miracast and if you look it in that way you see Chromecast is far superior to what it is competing with.

and truth is as recently as a year ago Roku didn't even support DLNA at all....
It took a 3rd Party developer to create an APP that would see and play DLNA content.
 

jasenko

Senior Member
Jan 10, 2013
231
48
It's interesting that almost all the Plex streaming channels work with a Roku box as the client player, but none of them work with the Chromecast. Perhaps Roku does something substantially different, perhaps it's just a matter of testing and debugging (Roku is the #1 client for Plex), or perhaps Google has no intention of allowing Plex channels on the CC.

Don't have any real data to prove it, but it seems like Plex tries to route the external stream through the server to your device and then to Chromecast. I managed to start a couple of streams (out of about 20 that I tried) through Plex and unsupported channels, but XBMC was perfect every time providing Chromecast supports the format and the stream was available on the third party site. I mainly wanted and was playing around with XBMC on Android to be able to watch the stuff from some of the channels, but vGET just "killed" that fun for me, working perfectly so far for everything I tried.
 

frostyguy

Member
Jul 26, 2009
36
0
When searching through sdcard/android/data/org.xbmc.xbmc/files/userdata. I couldn't find the userdata folder so I created one. Tried to place the file into it and no luck, even tried placing it in the /files folder. I'm testing this on my HP touchpad jellybean 4.3
 

Asphyx

Senior Member
Dec 19, 2007
2,155
378
Android Wear
Google Pixel Watch
Don't have any real data to prove it, but it seems like Plex tries to route the external stream through the server to your device and then to Chromecast. I managed to start a couple of streams (out of about 20 that I tried) through Plex and unsupported channels, but XBMC was perfect every time providing Chromecast supports the format and the stream was available on the third party site. I mainly wanted and was playing around with XBMC on Android to be able to watch the stuff from some of the channels, but vGET just "killed" that fun for me, working perfectly so far for everything I tried.

I believe (and I'm guessing) Plex is (as far as channels are concerned) is trying to do what aVia currently does with content only instead of the player acting as the middleman Plex tries to use the server.

But I don't believe it is transcoding as much as merely stripping the feed from the source web it came from and sending you just the video stream part.
 

awren

Member
Nov 26, 2013
17
0
Same here. Çant find the user data file.
When searching through sdcard/android/data/org.xbmc.xbmc/files/userdata. I couldn't find the userdata folder so I created one. Tried to place the file into it and no luck, even tried placing it in the /files folder. I'm testing this on my HP touchpad jellybean 4.3
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Would you like to stream XBMC through Avia to Chromecast?

    Put this https://www.dropbox.com/s/d8pl1adtlo8rp90/playercorefactory.xml in sdcard/android/data/org.xbmc.xbmc/files/userdata

    Now Avia is the player allowing you to chromecast.


    Sent from my SCH-I535 using xda app-developers app
    5
    Hey,

    A while ago I made some of these Playercore factory files for some other videoplayers besides Avia.
    ** if it does not work, try it with the xbmc XAF version!**

    - LocalCast (by me): https://box.com/s/uxp4k8q4c4mm02ynwrjc

    - BubbleUPnp (by me): https://app.box.com/s/j65ds0tljkskwxyavvft

    -Allcast(credit to: @vibajajo64): https://www.dropbox.com/s/1ltd48heh3wrx45/playercorefactory.xml
    4
    XBMCast: Official XBMC to Chromecast apk

    Would you like to stream XBMC through Avia to Chromecast?

    Put this https://www.dropbox.com/s/d8pl1adtlo8rp90/playercorefactory.xml in sdcard/android/data/org.xbmc.xbmc/files/userdata

    Now Avia is the player allowing you to chromecast.


    Sent from my SCH-I535 using xda app-developers app

    Hello XDA,

    Inspired by this post back a few months ago we would like to share our custom build of XBMCast® Cast from XBMC to Chromcast apk.
    With months of begging and eventual negotiations between all parties, (i.e. XBMC Foundation, Google, etc.) permissions granted and self teaching myself to write and build this custom apk I am proud to offer you XBMCast® with built in custom userdata playercorefactory.xml for all major casting rendering apps for android found on the play store (i.e. bubbleUPnP, Avia, Allcast, etc.) We have included many other features for XBMC such as custom repositories for easier connection to Chromecast for XBMC.

    This is strictly for Chromecast playback and not for use for playback on thedevice installed (if you must use it as a local render, consider downloading mx player from Play Store)
    Install and Use XBMCast
    1. Start by downloading the XBMCast.apk
    2. Remember to uninstall any current version of XBMC from your phone or tablet. Install overlay is not possible.
    3. Once installed and opened onto home screen for XBMCast (Current build uses "Touched" skin for Android touch screen)
    4. Make Sure to Wait for all addons for XBMCast to install, load or update. Give it about 5 minutes for everything to automatically update/sync.
    5. If some things do not work or update please update them manually. system\addons\get addons\ long press repo and select force fresh.
    6. Once you've setup XBMCast the way you want it and your ready to cast to chromecast, Go to file location and long press file.
    7. submenu will open and select "play using"
    8 Select one of the choices that you have installed (i.e. Avia, bubbleUPnP)
    9. As long as you're on the same wifi network for all your rendering (android tablet/phone app) and local media library (where the files come from,
    PC, Server) and your CC, casting will go direct to CC.

    If you have a Chromecast or are considering getting one, it's truly is the best way to stream all your favorite TV shows and movies on your HDTV. We also have many other apks for chrome casting all for free and all do more than any official app on the Play Store.

    XBMCast1.2.8.apk

    3
    I got 1channel to work in conjunction with BubbleUPnP and the media server which transcodes videos so the Chromecast can play them. You have to use the new Gotham beta and the modified playercorefactory.xml after you place it in Android/data/org.XBMC.XBMC/files/.xbmc/userdata/ (this is a hidden folder) you have to clear the cache on XBMC in the add-on long hold the video and click play using them select BubbleUPnP. Below I posted the XML. I'm using a stock Nexus 7 2013 unlocked but not rooted. Some videos may not work also make sure the proper ports are forwarded on the router for the media server. If you pause the video you may not be able to resume or skip forward it's a bit finicky.

    Instructions:

    You need these things:
    XBMC Gotham Beta 2 for ARM based Android
    Instructions for installing XBMC and Hub Wizard (use my APK not the one listed on the page)
    BubbleUPnP (Chromecast/DLNA)
    BubbleUPnP UPnP/DLNA License
    BubbleUPnP Server for transcoding videos

    1. Install XBMC using the APK listed above and follow the XBMC Hub Wizard install guide.

    Android_install_step06.jpg


    2. Copy the code listed below into a text file and rename the file playercorefactory.xml place it in /Android/data/org.XBMC.XBMC/files/.xbmc/userdata/ which is a hidden folder depending on your file manager you may have to enable hidden files/folders. After you put the file in that location go into your app settings and find XBMC and clear the cache on it.



    Code:
    <!--
    	Credits
    	KemoNine (xbmcandroid.com/forums)
    	Staticadk (xbmcandroid.com/forums)
    	GSH (xbmcandroid.com/forums)
    -->
    
    <playercorefactory>
    	<players>
    		<!-- MXPlayer Free definition -->
    		<player name="MX Playerfree" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.mxtech.videoplayer.ad</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- MX Player Pro definition -->
    		<player name="MX Player Pro" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.mxtech.videoplayer.pro</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- Allcast definition -->
    		<player name="Allcast" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.koushickdutta.cast</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- BubbleUPnP definition -->
    		<player name="BubbleUPnP" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.bubblesoft.android.bubbleupnp</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- Gallery definition -->
    		<player name="Gallery" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>com.android.gallery3d</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    
    		<!-- LocalCast definition -->
    		<player name="Localcast" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename>de.stefanpledl.localcast</filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>		
    		
    		<!--  definition -->
    		<player name="" type="ExternalPlayer" audio="false" video="true">
    			<!-- Android intent -->
    			<filename></filename>
    			<!-- Hide XBMC -->
    			<hidexbmc>true</hidexbmc>
    			<!-- After 2 minutes bump the play count of the item in XBMC -->
    			<playcountminimumtime>120</playcountminimumtime>
    		</player>
    	</players>
    	
    	<!-- Rules for which external player to use -->
    	<!-- MX Player Pro is default
    	         change player= value to one of the above names to change this -->
    	<rules action="prepend">
    		
    		<!-- Video files -- Default rule (last to ensure above trigger first -->
    		<rule video="true" player="MXPlayer Free"/>
    	</rules>
    </playercorefactory>

    3. Setup the BubbleUPnP Server on your windows computer you may have to forward ports on your router so that your Android device can connect to the server.
    4. Install the two BubbleUPnP apps on your Android Device and make sure it connects to your BubbleUPnP server on your computer and to your Chromecast.
    5. In the 1Channel add-on find a movie browse to the actual link that would start it on your tablet and instead of clicking it long hold it and a context menu will popup after that click play using and select BubbleUPnP it should add it to the play list and you should be able to play it on your Chromecast. If that link doesn't work try another link or another video.





    2
    I'm about to start thinking that the xmbc streaming with the avia player is a myth :) I tried with several gotham builds, i tried with XAF builds. I used the avia-version of the playercorefactory.xml from xbmchelpers. But i always get "External Player Active, Click OK when playback has ended"
    Streaming from avia itself does work but not out of xbmc. Same happens when i explicitly choose Avia to play with...
    :crying:

    MaiRay you will get this error if you try to stream LIVE CONTENT. It should work for content that is not live broadcast. Here are my files that work on my N5:

    XAF version of XBMC : https://www.dropbox.com/s/rlw7s8dvcwahj7f/xbmc-frodo-12.1-xaf-neon-touch-20130503-f21603629f.apk

    Playercorefactory file : https://www.dropbox.com/s/tezg7fj5vh2n7uv/playercorefactory.xml