Playercorefactory.xml Download For Localcast

LocalCast is an Android application that’s used to send multimedia content to your Chromecast device. Read more about LocalCast Chromecast is a powerful little toy from Google that transforms any TV with an HDMI port into a smart TV. Download the one for whatever cast/external player you prefer to use, rename the original one (you need it to play files inside xbmc) and copy the new one to the same directory. Whenever you want to switch between playing videos inside of kodi or playing them on an external player (like localcast) you're going to need to go in there and rename. Jul 09, 2013  About Kodi. Kodi is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls.

Posted by3 years ago
Archived

Ok, I've Kodi on my android phone with Beats USA build and it's freaking awesome. But I also had to sometimes beam the video to chromecast, which is a frustrating part. Most of you might know, that by changing the PlayerCoreFactory.XML this can be achieved. But there's no simple way to switch these files, other than manually swapping/copying them. (Note: Beats USA also has some maintenance task, that switches the external player, but it defaults to MXPlayer, which doesn't support chromecast. I couldn't find a way to change the default player in that.)

So today, I made two tasks using Tasker.

Task - KODI CC

  • Using TaskKill plugin to kill the Kodi app.

  • Copy the .XML from download folder (this is where I keep it) with external player entry (LocalCast in my case) to .../.kodi/userdata folder.

  • Provides a quick toast message that it's chromecast mode

  • Wait for a second

  • Launch Kodi

Task - KODI

  • Using TaskKill plugin to kill the Kodi app.

  • Check if the XML is in .../.kodi/userdata folder and if so, delete that.

  • Wait a second

  • Launch Kodi

Now all you need to do is create two tasker shortcuts on your homescreen, one to launch with CC ability and the other for viewing on device.

Now to sweeten it more, if you have NOVA Launcher Prime, you can create just one shortcut to launch KODI task. Edit that shortcut and in the swipe option, choose tasker shortcut, choose KODI CC task. So, just one shortcut. Press normal to launch for viewing on device. Swipe the shortcut to launch with CC ability. Money!! :D

I know it can be further tweaked or optimized. But I am content with how it's working now. Alright, here are the links and files.

Files:

  • PlayerCoreFactory.XML (with localcast as external player, you can change it to anything else)

Apps used:

  • Taskkill (no longer on playstore)

Have fun!! :)

4 comments

Windows GUI installer

Windows GUI installer to install and the programs and scripts, by the t3rmin8tor

Manual install instructions

Youtube video

Note you need to use the bash-scripts-windows with cygwin

7zip

ffmpeg

download

unzip the ffmpeg.7zip file

rename the folder to ffmpeg

copy the ffmpeg to C:

C:ffmpegbin

you can run the ff-prompt script to set up ffmpeg with the windows cmd path

or you can manually add it

Install curl

download curl

unzip the download

and rename the folder to curl

then copy the curl folder to your C drive

the path to curl should look like this

C:curlbincurl

you need to add curl to your windows path, see below

cygwin

Install cat, grep and sed if they arent automatically installed

rtmpdump

download rtmpdump

download the windows zip file

unzip the file

create a folder called rtmpdump and create another folder inside it called bin

so you should have this folder structure rtmpdump/bin

move rtmpdump.exe rtmpgw.exe rtmpsrv.exe rtmpsuck.exe into the rtmpdump/bin folder

move rtmpdump folder to your C drive, it should look like this

C:rtmpdumpbin

with the executables inside the bin folder

vlc install

download and install vlc and accept the default install location.

edit your windows system path and add the code below to the end of your system path

;C:Program Files (x86)VideoLANVLC

mpv install

mpv site

mpv windows download

This script sets up file associations for mpv on Windows.

Make sure you have the latest build of mpv. Official builds here: https://mpv.srsfckn.biz/Download the zip: https://github.com/rossy/mpv-install/archive/master.zipCopy the .bat files and the .ico to the same directory as mpv.exeRun mpv-install.bat as administrator. Note: For an unattended install, use the /u switch.Use the Default Programs and AutoPlay control panels to make mpv the default player

To play content from various media streaming sites,place youtube-dl.exe in the same directory as mpv.

mpv config file

