Kodi Community Forum
playercorefactory and external Player - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: playercorefactory and external Player (/showthread.php?tid=162897)



playercorefactory and external Player - Kaba - 2013-04-20

I use XBMC on my Windows-PC to start movies on my Dune-Player - witch works fine.

For this I have this playercorefactory.xml

Code:
<player name="DUNE" type="ExternalPlayer" audio="false" video="true">
             <filename>Dune.bat</filename>
             <args>"{1}"</args>
             <hidexbmc>false</hidexbmc>
             <hideconsole>false</hideconsole>
             <forceontop>true</forceontop>
             <playcountminimumtime>600</playcountminimumtime>
         </player>

witch call my Dune.bat and starts the movie over wget:

Code:
@echo off

SET var=%1
ECHO %var%|find ".mkv"
IF errorlevel 1 goto TRY2
GOTO MKV

:TRY2
ECHO %var%|find ".mpls"
IF errorlevel 1 goto END
GOTO BDMV

:MKV
SET STRING=%1
SET STRING=%STRING:"=%
SET STRING=%STRING:~0,-25%
c:\Tools\wget.exe "192.168.1.33:80/cgi-bin/do?cmd=start_file_playback&media_url=%STRING%"
GOTO END

:BDMV
SET STRING=%1
SET STRING=%STRING:"=%
SET STRING=%STRING:~0,-25%
c:\Tools\wget.exe "192.168.1.33:80/cgi-bin/do?cmd=launch_media_url&media_url=%STRING%"
GOTO END

:END

On my Ipad i have installed wget. But it is no windows machine - so the bat don't work.
How i make this ?


RE: playercorefactory and external Player - Ned Scott - 2013-04-21

external players don't work on iOS, so it won't work at all, sorry.