mirror of
https://github.com/metatube-community/jellyfin-plugin-metatube.git
synced 2026-02-03 02:25:02 +08:00
Chore: rename to MetaTube
This commit is contained in:
12
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
12
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -11,7 +11,7 @@ body:
|
||||
- label: Is this something you can **debug and fix**? Send a pull request! Bug fixes and documentation fixes are welcome.
|
||||
required: true
|
||||
|
||||
- label: I have read the [Wiki](https://github.com/javtube/jellyfin-plugin-javtube/wiki), especially the [FAQ](https://github.com/javtube/jellyfin-plugin-javtube/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) page.
|
||||
- label: I have read the [Wiki](https://github.com/javtube/jellyfin-plugin-metatube/wiki), especially the [FAQ](https://github.com/javtube/jellyfin-plugin-metatube/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) page.
|
||||
required: true
|
||||
|
||||
- label: I have searched on the [issue tracker](……/) for a related issue.
|
||||
@@ -19,13 +19,13 @@ body:
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: JavTube Plugin Version
|
||||
label: MetaTube Plugin Version
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: JavTube Server Version
|
||||
label: MetaTube Server Version
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -48,7 +48,7 @@ body:
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: JavTube Server
|
||||
label: MetaTube Server
|
||||
description: Paste the command line parameters or environment below.
|
||||
|
||||
- type: textarea
|
||||
@@ -58,8 +58,8 @@ body:
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: JavTube Server Logs
|
||||
description: Paste the javtube server logs below.
|
||||
label: MetaTube Server Logs
|
||||
description: Paste the MetaTube server logs below.
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
|
||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
8
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,9 +1,9 @@
|
||||
blank_issues_enabled: false
|
||||
|
||||
contact_links:
|
||||
- name: JavTube GitHub Wiki
|
||||
url: https://github.com/javtube/jellyfin-plugin-javtube/wiki
|
||||
- name: MetaTube GitHub Wiki
|
||||
url: https://github.com/javtube/jellyfin-plugin-metatube/wiki
|
||||
about: Please see the wiki for configuration and examples
|
||||
- name: JavTube GitHub Discussions
|
||||
url: https://github.com/javtube/jellyfin-plugin-javtube/discussions
|
||||
- name: MetaTube GitHub Discussions
|
||||
url: https://github.com/javtube/jellyfin-plugin-metatube/discussions
|
||||
about: Ask questions and get help on GitHub Discussions
|
||||
|
||||
10
.github/workflows/dotnetcore.yml
vendored
10
.github/workflows/dotnetcore.yml
vendored
@@ -33,12 +33,12 @@ jobs:
|
||||
|
||||
- name: Generate Manifest
|
||||
run: |
|
||||
python3 scripts/manifest.py Jellyfin.Plugin.JavTube/bin/Jellyfin.JavTube@v${{ steps.shell.outputs.version }}.zip
|
||||
python3 scripts/manifest.py Jellyfin.Plugin.MetaTube/bin/Jellyfin.MetaTube@v${{ steps.shell.outputs.version }}.zip
|
||||
|
||||
- name: Publish Manifest
|
||||
run: |
|
||||
git config --global user.name 'javtube-bot'
|
||||
git config --global user.email 'javtube-bot@users.noreply.github.com'
|
||||
git config --global user.name 'metatube-bot'
|
||||
git config --global user.email 'metatube-bot@users.noreply.github.com'
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}
|
||||
|
||||
git checkout --orphan dist
|
||||
@@ -56,5 +56,5 @@ jobs:
|
||||
draft: false
|
||||
tag_name: v${{ steps.shell.outputs.version }}
|
||||
files: |
|
||||
Jellyfin.Plugin.JavTube/bin/Jellyfin.JavTube@v${{ steps.shell.outputs.version }}.zip
|
||||
Jellyfin.Plugin.JavTube/bin/Emby.JavTube@v${{ steps.shell.outputs.version }}.zip
|
||||
Jellyfin.Plugin.MetaTube/bin/Jellyfin.MetaTube@v${{ steps.shell.outputs.version }}.zip
|
||||
Jellyfin.Plugin.MetaTube/bin/Emby.MetaTube@v${{ steps.shell.outputs.version }}.zip
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 58 KiB |
@@ -2,12 +2,12 @@ using System.Collections.Specialized;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Net.Http.Json;
|
||||
using System.Web;
|
||||
using Jellyfin.Plugin.JavTube.Metadata;
|
||||
using Jellyfin.Plugin.MetaTube.Metadata;
|
||||
#if __EMBY__
|
||||
using MediaBrowser.Common.Net;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube;
|
||||
namespace Jellyfin.Plugin.MetaTube;
|
||||
|
||||
public static class ApiClient
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using Jellyfin.Plugin.JavTube.Helpers;
|
||||
using Jellyfin.Plugin.JavTube.Translation;
|
||||
using Jellyfin.Plugin.MetaTube.Helpers;
|
||||
using Jellyfin.Plugin.MetaTube.Translation;
|
||||
using MediaBrowser.Model.Plugins;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Configuration;
|
||||
namespace Jellyfin.Plugin.MetaTube.Configuration;
|
||||
|
||||
public class PluginConfiguration : BasePluginConfiguration
|
||||
{
|
||||
@@ -24,7 +24,7 @@ public class PluginConfiguration : BasePluginConfiguration
|
||||
|
||||
#region General
|
||||
|
||||
public string Server { get; set; } = "https://api.javtube.internal";
|
||||
public string Server { get; set; } = "https://api.metatube.internal";
|
||||
|
||||
public string Token { get; set; } = string.Empty;
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>JavTube</title>
|
||||
<title>MetaTube</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="page type-interior pluginConfigurationPage JavTubeConfigurationPage" data-require="emby-input,emby-button,emby-select,emby-checkbox,emby-linkbutton" data-role="page">
|
||||
<div class="page type-interior pluginConfigurationPage MetaTubeConfigurationPage" data-require="emby-input,emby-button,emby-select,emby-checkbox,emby-linkbutton" data-role="page">
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
<h1>JavTube</h1>
|
||||
<h1>MetaTube</h1>
|
||||
|
||||
<div class="readOnlyContent">
|
||||
<p class="description1">Just Another Video Tube Plugin for Jellyfin/Emby. <a class="button-link emby-button" href="https://github.com/javtube/jellyfin-plugin-javtube" is="emby-linkbutton" target="_blank">Learn more</a>.</p>
|
||||
<p class="description1">Metadata Tube Plugin for Jellyfin/Emby. <a class="button-link emby-button" href="https://github.com/javtube/jellyfin-plugin-metatube" is="emby-linkbutton" target="_blank">Learn more</a>.</p>
|
||||
</div>
|
||||
|
||||
<form class="JavTubeConfigurationForm">
|
||||
<form class="MetaTubeConfigurationForm">
|
||||
|
||||
<div class="verticalSection">
|
||||
<h2>General</h2>
|
||||
@@ -25,13 +25,13 @@
|
||||
<label class="inputLabel inputLabelUnfocused" for="txtServer">Server:</label>
|
||||
<input id="txtServer" is="emby-input" name="txtServer" pattern="^https?://.+$" required
|
||||
type="text"/>
|
||||
<div class="fieldDescription">Full url of the JavTube Server, HTTPS protocol is recommended.</div>
|
||||
<div class="fieldDescription">Full url of the MetaTube Server, HTTPS protocol is recommended.</div>
|
||||
</div>
|
||||
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="txtToken">Token:</label>
|
||||
<input id="txtToken" is="emby-input" name="txtToken" type="text"/>
|
||||
<div class="fieldDescription">Access token for the JavTube Server, or blank if no token is set by the backend.</div>
|
||||
<div class="fieldDescription">Access token for the MetaTube Server, or blank if no token is set by the backend.</div>
|
||||
</div>
|
||||
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
@@ -254,7 +254,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var JavTubePluginConfig = {
|
||||
var MetaTubePluginConfig = {
|
||||
pluginUniqueId: "01cc53ec-c415-4108-bbd4-a684a9801a32"
|
||||
};
|
||||
|
||||
@@ -290,10 +290,10 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.JavTubeConfigurationPage').on('pageshow', function () {
|
||||
$('.MetaTubeConfigurationPage').on('pageshow', function () {
|
||||
Dashboard.showLoadingMsg();
|
||||
var page = this;
|
||||
ApiClient.getPluginConfiguration(JavTubePluginConfig.pluginUniqueId).then(function (config) {
|
||||
ApiClient.getPluginConfiguration(MetaTubePluginConfig.pluginUniqueId).then(function (config) {
|
||||
$('#txtServer', page).val(config.Server).change();
|
||||
$('#txtToken', page).val(config.Token).change();
|
||||
page.querySelector('#chkEnableCollections').checked = config.EnableCollections;
|
||||
@@ -325,10 +325,10 @@
|
||||
});
|
||||
});
|
||||
|
||||
$('.JavTubeConfigurationForm').on('submit', function () {
|
||||
$('.MetaTubeConfigurationForm').on('submit', function () {
|
||||
Dashboard.showLoadingMsg();
|
||||
var form = this;
|
||||
ApiClient.getPluginConfiguration(JavTubePluginConfig.pluginUniqueId).then(function (config) {
|
||||
ApiClient.getPluginConfiguration(MetaTubePluginConfig.pluginUniqueId).then(function (config) {
|
||||
config.Server = $('#txtServer', form).val();
|
||||
config.Token = $('#txtToken', form).val();
|
||||
config.EnableCollections = $('#chkEnableCollections', form).prop('checked');
|
||||
@@ -356,7 +356,7 @@
|
||||
config.ActorRawSubstitutionTable = $('#txtActorRawSubstitutionTable', form).val();
|
||||
config.EnableGenreSubstitution = $('#chkEnableGenreSubstitution', form).prop('checked');
|
||||
config.GenreRawSubstitutionTable = $('#txtGenreRawSubstitutionTable', form).val();
|
||||
ApiClient.updatePluginConfiguration(JavTubePluginConfig.pluginUniqueId, config).then(Dashboard.processPluginConfigurationUpdateResult);
|
||||
ApiClient.updatePluginConfiguration(MetaTubePluginConfig.pluginUniqueId, config).then(Dashboard.processPluginConfigurationUpdateResult);
|
||||
});
|
||||
// Disable default form submission
|
||||
return false;
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.JavTube.Extensions;
|
||||
namespace Jellyfin.Plugin.MetaTube.Extensions;
|
||||
|
||||
public static class DateTimeExtensions
|
||||
{
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
using MediaBrowser.Model.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Extensions;
|
||||
namespace Jellyfin.Plugin.MetaTube.Extensions;
|
||||
|
||||
public static class EmbyExtensions
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.JavTube.Extensions;
|
||||
namespace Jellyfin.Plugin.MetaTube.Extensions;
|
||||
|
||||
public static class EnumerableExtensions
|
||||
{
|
||||
@@ -4,7 +4,7 @@
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Extensions;
|
||||
namespace Jellyfin.Plugin.MetaTube.Extensions;
|
||||
|
||||
public static class JellyfinExtensions
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Web;
|
||||
using Jellyfin.Plugin.JavTube.Helpers;
|
||||
using Jellyfin.Plugin.MetaTube.Helpers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Extensions;
|
||||
namespace Jellyfin.Plugin.MetaTube.Extensions;
|
||||
|
||||
public static class ProviderIdsExtensions
|
||||
{
|
||||
@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ExternalIds;
|
||||
namespace Jellyfin.Plugin.MetaTube.ExternalIds;
|
||||
|
||||
public class ActorExternalId : BaseExternalId
|
||||
{
|
||||
@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ExternalIds;
|
||||
namespace Jellyfin.Plugin.MetaTube.ExternalIds;
|
||||
|
||||
public abstract class BaseExternalId : IExternalId
|
||||
{
|
||||
@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ExternalIds;
|
||||
namespace Jellyfin.Plugin.MetaTube.ExternalIds;
|
||||
|
||||
public class MovieExternalId : BaseExternalId
|
||||
{
|
||||
@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Providers;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ExternalIds;
|
||||
namespace Jellyfin.Plugin.MetaTube.ExternalIds;
|
||||
|
||||
public class TrailerExternalId : BaseExternalId
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.JavTube.Helpers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Helpers;
|
||||
|
||||
public class ProviderId
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Helpers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Helpers;
|
||||
|
||||
public class SubstitutionTable : Dictionary<string, string>
|
||||
{
|
||||
@@ -5,16 +5,19 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Configurations>Debug;Release;Debug.Emby;Release.Emby</Configurations>
|
||||
<Platforms>AnyCPU</Platforms>
|
||||
<AssemblyName>JavTube</AssemblyName>
|
||||
<Authors>JavTube</Authors>
|
||||
<Description>Just Another Video Tube Plugin for Jellyfin/Emby</Description>
|
||||
<AssemblyName>MetaTube</AssemblyName>
|
||||
<Authors>MetaTube</Authors>
|
||||
<Description>Meta Tube Plugin for Jellyfin/Emby</Description>
|
||||
<Version>$([System.DateTime]::UtcNow.ToString(yyyy.Mdd.Hmm.0))</Version>
|
||||
<Copyright>Copyright © $([System.DateTime]::UtcNow.Year) JavTube</Copyright>
|
||||
<Copyright>Copyright © 2022 MetaTube</Copyright>
|
||||
<RepositoryType>Git</RepositoryType>
|
||||
<RepositoryUrl>https://github.com/javtube/jellyfin-plugin-javtube.git</RepositoryUrl>
|
||||
<PackageProjectUrl>https://github.com/javtube/jellyfin-plugin-javtube</PackageProjectUrl>
|
||||
<PackageLicenseUrl>https://github.com/javtube/jellyfin-plugin-javtube/blob/main/LICENSE</PackageLicenseUrl>
|
||||
<RepositoryUrl>https://github.com/javtube/jellyfin-plugin-metatube.git</RepositoryUrl>
|
||||
<PackageProjectUrl>https://github.com/javtube/jellyfin-plugin-metatube</PackageProjectUrl>
|
||||
<PackageLicenseUrl>https://github.com/javtube/jellyfin-plugin-metatube/blob/main/LICENSE</PackageLicenseUrl>
|
||||
<PackageIcon>thumb.png</PackageIcon>
|
||||
<PackageId>MetaTube</PackageId>
|
||||
<Company>MetaTube</Company>
|
||||
<Product>MetaTube</Product>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug.Emby' or '$(Configuration)'=='Release.Emby'">
|
||||
@@ -22,39 +25,39 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Memory" Version="4.5.5"/>
|
||||
<PackageReference Include="System.Memory" Version="4.5.5" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.8.0"/>
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.8.0"/>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.8.0" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.8.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug.Emby' or '$(Configuration)'=='Release.Emby'">
|
||||
<PackageReference Include="MediaBrowser.Server.Core" Version="4.7.1"/>
|
||||
<PackageReference Include="MediaBrowser.Server.Core" Version="4.7.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="Configuration\configPage.html"/>
|
||||
<EmbeddedResource Include="Configuration\configPage.html"/>
|
||||
<None Remove="Configuration\configPage.html" />
|
||||
<EmbeddedResource Include="Configuration\configPage.html" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)'=='Debug.Emby' or '$(Configuration)'=='Release.Emby'">
|
||||
<None Remove="thumb.png"/>
|
||||
<EmbeddedResource Include="thumb.png"/>
|
||||
<None Remove="thumb.png" />
|
||||
<EmbeddedResource Include="thumb.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="Zip" AfterTargets="PostBuildEvent" Condition="'$(Configuration)'=='Release' or '$(Configuration)'=='Release.Emby'">
|
||||
<ItemGroup>
|
||||
<FilesToDelete Include="$(BaseOutputPath)Jellyfin.JavTube*.zip" Condition="'$(Configuration)'=='Release'"/>
|
||||
<FilesToDelete Include="$(BaseOutputPath)Emby.JavTube*.zip" Condition="'$(Configuration)'=='Release.Emby'"/>
|
||||
<TempZipDirectory Include="$(OutputPath)output"/>
|
||||
<FilesToDelete Include="$(BaseOutputPath)Jellyfin.MetaTube*.zip" Condition="'$(Configuration)'=='Release'" />
|
||||
<FilesToDelete Include="$(BaseOutputPath)Emby.MetaTube*.zip" Condition="'$(Configuration)'=='Release.Emby'" />
|
||||
<TempZipDirectory Include="$(OutputPath)output" />
|
||||
</ItemGroup>
|
||||
<Delete Files="@(FilesToDelete)"/>
|
||||
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll" DestinationFolder="@(TempZipDirectory)"/>
|
||||
<ZipDirectory SourceDirectory="@(TempZipDirectory)" DestinationFile="$(BaseOutputPath)Jellyfin.JavTube@v$(Version).zip" Condition="'$(Configuration)'=='Release'"/>
|
||||
<ZipDirectory SourceDirectory="@(TempZipDirectory)" DestinationFile="$(BaseOutputPath)Emby.JavTube@v$(Version).zip" Condition="'$(Configuration)'=='Release.Emby'"/>
|
||||
<RemoveDir Directories="@(TempZipDirectory)"/>
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll" DestinationFolder="@(TempZipDirectory)" />
|
||||
<ZipDirectory SourceDirectory="@(TempZipDirectory)" DestinationFile="$(BaseOutputPath)Jellyfin.MetaTube@v$(Version).zip" Condition="'$(Configuration)'=='Release'" />
|
||||
<ZipDirectory SourceDirectory="@(TempZipDirectory)" DestinationFile="$(BaseOutputPath)Emby.MetaTube@v$(Version).zip" Condition="'$(Configuration)'=='Release.Emby'" />
|
||||
<RemoveDir Directories="@(TempZipDirectory)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class ActorInfo : ActorSearchResult
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class ActorSearchResult : ProviderInfo
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class ErrorInfo
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class MovieInfo : MovieSearchResult
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class MovieSearchResult : ProviderInfo
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class ProviderInfo
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class ResponseInfo<T>
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Metadata;
|
||||
namespace Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
public class TranslationInfo
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
using Jellyfin.Plugin.JavTube.Configuration;
|
||||
using Jellyfin.Plugin.MetaTube.Configuration;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Model.Plugins;
|
||||
@@ -7,7 +7,7 @@ using MediaBrowser.Model.Serialization;
|
||||
using MediaBrowser.Model.Drawing;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube;
|
||||
namespace Jellyfin.Plugin.MetaTube;
|
||||
|
||||
#if __EMBY__
|
||||
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages, IHasThumbImage
|
||||
@@ -21,9 +21,9 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public override string Name => "JavTube";
|
||||
public override string Name => "MetaTube";
|
||||
|
||||
public override string Description => "Just Another Video Tube Plugin for Jellyfin/Emby";
|
||||
public override string Description => "Metadata Tube Plugin for Jellyfin/Emby";
|
||||
|
||||
public override Guid Id => Guid.Parse("01cc53ec-c415-4108-bbd4-a684a9801a32");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
@@ -11,7 +11,7 @@ using MediaBrowser.Model.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Providers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Providers;
|
||||
|
||||
public class ActorImageProvider : BaseProvider, IRemoteImageProvider, IHasOrder
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.JavTube.Metadata;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Metadata;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Providers;
|
||||
@@ -10,7 +10,7 @@ using MediaBrowser.Model.Logging;
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Providers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Providers;
|
||||
|
||||
public class ActorProvider : BaseProvider, IRemoteMetadataProvider<Person, PersonLookupInfo>, IHasOrder
|
||||
{
|
||||
@@ -1,14 +1,14 @@
|
||||
using Jellyfin.Plugin.JavTube.Configuration;
|
||||
using Jellyfin.Plugin.MetaTube.Configuration;
|
||||
#if __EMBY__
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Model.Logging;
|
||||
|
||||
#else
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Providers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Providers;
|
||||
|
||||
public abstract class BaseProvider
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
@@ -12,7 +12,7 @@ using MediaBrowser.Model.Logging;
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Providers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Providers;
|
||||
|
||||
public class MovieImageProvider : BaseProvider, IRemoteImageProvider, IHasOrder
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text;
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.JavTube.Metadata;
|
||||
using Jellyfin.Plugin.JavTube.Translation;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Metadata;
|
||||
using Jellyfin.Plugin.MetaTube.Translation;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
@@ -15,7 +15,7 @@ using MediaBrowser.Model.Logging;
|
||||
using Microsoft.Extensions.Logging;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Providers;
|
||||
namespace Jellyfin.Plugin.MetaTube.Providers;
|
||||
|
||||
public class MovieProvider : BaseProvider, IRemoteMetadataProvider<Movie, MovieInfo>, IHasOrder
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Model.Entities;
|
||||
@@ -13,7 +13,7 @@ using Microsoft.Extensions.Logging;
|
||||
using Jellyfin.Data.Enums;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ScheduledTasks;
|
||||
namespace Jellyfin.Plugin.MetaTube.ScheduledTasks;
|
||||
|
||||
public class GenerateTrailersTask : IScheduledTask
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Sorting;
|
||||
@@ -14,7 +14,7 @@ using Microsoft.Extensions.Logging;
|
||||
using Jellyfin.Data.Enums;
|
||||
#endif
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ScheduledTasks;
|
||||
namespace Jellyfin.Plugin.MetaTube.ScheduledTasks;
|
||||
|
||||
public class OrganizeMetadataTask : IScheduledTask
|
||||
{
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using Jellyfin.Plugin.JavTube.Extensions;
|
||||
using Jellyfin.Plugin.MetaTube.Extensions;
|
||||
using MediaBrowser.Common;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Net;
|
||||
@@ -11,7 +11,7 @@ using MediaBrowser.Model.Logging;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
using HttpRequestOptions = MediaBrowser.Common.Net.HttpRequestOptions;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.ScheduledTasks;
|
||||
namespace Jellyfin.Plugin.MetaTube.ScheduledTasks;
|
||||
|
||||
public class UpdatePluginTask : IScheduledTask
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.JavTube.Translation;
|
||||
namespace Jellyfin.Plugin.MetaTube.Translation;
|
||||
|
||||
public enum TranslationEngine
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Specialized;
|
||||
using Jellyfin.Plugin.JavTube.Configuration;
|
||||
using Jellyfin.Plugin.JavTube.Metadata;
|
||||
using Jellyfin.Plugin.MetaTube.Configuration;
|
||||
using Jellyfin.Plugin.MetaTube.Metadata;
|
||||
|
||||
namespace Jellyfin.Plugin.JavTube.Translation;
|
||||
namespace Jellyfin.Plugin.MetaTube.Translation;
|
||||
|
||||
public static class TranslationHelper
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Plugin.JavTube.Translation;
|
||||
namespace Jellyfin.Plugin.MetaTube.Translation;
|
||||
|
||||
public enum TranslationMode
|
||||
{
|
||||
BIN
Jellyfin.Plugin.MetaTube/thumb.png
Normal file
BIN
Jellyfin.Plugin.MetaTube/thumb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 JavTube
|
||||
Copyright (c) 2022 MetaTube
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
18
README.md
18
README.md
@@ -1,4 +1,4 @@
|
||||
<h1 align="center">Jellyfin Plugin JavTube</h1>
|
||||
<h1 align="center">Jellyfin Plugin MetaTube</h1>
|
||||
<p align="center"><b>English | <a href="README_ZH.md">简体中文</a></b></p>
|
||||
|
||||
<p align="center">
|
||||
@@ -10,22 +10,22 @@
|
||||
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/javtube/jellyfin-plugin-javtube/.NET?logo=github">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/search?l=c%23">
|
||||
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/javtube/jellyfin-plugin-javtube?color=%23239120&label=.NET&logo=csharp">
|
||||
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/javtube/jellyfin-plugin-metatube?color=%23239120&label=.NET&logo=csharp">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/blob/main/LICENSE">
|
||||
<img alt="License" src="https://img.shields.io/github/license/javtube/jellyfin-plugin-javtube">
|
||||
<img alt="License" src="https://img.shields.io/github/license/javtube/jellyfin-plugin-metatube">
|
||||
</a>
|
||||
<a href="https://t.me/JavTubePlugin">
|
||||
<a href="https://t.me/MetaTubePlugin">
|
||||
<img alt="Telegram Group" src="https://img.shields.io/badge/Telegram-2CA5E0?logo=telegram&logoColor=white">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube">
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-metatube">
|
||||
<img alt="Downloads" src="https://img.shields.io/github/downloads/javtube/jellyfin-plugin-javtube/total">
|
||||
</a>
|
||||
<a href="https://hub.docker.com/r/javtube/javtube-server">
|
||||
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/javtube/javtube-server?logo=docker">
|
||||
<a href="https://hub.docker.com/r/javtube/metatube-server">
|
||||
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/javtube/metatube-server?logo=docker">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/releases">
|
||||
<img alt="Releases" src="https://img.shields.io/github/v/release/javtube/jellyfin-plugin-javtube?include_prereleases&logo=smartthings">
|
||||
<img alt="Releases" src="https://img.shields.io/github/v/release/javtube/jellyfin-plugin-metatube?include_prereleases&logo=smartthings">
|
||||
</a>
|
||||
|
||||
## About
|
||||
@@ -69,4 +69,4 @@ This plugin is released under the [MIT](https://github.com/javtube/jellyfin-plug
|
||||
|
||||
## Stargazers
|
||||
|
||||
[](https://starchart.cc/javtube/jellyfin-plugin-javtube)
|
||||
[](https://starchart.cc/javtube/jellyfin-plugin-metatube)
|
||||
|
||||
20
README_ZH.md
20
README_ZH.md
@@ -1,4 +1,4 @@
|
||||
<h1 align="center">Jellyfin Plugin JavTube</h1>
|
||||
<h1 align="center">Jellyfin Plugin MetaTube</h1>
|
||||
<p align="center"><b><a href="README.md">English</a> | 简体中文</b></p>
|
||||
|
||||
<p align="center">
|
||||
@@ -10,22 +10,22 @@
|
||||
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/javtube/jellyfin-plugin-javtube/.NET?logo=github">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/search?l=c%23">
|
||||
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/javtube/jellyfin-plugin-javtube?color=%23239120&label=.NET&logo=csharp">
|
||||
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/javtube/jellyfin-plugin-metatube?color=%23239120&label=.NET&logo=csharp">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/blob/main/LICENSE">
|
||||
<img alt="License" src="https://img.shields.io/github/license/javtube/jellyfin-plugin-javtube">
|
||||
<img alt="License" src="https://img.shields.io/github/license/javtube/jellyfin-plugin-metatube">
|
||||
</a>
|
||||
<a href="https://t.me/JavTubePlugin">
|
||||
<a href="https://t.me/MetaTubePlugin">
|
||||
<img alt="Telegram Group" src="https://img.shields.io/badge/Telegram-2CA5E0?logo=telegram&logoColor=white">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube">
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-metatube">
|
||||
<img alt="Downloads" src="https://img.shields.io/github/downloads/javtube/jellyfin-plugin-javtube/total">
|
||||
</a>
|
||||
<a href="https://hub.docker.com/r/javtube/javtube-server">
|
||||
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/javtube/javtube-server?logo=docker">
|
||||
<a href="https://hub.docker.com/r/javtube/metatube-server">
|
||||
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/javtube/metatube-server?logo=docker">
|
||||
</a>
|
||||
<a href="https://github.com/javtube/jellyfin-plugin-javtube/releases">
|
||||
<img alt="Releases" src="https://img.shields.io/github/v/release/javtube/jellyfin-plugin-javtube?include_prereleases&logo=smartthings">
|
||||
<img alt="Releases" src="https://img.shields.io/github/v/release/javtube/jellyfin-plugin-metatube?include_prereleases&logo=smartthings">
|
||||
</a>
|
||||
|
||||
## 关于
|
||||
@@ -61,7 +61,7 @@ _注意:本项目仅支持 Jellyfin/Emby 稳定版。_
|
||||
|
||||
## 社区
|
||||
|
||||
有任何问题欢迎来 [Discussions](https://github.com/javtube/jellyfin-plugin-javtube/discussions) 提问讨论,或者加入 [TG群](https://t.me/JavTubePlugin)。
|
||||
有任何问题欢迎来 [Discussions](https://github.com/javtube/jellyfin-plugin-javtube/discussions) 提问讨论,或者加入 [TG群](https://t.me/MetaTubePlugin)。
|
||||
|
||||
## 许可
|
||||
|
||||
@@ -75,4 +75,4 @@ _注意:本项目仅支持 Jellyfin/Emby 稳定版。_
|
||||
|
||||
## 星星
|
||||
|
||||
[](https://starchart.cc/javtube/jellyfin-plugin-javtube)
|
||||
[](https://starchart.cc/javtube/jellyfin-plugin-metatube)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Plugin.JavTube", "Jellyfin.Plugin.JavTube\Jellyfin.Plugin.JavTube.csproj", "{DD1CDA77-5286-454A-BDCD-866FBE15E740}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Plugin.MetaTube", "Jellyfin.Plugin.MetaTube\Jellyfin.Plugin.MetaTube.csproj", "{DD1CDA77-5286-454A-BDCD-866FBE15E740}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Reference in New Issue
Block a user