Merge pull request #1287 from MediaBrowser/master

merge from master
This commit is contained in:
Luke 2015-11-26 23:37:58 -05:00
commit 7f706faad2
2 changed files with 17 additions and 4 deletions

View File

@ -28,7 +28,15 @@ namespace MediaBrowser.Controller.LiveTv
return key;
}
}
return GetClientTypeName() + "-" + Name;
if (IsSeries && !string.IsNullOrWhiteSpace(EpisodeTitle))
{
var name = GetClientTypeName();
return name + "-" + Name + (EpisodeTitle ?? string.Empty);
}
return base.CreateUserDataKey();
}
/// <summary>

View File

@ -52,10 +52,15 @@ namespace MediaBrowser.Controller.LiveTv
return key;
}
}
var name = GetClientTypeName();
return name + "-" + Name + (EpisodeTitle ?? string.Empty);
if (IsSeries && !string.IsNullOrWhiteSpace(EpisodeTitle))
{
var name = GetClientTypeName();
return name + "-" + Name + (EpisodeTitle ?? string.Empty);
}
return base.CreateUserDataKey();
}
public string ServiceName { get; set; }