Initial release: n8n Plex Media Server node
CI / build (push) Failing after 46s

Features:
- Server: Get identity, info, preferences, sessions, butler tasks
- Library: Get all, get contents, recently added, on deck, refresh, analyze
- Media: Get, update, delete, refresh, mark watched/unwatched
- Playlist: CRUD operations, add/remove items
- Collection: CRUD operations, add/remove items
- Search: Global and library-specific search
- Session: Get active sessions, history, terminate

Includes CI/CD pipeline for automatic npm publishing on release.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-14 10:12:36 +01:00
co-authored by Claude
commit ed55175994
22 changed files with 7347 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint --if-present
+32
View File
@@ -0,0 +1,32 @@
name: Publish to npm
on:
push:
tags:
- 'v*'
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}