update live tv user data

This commit is contained in:
Luke Pulverenti 2015-11-26 19:36:57 -05:00
parent 57fe446225
commit b73c3f4411
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

@ -53,10 +53,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; }