Merge branch 'master' of github.com:tubearchivist/tubearchivist-jf-plugin into dev
This commit is contained in:
@@ -0,0 +1,76 @@
|
|||||||
|
name: TubeArchivistMetadata Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Build & Release
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Get release version
|
||||||
|
id: newtag
|
||||||
|
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||||
|
|
||||||
|
- name: Setup .Net
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: 6.0.x
|
||||||
|
|
||||||
|
- name: Get version number only
|
||||||
|
run: |
|
||||||
|
TAG=${{ steps.newtag.outputs.tag }}
|
||||||
|
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Generate release message
|
||||||
|
run: |
|
||||||
|
# Read the YAML file and extract the value of the 'changelog' field
|
||||||
|
changelog=$(awk '/changelog:/ {flag=1; next} /^[^ ]/ {flag=0} flag' build.yaml | awk '{$1=$1};1')
|
||||||
|
|
||||||
|
# Check if changelog contains multiple lines
|
||||||
|
if [[ $(echo "$changelog" | wc -l) -gt 1 ]]; then
|
||||||
|
changelog=$(echo "$changelog" | sed 's/^/* /')
|
||||||
|
else
|
||||||
|
changelog="* $changelog"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create release-changelog.md
|
||||||
|
echo "Changelog:" > release-changelog.md
|
||||||
|
echo "$changelog" >> release-changelog.md
|
||||||
|
|
||||||
|
|
||||||
|
- name: Build Jellyfin Plugin
|
||||||
|
uses: oddstr13/jellyfin-plugin-repository-manager@843260fcdfda7cba229c5abd77bdd9c6fc4e850b # v1.1.0
|
||||||
|
id: jprm
|
||||||
|
with:
|
||||||
|
dotnet-target: net6.0
|
||||||
|
version: ${VERSION}
|
||||||
|
|
||||||
|
- name: Create release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
artifacts: ${{ steps.jprm.outputs.artifact }}
|
||||||
|
makeLatest: latest
|
||||||
|
bodyFile: release-changelog.md
|
||||||
|
tag: ${{ steps.newtag.outputs.tag }}
|
||||||
|
allowUpdates: true
|
||||||
|
|
||||||
|
- name: Update manifest.json
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: master
|
||||||
|
commit_message: "Update manifest.json"
|
||||||
|
file_pattern: manifest.json
|
||||||
|
skip_fetch: true
|
||||||
@@ -30,11 +30,11 @@ The plugin interacts with TubeArchivist APIs to fetch videos and channels metada
|
|||||||
|
|
||||||
3. Go to the `Catalog` tab
|
3. Go to the `Catalog` tab
|
||||||
4. Find `TubeArchivistMetadata` in the `Metadata` section and install it
|
4. Find `TubeArchivistMetadata` in the `Metadata` section and install it
|
||||||

|

|
||||||
5. Restart Jellyfin to apply the changes
|
5. Restart Jellyfin to apply the changes
|
||||||
|
|
||||||
### From ZIP in GitHub releases
|
### From ZIP in GitHub releases
|
||||||
1. Download the latest available release (`TubeArchivistMetadata-*.zip`) from the repository releases section
|
1. Download the latest available release (`tubearchivistmetadata_*.zip`) from the repository releases section
|
||||||
2. Extract the contained files in the `plugins/TubeArchivistMetadata` folder (you might need to create the folders) of your Jellyfin installation
|
2. Extract the contained files in the `plugins/TubeArchivistMetadata` folder (you might need to create the folders) of your Jellyfin installation
|
||||||
3. Restart Jellyfin to apply the changes
|
3. Restart Jellyfin to apply the changes
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.0.31903.59
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Plugin.TubeArchivistMetadata", "Jellyfin.Plugin.TubeArchivistMetadata\Jellyfin.Plugin.TubeArchivistMetadata.csproj", "{7A112ACB-79E8-4FC9-BCF6-B3AC849DA2D4}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{7A112ACB-79E8-4FC9-BCF6-B3AC849DA2D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7A112ACB-79E8-4FC9-BCF6-B3AC849DA2D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7A112ACB-79E8-4FC9-BCF6-B3AC849DA2D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7A112ACB-79E8-4FC9-BCF6-B3AC849DA2D4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: "TubeArchivistMetadata"
|
name: "TubeArchivistMetadata"
|
||||||
guid: "dc97d0c6-28b0-4242-afb4-5833ae1b3715"
|
guid: "dc97d0c6-28b0-4242-afb4-5833ae1b3715"
|
||||||
|
imageUrl: https://raw.githubusercontent.com/tubearchivist/tubearchivist-jf-plugin/master/images/logo.png
|
||||||
version: "1.2.3.0"
|
version: "1.2.3.0"
|
||||||
targetAbi: "10.8.0.0"
|
targetAbi: "10.8.0.0"
|
||||||
framework: "net6.0"
|
framework: "net6.0"
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
"category": "Metadata",
|
"category": "Metadata",
|
||||||
"guid": "dc97d0c6-28b0-4242-afb4-5833ae1b3715",
|
"guid": "dc97d0c6-28b0-4242-afb4-5833ae1b3715",
|
||||||
"name": "TubeArchivistMetadata",
|
"name": "TubeArchivistMetadata",
|
||||||
"description": "A new and fully integrated way to manage metadata and organize your TubeArchivist library videos on Jellyfin.",
|
"description": "TubeArchivistMetadata is a plugin that automatically manages metadata for videos downloaded with TubeArchivist from YouTube.\n",
|
||||||
"owner": "DarkFighterLuke",
|
"owner": "DarkFighterLuke",
|
||||||
"overview": "Metadata for your TubeArchivist library on Jellyfin",
|
"overview": "Metadata for your TubeArchivist library on Jellyfin",
|
||||||
"imageUrl": "https://raw.githubusercontent.com/tubearchivist/tubearchivist-jf-plugin/master/images/logo.png",
|
"imageUrl": "https://raw.githubusercontent.com/tubearchivist/tubearchivist-jf-plugin/master/images/logo.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user