HOW-TO:Use external players on Android: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (web link corrections for xbmc.org -> kodi.tv)
No edit summary
Line 1: Line 1:
{{mininav| [[Android]] }}
{{mininav| [[Android]] {{l2| [[External players]] }} }}
{{notice/dash|Normally, you only need to use an external player if your Android device doesn't have a version of XBMC that works with hardware video decoding. Using an external player has a lot of set backs, so first try to use a v13 "Gotham"-based '''[[development build]]'''.}}
{{notice/dash|Normally, you only need to use an external player if something is wrong with your Android device or you are doing something special/custom. '''Most users will not want to do this.''' }}
{{forum link2|1= Read all this and still need help? See ''[http://forum.kodi.tv/showthread.php?tid=168971 this thread]'' on the XBMC.org forum.}}


<section begin="intro" />To use an [[external player]] on XBMC for Android you simply need to make a '''playercorefactory.xml''' file in the '''[[userdata folder]]'''.<section end="intro" />
{{forum link2|1= Read all this and still need help? See ''[http://forum.kodi.tv/showthread.php?tid=168971 this thread]'' on the Kodi.tv forum.}}
 
<section begin="intro" />To use an [[external player]] on Kodi for Android you simply need to make a '''playercorefactory.xml''' file in the '''[[userdata folder]]'''.<section end="intro" />
__TOC__
__TOC__
== Steps ==
== Steps ==
Line 12: Line 13:
  |Step3= You might want to use only some external players for some files/streams, or even use more than one external player, depending on the file type and stream. In most cases you will likely just want to use one external player.
  |Step3= You might want to use only some external players for some files/streams, or even use more than one external player, depending on the file type and stream. In most cases you will likely just want to use one external player.
  |Step4-title= ''optional''
  |Step4-title= ''optional''
  |Step4= Use <code>'''dvdplayer'''</code> for any file type/stream type where you want to use XBMC's default internal player.
  |Step4= Use <code>'''dvdplayer'''</code> for any file type/stream type where you want to use Kodi's default internal player.
  |Step5= Save this file as <code>'''playercorefactory.xml'''</code> in your '''[[userdata folder]]''' and reboot XBMC if it is still open. You should now be done.
  |Step5= Save this file as <code>'''playercorefactory.xml'''</code> in your '''[[userdata folder]]''' and reboot Kodi if it is still open. You should now be done.
}}
}}


Line 136: Line 137:
* [[External players]] - for full details on playercorefactory.xml and all the possible parameters.
* [[External players]] - for full details on playercorefactory.xml and all the possible parameters.


{{Gotham updated}}
{{Isengard updated}}


[[Category:Manual]]
[[Category:Manual]]
[[Category:Android]]
[[Category:Android]]
[[Category:How-to]]
[[Category:How-to]]

Revision as of 02:22, 21 June 2015

Home icon grey.png   ▶ Android
▶ External players
▶ HOW-TO:Use external players on Android
Attention.png NOTICE:
Normally, you only need to use an external player if something is wrong with your Android device or you are doing something special/custom. Most users will not want to do this.


Attention talk.png Read all this and still need help? See this thread on the Kodi.tv forum.

To use an external player on Kodi for Android you simply need to make a playercorefactory.xml file in the userdata folder.

Steps

1 Create a new plain text file using a text editor and copy the contents of "#Basic playercorefactory.xml file" to it.
2 Go to the section of the file that says EDIT THIS SECTION and replace all the instances of CHOOSE PLAYER NAME HERE with the external player name that you would like to use (exact name defined where it says "player name=" in the list of players).
3 optional
You might want to use only some external players for some files/streams, or even use more than one external player, depending on the file type and stream. In most cases you will likely just want to use one external player.
4 optional
Use dvdplayer for any file type/stream type where you want to use Kodi's default internal player.
5 Save this file as playercorefactory.xml in your userdata folder and reboot Kodi if it is still open. You should now be done.


Basic playercorefactory.xml file

<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>
	</players>
	<rules action="prepend">
<!---
**********                   **********
********** EDIT THIS SECTION **********
**********                   **********
-->
		<rule protocols="smb" player="CHOOSE PLAYER NAME HERE" />
		<rule dvdimage="true" player="CHOOSE PLAYER NAME HERE"/>
		<rule protocols="rtmp" player="CHOOSE PLAYER NAME HERE"/>
		<rule protocols="rtsp" player="CHOOSE PLAYER NAME HERE" />
                <rule protocols="sop" player="CHOOSE PLAYER NAME HERE" />
		<rule internetstream="true" player="CHOOSE PLAYER NAME HERE" />
		<rule video="true" player="CHOOSE PLAYER NAME HERE"/> <!-- Default for anything else not listed -->
	</rules>
</playercorefactory>

See also

  • External players - for full details on playercorefactory.xml and all the possible parameters.