fix: align terraform resources with actual provider schema
Use nested attribute assignment instead of dynamic blocks for specifications, quality_groups, and format_items. Add required language field to quality profiles. Remove unsupported delay_profile fields. Flatten custom format specifications to use value/min/max directly.
This commit is contained in:
@@ -3,76 +3,79 @@ cutoff: 7
|
||||
cutoff_format_score: 5000
|
||||
min_format_score: 0
|
||||
quality_groups:
|
||||
- id: 20
|
||||
qualities:
|
||||
- id: 20
|
||||
qualities:
|
||||
- id: 20
|
||||
name: Bluray-480p
|
||||
source: bluray
|
||||
resolution: 480
|
||||
name: Bluray-480p
|
||||
source: bluray
|
||||
resolution: 480
|
||||
- id: 21
|
||||
qualities:
|
||||
- id: 21
|
||||
qualities:
|
||||
- id: 21
|
||||
name: Bluray-576p
|
||||
source: bluray
|
||||
resolution: 576
|
||||
name: Bluray-576p
|
||||
source: bluray
|
||||
resolution: 576
|
||||
- id: 4
|
||||
qualities:
|
||||
- id: 4
|
||||
qualities:
|
||||
- id: 4
|
||||
name: HDTV-720p
|
||||
source: tv
|
||||
resolution: 720
|
||||
name: HDTV-720p
|
||||
source: tv
|
||||
resolution: 720
|
||||
- id: 5
|
||||
qualities:
|
||||
- id: 5
|
||||
qualities:
|
||||
- id: 5
|
||||
name: WEBDL-720p
|
||||
source: webdl
|
||||
resolution: 720
|
||||
name: WEBDL-720p
|
||||
source: webdl
|
||||
resolution: 720
|
||||
- id: 14
|
||||
qualities:
|
||||
- id: 14
|
||||
qualities:
|
||||
- id: 14
|
||||
name: WEBRip-720p
|
||||
source: webrip
|
||||
resolution: 720
|
||||
name: WEBRip-720p
|
||||
source: webrip
|
||||
resolution: 720
|
||||
- id: 6
|
||||
qualities:
|
||||
- id: 6
|
||||
qualities:
|
||||
- id: 6
|
||||
name: Bluray-720p
|
||||
source: bluray
|
||||
resolution: 720
|
||||
name: Bluray-720p
|
||||
source: bluray
|
||||
resolution: 720
|
||||
- id: 9
|
||||
qualities:
|
||||
- id: 9
|
||||
qualities:
|
||||
- id: 9
|
||||
name: HDTV-1080p
|
||||
source: tv
|
||||
resolution: 1080
|
||||
name: HDTV-1080p
|
||||
source: tv
|
||||
resolution: 1080
|
||||
- id: 3
|
||||
qualities:
|
||||
- id: 3
|
||||
qualities:
|
||||
- id: 3
|
||||
name: WEBDL-1080p
|
||||
source: webdl
|
||||
resolution: 1080
|
||||
name: WEBDL-1080p
|
||||
source: webdl
|
||||
resolution: 1080
|
||||
- id: 15
|
||||
qualities:
|
||||
- id: 15
|
||||
qualities:
|
||||
- id: 15
|
||||
name: WEBRip-1080p
|
||||
source: webrip
|
||||
resolution: 1080
|
||||
name: WEBRip-1080p
|
||||
source: webrip
|
||||
resolution: 1080
|
||||
- id: 7
|
||||
qualities:
|
||||
- id: 7
|
||||
qualities:
|
||||
- id: 7
|
||||
name: Bluray-1080p
|
||||
source: bluray
|
||||
resolution: 1080
|
||||
name: Bluray-1080p
|
||||
source: bluray
|
||||
resolution: 1080
|
||||
format_items:
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -200
|
||||
- name: x265
|
||||
format: x265
|
||||
score: 1000
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: 500
|
||||
- name: 720p
|
||||
format: 720p
|
||||
score: 200
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -200
|
||||
- name: x265
|
||||
format: x265
|
||||
score: 1000
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: 500
|
||||
- name: 720p
|
||||
format: 720p
|
||||
score: 200
|
||||
language:
|
||||
id: 1
|
||||
name: English
|
||||
|
||||
@@ -3,34 +3,37 @@ cutoff: 19
|
||||
cutoff_format_score: 5000
|
||||
min_format_score: 0
|
||||
quality_groups:
|
||||
- id: 18
|
||||
qualities:
|
||||
- id: 18
|
||||
qualities:
|
||||
- id: 18
|
||||
name: WEBDL-2160p
|
||||
source: webdl
|
||||
resolution: 2160
|
||||
name: WEBDL-2160p
|
||||
source: webdl
|
||||
resolution: 2160
|
||||
- id: 17
|
||||
qualities:
|
||||
- id: 17
|
||||
qualities:
|
||||
- id: 17
|
||||
name: WEBRip-2160p
|
||||
source: webrip
|
||||
resolution: 2160
|
||||
name: WEBRip-2160p
|
||||
source: webrip
|
||||
resolution: 2160
|
||||
- id: 19
|
||||
qualities:
|
||||
- id: 19
|
||||
qualities:
|
||||
- id: 19
|
||||
name: Bluray-2160p
|
||||
source: bluray
|
||||
resolution: 2160
|
||||
name: Bluray-2160p
|
||||
source: bluray
|
||||
resolution: 2160
|
||||
format_items:
|
||||
- name: 2160p
|
||||
format: 2160p
|
||||
score: 2000
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: 500
|
||||
- name: x265
|
||||
format: x265
|
||||
score: 2000
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -5000
|
||||
- name: 2160p
|
||||
format: 2160p
|
||||
score: 2000
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: 500
|
||||
- name: x265
|
||||
format: x265
|
||||
score: 2000
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -5000
|
||||
language:
|
||||
id: 1
|
||||
name: English
|
||||
|
||||
@@ -3,30 +3,33 @@ cutoff: 1002
|
||||
cutoff_format_score: 300
|
||||
min_format_score: 300
|
||||
quality_groups:
|
||||
- id: 1002
|
||||
name: "WEB 1080p"
|
||||
qualities:
|
||||
- id: 3
|
||||
name: WEBDL-1080p
|
||||
source: webdl
|
||||
resolution: 1080
|
||||
- id: 15
|
||||
name: WEBRip-1080p
|
||||
source: webrip
|
||||
resolution: 1080
|
||||
- id: 1002
|
||||
name: WEB 1080p
|
||||
qualities:
|
||||
- id: 3
|
||||
name: WEBDL-1080p
|
||||
source: webdl
|
||||
resolution: 1080
|
||||
- id: 15
|
||||
name: WEBRip-1080p
|
||||
source: webrip
|
||||
resolution: 1080
|
||||
format_items:
|
||||
- name: 2160p
|
||||
format: 2160p
|
||||
score: -300
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -200
|
||||
- name: x265
|
||||
format: x265
|
||||
score: -200
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: -200
|
||||
- name: 720p
|
||||
format: 720p
|
||||
score: 300
|
||||
- name: 2160p
|
||||
format: 2160p
|
||||
score: -300
|
||||
- name: x264
|
||||
format: x264
|
||||
score: -200
|
||||
- name: x265
|
||||
format: x265
|
||||
score: -200
|
||||
- name: 1080p
|
||||
format: 1080p
|
||||
score: -200
|
||||
- name: 720p
|
||||
format: 720p
|
||||
score: 300
|
||||
language:
|
||||
id: 1
|
||||
name: English
|
||||
|
||||
Reference in New Issue
Block a user