support more dlna resource properties

This commit is contained in:
Luke Pulverenti
2014-04-18 13:16:25 -04:00
parent b7b6f64f00
commit 5170042eb5
11 changed files with 271 additions and 99 deletions

View File

@@ -380,7 +380,7 @@ namespace MediaBrowser.Api.Playback
if (isVc1)
{
profileScore ++;
profileScore++;
// Max of 2
profileScore = Math.Min(profileScore, 2);
}
@@ -445,7 +445,7 @@ namespace MediaBrowser.Api.Playback
{
if (state.AudioStream != null && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5)
{
volParam = ",volume=2.000000";
volParam = ",volume=" + ServerConfigurationManager.Configuration.DownMixAudioBoost.ToString(UsCulture);
}
}