fix: use Gitea git archive URLs in README (no release dependency)
Release Plugins / Package & Release (push) Failing after 12s

This commit is contained in:
PickleRick committed 2026-09-19 14:03:56 +02:00
1 parent 55a9fc9716
commit 778d6e51ed
1 file changed
+56 -20
+56 -20
View File
@@ -8,18 +8,23 @@ A collection of [Tdarr](https://tdarr.io/) Flow plugins for automated media tran
## ⚡ Quick Install via curl ## ⚡ Quick Install via curl
> **How it works**: Gitea serves a real ZIP of any branch at `/archive/<branch>.zip`.
> This is a built-in git archive — **no release workflow required**, always up to date.
### Full Suite (all 7 plugins) ### Full Suite (all 7 plugins)
```bash ```bash
# Replace vX.Y.Z with the desired release tag, or use "latest"
VERSION=latest
PLUGIN_DIR=/path/to/tdarr/plugins/FlowPlugins PLUGIN_DIR=/path/to/tdarr/plugins/FlowPlugins
curl -L https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/releases/download/${VERSION}/Tdarr-plugins-${VERSION}.zip \ # Download a live ZIP of the main branch directly from Gitea
-o tdarr-plugins.zip curl -fsSL https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/archive/main.zip \
-o /tmp/tdarr-plugins.zip
unzip -o tdarr-plugins.zip -d "${PLUGIN_DIR}" # Extract and copy into your plugin directory
rm tdarr-plugins.zip unzip -q -o /tmp/tdarr-plugins.zip -d /tmp/tdarr-extract
cp -r /tmp/tdarr-extract/Tdarr-plugin/LocalFlowPlugins "${PLUGIN_DIR}/"
cp -r /tmp/tdarr-extract/Tdarr-plugin/FlowHelpers "${PLUGIN_DIR}/"
rm -rf /tmp/tdarr-plugins.zip /tmp/tdarr-extract
``` ```
After extracting, restart the Tdarr server so it picks up the new plugins: After extracting, restart the Tdarr server so it picks up the new plugins:
@@ -28,24 +33,55 @@ After extracting, restart the Tdarr server so it picks up the new plugins:
docker restart tdarr-server docker restart tdarr-server
``` ```
### Individual Plugin ### One-liner (copy-paste for Docker hosts)
Each plugin is also released as its own ZIP (e.g. `transcode2PassX265-latest.zip`):
```bash ```bash
PLUGIN=transcode2PassX265 PLUGIN_DIR=/your/tdarr/plugins/FlowPlugins && \
VERSION=latest curl -fsSL https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/archive/main.zip -o /tmp/tp.zip && \
DEST=/path/to/tdarr/plugins/FlowPlugins/LocalFlowPlugins/video/${PLUGIN}/1.0.0 unzip -q -o /tmp/tp.zip -d /tmp/tpx && \
cp -r /tmp/tpx/Tdarr-plugin/LocalFlowPlugins "${PLUGIN_DIR}/" && \
mkdir -p "${DEST}" cp -r /tmp/tpx/Tdarr-plugin/FlowHelpers "${PLUGIN_DIR}/" && \
curl -L https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/releases/download/${VERSION}/${PLUGIN}-${VERSION}.zip \ rm -rf /tmp/tp.zip /tmp/tpx && \
-o ${PLUGIN}.zip docker restart tdarr-server && echo "Done."
unzip -o ${PLUGIN}.zip -d "${DEST}"
rm ${PLUGIN}.zip
``` ```
Available plugin names: `mediaAnalyzerGOP`, `setAnimationFlag`, `extractChaptersXml`, ### Individual Plugin (single raw file)
`audioSelectorClamping`, `backupSourceAudio`, `extractSubtitlesAndOcr`, `transcode2PassX265`
Each plugin is a single `index.js` file. Download just what you need:
```bash
# Example: transcode2PassX265
BASE=https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/raw/branch/main
PLUGIN=transcode2PassX265
CATEGORY=video
DEST=/path/to/tdarr/plugins/FlowPlugins/LocalFlowPlugins/${CATEGORY}/${PLUGIN}/1.0.0
mkdir -p "${DEST}"
curl -fsSL "${BASE}/LocalFlowPlugins/${CATEGORY}/${PLUGIN}/1.0.0/index.js" \
-o "${DEST}/index.js"
```
| Plugin | Category | Path segment |
|---|---|---|
| `mediaAnalyzerGOP` | `utility` | `LocalFlowPlugins/utility/mediaAnalyzerGOP/1.0.0/index.js` |
| `setAnimationFlag` | `utility` | `LocalFlowPlugins/utility/setAnimationFlag/1.0.0/index.js` |
| `extractChaptersXml` | `utility` | `LocalFlowPlugins/utility/extractChaptersXml/1.0.0/index.js` |
| `audioSelectorClamping` | `audio` | `LocalFlowPlugins/audio/audioSelectorClamping/1.0.0/index.js` |
| `backupSourceAudio` | `audio` | `LocalFlowPlugins/audio/backupSourceAudio/1.0.0/index.js` |
| `extractSubtitlesAndOcr` | `subtitles` | `LocalFlowPlugins/subtitles/extractSubtitlesAndOcr/1.0.0/index.js` |
| `transcode2PassX265` | `video` | `LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js` |
### Tagged Releases (optional, requires CI push)
Once a release is published by the CI workflow, versioned ZIPs are also available:
```bash
VERSION=v1.0.1
curl -L https://git.cdtech.freeddns.org/PickleRick/Tdarr-plugin/releases/download/${VERSION}/Tdarr-plugins-${VERSION}.zip \
-o tdarr-plugins.zip
unzip -o tdarr-plugins.zip -d "${PLUGIN_DIR}"
rm tdarr-plugins.zip
```
--- ---