Page 1 of 1
mp4 and avi files
Posted: Mon Aug 13, 2012 6:28 pm
by VanZan
Is it possible to set it up so that avi files will automatically play with mplayer and the newer mp4 files will play with dvdplayer? I seem to remember that it was from a thread on the old forum..............
Re: mp4 and avi files
Posted: Mon Aug 13, 2012 7:15 pm
by angel4b
i think there needs to be a rule in playercorefactory.xml
dont ask me what it is supposed to be though
Re: mp4 and avi files
Posted: Mon Aug 13, 2012 8:23 pm
by whufclee
You can create an advancedsettings.XML file and add something in there, I also can't remember the code but you should find it in the xbmc wiki.
Re: mp4 and avi files
Posted: Mon Aug 13, 2012 9:18 pm
by VanZan
thanks whuf! Before I posted I had a look at the xbmc.org wiki and couldn't find anything there in the advancedsettings.xml section. Is the xbmc4xbox wiki gone for good?
Re: mp4 and avi files
Posted: Mon Aug 13, 2012 9:23 pm
by Spongy
As angel4b said you need to add a rule to system/playercorefactory.xml.
I haven't tested it, but this should do it.
Code: Select all
<rule name="avi" filetypes="avi" player="MPlayer" />
I think the only thing you can do with advancedsettings.xml is set the default player.
Re: mp4 and avi files
Posted: Mon Aug 13, 2012 11:13 pm
by VanZan
Works a treat! Many thanks Spongy and angelb!

Re: mp4 and avi files
Posted: Tue Aug 14, 2012 10:03 pm
by whufclee
Yeah sorry for giving out duff information there VanZan, it's been a manic few days and my heads not been in the game
Glad you got it sorted, I shall have to make a note of this little fix.
Re: mp4 and avi files
Posted: Tue Aug 14, 2012 10:07 pm
by LudviG
Love this, will try it myself. What setting do you use with this? dvdplayer as default player?
Could someone make a idiot proof guide for this?
Re: mp4 and avi files
Posted: Thu Aug 16, 2012 6:31 pm
by AZImmortal
LudviG wrote:Love this, will try it myself. What setting do you use with this? dvdplayer as default player?
Could someone make a idiot proof guide for this?
Spongy's post is about as straight-forward as it can be. This is for if you want to set your default player as one player (mplayer or dvdplayer) but you want to use the other player for specific file extensions. For example, dvdplayer handles h.264 videos much better than mplayer, so I set dvdplayer as my default player, but mplayer handles xvid videos better than dvdplayer, so I use Spongy's rule to have all .avi files play with mplayer instead of dvdplayer.