This is a fix for black screen when trying to play videos with mpv

open the mpv config folder by typing in the following into Search Windows dialog box

%APPDATA%mpv

create a text file called mpv.conf and add the following code

vo=direct3d

move the mpv.conf text file into the %APPDATA%mpv folder

the mpv.conf file is included in this directory

add mpv to your windows system path

;C:Program Files (x86)mpv

youtube-dl

Download the youtube-dl exe here

create a folder called youtube-dl and then inside it create a folder called bin

like this

youtube-dl/bin

copy the youtube-dl exe into youtube-dlbin

then move the youtube-dl folder to your C drive

The file path should look like this

C:youtube-dlbinyoutube-dl

You also need to copy youtube-dl to C:Program Files (x86)mpv as well

Set up your windows path

system properties, advanced system settings, enviormnental variables

system variables, path, edit

add the code below to your windows path

add rtmpdump to your windows system path

system properties, advanced system settings, enviormnental variables

system variables, path, edit

add the code below to the end of your windows path

;C:rtmpdumpbin

cygwin can install into either C:cygwinbin or C:cygwin64bin

your windows system path should look like this with C:cygwinbin

;C:cygwinbin;C:ffmpegbin;C:Program FilesGitcmd;C:%HOMEPATH%gitkodi-playercorefactorybash-scripts-windows;C:curlbin;C:youtube-dlbin;C:windumpbin;C:notify-sendbin;C:aria2cbin;C:rtmpdumpbin;C:Program Files (x86)VideoLANVLC;C:Program Files (x86)mpv

your windows system path should look like this with C:cygwin64bin

;C:cygwin64bin;C:ffmpegbin;C:Program FilesGitcmd;C:%HOMEPATH%gitkodi-playercorefactorybash-scripts-windows;C:curlbin;C:youtube-dlbin;C:windumpbin;C:notify-sendbin;C:aria2cbin;C:rtmpdumpbin;C:Program Files (x86)VideoLANVLC;C:Program Files (x86)mpv

cygwin should install sed and grep which are needed for the scripts

you can double click the cygwin setup exe and re run the installer,which open a windows where you can search for sed and grep,and install them if cygwin doesnt install them automatically for you

wget install

install wget with cygwin

git install

Adjusting your Path

select 2nd option for path not git bash shell

Use Git from the Windows Command Prompt

Configuring the line endings

select the 2nd option

Checkout as--is, commit Unix-style line endings

Very important you must use Checkout as--is, commit Unix-style line endingsor the scripts wont work

download the kodi-playercorefactory git repository

create a folder called git in your home

open the cmd prompt and change into the git repo

then clone the kodi-playercorefactory git repository

copy the kodi-playercorefactorywindowsplayercorefactory.xml to your kodi userdata foldersee below

open your Windows Start menu and type

then press to open the folder,pin the folder to your file manager sidebar so you find it easily

then copy the kodi-playercorefactorywindowsplayercorefactory.xml to your kodi userdata folder

vlc

windows notify-send

Notify-send for Windows site

Notify-send for Windows download link

unzip the notify-send.zip

Cast

create a folder called notify-send,and then create a folder inside notify-send called bin

then copy the notify-send script into the bin folder

the folder structure should look like this notify-sendbinnotify-send

copy the notify-send folder to your C drive

the path should look like this

C:notify-sendbinnotify-send

add notify-send to windows system path

system properties, advanced system settings, enviormnental variables

system variables, path, edit

add the code below to the end of your windows system path

;C:notify-sendbin

windows install aria2c

download the zip file

64 bit

32 bit

unzip the file

create a folder called aria2c,and then create a folder inside aria2c called bin

then copy the aria2c script into the bin folder

the folder structure should look like this aria2cbinaria2c

copy the aria2c folder to your C drive

Playercorefactory xml file

the path should look like this

C:aria2cbinaria2c

add aria2c to windows system path

system properties, advanced system settings, enviormnental variables

system variables, path, edit

add the code below to the end of your windows system path

Playercorefactory.xml Android Download Localcast

;C:aria2cbin

Playercorefactory.xml Download For Local Casting

Read the ssh client and server set up