Android Using MX player for streaming from NAS
#1
Hi,

I install Kodi 16.0 in my LeTV, and I want use MX player as external player to stream video from my NAS which has a shared folder(the system is OMV). I do as HOW-TO:Use_external_players_on_Android instruct, and place the modified playercorefactory.xml into userdata fold. But when I want to play a video from Kodi, the MX player can't be launched. I can access the video from inside ES explorer, and play the video using MX player, so the shared folder and the player are both ok. I googled and found someone said it's because the path to the video for Kodi is SMB://path_to_video, but the MX player can only recognize //path_to_video. I also find an parameter named args which seems to do the converter in playercorefactory.xml, but it also doesn't work.

Can anyone help me on that?

Thanks,
Alex
Reply
#2
and we should look at our crystal balls to see how your playercorefactory files look like? Or just guess what might be wrong and then propose something even if it doesn't help?
Reply
#3
I just change the rule section, add <rule protocols="smb" player="MXPLAYERFREE" />.

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>
        </players>
        <rules action="prepend">
                <rule protocols="smb" player="MXPLAYERFREE" />
                <rule dvdimage="true" player="dvdplayer" />
                <rule protocols="rtmp" player="dvdplayer" />
                <rule protocols="rtsp" player="dvdplayer" />
                <rule protocols="sop" player="dvdplayer" />
                <rule internetstream="true" player="dvdplayer" />
                <rule video="true" player="dvdplayer" /> <!-- Default for anything else not listed -->
        </rules>
</playercorefactory>
Reply
#4
and that seems OK. But......
I just tried MX on my tablet and it does not support SMB at all. Sure, it will play anything that you browse in any file explorer but MX can't find that by itself. Quick googling gave this https://forum.xda-developers.com/apps/mx...s-t2718297
Reply
#5
(2017-01-25, 16:54)kinggo Wrote: and that seems OK. But......
I just tried MX on my tablet and it does not support SMB at all. Sure, it will play anything that you browse in any file explorer but MX can't find that by itself. Quick googling gave this https://forum.xda-developers.com/apps/mx...s-t2718297

Someone suggest that using Mount Manager to mount the SMB as a local folder, but it needs root. I wish to find a better way.
Reply
#6
Any particular reason to use 3rd party player?

Anyway, VLC should support SMB...
Reply
#7
(2017-01-26, 08:31)Etzi Wrote: Any particular reason to use 3rd party player?

Anyway, VLC should support SMB...

When I stream high resolution film from NAS, Kodi player stuck; but under the same environment, MX player can play very well. Maybe I can try VLC.
Thanks.
Reply
#8
(2017-01-27, 04:06)futurehome Wrote:
(2017-01-26, 08:31)Etzi Wrote: Any particular reason to use 3rd party player?

Anyway, VLC should support SMB...

When I stream high resolution film from NAS, Kodi player stuck; but under the same environment, MX player can play very well. Maybe I can try VLC.
Thanks.

Strange, I stream 4K movies from my NAS, and no problem with kodi.
Reply

Logout Mark Read Team Forum Stats Members Help
Using MX player for streaming from NAS0