aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authorTavares André <tavares_and@hotmail.com>2015-05-07 19:12:56 +0200
committerTavares André <tavares_and@hotmail.com>2015-05-07 19:12:56 +0200
commit48e7ca87254969f98abbedcfc46985fc1ea955c0 (patch)
treec1084f29f6529d4bf5524fdab7a723686a379b2d /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parentf2b800181252b6fd0bb3b51925d1dcb0623f21d2 (diff)
parent63dc2512c5d272dbc3cb1515beb175e9b3572440 (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
Conflicts: MediaBrowser.Server.Implementations/Localization/Server/server.json
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index 402bd4d98..1b55f47d5 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -1193,7 +1193,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
dto.Album = audio.Album;
- var albumParent = audio.FindParent<MusicAlbum>();
+ var albumParent = audio.AlbumEntity;
if (albumParent != null)
{
@@ -1208,15 +1208,6 @@ namespace MediaBrowser.Server.Implementations.Dto
//}
}
- var album = item as MusicAlbum;
-
- if (album != null)
- {
- dto.SoundtrackIds = album.SoundtrackIds
- .Select(i => i.ToString("N"))
- .ToArray();
- }
-
var hasArtist = item as IHasArtist;
if (hasArtist != null)
{