Guest User

TDARR_hevc_v2.json

a guest
Sep 4th, 2025
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.95 KB | None | 0 0
  1. {
  2. "_id": "9KhJeQnWc",
  3. "name": "AV1 PlexGuide",
  4. "description": "AV1 PlexGuide",
  5. "tags": "",
  6. "flowPlugins": [
  7. {
  8. "name": "Fail Flow",
  9. "sourceRepo": "Community",
  10. "pluginName": "failFlow",
  11. "version": "1.0.0",
  12. "fpEnabled": true,
  13. "id": "dCJo7R0hp",
  14. "position": {
  15. "x": 1212,
  16. "y": 336
  17. }
  18. },
  19. {
  20. "name": "Check Node QSV",
  21. "sourceRepo": "Community",
  22. "pluginName": "checkNodeHardwareEncoder",
  23. "version": "1.0.0",
  24. "id": "QHUTaIRt5",
  25. "position": {
  26. "x": 1104,
  27. "y": 264
  28. },
  29. "fpEnabled": true,
  30. "inputsDB": {
  31. "hardwareEncoder": "hevc_qsv"
  32. }
  33. },
  34. {
  35. "name": "Check AV1",
  36. "sourceRepo": "Community",
  37. "pluginName": "checkVideoCodec",
  38. "version": "1.0.0",
  39. "inputsDB": {
  40. "codec": "av1"
  41. },
  42. "fpEnabled": true,
  43. "id": "iOg_GxU1M",
  44. "position": {
  45. "x": 1176,
  46. "y": -228
  47. }
  48. },
  49. {
  50. "name": "Wait",
  51. "sourceRepo": "Community",
  52. "pluginName": "waitTimeout",
  53. "version": "1.0.0",
  54. "id": "iwFNBRcsF",
  55. "position": {
  56. "x": 2100,
  57. "y": 1704
  58. },
  59. "fpEnabled": true,
  60. "inputsDB": {
  61. "amount": "10"
  62. }
  63. },
  64. {
  65. "name": "Notify TV",
  66. "sourceRepo": "Community",
  67. "pluginName": "notifyRadarrOrSonarr",
  68. "version": "2.0.0",
  69. "inputsDB": {
  70. "arr": "sonarr",
  71. "arr_api_key": "d3e67c110a32b683b2",
  72. "arr_host": "http://192.168.100.10:8989"
  73. },
  74. "fpEnabled": true,
  75. "id": "Im0dIKx4U",
  76. "position": {
  77. "x": 2100,
  78. "y": 1836
  79. }
  80. },
  81. {
  82. "name": "Notify Movies",
  83. "sourceRepo": "Community",
  84. "pluginName": "notifyRadarrOrSonarr",
  85. "version": "2.0.0",
  86. "inputsDB": {
  87. "arr_api_key": "8fefb36587d3f",
  88. "arr_host": "http://192.168.100.10:7878"
  89. },
  90. "fpEnabled": true,
  91. "id": "DVzZNsUyp",
  92. "position": {
  93. "x": 1884,
  94. "y": 1836
  95. }
  96. },
  97. {
  98. "name": "Check if TV",
  99. "sourceRepo": "Community",
  100. "pluginName": "checkFileNameIncludes",
  101. "version": "2.0.0",
  102. "id": "PX7J1BjLD",
  103. "position": {
  104. "x": 2100,
  105. "y": 1500
  106. },
  107. "fpEnabled": true,
  108. "inputsDB": {
  109. "terms": "/tv/",
  110. "includeFileDirectory": "true"
  111. }
  112. },
  113. {
  114. "name": "Compare File Size",
  115. "sourceRepo": "Community",
  116. "pluginName": "compareFileSize",
  117. "version": "1.0.0",
  118. "fpEnabled": true,
  119. "id": "aSv4ZEQr0",
  120. "position": {
  121. "x": 1428,
  122. "y": 1596
  123. }
  124. },
  125. {
  126. "name": "Execute v2",
  127. "sourceRepo": "Community",
  128. "pluginName": "ffmpegCommandExecute",
  129. "version": "1.0.0",
  130. "fpEnabled": true,
  131. "id": "4dhJKjMSt",
  132. "position": {
  133. "x": 1236,
  134. "y": 1740
  135. }
  136. },
  137. {
  138. "name": "Set Original File",
  139. "sourceRepo": "Community",
  140. "pluginName": "setOriginalFile",
  141. "version": "1.0.0",
  142. "fpEnabled": true,
  143. "id": "-yhk4Lit6",
  144. "position": {
  145. "x": 1236,
  146. "y": 1524
  147. }
  148. },
  149. {
  150. "name": "Reorder Streams v2",
  151. "sourceRepo": "Community",
  152. "pluginName": "ffmpegCommandRorderStreams",
  153. "version": "1.0.0",
  154. "inputsDB": {
  155. "languages": "ger,eng"
  156. },
  157. "fpEnabled": true,
  158. "id": "QH2w5YhQD",
  159. "position": {
  160. "x": 1236,
  161. "y": 1692
  162. }
  163. },
  164. {
  165. "name": "Custom Arguments",
  166. "sourceRepo": "Community",
  167. "pluginName": "ffmpegCommandCustomArguments",
  168. "version": "1.0.0",
  169. "inputsDB": {
  170. "outputArguments": "{{{args.variables.user.ffmpeg_outArgs}}}",
  171. "inputArguments": "{{{args.variables.user.ffmpeg_inArgs}}}"
  172. },
  173. "fpEnabled": true,
  174. "id": "QjFeVXDLt",
  175. "position": {
  176. "x": 1236,
  177. "y": 1644
  178. }
  179. },
  180. {
  181. "name": "Set Video Encoder",
  182. "sourceRepo": "Community",
  183. "pluginName": "ffmpegCommandSetVideoEncoder",
  184. "version": "1.0.0",
  185. "inputsDB": {
  186. "outputCodec": "hevc",
  187. "ffmpegPreset": "veryslow",
  188. "hardwareType": "auto",
  189. "ffmpegQuality": "15",
  190. "hardwareEncoding": "true",
  191. "hardwareDecoding": "false",
  192. "forceEncoding": "true",
  193. "ffmpegPresetEnabled": "false",
  194. "ffmpegQualityEnabled": "false"
  195. },
  196. "fpEnabled": true,
  197. "id": "raEaO2cfG",
  198. "position": {
  199. "x": 1236,
  200. "y": 1596
  201. }
  202. },
  203. {
  204. "name": "Special-ish",
  205. "sourceRepo": "Community",
  206. "pluginName": "setFlowVariable",
  207. "version": "1.0.0",
  208. "inputsDB": {
  209. "variable": "qual",
  210. "value": "34"
  211. },
  212. "fpEnabled": true,
  213. "id": "g26dVAvQm",
  214. "position": {
  215. "x": 1236,
  216. "y": 1560
  217. }
  218. },
  219. {
  220. "name": "1080p-ish",
  221. "sourceRepo": "Community",
  222. "pluginName": "setFlowVariable",
  223. "version": "1.0.0",
  224. "inputsDB": {
  225. "variable": "qual_nvenc",
  226. "value": "27"
  227. },
  228. "fpEnabled": true,
  229. "id": "umaTXsNaU",
  230. "position": {
  231. "x": 1656,
  232. "y": 444
  233. }
  234. },
  235. {
  236. "name": "720p-ish",
  237. "sourceRepo": "Community",
  238. "pluginName": "setFlowVariable",
  239. "version": "1.0.0",
  240. "inputsDB": {
  241. "variable": "qual_nvenc",
  242. "value": "29"
  243. },
  244. "fpEnabled": true,
  245. "id": "aDgfTP2rV",
  246. "position": {
  247. "x": 1476,
  248. "y": 444
  249. }
  250. },
  251. {
  252. "name": "4K-ish",
  253. "sourceRepo": "Community",
  254. "pluginName": "setFlowVariable",
  255. "version": "1.0.0",
  256. "inputsDB": {
  257. "variable": "qual_nvenc",
  258. "value": "25"
  259. },
  260. "fpEnabled": true,
  261. "id": "1RHemRpJV",
  262. "position": {
  263. "x": 1848,
  264. "y": 444
  265. }
  266. },
  267. {
  268. "name": "Custom Arguments",
  269. "sourceRepo": "Community",
  270. "pluginName": "ffmpegCommandCustomArguments",
  271. "version": "1.0.0",
  272. "inputsDB": {
  273. "outputArguments": "{{{args.variables.user.ffmpeg_outArgs}}}",
  274. "inputArguments": "{{{args.variables.user.ffmpeg_inArgs}}}"
  275. },
  276. "fpEnabled": true,
  277. "id": "2mA1B19I3",
  278. "position": {
  279. "x": 1212,
  280. "y": 912
  281. }
  282. },
  283. {
  284. "name": "Input File",
  285. "sourceRepo": "Community",
  286. "pluginName": "inputFile",
  287. "version": "1.0.0",
  288. "fpEnabled": true,
  289. "id": "y4lqcdrho",
  290. "position": {
  291. "x": 1080,
  292. "y": -432
  293. }
  294. },
  295. {
  296. "name": "Check hevc",
  297. "sourceRepo": "Community",
  298. "pluginName": "checkVideoCodec",
  299. "version": "1.0.0",
  300. "inputsDB": {
  301. "codec": "hevc"
  302. },
  303. "fpEnabled": true,
  304. "id": "x4UqtuCK9",
  305. "position": {
  306. "x": 1080,
  307. "y": -288
  308. }
  309. },
  310. {
  311. "name": "Begin Command",
  312. "sourceRepo": "Community",
  313. "pluginName": "ffmpegCommandStart",
  314. "version": "1.0.0",
  315. "fpEnabled": true,
  316. "id": "6a0HyfVUa",
  317. "position": {
  318. "x": 1200,
  319. "y": -36
  320. }
  321. },
  322. {
  323. "name": "Execute",
  324. "sourceRepo": "Community",
  325. "pluginName": "ffmpegCommandExecute",
  326. "version": "1.0.0",
  327. "fpEnabled": true,
  328. "id": "OBbLCZ8SO",
  329. "position": {
  330. "x": 1212,
  331. "y": 1092
  332. }
  333. },
  334. {
  335. "name": "Set Video Encoder",
  336. "sourceRepo": "Community",
  337. "pluginName": "ffmpegCommandSetVideoEncoder",
  338. "version": "1.0.0",
  339. "inputsDB": {
  340. "outputCodec": "hevc",
  341. "ffmpegPreset": "veryslow",
  342. "hardwareType": "auto",
  343. "ffmpegQuality": "15",
  344. "hardwareEncoding": "true",
  345. "hardwareDecoding": "false",
  346. "forceEncoding": "true",
  347. "ffmpegPresetEnabled": "false",
  348. "ffmpegQualityEnabled": "false"
  349. },
  350. "fpEnabled": true,
  351. "id": "nvhiecc42",
  352. "position": {
  353. "x": 1212,
  354. "y": 852
  355. }
  356. },
  357. {
  358. "name": "Set Container",
  359. "sourceRepo": "Community",
  360. "pluginName": "ffmpegCommandSetContainer",
  361. "version": "1.0.0",
  362. "fpEnabled": true,
  363. "id": "5sziHU00e",
  364. "position": {
  365. "x": 1212,
  366. "y": 972
  367. }
  368. },
  369. {
  370. "name": "Replace Original File",
  371. "sourceRepo": "Community",
  372. "pluginName": "replaceOriginalFile",
  373. "version": "1.0.0",
  374. "fpEnabled": true,
  375. "id": "xG56Of7cp",
  376. "position": {
  377. "x": 1572,
  378. "y": 1500
  379. }
  380. },
  381. {
  382. "name": "Check Video Resolution - NVENC",
  383. "sourceRepo": "Community",
  384. "pluginName": "checkVideoResolution",
  385. "version": "1.0.0",
  386. "fpEnabled": true,
  387. "id": "Fipyujmi9",
  388. "position": {
  389. "x": 1560,
  390. "y": 336
  391. }
  392. },
  393. {
  394. "name": "Reorder Streams",
  395. "sourceRepo": "Community",
  396. "pluginName": "ffmpegCommandRorderStreams",
  397. "version": "1.0.0",
  398. "inputsDB": {
  399. "languages": "ger,eng"
  400. },
  401. "fpEnabled": true,
  402. "id": "JGSpkpZJZ",
  403. "position": {
  404. "x": 1212,
  405. "y": 1032
  406. }
  407. },
  408. {
  409. "name": "Compare File Size",
  410. "sourceRepo": "Community",
  411. "pluginName": "compareFileSize",
  412. "version": "1.0.0",
  413. "fpEnabled": true,
  414. "id": "abUXrdfpu",
  415. "position": {
  416. "x": 1212,
  417. "y": 1284
  418. }
  419. },
  420. {
  421. "name": "Fail Flow",
  422. "sourceRepo": "Community",
  423. "pluginName": "failFlow",
  424. "version": "1.0.0",
  425. "fpEnabled": true,
  426. "id": "PGuZs5nAA",
  427. "position": {
  428. "x": 1428,
  429. "y": 1752
  430. }
  431. },
  432. {
  433. "name": "Notify TV",
  434. "sourceRepo": "Community",
  435. "pluginName": "notifyRadarrOrSonarr",
  436. "version": "2.0.0",
  437. "inputsDB": {
  438. "arr": "sonarr",
  439. "arr_api_key": "d3e67c11083b2",
  440. "arr_host": "http://192.168.100.10:8989"
  441. },
  442. "fpEnabled": true,
  443. "id": "7cEM9Ueje",
  444. "position": {
  445. "x": 2100,
  446. "y": 1632
  447. }
  448. },
  449. {
  450. "name": "Notify Movies",
  451. "sourceRepo": "Community",
  452. "pluginName": "notifyRadarrOrSonarr",
  453. "version": "2.0.0",
  454. "inputsDB": {
  455. "arr_api_key": "8fefb387d3f",
  456. "arr_host": "http://192.168.100.10:7878"
  457. },
  458. "fpEnabled": true,
  459. "id": "afcN2Nl97",
  460. "position": {
  461. "x": 1884,
  462. "y": 1632
  463. }
  464. },
  465. {
  466. "name": "Set Original File",
  467. "sourceRepo": "Community",
  468. "pluginName": "setOriginalFile",
  469. "version": "1.0.0",
  470. "fpEnabled": true,
  471. "id": "nlAVmhQV3",
  472. "position": {
  473. "x": 960,
  474. "y": -96
  475. }
  476. },
  477. {
  478. "name": "Removing Image (Prevents Failures)",
  479. "sourceRepo": "Community",
  480. "pluginName": "runClassicTranscodePlugin",
  481. "version": "1.0.0",
  482. "inputsDB": {
  483. "pluginSourceId": "Community:Tdarr_Plugin_MC93_MigzImageRemoval"
  484. },
  485. "fpEnabled": true,
  486. "id": "jz_648bNe",
  487. "position": {
  488. "x": 1200,
  489. "y": -96
  490. }
  491. },
  492. {
  493. "name": "480p-ish ",
  494. "sourceRepo": "Community",
  495. "pluginName": "setFlowVariable",
  496. "version": "1.0.0",
  497. "inputsDB": {
  498. "variable": "qual_nvenc",
  499. "value": "30"
  500. },
  501. "fpEnabled": true,
  502. "id": "CqvMoHan9",
  503. "position": {
  504. "x": 1296,
  505. "y": 444
  506. }
  507. },
  508. {
  509. "name": "If the file is too big for conversion (as in goes over 100%) try again at a slightly lower quality. Change Special-ish value!",
  510. "sourceRepo": "Community",
  511. "pluginName": "comment",
  512. "version": "1.0.0",
  513. "fpEnabled": true,
  514. "id": "2-upGovUr",
  515. "position": {
  516. "x": 924,
  517. "y": 1332
  518. }
  519. },
  520. {
  521. "name": "Check Node NVENC",
  522. "sourceRepo": "Community",
  523. "pluginName": "checkNodeHardwareEncoder",
  524. "version": "1.0.0",
  525. "id": "oNb5OkoqC",
  526. "position": {
  527. "x": 1188,
  528. "y": 132
  529. },
  530. "fpEnabled": true
  531. },
  532. {
  533. "name": "NVENC_in",
  534. "sourceRepo": "Community",
  535. "pluginName": "setFlowVariable",
  536. "version": "1.0.0",
  537. "id": "b35Ew3N0s",
  538. "position": {
  539. "x": 1404,
  540. "y": 648
  541. },
  542. "fpEnabled": true,
  543. "inputsDB": {
  544. "variable": "ffmpeg_inArgs",
  545. "value": "-hwaccel cuda -hwaccel_output_format cuda"
  546. }
  547. },
  548. {
  549. "name": "QSV_in",
  550. "sourceRepo": "Community",
  551. "pluginName": "setFlowVariable",
  552. "version": "1.0.0",
  553. "id": "QKdKrOpbM",
  554. "position": {
  555. "x": 1020,
  556. "y": 648
  557. },
  558. "fpEnabled": true,
  559. "inputsDB": {
  560. "variable": "ffmpeg_inArgs",
  561. "value": "-init_hw_device qsv=td:/dev/dri/renderD128 -filter_hw_device td -hwaccel qsv -hwaccel_device td -hwaccel_output_format qsv"
  562. }
  563. },
  564. {
  565. "name": "NVENC_out",
  566. "sourceRepo": "Community",
  567. "pluginName": "setFlowVariable",
  568. "version": "1.0.0",
  569. "id": "mL3wSNhZ6",
  570. "position": {
  571. "x": 1404,
  572. "y": 720
  573. },
  574. "fpEnabled": true,
  575. "inputsDB": {
  576. "variable": "ffmpeg_outArgs",
  577. "value": "-c:v hevc_nvenc -preset p5 -cq {{{args.variables.user.qual_nvenc}}} -b:v 0 -g 240 -bf 3 -b_ref_mode middle -nonref_p 1 -refs 3 -spatial_aq 1 -aq-strength 8 -temporal-aq 1 -c:a copy -c:s copy -max_muxing_queue_size 1024"
  578. }
  579. },
  580. {
  581. "name": "QSV_out",
  582. "sourceRepo": "Community",
  583. "pluginName": "setFlowVariable",
  584. "version": "1.0.0",
  585. "id": "mrfTye0cO",
  586. "position": {
  587. "x": 1020,
  588. "y": 720
  589. },
  590. "fpEnabled": true,
  591. "inputsDB": {
  592. "variable": "ffmpeg_outArgs",
  593. "value": "-c:v hevc_qsv -rc la_icq -global_quality {{{args.variables.user.qual_qsv}}} -look_ahead 1 -g 240 -bf 3 -refs 3 -c:a copy -c:s copy -max_muxing_queue_size 1024"
  594. }
  595. },
  596. {
  597. "name": "Check Video Resolution - QSV",
  598. "sourceRepo": "Community",
  599. "pluginName": "checkVideoResolution",
  600. "version": "1.0.0",
  601. "id": "Zdkc0fMUb",
  602. "position": {
  603. "x": 840,
  604. "y": 336
  605. },
  606. "fpEnabled": true
  607. },
  608. {
  609. "name": "480p-ish",
  610. "sourceRepo": "Community",
  611. "pluginName": "setFlowVariable",
  612. "version": "1.0.0",
  613. "id": "PYK6ej8td",
  614. "position": {
  615. "x": 564,
  616. "y": 444
  617. },
  618. "fpEnabled": true,
  619. "inputsDB": {
  620. "variable": "qual_qsv",
  621. "value": "25"
  622. }
  623. },
  624. {
  625. "name": "1080p-ish",
  626. "sourceRepo": "Community",
  627. "pluginName": "setFlowVariable",
  628. "version": "1.0.0",
  629. "id": "tjtWbPPar",
  630. "position": {
  631. "x": 936,
  632. "y": 444
  633. },
  634. "fpEnabled": true,
  635. "inputsDB": {
  636. "variable": "qual_qsv",
  637. "value": "21"
  638. }
  639. },
  640. {
  641. "name": "4K-ish",
  642. "sourceRepo": "Community",
  643. "pluginName": "setFlowVariable",
  644. "version": "1.0.0",
  645. "id": "SobkWhjEN",
  646. "position": {
  647. "x": 1128,
  648. "y": 444
  649. },
  650. "fpEnabled": true,
  651. "inputsDB": {
  652. "variable": "qual_qsv",
  653. "value": "19"
  654. }
  655. },
  656. {
  657. "name": "720p-ish",
  658. "sourceRepo": "Community",
  659. "pluginName": "setFlowVariable",
  660. "version": "1.0.0",
  661. "id": "gGYFYBm58",
  662. "position": {
  663. "x": 744,
  664. "y": 444
  665. },
  666. "fpEnabled": true,
  667. "inputsDB": {
  668. "variable": "qual_qsv",
  669. "value": "25"
  670. }
  671. },
  672. {
  673. "name": "Apply Radarr naming policy",
  674. "sourceRepo": "Community",
  675. "pluginName": "applyRadarrOrSonarrNamingPolicy",
  676. "version": "1.0.0",
  677. "id": "1_84E5eo4",
  678. "position": {
  679. "x": 1884,
  680. "y": 1764
  681. },
  682. "fpEnabled": true,
  683. "inputsDB": {
  684. "arr_host": "http://192.168.100.10:7878",
  685. "arr_api_key": "8fefb36d3f"
  686. }
  687. },
  688. {
  689. "name": "Apply Sonarr naming policy",
  690. "sourceRepo": "Community",
  691. "pluginName": "applyRadarrOrSonarrNamingPolicy",
  692. "version": "1.0.0",
  693. "id": "bcFeI7yet",
  694. "position": {
  695. "x": 2100,
  696. "y": 1764
  697. },
  698. "fpEnabled": true,
  699. "inputsDB": {
  700. "arr": "sonarr",
  701. "arr_host": "http://192.168.100.10:8989",
  702. "arr_api_key": "d3e67cb2"
  703. }
  704. },
  705. {
  706. "name": "Check if Movie",
  707. "sourceRepo": "Community",
  708. "pluginName": "checkFileNameIncludes",
  709. "version": "2.0.0",
  710. "id": "uQKbrE2Jh",
  711. "position": {
  712. "x": 1884,
  713. "y": 1500
  714. },
  715. "fpEnabled": true,
  716. "inputsDB": {
  717. "terms": "/movies/",
  718. "includeFileDirectory": "true"
  719. }
  720. },
  721. {
  722. "name": "Wait",
  723. "sourceRepo": "Community",
  724. "pluginName": "waitTimeout",
  725. "version": "1.0.0",
  726. "id": "it57Qyqpw",
  727. "position": {
  728. "x": 1884,
  729. "y": 1704
  730. },
  731. "fpEnabled": true,
  732. "inputsDB": {
  733. "amount": "10"
  734. }
  735. },
  736. {
  737. "name": "webhook_fix_permissions",
  738. "sourceRepo": "Community",
  739. "pluginName": "webRequest",
  740. "version": "1.0.0",
  741. "id": "TqoGlLVGW",
  742. "position": {
  743. "x": 1992,
  744. "y": 1992
  745. },
  746. "fpEnabled": true,
  747. "inputsDB": {
  748. "requestUrl": "https://n8n.url/webhook",
  749. "requestBody": "{{{ args.variables.user.webhook_body }}}\n"
  750. }
  751. },
  752. {
  753. "name": "Special-Case: iGPU & GPU",
  754. "sourceRepo": "Community",
  755. "pluginName": "runClassicFilterPlugin",
  756. "version": "1.0.0",
  757. "id": "9JwcXAa8K",
  758. "position": {
  759. "x": 1068,
  760. "y": 60
  761. },
  762. "fpEnabled": true,
  763. "inputsDB": {
  764. "pluginSourceId": "Local:Local_router_qsv_vaapi_vs_nvenc"
  765. }
  766. },
  767. {
  768. "name": "Skip *trailer*",
  769. "sourceRepo": "Community",
  770. "pluginName": "checkFileNameIncludes",
  771. "version": "2.0.0",
  772. "id": "S_PcyLdPD",
  773. "position": {
  774. "x": 1356,
  775. "y": -432
  776. },
  777. "fpEnabled": false,
  778. "inputsDB": {
  779. "includeFileDirectory": "false",
  780. "terms": "",
  781. "pattern": "(?:^|[._\\s-])[Tt][Rr][Aa][Ii][Ll][Ee][Rr](?:[._\\s-]*(?:v?\\d+|final|cut|intl|red[._\\s-]?band|[12]080p|4k|uhd|hdr))*[._\\s-]*(?=\\.[A-Za-z0-9]{2,4}$)"
  782. }
  783. },
  784. {
  785. "name": "set_sonarr",
  786. "sourceRepo": "Community",
  787. "pluginName": "setFlowVariable",
  788. "version": "1.0.0",
  789. "id": "CyWVup-1P",
  790. "position": {
  791. "x": 2100,
  792. "y": 1572
  793. },
  794. "fpEnabled": true,
  795. "inputsDB": {
  796. "variable": "arr_type",
  797. "value": "sonarr"
  798. }
  799. },
  800. {
  801. "name": "set_radarr",
  802. "sourceRepo": "Community",
  803. "pluginName": "setFlowVariable",
  804. "version": "1.0.0",
  805. "id": "dGSbgMy2b",
  806. "position": {
  807. "x": 1884,
  808. "y": 1572
  809. },
  810. "fpEnabled": true,
  811. "inputsDB": {
  812. "variable": "arr_type",
  813. "value": "radarr"
  814. }
  815. },
  816. {
  817. "name": "build_webhook_body",
  818. "sourceRepo": "Community",
  819. "pluginName": "customFunction",
  820. "version": "1.0.0",
  821. "id": "LigYV5lZM",
  822. "position": {
  823. "x": 1992,
  824. "y": 1920
  825. },
  826. "fpEnabled": true,
  827. "inputsDB": {
  828. "code": "module.exports = async (args) => {\n const f = args.inputFileObj || {};\n const finalPath = f.file || f._id || \"\"; // finaler Pfad nach dem Rename\n const arrType = args.variables?.user?.arr_type || \"\"; // \"radarr\" | \"sonarr\"\n\n // Optional: UNC -> lokaler Pfad auf Unraid mappen (bei Bedarf anpassen)\n let pathLocal = finalPath;\n pathLocal = pathLocal.replace(/^\\/\\/192\\.168\\.100\\.10\\/data/i, \"/mnt/user/data\");\n\n const body = {\n action: \"fix_permissions\",\n arr: arrType,\n path_final_unc: finalPath,\n path_final_local: pathLocal,\n owner: \"nobody\",\n group: \"users\",\n file_mode: \"0664\",\n dir_mode: \"0775\"\n };\n\n return {\n outputFileObj: f,\n outputNumber: 1, // weiter zum nächsten Node\n variables: {\n ...args.variables,\n user: { ...(args.variables?.user || {}), webhook_body: JSON.stringify(body) }\n }\n };\n};\n"
  829. }
  830. }
  831. ],
  832. "flowEdges": [
  833. {
  834. "source": "5sziHU00e",
  835. "sourceHandle": "1",
  836. "target": "JGSpkpZJZ",
  837. "targetHandle": null,
  838. "id": "c0KV-6y1i"
  839. },
  840. {
  841. "source": "JGSpkpZJZ",
  842. "sourceHandle": "1",
  843. "target": "OBbLCZ8SO",
  844. "targetHandle": null,
  845. "id": "FKFIiJuWU"
  846. },
  847. {
  848. "source": "2mA1B19I3",
  849. "sourceHandle": "1",
  850. "target": "5sziHU00e",
  851. "targetHandle": null,
  852. "id": "XWXHFS4_s"
  853. },
  854. {
  855. "source": "OBbLCZ8SO",
  856. "sourceHandle": "1",
  857. "target": "abUXrdfpu",
  858. "targetHandle": null,
  859. "id": "g2yPKEkmj"
  860. },
  861. {
  862. "source": "abUXrdfpu",
  863. "sourceHandle": "1",
  864. "target": "xG56Of7cp",
  865. "targetHandle": null,
  866. "id": "TVF0Rfo1k"
  867. },
  868. {
  869. "source": "x4UqtuCK9",
  870. "sourceHandle": "1",
  871. "target": "nlAVmhQV3",
  872. "targetHandle": null,
  873. "id": "HZAaivi_-"
  874. },
  875. {
  876. "source": "nvhiecc42",
  877. "sourceHandle": "1",
  878. "target": "2mA1B19I3",
  879. "targetHandle": null,
  880. "id": "6iDzYQozd"
  881. },
  882. {
  883. "source": "jz_648bNe",
  884. "sourceHandle": "1",
  885. "target": "6a0HyfVUa",
  886. "targetHandle": null,
  887. "id": "sMxtCh2Xl"
  888. },
  889. {
  890. "source": "Fipyujmi9",
  891. "sourceHandle": "1",
  892. "target": "CqvMoHan9",
  893. "targetHandle": null,
  894. "id": "UDBCQ2S9_"
  895. },
  896. {
  897. "source": "Fipyujmi9",
  898. "sourceHandle": "2",
  899. "target": "CqvMoHan9",
  900. "targetHandle": null,
  901. "id": "_wzRwyK5R"
  902. },
  903. {
  904. "source": "Fipyujmi9",
  905. "sourceHandle": "3",
  906. "target": "aDgfTP2rV",
  907. "targetHandle": null,
  908. "id": "DMmTfKp7O"
  909. },
  910. {
  911. "source": "Fipyujmi9",
  912. "sourceHandle": "4",
  913. "target": "umaTXsNaU",
  914. "targetHandle": null,
  915. "id": "0ypeJQheH"
  916. },
  917. {
  918. "source": "Fipyujmi9",
  919. "sourceHandle": "5",
  920. "target": "umaTXsNaU",
  921. "targetHandle": null,
  922. "id": "u6IilK_Zk"
  923. },
  924. {
  925. "source": "Fipyujmi9",
  926. "sourceHandle": "6",
  927. "target": "1RHemRpJV",
  928. "targetHandle": null,
  929. "id": "EC6Oz6GbX"
  930. },
  931. {
  932. "source": "Fipyujmi9",
  933. "sourceHandle": "7",
  934. "target": "1RHemRpJV",
  935. "targetHandle": null,
  936. "id": "jufEluCO8"
  937. },
  938. {
  939. "source": "Fipyujmi9",
  940. "sourceHandle": "8",
  941. "target": "1RHemRpJV",
  942. "targetHandle": null,
  943. "id": "OvRNXQ0mP"
  944. },
  945. {
  946. "source": "Fipyujmi9",
  947. "sourceHandle": "9",
  948. "target": "1RHemRpJV",
  949. "targetHandle": null,
  950. "id": "k5oB3RghY"
  951. },
  952. {
  953. "source": "afcN2Nl97",
  954. "sourceHandle": "2",
  955. "target": "b6oMqri3E",
  956. "targetHandle": null,
  957. "id": "UHrip4Cbh"
  958. },
  959. {
  960. "source": "g26dVAvQm",
  961. "sourceHandle": "1",
  962. "target": "raEaO2cfG",
  963. "targetHandle": null,
  964. "id": "TDr_xP77Z"
  965. },
  966. {
  967. "source": "raEaO2cfG",
  968. "sourceHandle": "1",
  969. "target": "QjFeVXDLt",
  970. "targetHandle": null,
  971. "id": "57GVd2GUg"
  972. },
  973. {
  974. "source": "QjFeVXDLt",
  975. "sourceHandle": "1",
  976. "target": "QH2w5YhQD",
  977. "targetHandle": null,
  978. "id": "BE2ZEw-CM"
  979. },
  980. {
  981. "source": "-yhk4Lit6",
  982. "sourceHandle": "1",
  983. "target": "g26dVAvQm",
  984. "targetHandle": null,
  985. "id": "Q3xp5zRXm"
  986. },
  987. {
  988. "source": "abUXrdfpu",
  989. "sourceHandle": "2",
  990. "target": "-yhk4Lit6",
  991. "targetHandle": null,
  992. "id": "zRFORRrfk"
  993. },
  994. {
  995. "source": "abUXrdfpu",
  996. "sourceHandle": "3",
  997. "target": "-yhk4Lit6",
  998. "targetHandle": null,
  999. "id": "DeS6Xzunh"
  1000. },
  1001. {
  1002. "source": "QH2w5YhQD",
  1003. "sourceHandle": "1",
  1004. "target": "4dhJKjMSt",
  1005. "targetHandle": null,
  1006. "id": "LeTLmV-Nf"
  1007. },
  1008. {
  1009. "source": "4dhJKjMSt",
  1010. "sourceHandle": "1",
  1011. "target": "aSv4ZEQr0",
  1012. "targetHandle": null,
  1013. "id": "_duggalQS"
  1014. },
  1015. {
  1016. "source": "aSv4ZEQr0",
  1017. "sourceHandle": "1",
  1018. "target": "xG56Of7cp",
  1019. "targetHandle": null,
  1020. "id": "A8uNFy5Bc"
  1021. },
  1022. {
  1023. "source": "aSv4ZEQr0",
  1024. "sourceHandle": "2",
  1025. "target": "PGuZs5nAA",
  1026. "targetHandle": null,
  1027. "id": "ock41pgha"
  1028. },
  1029. {
  1030. "source": "aSv4ZEQr0",
  1031. "sourceHandle": "3",
  1032. "target": "PGuZs5nAA",
  1033. "targetHandle": null,
  1034. "id": "Iqc_injZ-"
  1035. },
  1036. {
  1037. "source": "2-upGovUr",
  1038. "sourceHandle": "1",
  1039. "target": "-yhk4Lit6",
  1040. "targetHandle": null,
  1041. "id": "VsuG1MZ-9"
  1042. },
  1043. {
  1044. "source": "b35Ew3N0s",
  1045. "sourceHandle": "1",
  1046. "target": "mL3wSNhZ6",
  1047. "targetHandle": null,
  1048. "id": "4mRrHhaqg"
  1049. },
  1050. {
  1051. "source": "mL3wSNhZ6",
  1052. "sourceHandle": "1",
  1053. "target": "nvhiecc42",
  1054. "targetHandle": null,
  1055. "id": "ZP2KX7r-G"
  1056. },
  1057. {
  1058. "source": "QKdKrOpbM",
  1059. "sourceHandle": "1",
  1060. "target": "mrfTye0cO",
  1061. "targetHandle": null,
  1062. "id": "UIKCNxTPW"
  1063. },
  1064. {
  1065. "source": "mrfTye0cO",
  1066. "sourceHandle": "1",
  1067. "target": "nvhiecc42",
  1068. "targetHandle": null,
  1069. "id": "GQKgtsUhu"
  1070. },
  1071. {
  1072. "source": "CqvMoHan9",
  1073. "sourceHandle": "1",
  1074. "target": "b35Ew3N0s",
  1075. "targetHandle": null,
  1076. "id": "2ipexWFJT"
  1077. },
  1078. {
  1079. "source": "aDgfTP2rV",
  1080. "sourceHandle": "1",
  1081. "target": "b35Ew3N0s",
  1082. "targetHandle": null,
  1083. "id": "cA_9dHqSy"
  1084. },
  1085. {
  1086. "source": "umaTXsNaU",
  1087. "sourceHandle": "1",
  1088. "target": "b35Ew3N0s",
  1089. "targetHandle": null,
  1090. "id": "f1EbSgAml"
  1091. },
  1092. {
  1093. "source": "1RHemRpJV",
  1094. "sourceHandle": "1",
  1095. "target": "b35Ew3N0s",
  1096. "targetHandle": null,
  1097. "id": "HmYqX73A-"
  1098. },
  1099. {
  1100. "source": "oNb5OkoqC",
  1101. "sourceHandle": "1",
  1102. "target": "Fipyujmi9",
  1103. "targetHandle": null,
  1104. "id": "5gurut0qR"
  1105. },
  1106. {
  1107. "source": "Zdkc0fMUb",
  1108. "sourceHandle": "1",
  1109. "target": "PYK6ej8td",
  1110. "targetHandle": null,
  1111. "id": "jQBarBG4L"
  1112. },
  1113. {
  1114. "source": "Zdkc0fMUb",
  1115. "sourceHandle": "2",
  1116. "target": "PYK6ej8td",
  1117. "targetHandle": null,
  1118. "id": "v64ze4RGd"
  1119. },
  1120. {
  1121. "source": "Zdkc0fMUb",
  1122. "sourceHandle": "3",
  1123. "target": "gGYFYBm58",
  1124. "targetHandle": null,
  1125. "id": "z73tkyl73"
  1126. },
  1127. {
  1128. "source": "Zdkc0fMUb",
  1129. "sourceHandle": "4",
  1130. "target": "tjtWbPPar",
  1131. "targetHandle": null,
  1132. "id": "j5ceE-Aew"
  1133. },
  1134. {
  1135. "source": "Zdkc0fMUb",
  1136. "sourceHandle": "5",
  1137. "target": "tjtWbPPar",
  1138. "targetHandle": null,
  1139. "id": "Nf-UtBAif"
  1140. },
  1141. {
  1142. "source": "Zdkc0fMUb",
  1143. "sourceHandle": "6",
  1144. "target": "SobkWhjEN",
  1145. "targetHandle": null,
  1146. "id": "f_qM_nPP5"
  1147. },
  1148. {
  1149. "source": "Zdkc0fMUb",
  1150. "sourceHandle": "7",
  1151. "target": "SobkWhjEN",
  1152. "targetHandle": null,
  1153. "id": "s8EuZetUR"
  1154. },
  1155. {
  1156. "source": "Zdkc0fMUb",
  1157. "sourceHandle": "8",
  1158. "target": "SobkWhjEN",
  1159. "targetHandle": null,
  1160. "id": "38JvUJb5P"
  1161. },
  1162. {
  1163. "source": "Zdkc0fMUb",
  1164. "sourceHandle": "9",
  1165. "target": "SobkWhjEN",
  1166. "targetHandle": null,
  1167. "id": "opTLUmB8x"
  1168. },
  1169. {
  1170. "source": "PYK6ej8td",
  1171. "sourceHandle": "1",
  1172. "target": "QKdKrOpbM",
  1173. "targetHandle": null,
  1174. "id": "8ql0_Ew4e"
  1175. },
  1176. {
  1177. "source": "gGYFYBm58",
  1178. "sourceHandle": "1",
  1179. "target": "QKdKrOpbM",
  1180. "targetHandle": null,
  1181. "id": "Bn_xp3AeI"
  1182. },
  1183. {
  1184. "source": "tjtWbPPar",
  1185. "sourceHandle": "1",
  1186. "target": "QKdKrOpbM",
  1187. "targetHandle": null,
  1188. "id": "NfEJCHvN2"
  1189. },
  1190. {
  1191. "source": "SobkWhjEN",
  1192. "sourceHandle": "1",
  1193. "target": "QKdKrOpbM",
  1194. "targetHandle": null,
  1195. "id": "JzRMKGKJI"
  1196. },
  1197. {
  1198. "source": "xG56Of7cp",
  1199. "sourceHandle": "1",
  1200. "target": "uQKbrE2Jh",
  1201. "targetHandle": null,
  1202. "id": "VxgrSIt77"
  1203. },
  1204. {
  1205. "source": "7cEM9Ueje",
  1206. "sourceHandle": "2",
  1207. "target": "b6oMqri3E",
  1208. "targetHandle": null,
  1209. "id": "7VuPquFkG"
  1210. },
  1211. {
  1212. "source": "uQKbrE2Jh",
  1213. "sourceHandle": "2",
  1214. "target": "PX7J1BjLD",
  1215. "targetHandle": null,
  1216. "id": "tZjqM2VVU"
  1217. },
  1218. {
  1219. "source": "1_84E5eo4",
  1220. "sourceHandle": "1",
  1221. "target": "DVzZNsUyp",
  1222. "targetHandle": null,
  1223. "id": "fPKzBNw0L"
  1224. },
  1225. {
  1226. "source": "bcFeI7yet",
  1227. "sourceHandle": "1",
  1228. "target": "Im0dIKx4U",
  1229. "targetHandle": null,
  1230. "id": "jwLhzSVHY"
  1231. },
  1232. {
  1233. "source": "afcN2Nl97",
  1234. "sourceHandle": "1",
  1235. "target": "it57Qyqpw",
  1236. "targetHandle": null,
  1237. "id": "8u3TTvcVq"
  1238. },
  1239. {
  1240. "source": "it57Qyqpw",
  1241. "sourceHandle": "1",
  1242. "target": "1_84E5eo4",
  1243. "targetHandle": null,
  1244. "id": "8pttiMX9X"
  1245. },
  1246. {
  1247. "source": "7cEM9Ueje",
  1248. "sourceHandle": "1",
  1249. "target": "iwFNBRcsF",
  1250. "targetHandle": null,
  1251. "id": "6eLbEVu_t"
  1252. },
  1253. {
  1254. "source": "iwFNBRcsF",
  1255. "sourceHandle": "1",
  1256. "target": "bcFeI7yet",
  1257. "targetHandle": null,
  1258. "id": "3-kSiLI87"
  1259. },
  1260. {
  1261. "source": "6a0HyfVUa",
  1262. "sourceHandle": "1",
  1263. "target": "9JwcXAa8K",
  1264. "targetHandle": null,
  1265. "id": "laesGBa-c"
  1266. },
  1267. {
  1268. "source": "9JwcXAa8K",
  1269. "sourceHandle": "1",
  1270. "target": "Zdkc0fMUb",
  1271. "targetHandle": null,
  1272. "id": "yWaPsOdqW"
  1273. },
  1274. {
  1275. "source": "9JwcXAa8K",
  1276. "sourceHandle": "2",
  1277. "target": "oNb5OkoqC",
  1278. "targetHandle": null,
  1279. "id": "J8adPqxTC"
  1280. },
  1281. {
  1282. "source": "x4UqtuCK9",
  1283. "sourceHandle": "2",
  1284. "target": "iOg_GxU1M",
  1285. "targetHandle": null,
  1286. "id": "P6K8fuKMC"
  1287. },
  1288. {
  1289. "source": "iOg_GxU1M",
  1290. "sourceHandle": "2",
  1291. "target": "jz_648bNe",
  1292. "targetHandle": null,
  1293. "id": "AWdjU8i7a"
  1294. },
  1295. {
  1296. "source": "iOg_GxU1M",
  1297. "sourceHandle": "1",
  1298. "target": "nlAVmhQV3",
  1299. "targetHandle": null,
  1300. "id": "WUg_b4QZc"
  1301. },
  1302. {
  1303. "source": "oNb5OkoqC",
  1304. "sourceHandle": "2",
  1305. "target": "QHUTaIRt5",
  1306. "targetHandle": null,
  1307. "id": "YlwV8Uybk"
  1308. },
  1309. {
  1310. "source": "QHUTaIRt5",
  1311. "sourceHandle": "1",
  1312. "target": "Zdkc0fMUb",
  1313. "targetHandle": null,
  1314. "id": "B4RUVKXvh"
  1315. },
  1316. {
  1317. "source": "QHUTaIRt5",
  1318. "sourceHandle": "2",
  1319. "target": "dCJo7R0hp",
  1320. "targetHandle": null,
  1321. "id": "5wAZr7dOw"
  1322. },
  1323. {
  1324. "source": "y4lqcdrho",
  1325. "sourceHandle": "1",
  1326. "target": "x4UqtuCK9",
  1327. "targetHandle": null,
  1328. "id": "0faIdV4GQ"
  1329. },
  1330. {
  1331. "source": "uQKbrE2Jh",
  1332. "sourceHandle": "1",
  1333. "target": "dGSbgMy2b",
  1334. "targetHandle": null,
  1335. "id": "O1bDd9f4_"
  1336. },
  1337. {
  1338. "source": "dGSbgMy2b",
  1339. "sourceHandle": "1",
  1340. "target": "afcN2Nl97",
  1341. "targetHandle": null,
  1342. "id": "T9uLyGUyq"
  1343. },
  1344. {
  1345. "source": "PX7J1BjLD",
  1346. "sourceHandle": "1",
  1347. "target": "CyWVup-1P",
  1348. "targetHandle": null,
  1349. "id": "_v0g0TSze"
  1350. },
  1351. {
  1352. "source": "CyWVup-1P",
  1353. "sourceHandle": "1",
  1354. "target": "7cEM9Ueje",
  1355. "targetHandle": null,
  1356. "id": "KgMx4ZNmU"
  1357. },
  1358. {
  1359. "source": "Im0dIKx4U",
  1360. "sourceHandle": "1",
  1361. "target": "LigYV5lZM",
  1362. "targetHandle": null,
  1363. "id": "9FRijT2jI"
  1364. },
  1365. {
  1366. "source": "DVzZNsUyp",
  1367. "sourceHandle": "2",
  1368. "target": "LigYV5lZM",
  1369. "targetHandle": null,
  1370. "id": "oCae6TW06"
  1371. },
  1372. {
  1373. "source": "DVzZNsUyp",
  1374. "sourceHandle": "1",
  1375. "target": "LigYV5lZM",
  1376. "targetHandle": null,
  1377. "id": "_vp_JYxzF"
  1378. },
  1379. {
  1380. "source": "Im0dIKx4U",
  1381. "sourceHandle": "2",
  1382. "target": "LigYV5lZM",
  1383. "targetHandle": null,
  1384. "id": "_pPSPtShR"
  1385. },
  1386. {
  1387. "source": "LigYV5lZM",
  1388. "sourceHandle": "1",
  1389. "target": "TqoGlLVGW",
  1390. "targetHandle": null,
  1391. "id": "WWUYAemCO"
  1392. }
  1393. ]
  1394. }
Advertisement
Add Comment
Please, Sign In to add comment