Posts: 26
Joined: Sep 2006
Reputation:
0
All .flv files work when using the DVD player (this is why youtube script uses it for playing all youtube streams)
Can somebody make FLVs open with the DVD Player by default.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
I think you're right. I checked the code and noticed that Internet streams with an HTTP Content-Type of "video/x-flv" or "video/flv" are played by the DVD Player by default. So it seems reasonable to conclude that ".flv" files should default to the DVD Player as well.
elupus, any objections?
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
hmm.. mplayer should play those fine, atleast when demuxed with lavf.. but sure, since we already use it for internet streams it's probably better for now.
and yet again, it shows we need to have a way to configure this stuff in an better way than hardeded in xbmc..... will have a look at it after feature freeze is released.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
i was thinking about that as well. we could simply allow an override mechanism via advancedsettings.xml like is done for media file extensions. in GetCores(), we check for a user configured player before running thru the normal routine (so that "play with" is still populated.)
<dvdplayer>.flv|.mpg</dvdplayer>
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
2006-11-02, 21:37
should handle mime types too. And I'd rather have a proper xml that's there all the time, not only for overrides. I'd like to get rid of most of the code in getplayers.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
ah so something more like codecs.conf except in xml.