Posts: 19
Joined: Feb 2017
Reputation:
0
After setting up Allcast as an External Player, I am familiar with the process and with the playercorefactory.xml file but not all the details of the parameters
I have found various playercorefactory.xml files with different entries for VLC Player but non work for me.
I guess one critical one is the filename parameter, which presumably tells the program the location of the Player executable
One file uses com.vlcforandroid.vlcdirectprofree for this
Another uses /usr/bin/vlc
Others use definitions obviously intended for a Windows platform.
I guess this needs to be tailored to the particular Android build
My devise is a Hudl Android 5.1 x86_64.
Any suggestions for a filname to use or how I might get this from my file system. I am not rooted
Posts: 19
Joined: Feb 2017
Reputation:
0
Hi Darren
Thanks very much for your prompt reply.
Would you believe it, I had already tried that ( filename org.videolan.vlc ) and it didn't work.
However, your reply prompted me to look again at the script I had created and I discovered that the reason for the failure was not the filename but another careless error which I had introduced into the script.
So, thank you very much. I now have a script through which by using Play Using, I have the choice of Casting or playing locally with my preferred player.
I also notice that Video Player comes up in the choice of players, which is the Kodi player.
Great isn't it !
Phil
Posts: 5
Joined: Feb 2018
Reputation:
0
Hi Phil, I am going through the same issue but even though I believe I have the playercorefactory.xml file correct, it does not seem to work for me. It continues to default to Kodi player.
This is what I have:
<playercorefactory>
<players>
<player name="VLCPlayer" Type="ExternalPlayer" audio="false" video="true">
<filename>org.videolan.vlc></filename>
<hidexbmc>true</hidexbmc>
<playcountminimumtime>120</playcountminimumtime>
</players>
<rules>
<rule action="prepend">
</rule>
<rule filetypes="avi|mkv|mp4|mpg|mpeg" player="VLC">
</rule>
</rules>
</playercorefactory>
Any advice on how I can tweak this to get it working as yours does?
Posts: 2
Joined: Dec 2018
Reputation:
0
I'm trying to use VLC as my player so I can watch locally or cast to chromecast. The kodi streams tries to open in VLC but I am met with the error that says "The location (full https link) cannot be played". Also when I long press and hit play with... And choose video player or mx it still attempts to open in VLC. I have also attached my xml file contents.
[syntax=xml]
<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>org.videolan.vlc</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>
-->
</players>
<rules action="prepend">
<!--
********** **********
********** EDIT THIS SECTION **********
********** **********
-->
<rule protocols="smb" player="VLCPlayer"/>
<rule dvdimage="true" player="VLCPlayer"/>
<rule protocols="rtmp" player="VLCPlayer"/>
<rule protocols="rtsp" player="VLCPlayer"/>
<rule protocols="sop" player="VLCPlayer"/>
<rule internetstream="true" player="VLCPlayer"/>
<rule video="true" player="VLCPlayer"/>
<!-- Default for anything else not listed -->
</rules>
</playercorefactory>/syntax]