From 1931b13af672a7355b95764191983766ec9a9bcd Mon Sep 17 00:00:00 2001 From: Kuredant Date: Sun, 15 Oct 2023 21:25:59 +0900 Subject: [PATCH] feat(starr): add `U-NEXT` streaming service to CF --- .../Radarr-collection-of-custom-formats.md | 20 +++++++++++ .../sonarr-collection-of-custom-formats.md | 20 +++++++++++ docs/json/radarr/cf/u-next.json | 35 +++++++++++++++++++ docs/json/sonarr/cf/u-next.json | 35 +++++++++++++++++++ includes/cf/radarr-streaming-services.md | 1 + includes/cf/sonarr-streaming-services.md | 1 + 6 files changed, 112 insertions(+) create mode 100644 docs/json/radarr/cf/u-next.json create mode 100644 docs/json/sonarr/cf/u-next.json diff --git a/docs/Radarr/Radarr-collection-of-custom-formats.md b/docs/Radarr/Radarr-collection-of-custom-formats.md index c86ee39ab4..d8d7dcd6ec 100644 --- a/docs/Radarr/Radarr-collection-of-custom-formats.md +++ b/docs/Radarr/Radarr-collection-of-custom-formats.md @@ -68,6 +68,7 @@ I also made 3 guides related to this one. | | | | [OViD](#ovid) | | | | | [FOD](#fod) | | | | | [TVer](#tver) | +| | | | [U-NEXT](#u-next) | ------ @@ -1995,6 +1996,25 @@ I also made 3 guides related to this one. ------ +### U-NEXT + +U-NEXT + +??? question "U-NEXT - [Click to show/hide]" + + - [From Wikipedia, the free encyclopedia](https://en.wikipedia.org/wiki/U-Next){:target="_blank" rel="noopener noreferrer"} + - [U-NEXT Website](https://video.unext.jp){:target="_blank" rel="noopener noreferrer"} + +??? example "JSON - [Click to show/hide]" + + ```json + [[% filter indent(width=4) %]][[% include 'json/radarr/cf/u-next.json' %]][[% endfilter %]] + ``` + +[TOP](#index) + +------ + ## Anime ------ diff --git a/docs/Sonarr/sonarr-collection-of-custom-formats.md b/docs/Sonarr/sonarr-collection-of-custom-formats.md index 438c14d38a..7013d53f72 100644 --- a/docs/Sonarr/sonarr-collection-of-custom-formats.md +++ b/docs/Sonarr/sonarr-collection-of-custom-formats.md @@ -75,6 +75,7 @@ I also made 3 guides related to this one. | | | | [UHD Streaming Cut](#uhd-streaming-cut) | | | | | [FOD](#fod) | | | | | [TVer](#tver) | +| | | | [U-NEXT](#u-next) | ------ @@ -1866,6 +1867,25 @@ I also made 3 guides related to this one. ------ +### U-NEXT + +U-NEXT + +??? question "U-NEXT - [Click to show/hide]" + + - [From Wikipedia, the free encyclopedia](https://en.wikipedia.org/wiki/U-Next){:target="_blank" rel="noopener noreferrer"} + - [U-NEXT Website](https://video.unext.jp){:target="_blank" rel="noopener noreferrer"} + +??? example "JSON - [Click to show/hide]" + + ```json + [[% filter indent(width=4) %]][[% include 'json/sonarr/cf/u-next.json' %]][[% endfilter %]] + ``` + +[TOP](#index) + +------ + ## Anime ------ diff --git a/docs/json/radarr/cf/u-next.json b/docs/json/radarr/cf/u-next.json new file mode 100644 index 0000000000..4e33cb7323 --- /dev/null +++ b/docs/json/radarr/cf/u-next.json @@ -0,0 +1,35 @@ +{ + "trash_id": "279bda7434fd9075786de274e6c3c202", + "trash_regex": "https://regex101.com/r/04ZSLm/1", + "name": "U-NEXT", + "includeCustomFormatWhenRenaming": true, + "specifications": [ + { + "name": "U-NEXT", + "implementation": "ReleaseTitleSpecification", + "negate": false, + "required": true, + "fields": { + "value": "\\b(u-next)\\b" + } + }, + { + "name": "WEBDL", + "implementation": "SourceSpecification", + "negate": false, + "required": false, + "fields": { + "value": 7 + } + }, + { + "name": "WEBRIP", + "implementation": "SourceSpecification", + "negate": false, + "required": false, + "fields": { + "value": 8 + } + } + ] +} diff --git a/docs/json/sonarr/cf/u-next.json b/docs/json/sonarr/cf/u-next.json new file mode 100644 index 0000000000..6554e847f5 --- /dev/null +++ b/docs/json/sonarr/cf/u-next.json @@ -0,0 +1,35 @@ +{ + "trash_id": "0e99e7cc719a8a73b2668c3a0c3fe10c", + "trash_regex": "https://regex101.com/r/eQuNMO/1", + "name": "U-NEXT", + "includeCustomFormatWhenRenaming": true, + "specifications": [ + { + "name": "U-NEXT", + "implementation": "ReleaseTitleSpecification", + "negate": false, + "required": true, + "fields": { + "value": "\\b(u-next)\\b" + } + }, + { + "name": "WEBDL", + "implementation": "SourceSpecification", + "negate": false, + "required": false, + "fields": { + "value": 3 + } + }, + { + "name": "WEBRIP", + "implementation": "SourceSpecification", + "negate": false, + "required": false, + "fields": { + "value": 4 + } + } + ] +} diff --git a/includes/cf/radarr-streaming-services.md b/includes/cf/radarr-streaming-services.md index 4daa629fee..00d0a92e56 100644 --- a/includes/cf/radarr-streaming-services.md +++ b/includes/cf/radarr-streaming-services.md @@ -20,6 +20,7 @@ | [{{ radarr['cf']['ovid']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#ovid) | 0 | {{ radarr['cf']['ovid']['trash_id'] }} | | [{{ radarr['cf']['fod']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#fod) | 0 | {{ radarr['cf']['fod']['trash_id'] }} | | [{{ radarr['cf']['tver']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#tver) | 0 | {{ radarr['cf']['tver']['trash_id'] }} | + | [{{ radarr['cf']['u-next']['name'] }}](/Radarr/Radarr-collection-of-custom-formats/#u-next) | 0 | {{ radarr['cf']['u-next']['trash_id'] }} | ------ Breakdown and Why diff --git a/includes/cf/sonarr-streaming-services.md b/includes/cf/sonarr-streaming-services.md index 9e4652c19a..926ee749d7 100644 --- a/includes/cf/sonarr-streaming-services.md +++ b/includes/cf/sonarr-streaming-services.md @@ -24,3 +24,4 @@ | [{{ sonarr['cf']['ovid']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#ovid) | {{ sonarr['cf']['ovid']['trash_scores']['default'] }} | {{ sonarr['cf']['ovid']['trash_id'] }} | | [{{ sonarr['cf']['fod']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#fod) | 0 | {{ sonarr['cf']['fod']['trash_id'] }} | | [{{ sonarr['cf']['tver']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#tver) | 0 | {{ sonarr['cf']['tver']['trash_id'] }} | + | [{{ sonarr['cf']['u-next']['name'] }}](/Sonarr/sonarr-collection-of-custom-formats/#u-next) | 0 | {{ sonarr['cf']['u-next']['trash_id'] }} |