mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-16 12:40:27 +01:00
Convert Person.Type to use PersonKind enum (#9487)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Jellyfin.Data.Enums;
|
||||
using MediaBrowser.Controller.Configuration;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Audio;
|
||||
@@ -187,7 +188,7 @@ namespace MediaBrowser.Providers.Music
|
||||
PeopleHelper.AddPerson(people, new PersonInfo
|
||||
{
|
||||
Name = albumArtist,
|
||||
Type = "AlbumArtist"
|
||||
Type = PersonKind.AlbumArtist
|
||||
});
|
||||
}
|
||||
|
||||
@@ -196,7 +197,7 @@ namespace MediaBrowser.Providers.Music
|
||||
PeopleHelper.AddPerson(people, new PersonInfo
|
||||
{
|
||||
Name = artist,
|
||||
Type = "Artist"
|
||||
Type = PersonKind.Artist
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user