diff options
| author | crobibero <cody@robibe.ro> | 2020-11-23 10:50:18 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-23 10:50:18 -0700 |
| commit | 1dafd70f5141c1fa8fefa72dd97399f51df4d116 (patch) | |
| tree | 5f9c19919db5572ace9eae97d535052c44b55ef6 /Jellyfin.Api/Models | |
| parent | fafddfc45eed4e76c4072167428b43d2ed026bcd (diff) | |
Don't nest DeviceProfile
Diffstat (limited to 'Jellyfin.Api/Models')
| -rw-r--r-- | Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs | 4 | ||||
| -rw-r--r-- | Jellyfin.Api/Models/VideoDtos/DeviceProfileDto.cs | 15 |
2 files changed, 2 insertions, 17 deletions
diff --git a/Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs b/Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs index 818f78b52..2cfdba507 100644 --- a/Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs +++ b/Jellyfin.Api/Models/MediaInfoDtos/PlaybackInfoDto.cs @@ -1,5 +1,5 @@ using System; -using Jellyfin.Api.Models.VideoDtos; +using MediaBrowser.Model.Dlna; namespace Jellyfin.Api.Models.MediaInfoDtos { @@ -51,7 +51,7 @@ namespace Jellyfin.Api.Models.MediaInfoDtos /// <summary> /// Gets or sets the device profile. /// </summary> - public DeviceProfileDto? DeviceProfile { get; set; } + public DeviceProfile? DeviceProfile { get; set; } /// <summary> /// Gets or sets a value indicating whether to enable direct play. diff --git a/Jellyfin.Api/Models/VideoDtos/DeviceProfileDto.cs b/Jellyfin.Api/Models/VideoDtos/DeviceProfileDto.cs deleted file mode 100644 index db55dc34b..000000000 --- a/Jellyfin.Api/Models/VideoDtos/DeviceProfileDto.cs +++ /dev/null @@ -1,15 +0,0 @@ -using MediaBrowser.Model.Dlna; - -namespace Jellyfin.Api.Models.VideoDtos -{ - /// <summary> - /// Device profile dto. - /// </summary> - public class DeviceProfileDto - { - /// <summary> - /// Gets or sets device profile. - /// </summary> - public DeviceProfile? DeviceProfile { get; set; } - } -} |
