diff --git a/README.md b/README.md
index 3be21ab8..fd13967b 100644
--- a/README.md
+++ b/README.md
@@ -44,12 +44,12 @@ version: "3.8"
services:
kyoo:
- image: ghcr.io/anonymusraccoon/kyoo:readme
+ image: ghcr.io/anonymusraccoon/kyoo:master
restart: on-failure
environment:
- KYOO_DATADIR=/var/lib/kyoo
- - BASICS__PUBLICURL=https://demo.kyoo.sdg
- - KYOO_MetadataInShow=false
+ - BASICS__PUBLICURL=https://demo.kyoo.moe
+ - BASICS__MetadataInShow=false
- DATABASE__ENABLED=postgres
- DATABASE__CONFIGURATIONS__POSTGRES__SERVER=postgres
- DATABASE__CONFIGURATIONS__POSTGRES__USER ID=kyoo
diff --git a/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs b/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs
index 8973d26b..7e3df825 100644
--- a/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs
+++ b/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs
@@ -205,11 +205,11 @@ namespace Kyoo.Core.Controllers
string path = await fs.GetExtraDirectory(resource)
?? resource switch
{
- Season season => await GetExtraDirectory(season.Show),
- Episode episode => await GetExtraDirectory(episode.Show),
- Track track => await GetExtraDirectory(track.Episode),
- IResource res => Combine(_options.CurrentValue.MetadataPath,
- typeof(T).Name.ToLowerInvariant(), res.Slug),
+ IResource res => Combine(
+ _options.CurrentValue.MetadataPath,
+ typeof(T).Name.ToLowerInvariant(),
+ res.Slug
+ ),
_ => Combine(_options.CurrentValue.MetadataPath, typeof(T).Name.ToLowerInvariant())
};
return await CreateDirectory(path);
diff --git a/src/Kyoo.Core/Controllers/ThumbnailsManager.cs b/src/Kyoo.Core/Controllers/ThumbnailsManager.cs
index 7ed9e829..0d302ac5 100644
--- a/src/Kyoo.Core/Controllers/ThumbnailsManager.cs
+++ b/src/Kyoo.Core/Controllers/ThumbnailsManager.cs
@@ -20,6 +20,7 @@ using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
+using JetBrains.Annotations;
using Kyoo.Abstractions.Controllers;
using Kyoo.Abstractions.Models;
using Microsoft.AspNetCore.StaticFiles;
@@ -114,7 +115,7 @@ namespace Kyoo.Core.Controllers
/// The ID of the image. See for values.
/// The type of the item
/// The path of the image for the given resource, even if it does not exists
- private async Task _GetPrivateImagePath(T item, int imageID)
+ private async Task _GetPrivateImagePath([NotNull] T item, int imageID)
{
if (item == null)
throw new ArgumentNullException(nameof(item));
diff --git a/src/Kyoo.WebApp/Kyoo.WebApp.csproj b/src/Kyoo.WebApp/Kyoo.WebApp.csproj
index 4d637707..d7500fad 100644
--- a/src/Kyoo.WebApp/Kyoo.WebApp.csproj
+++ b/src/Kyoo.WebApp/Kyoo.WebApp.csproj
@@ -47,15 +47,15 @@
-
-
+
+
-
-
+
+