Basic Metadata Polish (#3548)
This commit is contained in:
parent
c0b59d87a4
commit
4c44dbf3e2
20 changed files with 3596 additions and 467 deletions
|
@ -26,9 +26,10 @@ public static class PlusMediaFormatExtensions
|
|||
{
|
||||
return plusMediaFormat switch
|
||||
{
|
||||
PlusMediaFormat.Manga => new[] { LibraryType.Manga, LibraryType.Image },
|
||||
PlusMediaFormat.Comic => new[] { LibraryType.Comic, LibraryType.ComicVine },
|
||||
PlusMediaFormat.LightNovel => new[] { LibraryType.LightNovel, LibraryType.Book, LibraryType.Manga },
|
||||
PlusMediaFormat.Manga => [LibraryType.Manga, LibraryType.Image],
|
||||
PlusMediaFormat.Comic => [LibraryType.Comic, LibraryType.ComicVine],
|
||||
PlusMediaFormat.LightNovel => [LibraryType.LightNovel, LibraryType.Book, LibraryType.Manga],
|
||||
PlusMediaFormat.Book => [LibraryType.LightNovel, LibraryType.Book],
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(plusMediaFormat), plusMediaFormat, null)
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue