prefix game/music user data id's to avoid collisions with movies and tv

This commit is contained in:
Luke Pulverenti
2013-10-04 20:44:43 -04:00
parent 82664bdae8
commit d1d639ce2c
5 changed files with 20 additions and 11 deletions

View File

@@ -32,7 +32,11 @@ namespace MediaBrowser.Controller.Entities
/// <returns>System.String.</returns>
public override string GetUserDataKey()
{
return GameSystemName ?? base.GetUserDataKey();
if (!string.IsNullOrEmpty(GameSystemName))
{
return "GameSystem-" + GameSystemName;
}
return base.GetUserDataKey();
}
}
}