Posts: 138
Joined: Apr 2009
Reputation:
1
2017-02-21, 19:02
(This post was last modified: 2017-02-21, 19:14 by RBraverman.)
What's wrong with this? I have it in the system, but Zplayer doesn't play. I know I'm bugging everyone iwth multiple posts, but I'm not sure they should be combined as they ARE different.
playercorefactory>
<players>
<player name="ZPlayer" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files\Zoom Player\zplayer.exe</filename>
<args></args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="avi, mkv, mp4, flv" player="ZPlayer"/>
</rules>
</playercorefactory>
Core 2/Duo 3.3g, 8Gb Memory, Win7/x32, Remote Wonder stuffed into a Antec Theatre Case.
SageTV, Kodi.
Posts: 214
Joined: Feb 2013
Reputation:
7
2017-02-21, 20:13
(This post was last modified: 2017-02-21, 20:16 by pagali.)
Your problem is the <args> line. You need to change it to
<args>"{1}"</args>
so that the file name of the video will be sent to Zoom Player (which I also use, btw...)
I'm assuming the first line is actually <playercorefactory> and not playercorefactory> as we see it here? Copy/paste error?
Posts: 214
Joined: Feb 2013
Reputation:
7
Hmmm. Possibly another error? Not sure if Kodi will take variations in XML syntax.
My rule line is as follows:
<rule filetypes="mkv|avi|mp4|mpg|wtv" player="ZoomPlayer"/>
Notice the types are separated by vertical lines, not commas.
Posts: 214
Joined: Feb 2013
Reputation:
7
2017-02-21, 20:39
(This post was last modified: 2017-02-21, 20:43 by pagali.)
OK, here's my entire file, which is located in C:\Users\[myusername]\AppData\Roaming\Kodi\userdata\
<playercorefactory>
<players>
<player name="ZoomPlayer" type="ExternalPlayer" audio="true" video="true">
<filename>C:\Program Files (X86)\Zoom Player\zplayer.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<forceontop>false</forceontop>
<playcountminimumtime>1200</playcountminimumtime><!-- Minimum play time to mark watched. -->
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|avi|mp4|mpg|wtv" player="ZoomPlayer"/>
</rules>
</playercorefactory>
It works flawlessly. Is yours in the right place? Try commenting out the Rules section, restart Kodi, see if Zoomplayer is now listed in a library file's context menu, under "Play Using..."
Regarding Audio... I'm not sure that's what the Audio=True item means. My music plays as usual, in the Kodi audio player, which is the way I prefer.