How do I use External Player as the default only for AVI files?
#1
Question 
Is it possible to use an external player as the default player for avi and mpg file extensions, and use the internal player for everything else?

If so, how?

I would like to use zoomplayer with ffdshow hd upscaling for the sd-content, and internal player for dvd and above.
Reply
#2
It's possible. Still waiting on documentation from the author of this latest improvement.
Reply
#3
Cool. Keep me posted :-)
Reply
#4
in the ticket 6383 the first patch i posted
externalplayerdefaultfor.patch is really working great
<externalplayer>
<filename>C:\Apps\mplayerww\mplayer.exe</filename>
<args>-slave -quiet -fs</args>
<forceontop>false</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
<defaultfor>avi;mkv</defaultfor>
</externalplayer>
you only need to add this line to make it default for a specific extension.
Reply
#5
Is this what's committed to regular SVN?
Reply
#6
ashlar Wrote:Is this what's committed to regular SVN?
No what is commited to the svn is what moby-uk did.
I posted 2 patch on this ticket which are completly different from what was commited to the svn.
The first i patch i did is using a new file called externalplayersettings.xml
Code:
<externalplayersettings>
<avi>
<filename>c:\apps\smplayer\smplayer.exe</filename>
<args>-fullscreen -close-at-end</args>
<forceontop>false</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
<startuptime>2000</startuptime>
</avi>
and the second one use advancedsettings.xml as usual but add the settings
<defaultfor>avi;mkv</defaultfor>
if you really want it i can make a build from the latest svn revision.
Reply
#7
I just took a took a look to what moby did and you can do what you want to do by modify the file playercorefactory.xml which is in the system directory of xbmc
Code:
<!-- DVDs -->
<rule dvd="true" player="videodefaultdvdplayer" />    
[b]<rule filetypes="avi" player="externalplayer" />[/b]
<rule dvdfile="true" player="videodefaultdvdplayer" />
<rule dvdimage="true" player="videodefaultdvdplayer" />
by adding the line in bold its going to make your externalplayer the default one for avi files
Reply
#8
tiben20 Wrote:I just took a took a look to what moby did and you can do what you want to do by modify the file playercorefactory.xml which is in the system directory of xbmc
Code:
<!-- DVDs -->
<rule dvd="true" player="videodefaultdvdplayer" />    
[b]<rule filetypes="avi" player="externalplayer" />[/b]
<rule dvdfile="true" player="videodefaultdvdplayer" />
<rule dvdimage="true" player="videodefaultdvdplayer" />
by adding the line in bold its going to make your externalplayer the default one for avi files
Thanks tiben20. Do you think you could write the documentation needed by checking moby's code?
He mentioned not having a lot of free time to dedicate, currently. Maybe you could help a lot of people... Smile
Reply
#9
if i explain to you in details how it work you could write it? Im french and i got some problem with making some nice text without any syntax error
Reply
#10
tiben20 Wrote:if i explain to you in details how it work you could write it? Im french and i got some problem with making some nice text without any syntax error
I would be glad to help out, no problem.

If you wish, you can write to ashlar42 (AT) gmail.com and we'll take it from there.
Reply

Logout Mark Read Team Forum Stats Members Help
How do I use External Player as the default only for AVI files?0