fix path and more skins
This commit is contained in:
@@ -7,7 +7,7 @@ using MediaBrowser.Model.Branding;
|
|||||||
using MediaBrowser.Controller.Configuration;
|
using MediaBrowser.Controller.Configuration;
|
||||||
using MediaBrowser.Api;
|
using MediaBrowser.Api;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Css.Api
|
namespace Jellyfin.Plugin.SkinManager.Api
|
||||||
{
|
{
|
||||||
[Route("/Css/Set", "POST", Summary = "Downloads theme songs")]
|
[Route("/Css/Set", "POST", Summary = "Downloads theme songs")]
|
||||||
[Authenticated]
|
[Authenticated]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using MediaBrowser.Model.Plugins;
|
using MediaBrowser.Model.Plugins;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Css.Configuration
|
namespace Jellyfin.Plugin.SkinManager.Configuration
|
||||||
{
|
{
|
||||||
public class PluginConfiguration : BasePluginConfiguration
|
public class PluginConfiguration : BasePluginConfiguration
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Css</title>
|
<title>Skin Manager</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -27,8 +27,7 @@
|
|||||||
<div class="selectContainer">
|
<div class="selectContainer">
|
||||||
<label for="css">css</label>
|
<label for="css">css</label>
|
||||||
<select is="emby-select" id="cssOptions">
|
<select is="emby-select" id="cssOptions">
|
||||||
<!--<option value='@import url("https://prayag17.github.io/JellyFlix/default.css");'>Netflix</option>
|
|
||||||
<option value='@import url("https://ctalvio.github.io/Kaleidochromic/default_style.css");'>otra</option>-->
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using MediaBrowser.Api;
|
|||||||
using MediaBrowser.Controller.Configuration;
|
using MediaBrowser.Controller.Configuration;
|
||||||
using MediaBrowser.Controller.Net;
|
using MediaBrowser.Controller.Net;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Css
|
namespace Jellyfin.Plugin.SkinManager
|
||||||
{
|
{
|
||||||
public class CssManager : IServerEntryPoint
|
public class CssManager : IServerEntryPoint
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Plugin.Css.Configuration;
|
using Jellyfin.Plugin.SkinManager.Configuration;
|
||||||
using MediaBrowser.Common.Configuration;
|
using MediaBrowser.Common.Configuration;
|
||||||
using MediaBrowser.Common.Plugins;
|
using MediaBrowser.Common.Plugins;
|
||||||
using MediaBrowser.Model.Plugins;
|
using MediaBrowser.Model.Plugins;
|
||||||
using MediaBrowser.Model.Serialization;
|
using MediaBrowser.Model.Serialization;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Css
|
namespace Jellyfin.Plugin.SkinManager
|
||||||
{
|
{
|
||||||
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||||
{
|
{
|
||||||
@@ -16,12 +16,12 @@ namespace Jellyfin.Plugin.Css
|
|||||||
Instance = this;
|
Instance = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string Name => "Css";
|
public override string Name => "SkinManager";
|
||||||
|
|
||||||
public static Plugin Instance { get; private set; }
|
public static Plugin Instance { get; private set; }
|
||||||
|
|
||||||
public override string Description
|
public override string Description
|
||||||
=> "Css";
|
=> "Skin Manager";
|
||||||
|
|
||||||
private readonly Guid _id = new Guid("e9ca8b8e-ca6d-40e7-85dc-58e536df8eb3");
|
private readonly Guid _id = new Guid("e9ca8b8e-ca6d-40e7-85dc-58e536df8eb3");
|
||||||
public override Guid Id => _id;
|
public override Guid Id => _id;
|
||||||
@@ -32,7 +32,7 @@ namespace Jellyfin.Plugin.Css
|
|||||||
{
|
{
|
||||||
new PluginPageInfo
|
new PluginPageInfo
|
||||||
{
|
{
|
||||||
Name = "Css",
|
Name = "SkinManager",
|
||||||
EmbeddedResourcePath = GetType().Namespace + ".Configuration.configurationpage.html"
|
EmbeddedResourcePath = GetType().Namespace + ".Configuration.configurationpage.html"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using MediaBrowser.Api;
|
|||||||
using MediaBrowser.Controller.Configuration;
|
using MediaBrowser.Controller.Configuration;
|
||||||
using MediaBrowser.Controller.Net;
|
using MediaBrowser.Controller.Net;
|
||||||
|
|
||||||
namespace Jellyfin.Plugin.Css.ScheduledTasks
|
namespace Jellyfin.Plugin.SkinManager.ScheduledTasks
|
||||||
{
|
{
|
||||||
public class SetCssTask : IScheduledTask
|
public class SetCssTask : IScheduledTask
|
||||||
{
|
{
|
||||||
|
|||||||
15
skins.json
15
skins.json
@@ -1,14 +1,27 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name":"Netflix",
|
"name":"Jellyflix",
|
||||||
"author":"prayagprajapati17",
|
"author":"prayagprajapati17",
|
||||||
"css": "@import url(https://prayag17.github.io/JellyFlix/default.css);"
|
"css": "@import url(https://prayag17.github.io/JellyFlix/default.css);"
|
||||||
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name":"Monochromic",
|
||||||
|
"author":"EdgeMentality",
|
||||||
|
"css": "@import url('https://ctalvio.github.io/Monochromic/default_style.css');"
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name":"Kaleidochromic",
|
"name":"Kaleidochromic",
|
||||||
"author":"EdgeMentality",
|
"author":"EdgeMentality",
|
||||||
"css": "@import url(https://ctalvio.github.io/Kaleidochromic/default_style.css);"
|
"css": "@import url(https://ctalvio.github.io/Kaleidochromic/default_style.css);"
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name":"JellySkin",
|
||||||
|
"author":"prayagprajapati17",
|
||||||
|
"css": "@import url('https://prayag17.github.io/JellySkin/default.css');"
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user