Removed guids from the model project

This commit is contained in:
Luke Pulverenti
2014-05-08 16:09:53 -04:00
parent 374dd8d441
commit f02c326027
72 changed files with 380 additions and 503 deletions

View File

@@ -241,9 +241,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var imageTag = GetImageTag(recording);
if (imageTag.HasValue)
if (imageTag != null)
{
dto.ImageTags[ImageType.Primary] = imageTag.Value;
dto.ImageTags[ImageType.Primary] = imageTag;
}
if (user != null)
@@ -328,9 +328,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var imageTag = GetImageTag(info);
if (imageTag.HasValue)
if (imageTag != null)
{
dto.ImageTags[ImageType.Primary] = imageTag.Value;
dto.ImageTags[ImageType.Primary] = imageTag;
}
if (currentProgram != null)
@@ -389,9 +389,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv
var imageTag = GetImageTag(item);
if (imageTag.HasValue)
if (imageTag != null)
{
dto.ImageTags[ImageType.Primary] = imageTag.Value;
dto.ImageTags[ImageType.Primary] = imageTag;
}
if (user != null)
@@ -404,7 +404,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
return dto;
}
private Guid? GetImageTag(IHasImages info)
private string GetImageTag(IHasImages info)
{
try
{