mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-07-21 14:00:25 +08:00
Add constant
This commit is contained in:
12
Jellyfin.Plugin.JavTube/Constant.cs
Normal file
12
Jellyfin.Plugin.JavTube/Constant.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Jellyfin.Plugin.JavTube;
|
||||
|
||||
public static class Constant
|
||||
{
|
||||
public static readonly string JavTube = "JavTube";
|
||||
|
||||
public static readonly string Description = "Just Another Video Tube";
|
||||
|
||||
public static readonly string Guid = "df87283d-7224-4f9c-a448-3433d9cf278a";
|
||||
|
||||
public static readonly string UserAgent = $"Jellyfin.Plugin.JavTube/{Plugin.Instance.Version}";
|
||||
}
|
||||
@@ -21,11 +21,11 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public override string Name => "JavTube";
|
||||
public override string Name => Constant.JavTube;
|
||||
|
||||
public override string Description => "Just Another Video Tube";
|
||||
public override string Description => Constant.Description;
|
||||
|
||||
public override Guid Id => Guid.Parse("df87283d-7224-4f9c-a448-3433d9cf278a");
|
||||
public override Guid Id => Guid.Parse(Constant.Guid);
|
||||
|
||||
public static Plugin Instance { get; private set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user