Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/43a2ec990c0b2386a8fa4ea3db58a4da29180107?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Refactored array usage

pull/12798/head
JPVenson 4 months ago
parent efe5b59517
commit 43a2ec990c

@ -157,13 +157,13 @@ public sealed class BaseItemRepository(
/// <inheritdoc />
public IReadOnlyList<string> GetStudioNames()
{
return GetItemValueNames([ItemValueType.Studios], Array.Empty<string>(), Array.Empty<string>());
return GetItemValueNames([ItemValueType.Studios], [], []);
}
/// <inheritdoc />
public IReadOnlyList<string> GetAllArtistNames()
{
return GetItemValueNames([ItemValueType.Artist, ItemValueType.AlbumArtist], Array.Empty<string>(), Array.Empty<string>());
return GetItemValueNames([ItemValueType.Artist, ItemValueType.AlbumArtist], [], []);
}
/// <inheritdoc />
@ -172,7 +172,7 @@ public sealed class BaseItemRepository(
return GetItemValueNames(
[ItemValueType.Genre],
itemTypeLookup.MusicGenreTypes,
Array.Empty<string>());
[]);
}
/// <inheritdoc />
@ -180,7 +180,7 @@ public sealed class BaseItemRepository(
{
return GetItemValueNames(
[ItemValueType.Genre],
Array.Empty<string>(),
[],
itemTypeLookup.MusicGenreTypes);
}

Loading…
Cancel
Save