aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Dlna/Server/ControlHandler.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-22 22:47:46 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-22 22:47:46 -0400
commit44bfad70d2cdce3c63ea551cc4205d5cba09056c (patch)
treef57dac646cd4be7e891c751bb4ba410394284a99 /MediaBrowser.Dlna/Server/ControlHandler.cs
parentfdd8c67162233659656d3c719a6734cbe5f87d9f (diff)
Normalize orgPn usage
Diffstat (limited to 'MediaBrowser.Dlna/Server/ControlHandler.cs')
-rw-r--r--MediaBrowser.Dlna/Server/ControlHandler.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/MediaBrowser.Dlna/Server/ControlHandler.cs b/MediaBrowser.Dlna/Server/ControlHandler.cs
index 368f06df4..2146317d2 100644
--- a/MediaBrowser.Dlna/Server/ControlHandler.cs
+++ b/MediaBrowser.Dlna/Server/ControlHandler.cs
@@ -632,9 +632,7 @@ namespace MediaBrowser.Dlna.Server
var mediaProfile = _profile.GetVideoMediaProfile(streamInfo.Container,
streamInfo.AudioCodec,
- streamInfo.VideoCodec,
- streamInfo.TargetAudioStream,
- streamInfo.TargetVideoStream);
+ streamInfo.VideoCodec);
var formatProfile = mediaProfile == null ? null : mediaProfile.OrgPn;
@@ -646,7 +644,7 @@ namespace MediaBrowser.Dlna.Server
targetWidth,
targetHeight,
targetBitrate,
- TransportStreamTimestamp.VALID);
+ streamInfo.TargetTimestamp);
formatProfile = format.HasValue ? format.Value.ToString() : null;
}
@@ -731,8 +729,7 @@ namespace MediaBrowser.Dlna.Server
}
var mediaProfile = _profile.GetAudioMediaProfile(streamInfo.Container,
- streamInfo.AudioCodec,
- streamInfo.TargetAudioStream);
+ streamInfo.AudioCodec);
var formatProfile = mediaProfile == null ? null : mediaProfile.OrgPn;
@@ -780,11 +777,11 @@ namespace MediaBrowser.Dlna.Server
{
if (item is MusicAlbum)
{
- classType = "object.container.musicAlbum";
+ classType = "object.container.album.musicAlbum";
}
if (item is MusicArtist)
{
- classType = "object.container.musicArtist";
+ classType = "object.container.person.musicArtist";
}
}