diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-06-18 03:11:55 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-06-18 03:11:55 -0400 |
| commit | ce47f6338950853110ecc1d6bbd312b532b2ed8a (patch) | |
| tree | 9fc42f1d9cc0f962a3a0424bb70298ba7855340f /Emby.Server.Implementations/Dto | |
| parent | 0e7cbb04651bd9b65668ca1635a4625640639560 (diff) | |
3.2.20.5
Diffstat (limited to 'Emby.Server.Implementations/Dto')
| -rw-r--r-- | Emby.Server.Implementations/Dto/DtoService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs index ae988f938..7352073bd 100644 --- a/Emby.Server.Implementations/Dto/DtoService.cs +++ b/Emby.Server.Implementations/Dto/DtoService.cs @@ -778,16 +778,16 @@ namespace Emby.Server.Implementations.Dto .Select(i => new NameIdPair { Name = i, - Id = GetStudioId(i, item) + Id = GetGenreId(i, item) }) .ToArray(); } - private string GetStudioId(string name, BaseItem owner) + private string GetGenreId(string name, BaseItem owner) { if (owner is IHasMusicGenres) { - return _libraryManager.GetGameGenreId(name).ToString("N"); + return _libraryManager.GetMusicGenreId(name).ToString("N"); } if (owner is Game || owner is GameSystem) |
