From 5bd11d0a4ca8e9e1bfe2ad251183de9678174b8f Mon Sep 17 00:00:00 2001 From: TRaSH Date: Sun, 11 Dec 2022 11:04:02 +0100 Subject: [PATCH] [Guide] Move naming scheme to json part1 - This is part 1 to move the naming scheme to a json file so 3rd party apps can make use of it. (in part 2 it will be also used in the Guide it self) --- docs/json/radarr/naming/radarr-naming.json | 16 ++++++++++++++ docs/json/sonarr/naming/sonarr-naming.json | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 docs/json/radarr/naming/radarr-naming.json create mode 100644 docs/json/sonarr/naming/sonarr-naming.json diff --git a/docs/json/radarr/naming/radarr-naming.json b/docs/json/radarr/naming/radarr-naming.json new file mode 100644 index 000000000..be417d11f --- /dev/null +++ b/docs/json/radarr/naming/radarr-naming.json @@ -0,0 +1,16 @@ +{ + "folder": { + "default": "{Movie CleanTitle} ({Release Year})", + "plex": "{Movie CleanTitle} ({Release Year}) {imdb-{ImdbId}}", + "emby": "{Movie CleanTitle} ({Release Year}) {[imdbid-{ImdbId}]}", + "jellyfin": "{Movie CleanTitle} ({Release Year}) {[imdbid-{ImdbId}]}" + }, + "file": { + "default": "{Movie CleanTitle} {(Release Year)} {imdb-{ImdbId}} {edition-{Edition Tags}} {[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}][{Mediainfo VideoCodec}]{-Release Group}", + "emby": "{Movie CleanTitle} {(Release Year)} {[imdbid-{ImdbId}]} - {Edition Tags }{[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}][{Mediainfo VideoCodec}]{-Release Group}", + "jellyfin": "{Movie CleanTitle} {(Release Year)} {[imdbid-{ImdbId}]} - {Edition Tags }{[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}][{Mediainfo VideoCodec}]{-Release Group}", + "anime": "{Movie CleanTitle} {(Release Year)} {imdb-{ImdbId}} {edition-{Edition Tags}} {[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}]{MediaInfo AudioLanguages}[{MediaInfo VideoBitDepth}bit][{Mediainfo VideoCodec}]{-Release Group}", + "anime-emby": "{Movie CleanTitle} {(Release Year)} {[imdbid-{ImdbId}]} - {Edition Tags }{[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}]{MediaInfo AudioLanguages}[{MediaInfo VideoBitDepth}bit][{Mediainfo VideoCodec}]{-Release Group}", + "anime-jellyfin": "{Movie CleanTitle} {(Release Year)} {[imdbid-{ImdbId}]} - {Edition Tags }{[Custom Formats]}{[Quality Full]}{[MediaInfo 3D]}{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels}]{MediaInfo AudioLanguages}[{MediaInfo VideoBitDepth}bit][{Mediainfo VideoCodec}]{-Release Group}" + } +} diff --git a/docs/json/sonarr/naming/sonarr-naming.json b/docs/json/sonarr/naming/sonarr-naming.json new file mode 100644 index 000000000..f3ca7c2e8 --- /dev/null +++ b/docs/json/sonarr/naming/sonarr-naming.json @@ -0,0 +1,25 @@ +{ + "season": { + "default": "Season {season:00}" + }, + "series": { + "default": "{Series TitleYear}", + "plex": "{Series TitleYear} {imdb-{ImdbId}}", + "emby": "{Series TitleYear} {[tvdbid-{TvdbId}]}", + "jellyfin": "{Series TitleYear} {[tvdbid-{TvdbId}]}" + }, + "episodes": { + "standard": { + "default:3": "{Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}", + "default:4": "{Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} [{Custom Formats }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}" + }, + "daily": { + "default:3": "{Series TitleYear} - {Air-Date} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}", + "default:4": "{Series TitleYear} - {Air-Date} - {Episode CleanTitle} [{Custom Formats }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{[MediaInfo VideoCodec]}{-Release Group}" + }, + "anime": { + "default:3": "{Series TitleYear} - S{season:00}E{episode:00} - {absolute:000} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}[{Mediainfo AudioCodec} { Mediainfo AudioChannels}]{MediaInfo AudioLanguages}{-Release Group}", + "default:4": "{Series TitleYear} - S{season:00}E{episode:00} - {absolute:000} - {Episode CleanTitle} [{Custom Formats }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}[{Mediainfo AudioCodec} { Mediainfo AudioChannels}]{MediaInfo AudioLanguages}{-Release Group}" + } + } +}