11 Commits
Author SHA1 Message Date
dtourolleandClaude Opus 5 c67005bd8f Add Jellyfin 12.0 build target alongside 10.9
🏗️ Build Plugin / build (push) Successful in 2m9s
🚀 Release Plugin / build-and-release (push) Successful in 1m33s
The plugin now multi-targets net8.0 (Jellyfin 10.9, ABI 10.9.0.0) and net10.0
(Jellyfin 12.0, ABI 12.0.0.0) from one source tree, and each release ships both
packages.

TaskTriggerInfo.Type became a TaskTriggerInfoType enum in 12.0, which is the
only source-level break; it is handled with a NET10_0_OR_GREATER switch. CA1873
is disabled in the ruleset alongside CA1848, which it supersedes.

build.yaml stays the 10.9 config and the 12.0 one is derived from it at build
time, so the two cannot drift apart. Both manifest entries are prepended per
release with the 12.0 one first: Jellyfin keeps entries whose targetAbi is <=
the server version and takes the first of the highest version, so a 12.0 server
picks the 12.0 build while a 10.9 server never sees it.

The builder image now carries the .NET 10 SDK with the .NET 8 SDK alongside it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-08 18:51:45 +02:00
Gitea Actions 361028574e Update manifest.json for version 1.0.10 2026-01-11 09:06:37 +00:00
dtourolle c81845c338 remove un-need test workflow
🏗️ Build Plugin / build (push) Successful in 1m33s
🚀 Release Plugin / build-and-release (push) Successful in 1m38s
2026-01-11 10:03:25 +01:00
Gitea Actions 0348cb3d09 Update manifest.json for version 1.0.9 2026-01-11 09:02:21 +00:00
dtourolle a3ba704882 ymf
🧪 Test Plugin / test (push) Failing after 3m8s
🏗️ Build Plugin / build (push) Successful in 44s
🚀 Release Plugin / build-and-release (push) Successful in 1m38s
2026-01-11 09:56:44 +01:00
dtourolle 77bbc87a1a ymf
🏗️ Build Plugin / build (push) Successful in 39s
🧪 Test Plugin / test (push) Successful in 1m5s
🚀 Release Plugin / build-and-release (push) Failing after 45s
2026-01-11 09:52:11 +01:00
dtourolle d4842c2361 fixing new build system
🏗️ Build Plugin / build (push) Successful in 48s
🧪 Test Plugin / test (push) Successful in 1m4s
🚀 Release Plugin / build-and-release (push) Failing after 46s
2026-01-11 09:43:51 +01:00
dtourolle 67619a4f56 impoving build system
🏗️ Build Plugin / build (push) Successful in 57s
🧪 Test Plugin / test (push) Successful in 1m12s
🚀 Release Plugin / build-and-release (push) Failing after 39s
2026-01-11 09:40:18 +01:00
dtourolle cdf53c5288 Add docker to simplify build
🧪 Test Plugin / test (push) Successful in 1m10s
🏗️ Build Plugin / build (push) Failing after 20m0s
🚀 Release Plugin / build-and-release (push) Failing after 2m46s
2026-01-10 21:01:28 +01:00
Gitea Actions 6be05158d0 Update manifest.json for version 1.0.4 2026-01-10 18:48:09 +00:00
dtourolle 4f3af0db69 clean up CI job
🧪 Test Plugin / test (push) Successful in 1m2s
🚀 Release Plugin / build-and-release (push) Successful in 2m6s
🏗️ Build Plugin / build (push) Successful in 1m59s
2026-01-10 19:43:41 +01:00
10 changed files with 219 additions and 138 deletions
+41 -20
View File
@@ -15,15 +15,14 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
container:
image: gitea.tourolle.paris/dtourolle/jellypod-builder:latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Verify .NET installation
run: dotnet --version
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.Jellypod.sln run: dotnet restore Jellyfin.Plugin.Jellypod.sln
@@ -33,29 +32,51 @@ jobs:
- name: Run tests - name: Run tests
run: dotnet test Jellyfin.Plugin.Jellypod.sln --no-build --configuration Release --verbosity normal run: dotnet test Jellyfin.Plugin.Jellypod.sln --no-build --configuration Release --verbosity normal
- name: Install JPRM - name: Build plugin for Jellyfin 10.9 (net8.0)
id: jprm_jf109
run: | run: |
python3 -m venv /tmp/jprm-venv mkdir -p ./artifacts/jf10.9
/tmp/jprm-venv/bin/pip install jprm jprm --verbosity=debug plugin build . --output ./artifacts/jf10.9
- name: Build Jellyfin Plugin ARTIFACT=$(find ./artifacts/jf10.9 -name "*.zip" -type f -print -quit)
id: jprm RENAMED="./artifacts/jf10.9/$(basename "${ARTIFACT}" .zip)_jf10.9.zip"
mv "${ARTIFACT}" "${RENAMED}"
echo "artifact=${RENAMED}" >> $GITHUB_OUTPUT
echo "Found artifact: ${RENAMED}"
- name: Retarget build config at Jellyfin 12.0 (net10.0)
run: | run: |
# Create artifacts directory for JPRM output sed -i \
mkdir -p artifacts -e 's/^targetAbi:.*/targetAbi: "12.0.0.0"/' \
-e 's/^framework:.*/framework: "net10.0"/' \
-e 's/^dotnet_framework:.*/dotnet_framework: "net10.0"/' \
build.yaml
cat build.yaml
# Build plugin using JPRM - name: Build plugin for Jellyfin 12.0 (net10.0)
/tmp/jprm-venv/bin/jprm --verbosity=debug plugin build . id: jprm_jf12
run: |
mkdir -p ./artifacts/jf12
jprm --verbosity=debug plugin build . --output ./artifacts/jf12
# Find the generated zip file ARTIFACT=$(find ./artifacts/jf12 -name "*.zip" -type f -print -quit)
ARTIFACT=$(find . -name "*.zip" -type f -print -quit) RENAMED="./artifacts/jf12/$(basename "${ARTIFACT}" .zip)_jf12.zip"
echo "artifact=${ARTIFACT}" >> $GITHUB_OUTPUT mv "${ARTIFACT}" "${RENAMED}"
echo "Found artifact: ${ARTIFACT}" echo "artifact=${RENAMED}" >> $GITHUB_OUTPUT
echo "Found artifact: ${RENAMED}"
- name: Upload build artifact - name: Upload build artifact (Jellyfin 10.9)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: jellypod-plugin name: jellypod-plugin-jf10.9
path: ${{ steps.jprm.outputs.artifact }} path: ${{ steps.jprm_jf109.outputs.artifact }}
retention-days: 30
if-no-files-found: error
- name: Upload build artifact (Jellyfin 12.0)
uses: actions/upload-artifact@v3
with:
name: jellypod-plugin-jf12
path: ${{ steps.jprm_jf12.outputs.artifact }}
retention-days: 30 retention-days: 30
if-no-files-found: error if-no-files-found: error
+74 -68
View File
@@ -13,15 +13,14 @@ on:
jobs: jobs:
build-and-release: build-and-release:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
container:
image: gitea.tourolle.paris/dtourolle/jellypod-builder:latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Verify .NET installation
run: dotnet --version
- name: Get version - name: Get version
id: get_version id: get_version
run: | run: |
@@ -40,6 +39,17 @@ jobs:
sed -i "s/^version:.*/version: \"${VERSION}\"/" build.yaml sed -i "s/^version:.*/version: \"${VERSION}\"/" build.yaml
cat build.yaml cat build.yaml
- name: Generate Jellyfin 12.0 build config
run: |
# build.yaml is the Jellyfin 10.9 (net8.0) config; derive the
# Jellyfin 12.0 (net10.0) one from it so the two cannot drift apart.
sed \
-e 's/^targetAbi:.*/targetAbi: "12.0.0.0"/' \
-e 's/^framework:.*/framework: "net10.0"/' \
-e 's/^dotnet_framework:.*/dotnet_framework: "net10.0"/' \
build.yaml > build.jf12.yaml
cat build.jf12.yaml
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.Jellypod.sln run: dotnet restore Jellyfin.Plugin.Jellypod.sln
@@ -49,33 +59,39 @@ jobs:
- name: Run tests - name: Run tests
run: dotnet test Jellyfin.Plugin.Jellypod.sln --no-build --configuration Release --verbosity normal run: dotnet test Jellyfin.Plugin.Jellypod.sln --no-build --configuration Release --verbosity normal
- name: Install JPRM - name: Build plugin for Jellyfin 10.9 (net8.0)
id: jprm_jf109
run: | run: |
python3 -m venv /tmp/jprm-venv mkdir -p ./artifacts/jf10.9
/tmp/jprm-venv/bin/pip install jprm jprm --verbosity=debug plugin build . --output ./artifacts/jf10.9
- name: Build Jellyfin Plugin ARTIFACT=$(find ./artifacts/jf10.9 -name "*.zip" -type f -print -quit)
id: jprm RENAMED="./artifacts/jf10.9/$(basename "${ARTIFACT}" .zip)_jf10.9.zip"
mv "${ARTIFACT}" "${RENAMED}"
echo "artifact=${RENAMED}" >> $GITHUB_OUTPUT
echo "artifact_name=$(basename "${RENAMED}")" >> $GITHUB_OUTPUT
echo "checksum=$(md5sum "${RENAMED}" | awk '{print $1}')" >> $GITHUB_OUTPUT
echo "Found artifact: ${RENAMED}"
- name: Build plugin for Jellyfin 12.0 (net10.0)
id: jprm_jf12
run: | run: |
# Create artifacts directory for JPRM output # jprm always reads build.yaml, so swap the 12.0 config in for this build.
mkdir -p artifacts cp build.yaml build.jf10.9.yaml
cp build.jf12.yaml build.yaml
# Build plugin using JPRM mkdir -p ./artifacts/jf12
/tmp/jprm-venv/bin/jprm --verbosity=debug plugin build ./ jprm --verbosity=debug plugin build . --output ./artifacts/jf12
# Find the generated zip file mv build.jf10.9.yaml build.yaml
ARTIFACT=$(find . -name "*.zip" -type f -print -quit)
ARTIFACT_NAME=$(basename "${ARTIFACT}")
echo "artifact=${ARTIFACT}" >> $GITHUB_OUTPUT
echo "artifact_name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT
echo "Found artifact: ${ARTIFACT}"
- name: Calculate checksum ARTIFACT=$(find ./artifacts/jf12 -name "*.zip" -type f -print -quit)
id: checksum RENAMED="./artifacts/jf12/$(basename "${ARTIFACT}" .zip)_jf12.zip"
run: | mv "${ARTIFACT}" "${RENAMED}"
CHECKSUM=$(md5sum "${{ steps.jprm.outputs.artifact }}" | awk '{print $1}') echo "artifact=${RENAMED}" >> $GITHUB_OUTPUT
echo "checksum=${CHECKSUM}" >> $GITHUB_OUTPUT echo "artifact_name=$(basename "${RENAMED}")" >> $GITHUB_OUTPUT
echo "MD5 Checksum: ${CHECKSUM}" echo "checksum=$(md5sum "${RENAMED}" | awk '{print $1}')" >> $GITHUB_OUTPUT
echo "Found artifact: ${RENAMED}"
- name: Create Release - name: Create Release
id: create_release id: create_release
@@ -87,22 +103,13 @@ jobs:
REPO_NAME="${{ github.event.repository.name }}" REPO_NAME="${{ github.event.repository.name }}"
GITEA_URL="${{ github.server_url }}" GITEA_URL="${{ github.server_url }}"
# Prepare release body
RELEASE_BODY="Jellypod Jellyfin Plugin ${{ steps.get_version.outputs.version }}\n\nSee attached files for plugin installation.\n\nTo install, add this repository URL to Jellyfin:\n\`${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/raw/branch/master/manifest.json\`"
RELEASE_BODY_JSON=$(echo -n "${RELEASE_BODY}" | jq -Rs .)
# Create release using Gitea API # Create release using Gitea API
VERSION="${{ steps.get_version.outputs.version }}"
RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
"${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/releases" \ "${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/releases" \
-d "{ -d "$(jq -n --arg tag "$VERSION" --arg name "Release $VERSION" --arg body "Jellypod Jellyfin Plugin. Install the _jf10.9 build on Jellyfin 10.9.x and the _jf12 build on Jellyfin 12.0 or newer." '{tag_name: $tag, name: $name, body: $body, draft: false, prerelease: false}')")
\"tag_name\": \"${{ steps.get_version.outputs.version }}\",
\"name\": \"Release ${{ steps.get_version.outputs.version }}\",
\"body\": ${RELEASE_BODY_JSON},
\"draft\": false,
\"prerelease\": false
}")
HTTP_CODE=$(echo "$RESPONSE" | tail -n1) HTTP_CODE=$(echo "$RESPONSE" | tail -n1)
BODY=$(echo "$RESPONSE" | sed '$d') BODY=$(echo "$RESPONSE" | sed '$d')
@@ -117,21 +124,19 @@ jobs:
exit 1 exit 1
fi fi
# Upload plugin artifact upload_asset() {
echo "Uploading plugin artifact..." echo "Uploading $2 ..."
curl -f -X POST \ curl -f -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/zip" \ -H "Content-Type: $3" \
--data-binary "@${{ steps.jprm.outputs.artifact }}" \ --data-binary "@$1" \
"${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/releases/${RELEASE_ID}/assets?name=${{ steps.jprm.outputs.artifact_name }}" "${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/releases/${RELEASE_ID}/assets?name=$2"
}
# Upload build.yaml upload_asset "${{ steps.jprm_jf109.outputs.artifact }}" "${{ steps.jprm_jf109.outputs.artifact_name }}" "application/zip"
echo "Uploading build.yaml..." upload_asset "${{ steps.jprm_jf12.outputs.artifact }}" "${{ steps.jprm_jf12.outputs.artifact_name }}" "application/zip"
curl -f -X POST \ upload_asset build.yaml build.yaml "application/x-yaml"
-H "Authorization: token ${GITEA_TOKEN}" \ upload_asset build.jf12.yaml build.jf12.yaml "application/x-yaml"
-H "Content-Type: application/x-yaml" \
--data-binary "@build.yaml" \
"${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/releases/${RELEASE_ID}/assets?name=build.yaml"
echo "Release created successfully!" echo "Release created successfully!"
echo "View at: ${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/releases/tag/${{ steps.get_version.outputs.version }}" echo "View at: ${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/releases/tag/${{ steps.get_version.outputs.version }}"
@@ -144,10 +149,8 @@ jobs:
REPO_NAME="${{ github.event.repository.name }}" REPO_NAME="${{ github.event.repository.name }}"
GITEA_URL="${{ github.server_url }}" GITEA_URL="${{ github.server_url }}"
VERSION="${{ steps.get_version.outputs.version_number }}" VERSION="${{ steps.get_version.outputs.version_number }}"
CHECKSUM="${{ steps.checksum.outputs.checksum }}"
ARTIFACT_NAME="${{ steps.jprm.outputs.artifact_name }}"
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ") TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
DOWNLOAD_URL="${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/releases/download/${{ steps.get_version.outputs.version }}/${ARTIFACT_NAME}" RELEASE_URL="${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/releases/download/${{ steps.get_version.outputs.version }}"
# Configure git # Configure git
git config user.name "Gitea Actions" git config user.name "Gitea Actions"
@@ -157,21 +160,24 @@ jobs:
git fetch origin master git fetch origin master
git checkout master git checkout master
# Create new version entry # Prepend both ABI entries for this version. Jellyfin keeps only the
NEW_VERSION=$(cat <<EOF # entries whose targetAbi is <= the server version and then takes the
{ # first of the highest version, so the 12.0 entry must come first: a
"version": "${VERSION}", # 12.0 server sees both and picks it, a 10.9 server never sees it.
"changelog": "Release ${VERSION}", jq --arg ver "${VERSION}" \
"targetAbi": "10.9.0.0", --arg changelog "Release ${VERSION}" \
"sourceUrl": "${DOWNLOAD_URL}", --arg abi12 "12.0.0.0" \
"checksum": "${CHECKSUM}", --arg url12 "${RELEASE_URL}/${{ steps.jprm_jf12.outputs.artifact_name }}" \
"timestamp": "${TIMESTAMP}" --arg checksum12 "${{ steps.jprm_jf12.outputs.checksum }}" \
} --arg abi109 "10.9.0.0" \
EOF --arg url109 "${RELEASE_URL}/${{ steps.jprm_jf109.outputs.artifact_name }}" \
) --arg checksum109 "${{ steps.jprm_jf109.outputs.checksum }}" \
--arg ts "${TIMESTAMP}" \
# Update manifest.json - prepend new version to versions array '.[0].versions = [
jq --argjson newver "${NEW_VERSION}" '.[0].versions = [$newver] + .[0].versions' manifest.json > manifest.tmp && mv manifest.tmp manifest.json {version: $ver, changelog: $changelog, targetAbi: $abi12, sourceUrl: $url12, checksum: $checksum12, timestamp: $ts},
{version: $ver, changelog: $changelog, targetAbi: $abi109, sourceUrl: $url109, checksum: $checksum109, timestamp: $ts}
] + .[0].versions' \
manifest.json > manifest.tmp && mv manifest.tmp manifest.json
# Commit and push # Commit and push
git add manifest.json git add manifest.json
-44
View File
@@ -1,44 +0,0 @@
name: '🧪 Test Plugin'
on:
push:
branches:
- master
- develop
paths-ignore:
- '**/*.md'
pull_request:
branches:
- master
- develop
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Verify .NET installation
run: dotnet --version
- name: Restore dependencies
run: dotnet restore Jellyfin.Plugin.Jellypod.sln
- name: Build solution
run: dotnet build Jellyfin.Plugin.Jellypod.sln --configuration Debug --no-restore --no-self-contained
- name: Run tests
run: dotnet test Jellyfin.Plugin.Jellypod.sln --no-build --configuration Debug --verbosity normal --logger "trx;LogFileName=test-results.trx"
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: '**/test-results.trx'
retention-days: 7
+1
View File
@@ -3,3 +3,4 @@ obj/
.vs/ .vs/
.idea/ .idea/
artifacts artifacts
build.jf12.yaml
+22
View File
@@ -0,0 +1,22 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0
# Install Python, Node.js, and tools
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
jq \
git \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*
# The .NET 10 SDK builds the net10.0 (Jellyfin 12.0) target; the .NET 8 SDK is
# needed alongside it for the net8.0 (Jellyfin 10.9) target.
RUN curl -sSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh \
&& bash /tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet --no-path \
&& rm /tmp/dotnet-install.sh
# Install JPRM
RUN pip install --break-system-packages jprm
WORKDIR /src
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<RootNamespace>Jellyfin.Plugin.Jellypod</RootNamespace> <RootNamespace>Jellyfin.Plugin.Jellypod</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -11,7 +11,8 @@
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <!-- Jellyfin 10.9 (net8.0) -->
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Jellyfin.Controller" Version="10.9.11"> <PackageReference Include="Jellyfin.Controller" Version="10.9.11">
<ExcludeAssets>runtime</ExcludeAssets> <ExcludeAssets>runtime</ExcludeAssets>
</PackageReference> </PackageReference>
@@ -22,6 +23,18 @@
<PackageReference Include="System.ServiceModel.Syndication" Version="8.0.0" /> <PackageReference Include="System.ServiceModel.Syndication" Version="8.0.0" />
</ItemGroup> </ItemGroup>
<!-- Jellyfin 12.0 (net10.0) -->
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="Jellyfin.Controller" Version="12.0.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Jellyfin.Model" Version="12.0.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.11" />
<PackageReference Include="System.ServiceModel.Syndication" Version="10.0.11" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" /> <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="All" /> <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="All" />
@@ -150,7 +150,11 @@ public class PodcastUpdateTask : IScheduledTask
{ {
new TaskTriggerInfo new TaskTriggerInfo
{ {
#if NET10_0_OR_GREATER
Type = TaskTriggerInfoType.IntervalTrigger,
#else
Type = TaskTriggerInfo.TriggerInterval, Type = TaskTriggerInfo.TriggerInterval,
#endif
IntervalTicks = TimeSpan.FromHours(intervalHours).Ticks IntervalTicks = TimeSpan.FromHours(intervalHours).Ticks
} }
}; };
+36 -4
View File
@@ -10,6 +10,19 @@ Add this repository URL in Jellyfin (Dashboard → Plugins → Repositories):
https://gitea.tourolle.paris/dtourolle/jellypod/raw/branch/master/manifest.json https://gitea.tourolle.paris/dtourolle/jellypod/raw/branch/master/manifest.json
``` ```
## Supported Jellyfin Versions
Jellypod is released as two builds from the same source. The repository manifest
lists both, and Jellyfin picks the right one for your server automatically:
| Jellyfin server | Build | Target framework |
| --------------- | -------------- | ---------------- |
| 10.9.x | `*_jf10.9.zip` | .NET 8 |
| 12.0 and newer | `*_jf12.zip` | .NET 10 |
If you install manually, download the build matching your server — a build
installed on the wrong server will fail to load.
## Features ## Features
- Browse and subscribe to podcasts - Browse and subscribe to podcasts
@@ -92,7 +105,9 @@ ffmpeg -i "$INPUT" -c:a aac -b:a 128k "$OUTPUT"
### Manual Installation ### Manual Installation
1. Download the latest release from [Releases](https://gitea.tourolle.paris/dtourolle/jellypod/releases) 1. Download the latest release from [Releases](https://gitea.tourolle.paris/dtourolle/jellypod/releases),
picking `jellypod_<version>_jf10.9.zip` for Jellyfin 10.9.x or
`jellypod_<version>_jf12.zip` for Jellyfin 12.0 and newer
2. Extract the contents to your Jellyfin plugins directory: 2. Extract the contents to your Jellyfin plugins directory:
- **Linux**: `~/.local/share/jellyfin/plugins/Jellypod/` - **Linux**: `~/.local/share/jellyfin/plugins/Jellypod/`
- **Windows**: `%LOCALAPPDATA%\jellyfin\plugins\Jellypod\` - **Windows**: `%LOCALAPPDATA%\jellyfin\plugins\Jellypod\`
@@ -103,15 +118,32 @@ ffmpeg -i "$INPUT" -c:a aac -b:a 128k "$OUTPUT"
#### Requirements #### Requirements
- [.NET SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) - [.NET SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) for the Jellyfin 10.9 build
- [.NET SDK 10.0](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) for the Jellyfin 12.0 build
#### Build #### Build
```bash ```bash
dotnet build dotnet build # both targets
dotnet build -f net8.0 # Jellyfin 10.9 only
dotnet build -f net10.0 # Jellyfin 12.0 only
``` ```
The plugin DLL will be in `Jellyfin.Plugin.Jellypod/bin/Debug/net8.0/`. The plugin DLL will be in `Jellyfin.Plugin.Jellypod/bin/Debug/net8.0/` or
`Jellyfin.Plugin.Jellypod/bin/Debug/net10.0/`.
#### Packaging
`build.yaml` is the [jprm](https://github.com/oddstr13/jellyfin-plugin-repository-manager)
config for the Jellyfin 10.9 build. The Jellyfin 12.0 config is derived from it
at release time, so the two cannot drift apart:
```bash
sed -e 's/^targetAbi:.*/targetAbi: "12.0.0.0"/' \
-e 's/^framework:.*/framework: "net10.0"/' \
-e 's/^dotnet_framework:.*/dotnet_framework: "net10.0"/' \
build.yaml > build.jf12.yaml
```
## Development ## Development
+2
View File
@@ -100,6 +100,8 @@
<Rule Id="CA1308" Action="None" /> <Rule Id="CA1308" Action="None" />
<!-- disable warning CA1848: Use the LoggerMessage delegates --> <!-- disable warning CA1848: Use the LoggerMessage delegates -->
<Rule Id="CA1848" Action="None" /> <Rule Id="CA1848" Action="None" />
<!-- disable warning CA1873: Avoid potentially expensive logging -->
<Rule Id="CA1873" Action="None" />
<!-- disable warning CA2101: Specify marshaling for P/Invoke string arguments --> <!-- disable warning CA2101: Specify marshaling for P/Invoke string arguments -->
<Rule Id="CA2101" Action="None" /> <Rule Id="CA2101" Action="None" />
<!-- disable warning CA2234: Pass System.Uri objects instead of strings --> <!-- disable warning CA2234: Pass System.Uri objects instead of strings -->
+24
View File
@@ -8,6 +8,30 @@
"category": "General", "category": "General",
"imageUrl": "https://gitea.tourolle.paris/dtourolle/jellypod/raw/branch/master/Jellyfin.Plugin.Jellypod/Images/channel-icon.jpg", "imageUrl": "https://gitea.tourolle.paris/dtourolle/jellypod/raw/branch/master/Jellyfin.Plugin.Jellypod/Images/channel-icon.jpg",
"versions": [ "versions": [
{
"version": "1.0.10",
"changelog": "Release 1.0.10",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://gitea.tourolle.paris/dtourolle/jellypod/releases/download/v1.0.10/jellypod_1.0.10.0.zip",
"checksum": "37509ee316e5731b7dcfef394099ac53",
"timestamp": "2026-01-11T09:06:37Z"
},
{
"version": "1.0.9",
"changelog": "Release 1.0.9",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://gitea.tourolle.paris/dtourolle/jellypod/releases/download/v1.0.9/jellypod_1.0.9.0.zip",
"checksum": "f1f4ade3fc5483118d1171e636b67007",
"timestamp": "2026-01-11T09:02:21Z"
},
{
"version": "1.0.4",
"changelog": "Release 1.0.4",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://gitea.tourolle.paris/dtourolle/jellypod/releases/download/v1.0.4/jellypod_1.0.4.0.zip",
"checksum": "0e0c134e6584581a8498cb17dfda334b",
"timestamp": "2026-01-10T18:48:08Z"
},
{ {
"version": "1.0.2", "version": "1.0.2",
"changelog": "Release 1.0.2", "changelog": "Release 1.0.2",