feat(tmdb): show search results with dual auth
Accept TMDB v3 API key or Read Access Token (Bearer), surface TMDB error messages, and display query/result count in the Request UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2a1fcf0588
commit
e260677dab
10 files changed
+161
-42
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>1.0.0.4</Version>
|
<Version>1.0.0.5</Version>
|
||||||
<AssemblyVersion>1.0.0.4</AssemblyVersion>
|
<AssemblyVersion>1.0.0.5</AssemblyVersion>
|
||||||
<FileVersion>1.0.0.4</FileVersion>
|
<FileVersion>1.0.0.5</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -13,10 +13,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="verticalSection">
|
<div class="verticalSection">
|
||||||
<div class="inputContainer">
|
<div class="inputContainer">
|
||||||
<label class="inputLabel inputLabelUnfocused" for="TmdbApiKey">TMDB API key</label>
|
<label class="inputLabel inputLabelUnfocused" for="TmdbApiKey">TMDB API key or Read Access Token</label>
|
||||||
<input is="emby-input" type="password" id="TmdbApiKey" autocomplete="off" />
|
<input is="emby-input" type="password" id="TmdbApiKey" autocomplete="off" />
|
||||||
<div class="fieldDescription">
|
<div class="fieldDescription">
|
||||||
Create a free key at themoviedb.org. Stored server-side only; never sent to browsers by plugin APIs.
|
From <a is="emby-linkbutton" class="button-link" href="https://www.themoviedb.org/settings/api" target="_blank" rel="noopener">TMDB API settings</a>:
|
||||||
|
paste either the v3 API Key or the API Read Access Token (Bearer).
|
||||||
|
Stored server-side only. Docs: <a is="emby-linkbutton" class="button-link" href="https://developer.themoviedb.org/docs/getting-started" target="_blank" rel="noopener">Getting Started</a>.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<label class="checkboxContainer">
|
<label class="checkboxContainer">
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ using System.Collections.Generic;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Net.Http.Json;
|
using System.Net.Http.Headers;
|
||||||
|
using System.Text.Json;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
@@ -19,6 +20,11 @@ public sealed class TmdbClient
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public const string HttpClientName = "Tmdb";
|
public const string HttpClientName = "Tmdb";
|
||||||
|
|
||||||
|
private static readonly JsonSerializerOptions JsonOptions = new()
|
||||||
|
{
|
||||||
|
PropertyNameCaseInsensitive = true
|
||||||
|
};
|
||||||
|
|
||||||
private readonly IHttpClientFactory _httpClientFactory;
|
private readonly IHttpClientFactory _httpClientFactory;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -42,7 +48,6 @@ public sealed class TmdbClient
|
|||||||
string mediaType,
|
string mediaType,
|
||||||
CancellationToken cancellationToken)
|
CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var apiKey = RequireApiKey();
|
|
||||||
var path = mediaType switch
|
var path = mediaType switch
|
||||||
{
|
{
|
||||||
"movie" => "search/movie",
|
"movie" => "search/movie",
|
||||||
@@ -50,9 +55,9 @@ public sealed class TmdbClient
|
|||||||
_ => "search/multi"
|
_ => "search/multi"
|
||||||
};
|
};
|
||||||
|
|
||||||
var url = $"{path}?api_key={Uri.EscapeDataString(apiKey)}&query={Uri.EscapeDataString(query)}&include_adult=false";
|
var relativeUrl =
|
||||||
var client = _httpClientFactory.CreateClient(HttpClientName);
|
$"{path}?query={Uri.EscapeDataString(query)}&include_adult=false&language=en-US&page=1";
|
||||||
var response = await client.GetFromJsonAsync<TmdbSearchResponse>(url, cancellationToken).ConfigureAwait(false);
|
var response = await GetAsync<TmdbSearchResponse>(relativeUrl, cancellationToken).ConfigureAwait(false);
|
||||||
if (response?.Results is null)
|
if (response?.Results is null)
|
||||||
{
|
{
|
||||||
return [];
|
return [];
|
||||||
@@ -78,13 +83,10 @@ public sealed class TmdbClient
|
|||||||
int tmdbId,
|
int tmdbId,
|
||||||
CancellationToken cancellationToken)
|
CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var apiKey = RequireApiKey();
|
|
||||||
var client = _httpClientFactory.CreateClient(HttpClientName);
|
|
||||||
|
|
||||||
if (mediaType.Equals("movie", StringComparison.OrdinalIgnoreCase))
|
if (mediaType.Equals("movie", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
var movie = await client.GetFromJsonAsync<TmdbMovieDetailResponse>(
|
var movie = await GetAsync<TmdbMovieDetailResponse>(
|
||||||
$"movie/{tmdbId}?api_key={Uri.EscapeDataString(apiKey)}",
|
$"movie/{tmdbId}?language=en-US",
|
||||||
cancellationToken)
|
cancellationToken)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
if (movie is null)
|
if (movie is null)
|
||||||
@@ -105,8 +107,8 @@ public sealed class TmdbClient
|
|||||||
|
|
||||||
if (mediaType.Equals("tv", StringComparison.OrdinalIgnoreCase))
|
if (mediaType.Equals("tv", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
var show = await client.GetFromJsonAsync<TmdbTvDetailResponse>(
|
var show = await GetAsync<TmdbTvDetailResponse>(
|
||||||
$"tv/{tmdbId}?api_key={Uri.EscapeDataString(apiKey)}",
|
$"tv/{tmdbId}?language=en-US",
|
||||||
cancellationToken)
|
cancellationToken)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
if (show is null)
|
if (show is null)
|
||||||
@@ -137,15 +139,76 @@ public sealed class TmdbClient
|
|||||||
throw new ArgumentException("mediaType must be movie or tv.", nameof(mediaType));
|
throw new ArgumentException("mediaType must be movie or tv.", nameof(mediaType));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string RequireApiKey()
|
private async Task<T?> GetAsync<T>(string relativeUrl, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var apiKey = Plugin.Instance?.Configuration.TmdbApiKey?.Trim() ?? string.Empty;
|
var credential = RequireCredential();
|
||||||
if (string.IsNullOrWhiteSpace(apiKey))
|
var client = _httpClientFactory.CreateClient(HttpClientName);
|
||||||
|
var url = credential.UseBearer
|
||||||
|
? relativeUrl
|
||||||
|
: AppendQuery(relativeUrl, "api_key", credential.Value);
|
||||||
|
|
||||||
|
using var request = new HttpRequestMessage(HttpMethod.Get, url);
|
||||||
|
if (credential.UseBearer)
|
||||||
|
{
|
||||||
|
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", credential.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
using var response = await client.SendAsync(request, cancellationToken).ConfigureAwait(false);
|
||||||
|
var body = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false);
|
||||||
|
if (!response.IsSuccessStatusCode)
|
||||||
|
{
|
||||||
|
throw new HttpRequestException(FormatTmdbError(response.StatusCode, body));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (string.IsNullOrWhiteSpace(body))
|
||||||
|
{
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
|
||||||
|
return JsonSerializer.Deserialize<T>(body, JsonOptions);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string FormatTmdbError(System.Net.HttpStatusCode statusCode, string body)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using var document = JsonDocument.Parse(body);
|
||||||
|
if (document.RootElement.TryGetProperty("status_message", out var message)
|
||||||
|
&& message.ValueKind == JsonValueKind.String
|
||||||
|
&& !string.IsNullOrWhiteSpace(message.GetString()))
|
||||||
|
{
|
||||||
|
return $"TMDB {(int)statusCode}: {message.GetString()}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (JsonException)
|
||||||
|
{
|
||||||
|
// Fall through to generic message.
|
||||||
|
}
|
||||||
|
|
||||||
|
return string.IsNullOrWhiteSpace(body)
|
||||||
|
? $"TMDB request failed with status {(int)statusCode}."
|
||||||
|
: $"TMDB {(int)statusCode}: {body}";
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string AppendQuery(string relativeUrl, string key, string value)
|
||||||
|
{
|
||||||
|
var separator = relativeUrl.Contains('?', StringComparison.Ordinal) ? '&' : '?';
|
||||||
|
return $"{relativeUrl}{separator}{key}={Uri.EscapeDataString(value)}";
|
||||||
|
}
|
||||||
|
|
||||||
|
private static TmdbCredential RequireCredential()
|
||||||
|
{
|
||||||
|
var raw = Plugin.Instance?.Configuration.TmdbApiKey?.Trim() ?? string.Empty;
|
||||||
|
if (string.IsNullOrWhiteSpace(raw))
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("TMDB API key is not configured.");
|
throw new InvalidOperationException("TMDB API key is not configured.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return apiKey;
|
// TMDB v3 accepts api_key query auth or the API Read Access Token as Bearer.
|
||||||
|
// https://developer.themoviedb.org/docs/authentication-application
|
||||||
|
var useBearer = raw.StartsWith("eyJ", StringComparison.Ordinal)
|
||||||
|
|| (raw.Contains('.', StringComparison.Ordinal) && raw.Length > 40);
|
||||||
|
return new TmdbCredential(raw, useBearer);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static TmdbSearchItem? MapSearchResult(TmdbRawResult result, string requestedType)
|
private static TmdbSearchItem? MapSearchResult(TmdbRawResult result, string requestedType)
|
||||||
@@ -159,7 +222,9 @@ public sealed class TmdbClient
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var title = type == "movie" ? result.Title : result.Name;
|
var title = type == "movie"
|
||||||
|
? result.Title ?? result.Name
|
||||||
|
: result.Name ?? result.Title;
|
||||||
if (string.IsNullOrWhiteSpace(title))
|
if (string.IsNullOrWhiteSpace(title))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
@@ -187,4 +252,6 @@ public sealed class TmdbClient
|
|||||||
? year
|
? year
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private readonly record struct TmdbCredential(string Value, bool UseBearer);
|
||||||
}
|
}
|
||||||
@@ -93,7 +93,21 @@ body.jellyfin-request-standalone {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.req-search-meta {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.req-card-placeholder {
|
||||||
|
aspect-ratio: 2 / 3;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: #000;
|
||||||
|
padding: 0.75rem;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.req-search-row input[type="search"] {
|
.req-search-row input[type="search"] {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<button type="button" class="req-btn primary" data-role="search-btn">Search</button>
|
<button type="button" class="req-btn primary" data-role="search-btn">Search</button>
|
||||||
</div>
|
</div>
|
||||||
|
<p class="req-search-meta req-muted req-hidden" data-role="search-meta"></p>
|
||||||
<div class="req-grid" data-role="results"></div>
|
<div class="req-grid" data-role="results"></div>
|
||||||
<div class="req-detail req-hidden" data-role="detail"></div>
|
<div class="req-detail req-hidden" data-role="detail"></div>
|
||||||
</section>
|
</section>
|
||||||
@@ -135,6 +136,7 @@
|
|||||||
globalMessage: root.querySelector('[data-role="global-message"]'),
|
globalMessage: root.querySelector('[data-role="global-message"]'),
|
||||||
searchInput: root.querySelector('[data-role="search-input"]'),
|
searchInput: root.querySelector('[data-role="search-input"]'),
|
||||||
searchBtn: root.querySelector('[data-role="search-btn"]'),
|
searchBtn: root.querySelector('[data-role="search-btn"]'),
|
||||||
|
searchMeta: root.querySelector('[data-role="search-meta"]'),
|
||||||
results: root.querySelector('[data-role="results"]'),
|
results: root.querySelector('[data-role="results"]'),
|
||||||
detail: root.querySelector('[data-role="detail"]'),
|
detail: root.querySelector('[data-role="detail"]'),
|
||||||
mineList: root.querySelector('[data-role="mine-list"]'),
|
mineList: root.querySelector('[data-role="mine-list"]'),
|
||||||
@@ -198,35 +200,69 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function setSearchMeta(text) {
|
||||||
|
if (!els.searchMeta) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
els.searchMeta.textContent = text || "";
|
||||||
|
els.searchMeta.classList.toggle("req-hidden", !text);
|
||||||
|
}
|
||||||
|
|
||||||
async function runSearch() {
|
async function runSearch() {
|
||||||
const query = els.searchInput.value.trim();
|
const query = els.searchInput.value.trim();
|
||||||
if (!query) {
|
if (!query) {
|
||||||
showMessage("Enter a search query.", true);
|
showMessage("Enter a search query.", true);
|
||||||
|
setSearchMeta("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
showMessage("Searching…");
|
if (state.status && !state.status.isConfigured) {
|
||||||
|
showMessage("TMDB is not configured. Set a TMDB API key or Read Access Token in Dashboard → Plugins → Request.", true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
showMessage("");
|
||||||
|
setSearchMeta(`Searching TMDB for “${query}”…`);
|
||||||
|
els.searchBtn.disabled = true;
|
||||||
els.detail.classList.add("req-hidden");
|
els.detail.classList.add("req-hidden");
|
||||||
els.results.classList.remove("req-hidden");
|
els.results.classList.remove("req-hidden");
|
||||||
|
els.results.innerHTML = "";
|
||||||
try {
|
try {
|
||||||
const results = await api(`/Search?query=${encodeURIComponent(query)}&type=${encodeURIComponent(state.mediaType)}`);
|
const results = await api(`/Search?query=${encodeURIComponent(query)}&type=${encodeURIComponent(state.mediaType)}`);
|
||||||
showMessage(results.length ? "" : "No results found.");
|
const list = Array.isArray(results) ? results : [];
|
||||||
renderResults(results);
|
setSearchMeta(list.length
|
||||||
|
? `Showing ${list.length} result${list.length === 1 ? "" : "s"} for “${query}”`
|
||||||
|
: `No TMDB results for “${query}”`);
|
||||||
|
showMessage(list.length ? "" : "No movies or TV shows matched that search.");
|
||||||
|
renderResults(list);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
setSearchMeta(`Search failed for “${query}”`);
|
||||||
showMessage(error.message, true);
|
showMessage(error.message, true);
|
||||||
els.results.innerHTML = "";
|
els.results.innerHTML = "";
|
||||||
|
} finally {
|
||||||
|
els.searchBtn.disabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderResults(results) {
|
function renderResults(results) {
|
||||||
|
if (!results.length) {
|
||||||
|
els.results.innerHTML = "";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
els.results.innerHTML = results.map((item) => {
|
els.results.innerHTML = results.map((item) => {
|
||||||
const img = item.posterUrl || posterUrl(item.posterPath);
|
const mediaType = item.mediaType || item.MediaType || "";
|
||||||
|
const tmdbId = item.tmdbId ?? item.TmdbId;
|
||||||
|
const title = item.title || item.Title || "Untitled";
|
||||||
|
const year = item.year ?? item.Year;
|
||||||
|
const img = item.posterUrl || item.PosterUrl || posterUrl(item.posterPath || item.PosterPath);
|
||||||
return `
|
return `
|
||||||
<article class="req-card" data-type="${escapeHtml(item.mediaType)}" data-id="${item.tmdbId}">
|
<article class="req-card" data-type="${escapeHtml(mediaType)}" data-id="${escapeHtml(tmdbId)}">
|
||||||
${img ? `<img src="${escapeHtml(img)}" alt="" loading="lazy" />` : `<div class="req-card-body"><p class="req-muted">No poster</p></div>`}
|
${img ? `<img src="${escapeHtml(img)}" alt="${escapeHtml(title)}" loading="lazy" />` : `<div class="req-card-placeholder"><p class="req-muted">No poster</p></div>`}
|
||||||
<div class="req-card-body">
|
<div class="req-card-body">
|
||||||
<p class="req-card-title">${escapeHtml(item.title)}</p>
|
<p class="req-card-title">${escapeHtml(title)}</p>
|
||||||
<p class="req-muted">${escapeHtml(item.mediaType)}${item.year ? ` · ${item.year}` : ""}</p>
|
<p class="req-muted">${escapeHtml(mediaType)}${year ? ` · ${escapeHtml(year)}` : ""}</p>
|
||||||
</div>
|
</div>
|
||||||
</article>`;
|
</article>`;
|
||||||
}).join("");
|
}).join("");
|
||||||
|
|||||||
@@ -24,14 +24,14 @@ https://www.iamparadox.dev/jellyfin/plugins/manifest.json
|
|||||||
```
|
```
|
||||||
|
|
||||||
4. From **Catalog**, install **File Transformation**, then install **Request**, then restart Jellyfin.
|
4. From **Catalog**, install **File Transformation**, then install **Request**, then restart Jellyfin.
|
||||||
5. Configure under **Dashboard → Plugins → Request** (TMDB API key + enable submissions).
|
5. Configure under **Dashboard → Plugins → Request** (TMDB v3 API key or API Read Access Token + enable submissions).
|
||||||
6. Hard-refresh the browser (Ctrl+F5). You should see a **Request** tab next to Home/Favorites that shows the request UI under the same top bar (no full-page navigation).
|
6. Hard-refresh the browser (Ctrl+F5). You should see a **Request** tab next to Home/Favorites that shows the request UI under the same top bar (no full-page navigation).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Jellyfin Server **10.11.x**
|
- Jellyfin Server **10.11.x**
|
||||||
- .NET SDK **9+** to build from source
|
- .NET SDK **9+** to build from source
|
||||||
- A free [TMDB API key](https://www.themoviedb.org/settings/api)
|
- A free [TMDB API key or Read Access Token](https://www.themoviedb.org/settings/api) ([docs](https://developer.themoviedb.org/docs/getting-started))
|
||||||
|
|
||||||
## Build / package a release
|
## Build / package a release
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ Authenticated Jellyfin users call plugin endpoints under `/Requests`:
|
|||||||
| POST | `/Requests/{id}/fulfill` | Admin |
|
| POST | `/Requests/{id}/fulfill` | Admin |
|
||||||
| DELETE | `/Requests/{id}` | Admin, or owner while Pending |
|
| DELETE | `/Requests/{id}` | Admin, or owner while Pending |
|
||||||
|
|
||||||
The TMDB API key stays on the server. Browsers never receive it.
|
The TMDB credential stays on the server. Browsers never receive it.
|
||||||
|
|
||||||
## Data storage
|
## Data storage
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: "Request"
|
name: "Request"
|
||||||
guid: "11c08950-c4bb-484d-89ff-205b3724416b"
|
guid: "11c08950-c4bb-484d-89ff-205b3724416b"
|
||||||
version: "1.0.0.4"
|
version: "1.0.0.5"
|
||||||
targetAbi: "10.11.11.0"
|
targetAbi: "10.11.11.0"
|
||||||
framework: "net9.0"
|
framework: "net9.0"
|
||||||
overview: "Request movies and TV shows from a local admin review queue"
|
overview: "Request movies and TV shows from a local admin review queue"
|
||||||
|
|||||||
+5
-5
@@ -9,12 +9,12 @@
|
|||||||
"repositoryUrl": "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies",
|
"repositoryUrl": "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies",
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
{
|
||||||
"version": "1.0.0.4",
|
"version": "1.0.0.5",
|
||||||
"changelog": "Fix blank Request tab by syncing panel visibility and blocking Jellyfin HomeView tab handlers",
|
"changelog": "TMDB search: support API key or Read Access Token, clearer results and errors",
|
||||||
"targetAbi": "10.11.11.0",
|
"targetAbi": "10.11.11.0",
|
||||||
"sourceUrl": "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main/release/Jellyfin.Plugin.Request_1.0.0.4.zip",
|
"sourceUrl": "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main/release/Jellyfin.Plugin.Request_1.0.0.5.zip",
|
||||||
"checksum": "5A31B38274F40F3AF3DE0240D2319C1E",
|
"checksum": "0CDC1AF943448041BED74990E53174A8",
|
||||||
"timestamp": "2026-08-02T21:03:57.4534409Z",
|
"timestamp": "2026-08-02T21:05:32.0804687Z",
|
||||||
"dependencies": []
|
"dependencies": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
param(
|
param(
|
||||||
[string]$Version = "1.0.0.4",
|
[string]$Version = "1.0.0.5",
|
||||||
[string]$TargetAbi = "10.11.11.0",
|
[string]$TargetAbi = "10.11.11.0",
|
||||||
[string]$RepoRawBase = "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main"
|
[string]$RepoRawBase = "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main"
|
||||||
)
|
)
|
||||||
@@ -17,7 +17,7 @@ $dllPath = Join-Path $root "Jellyfin.Plugin.Request\bin\Release\net9.0\Jellyfin.
|
|||||||
$zipPath = Join-Path $releaseDir $zipFileName
|
$zipPath = Join-Path $releaseDir $zipFileName
|
||||||
$manifestPath = Join-Path $root "manifest.json"
|
$manifestPath = Join-Path $root "manifest.json"
|
||||||
$timestamp = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ")
|
$timestamp = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ")
|
||||||
$changelog = "Fix blank Request tab by syncing panel visibility and blocking Jellyfin HomeView tab handlers"
|
$changelog = "TMDB search: support API key or Read Access Token, clearer results and errors"
|
||||||
|
|
||||||
Write-Host "Building plugin..."
|
Write-Host "Building plugin..."
|
||||||
dotnet build (Join-Path $root "Jellyfin.Plugin.Request.sln") -c Release
|
dotnet build (Join-Path $root "Jellyfin.Plugin.Request.sln") -c Release
|
||||||
|
|||||||
Reference in new issue
Block a user