From f8eed3efc91365b2d67486bdb6cc56d65092dc3e Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Sun, 29 May 2022 18:03:18 +0800 Subject: [PATCH] chore update --- Jellyfin.Plugin.JavTube/ExternalIds/ActorExternalId.cs | 2 +- Jellyfin.Plugin.JavTube/ExternalIds/MovieExternalId.cs | 2 +- Jellyfin.Plugin.JavTube/Providers/MovieProvider.cs | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Jellyfin.Plugin.JavTube/ExternalIds/ActorExternalId.cs b/Jellyfin.Plugin.JavTube/ExternalIds/ActorExternalId.cs index da0cf1d..6566b89 100644 --- a/Jellyfin.Plugin.JavTube/ExternalIds/ActorExternalId.cs +++ b/Jellyfin.Plugin.JavTube/ExternalIds/ActorExternalId.cs @@ -18,7 +18,7 @@ public class ActorExternalId : IExternalId #endif public string Key => Constant.JavTube; - public string UrlFormatString => "{0}"; + public string UrlFormatString => Plugin.Instance.Configuration.Server+"/r/{0}"; public bool Supports(IHasProviderIds item) { diff --git a/Jellyfin.Plugin.JavTube/ExternalIds/MovieExternalId.cs b/Jellyfin.Plugin.JavTube/ExternalIds/MovieExternalId.cs index d793f1b..f90e64d 100644 --- a/Jellyfin.Plugin.JavTube/ExternalIds/MovieExternalId.cs +++ b/Jellyfin.Plugin.JavTube/ExternalIds/MovieExternalId.cs @@ -18,7 +18,7 @@ public class MovieExternalId : IExternalId #endif public string Key => Constant.JavTube; - public string UrlFormatString => "{0}"; + public string UrlFormatString => Plugin.Instance.Configuration.Server+"/r/{0}"; public bool Supports(IHasProviderIds item) { diff --git a/Jellyfin.Plugin.JavTube/Providers/MovieProvider.cs b/Jellyfin.Plugin.JavTube/Providers/MovieProvider.cs index 6e69fca..299a10b 100644 --- a/Jellyfin.Plugin.JavTube/Providers/MovieProvider.cs +++ b/Jellyfin.Plugin.JavTube/Providers/MovieProvider.cs @@ -66,13 +66,15 @@ public class MovieProvider : BaseProvider, IRemoteMetadataProvider 0 ? m.Score * 2 : null; // Set studios: maker > publisher.