Linux XBMC and Chromecast using Google Chrome as external player
#1
Hello.
I want to be able to Stream from my laptop to Chromecast and for that I plan to configure Google Chrome as external player, so I can then send to my Chromecast.


I have created the following playercorefactory.xml

Code:
<playercorefactory>
        <players>
                <player name="MXPlayerFree" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.mxtech.videoplayer.ad</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="MXPlayerPro" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.mxtech.videoplayer.pro</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="TPlayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.tiantian.android.player.app</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="DicePlayerFree" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.inisoft.mediaplayer.trial</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="VLCPlayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.vlcforandroid.vlcdirectprofree</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="DicePlayerPaid" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.inisoft.mediaplayer.a</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="RockPlayerLite" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.redirectin.rockplayer.android.unified.lite</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="RockPlayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.rockplayer</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="BSPlayerFree" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.bsplayer.bspandroid.free</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="MoboplayerFree" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.clov4r.android.nilz</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="mVideoplayerFree" type="ExternalPlayer" audio="false" video="true">
                        <filename>afzkl.development.mVideoPlayer</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>              

                <player name="Vplayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>me.abitno.vplayer.t</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="WondersharePlayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.wondershare.player</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="ArchosVideo" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.archos.mediacenter.video</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="SopCast" type="ExternalPlayer" audio="false" video="true">
                        <filename>org.sopcast.android</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>

                <player name="DaroonPlayer" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.daroonplayer.dsplayer</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>
                 <player name="Chrome" type="ExternalPlayer" audio="false" video="true">
<filename>/usr/bin/google-chrome</filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</player>
        </players>
        <rules action="prepend">
<!---
**********                   **********
********** EDIT THIS SECTION **********
**********                   **********
-->
                <rule protocols="smb" player="Chrome" />
                <rule dvdimage="true" player="Chrome"/>
                <rule protocols="rtmp" player="Chrome"/>
                <rule protocols="rtsp" player="Chrome" />
                <rule protocols="sop" player="Chrome" />
                <rule internetstream="true" player="Chrome" />
                <rule video="true" player="DVDPlayer"/> <!-- Default for anything else not listed -->
        </rules>
</playercorefactory>


I am having the following problems.

- When I right click in my channel, and select Play Using ... doesnt matter my choice, It allways starts Google Chrome. I want to keep the Default DVD Player for Everything except when I explicit say I want to play using chrome.
- XBMC successfully opens a new Chrome Window but it just opens the home page, nothing is playing. Maybe I am missing some args in the Chrome Path?


Thank you for your help.
Reply
#2
Way to make things unnecessarily buggy and complicated. Why don't you just connect your XBMC to your TV with a cable like everyone else? There is a reason why no developer has shown interested in Chromecast support for XBMC - it's because that's not how you're supposed to use it.
Reply
#3
(2014-08-15, 22:37)negge Wrote: Way to make things unnecessarily buggy and complicated. Why don't you just connect your XBMC to your TV with a cable like everyone else? There is a reason why no developer has shown interested in Chromecast support for XBMC - it's because that's not how you're supposed to use it.

+1
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC and Chromecast using Google Chrome as external player0