mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-25 00:50:53 +01:00
Convert Person.Type to use PersonKind enum (#9487)
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Data.Enums;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Audio;
|
||||
using MediaBrowser.Controller.Library;
|
||||
@@ -163,7 +164,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
PeopleHelper.AddPerson(people, new PersonInfo
|
||||
{
|
||||
Name = albumArtist,
|
||||
Type = "AlbumArtist"
|
||||
Type = PersonKind.AlbumArtist
|
||||
});
|
||||
}
|
||||
|
||||
@@ -173,7 +174,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
PeopleHelper.AddPerson(people, new PersonInfo
|
||||
{
|
||||
Name = performer,
|
||||
Type = "Artist"
|
||||
Type = PersonKind.Artist
|
||||
});
|
||||
}
|
||||
|
||||
@@ -182,7 +183,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
PeopleHelper.AddPerson(people, new PersonInfo
|
||||
{
|
||||
Name = composer,
|
||||
Type = "Composer"
|
||||
Type = PersonKind.Composer
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user