switch to generic lookup type

This commit is contained in:
Luke Pulverenti
2014-02-06 22:10:13 -05:00
parent 57c92fa948
commit b1713a16cd
74 changed files with 458 additions and 202 deletions

View File

@@ -12,7 +12,7 @@ using System.Threading.Tasks;
namespace MediaBrowser.Providers.Games
{
public class GameSystemMetadataService : MetadataService<GameSystem, GameSystemId>
public class GameSystemMetadataService : MetadataService<GameSystem, GameSystemInfo>
{
private readonly ILibraryManager _libraryManager;
@@ -44,14 +44,5 @@ namespace MediaBrowser.Providers.Games
{
return _libraryManager.UpdateItem(item, reason, cancellationToken);
}
protected override GameSystemId GetId(GameSystem item)
{
var id = base.GetId(item);
id.Path = item.Path;
return id;
}
}
}