Inititalize Repo
Build Jellyfin n8n Node / build (push) Failing after 3m3s

This commit is contained in:
2026-04-06 12:50:59 -05:00
parent dfc88ae0e5
commit 7ad2527e32
5 changed files with 153 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
import { N8NPropertiesBuilder } from '@devlikeapro/n8n-openapi-node';
import * as openApiSpec from './jellyfin-openapi-stable.json'; // Downloaded by Gitea Actions
const parser = new N8NPropertiesBuilder(openApiSpec, {});
const properties = parser.build();
export class Jellyfin implements INodeType {
description: INodeTypeDescription = {
displayName: 'Jellyfin',
name: 'jellyfin',
icon: 'file:jellyfin.svg',
group: ['transform'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
description: 'Auto-generated Jellyfin API Node',
defaults: { name: 'Jellyfin' },
inputs: ['main'],
outputs: ['main'],
credentials: [
{
name: 'jellyfinApi',
required: true,
},
],
properties: properties,
requestDefaults: {
baseURL: '={{$credentials.url}}',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
},
};
}