2012-01-27, 21:55
I updated from Dharma 10.1 to Eden b2 yesterday. After the upgrade I could no longer play Blurays or DVDs with my external player (TMT5). Here's the old playercorefactory.xml
This playercorefactory worked fine in Dharma. As I was poking around I saw that often the xml file used the singular protocol instead of protocols, so I changed it. I could then play DVDs and Blurays with TMT5. The problem was that XBMC passed everything to TMT. MP3s, AACs, all video files, and even strm files.
After a bunch of trial and error, I finally got a playercorefactory that works, but it kind of works through brute force.
Basically I have to define every kind of video and audio I can think off and tell it what player to use. Then at the end I have the one for discs. Oh, and if I have the plural protocols in the last line, the discs don't play with TMT5. And if I use the singular protocol in the streaming line, the streaming files get passed to TMT5.
So, at the end of it, I have a working corefactoryplayer.xml, but it just seems wrong to me.
BTW, the first two are so I can play DRM'd Amazon and iTunes content by passing them to the correct player.
Code:
<!--Dharma PlayerCoreFactoryRules -->
<rules action="prepend">
<rule name="Blu-Ray" protocols="bd" player="TMT"/>
<rule name="DVD" protocols="dvd" player="TMT"/>
<rule name="DRMWMV" filetypes="wmv" player="Windows Media Player"/>
<rule name="DRMM4V" filetypes="m4v" videoaspect="1.78" player="Quicktime Player" />
</rules>
After a bunch of trial and error, I finally got a playercorefactory that works, but it kind of works through brute force.
Code:
<!--Eden PlayerCoreFactory Rules -->
<rules action="prepend">
<rule name="DRMWMV" filetypes="wmv" player="Windows Media Player" />
<rule name="DRMM4V" filetypes="m4v" videoaspect="1.78" player="Quicktime Player" />
<rule name="Streaming" protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms" player="DVDPlayer" />
<rule name="Video" filetypes="m4v|mp4|avi|mpg|mpeg" player="DVDPlayer"/>
<rule name="Music" audio="true" player="PAPlayer" />
<rule name="Discs" protocol="bd|dvd" player="TMT" />
</rules>
So, at the end of it, I have a working corefactoryplayer.xml, but it just seems wrong to me.
BTW, the first two are so I can play DRM'd Amazon and iTunes content by passing them to the correct player.