Solved Setup VLC as External Player
#1
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
Reply
#2
I presume you've seen this on the wiki? - HOW-TO:Use external players on Android (wiki).

If you use a file manager app and look in the Android folder and within that a data folder. Inside that you should find sub-folders for each app you have installed (kodi is found in org.xbmc.kodi for example). There should be one in there for VLC - that's the name you need to use (it may be your com.vlcforandroid.vlcdirectprofree example above, but it might be something different depending on what you have installed).
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
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
Reply
#4
Thread marked solved.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
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?
Reply
#6
(2018-02-26, 15:28)nhl_vibc Wrote: 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?
looks like you have an extra >
<filename>org.videolan.vlc></filename>
Reply
#7
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]
Reply
#8
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.

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>
Reply

Logout Mark Read Team Forum Stats Members Help
Setup VLC as External Player0