Remove all `trash_score` properties from CF json files (#1629)

pull/1630/head
Robert Dailey 1 year ago committed by GitHub
parent 7a0dade5be
commit b399592e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,6 @@ When doing a PR that is in-progress and not yet complete / ready for review or n
```json
{
"trash_id": "HASHCODE",
"trash_score": 50,
"trash_scores": {
"default": 50,
"some_other_profile": 100
@ -87,10 +86,11 @@ General Structure
- json file name - name of the [json file](#file-naming)
- `trash_id` - Generated [HashCode](#hashcode) for the Custom Format
- `trash_score` - (Legacy) [Default Score for the Custom Format](#scoring). Note that Custom Formats with Default Scores of 0 should NOT have a `trash_score`
- `trash_scores` - (New) Json object of [score(s) for the Custom Format](#scoring). Note that Custom Formats with Default Scores of 0 should NOT have a `trash_scores.default`
- `trash_scores` - Json object of [score(s) for the Custom Format](#scoring). Note that Custom
Formats with Default Scores of 0 should NOT have a `trash_scores.default`
- `trash_regex` - Link to [regex test cases](#regex-test-cases) for regex
- STARRJSONEXPORT - The exported custom format created within Starr. Note that this will have a leading `{` that will need to have the `trash` specific regex added after
- STARRJSONEXPORT - The exported custom format created within Starr. Note that this will have a
leading `{` that will need to have the `trash` specific regex added after
### File Naming
@ -123,11 +123,10 @@ When updating or adding a new CF the test case url (`trash_regex`) needs to be p
### Scoring
- Scores must be added both as a single value under (legacy) `trash_score` and as JSON objects under `trash_scores`, for example:
- Scores must be added as JSON objects under `trash_scores`, for example:
```json
{
"trash_score": 50,
"trash_scores": {
"default": 50,
"some_other_profile": 100
@ -136,9 +135,7 @@ When updating or adding a new CF the test case url (`trash_regex`) needs to be p
```
- This allows for Custom Formats to be assigned different scores for different profiles
- The `trash_score` value MUST be the same as the `trash_scores.default` value
- The legacy `trash_score` value is currently retained for compatibility reasons, but will eventually be removed
- Default Scores of 0 (`trash_score` or `trash_scores.default` are FORBIDDEN
- Default Scores of 0 (e.g. as in `trash_scores.default`) are FORBIDDEN
## YAML file naming

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": 10,
"trash_scores": {
"default": 10
},

@ -1,6 +1,5 @@
{
"trash_id": "guide-only",
"trash_score": 10,
"trash_scores": {
"default": 10
},

@ -1,6 +1,5 @@
{
"trash_id": "820b09bb9acbfde9c35c71e0e565dad8",
"trash_score": 50,
"trash_scores": {
"default": 50
},

@ -1,6 +1,5 @@
{
"trash_id": "fb392fb0d61a010ae38e49ceaa24a1ef",
"trash_score": 100,
"trash_scores": {
"default": 100,
"sqp-2": 151,

@ -1,6 +1,5 @@
{
"trash_id": "b8cd450cbfa689c0259a01d9e29ba3d6",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "eca37840c13c6ef2dd0262b141a5482f",
"trash_score": 25,
"trash_scores": {
"default": 25
},

@ -1,6 +1,5 @@
{
"trash_id": "b2be17d608fc88818940cd1833b0b24c",
"trash_score": 5,
"trash_scores": {
"default": 5
},

@ -1,6 +1,5 @@
{
"trash_id": "240770601cc226190c367ef59aba7463",
"trash_score": 1000,
"trash_scores": {
"default": 1000,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "fb3ccc5d5cc8f77c9055d4cb4561dded",
"trash_score": 1400,
"trash_scores": {
"default": 1400
},

@ -1,6 +1,5 @@
{
"trash_id": "66926c8fa9312bc74ab71bf69aae4f4a",
"trash_score": 1300,
"trash_scores": {
"default": 1300
},

@ -1,6 +1,5 @@
{
"trash_id": "fa857662bad28d5ff21a6e611869a0ff",
"trash_score": 1200,
"trash_scores": {
"default": 1200
},

@ -1,6 +1,5 @@
{
"trash_id": "f262f1299d99b1a2263375e8fa2ddbb3",
"trash_score": 1100,
"trash_scores": {
"default": 1100
},

@ -1,6 +1,5 @@
{
"trash_id": "ca864ed93c7b431150cc6748dc34875d",
"trash_score": 1000,
"trash_scores": {
"default": 1000
},

@ -1,6 +1,5 @@
{
"trash_id": "9dce189b960fddf47891b7484ee886ca",
"trash_score": 900,
"trash_scores": {
"default": 900
},

@ -1,6 +1,5 @@
{
"trash_id": "1ef101b3a82646b40e0cab7fc92cd896",
"trash_score": 800,
"trash_scores": {
"default": 800
},

@ -1,6 +1,5 @@
{
"trash_id": "6115ccd6640b978234cc47f2c1f2cadc",
"trash_score": 700,
"trash_scores": {
"default": 700
},

@ -1,6 +1,5 @@
{
"trash_id": "b0fdc5897f68c9a68c70c25169f77447",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "06b6542a47037d1e33b15aa3677c2365",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "8167cffba4febfb9a6988ef24f274e7e",
"trash_score": 600,
"trash_scores": {
"default": 600
},

@ -1,6 +1,5 @@
{
"trash_id": "8526c54e36b4962d340fce52ef030e76",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "de41e72708d2c856fa261094c85e965d",
"trash_score": 400,
"trash_scores": {
"default": 400
},

@ -1,6 +1,5 @@
{
"trash_id": "9edaeee9ea3bcd585da9b7c0ac3fc54f",
"trash_score": 300,
"trash_scores": {
"default": 300
},

@ -1,6 +1,5 @@
{
"trash_id": "22d953bbe897857b517928f3652b8dd3",
"trash_score": 200,
"trash_scores": {
"default": 200
},

@ -1,6 +1,5 @@
{
"trash_id": "a786fbc0eae05afe3bb51aee3c83a9d4",
"trash_score": 100,
"trash_scores": {
"default": 100
},

@ -1,6 +1,5 @@
{
"trash_id": "417804f7f2c4308c1f4c5d380d4c4475",
"trash_score": 3000,
"trash_scores": {
"default": 3000,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "b6832f586342ef70d9c128d40c07b872",
"trash_score": -10000,
"trash_scores": {
"default": -10000,
"french-multi": 0

@ -1,6 +1,5 @@
{
"trash_id": "cc5e51a9e85a6296ceefe097a77f12f4",
"trash_score": 15,
"trash_scores": {
"default": 15
},

@ -1,6 +1,5 @@
{
"trash_id": "5153ec7413d9dae44e24275589b5e944",
"trash_score": 1000,
"trash_scores": {
"default": 1000
},

@ -1,6 +1,5 @@
{
"trash_id": "ed38b889b31be83fda192888e2286d83",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "16622a6911d1ab5d5b8b713d5b0036d4",
"trash_score": 20,
"trash_scores": {
"default": 20
},

@ -1,6 +1,5 @@
{
"trash_id": "e0c07d59beb37348e975a930d5e50319",
"trash_score": 25,
"trash_scores": {
"default": 25
},

@ -1,6 +1,5 @@
{
"trash_id": "c2998bd0d90ed5621d8df281e839436e",
"trash_score": 750,
"trash_scores": {
"default": 750,
"sqp-1-1080p": 115,

@ -1,6 +1,5 @@
{
"trash_id": "1af239278386be2919e1bcee0bde047e",
"trash_score": 3000,
"trash_scores": {
"default": 3000,
"sqp-1-1080p": 135,

@ -1,6 +1,5 @@
{
"trash_id": "185f1dd7264c4562b9022d963ac37424",
"trash_score": 1750,
"trash_scores": {
"default": 1750,
"sqp-1-1080p": 125,

@ -1,6 +1,5 @@
{
"trash_id": "f9f847ac70a0af62ea4a08280b859636",
"trash_score": 1500,
"trash_scores": {
"default": 1500,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "8e109e50e0a0b83a5098b056e13bf6db",
"trash_score": 2000,
"trash_scores": {
"default": 2000,
"sqp-1-1080p": -10000,

@ -1,6 +1,5 @@
{
"trash_id": "dcf3ec6938fa32445f590a4da84256cd",
"trash_score": 2500,
"trash_scores": {
"default": 2500,
"sqp-1-1080p": -10000,

@ -1,6 +1,5 @@
{
"trash_id": "2f22d89048b01681dde8afe203bf2e95",
"trash_score": 4500,
"trash_scores": {
"default": 4500,
"sqp-1-1080p": -10000,

@ -1,6 +1,5 @@
{
"trash_id": "1c1a4c5e823891c75bc50380a6866f73",
"trash_score": 1250,
"trash_scores": {
"default": 1250,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "b23eae459cc960816f2d6ba84af45055",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "f700d29429c023a5734505e77daeaea7",
"trash_score": 101,
"trash_scores": {
"default": 101
},

@ -1,6 +1,5 @@
{
"trash_id": "e23edd2482476e595fb990b12e7c609c",
"trash_score": 1500,
"trash_scores": {
"default": 1500
},

@ -1,6 +1,5 @@
{
"trash_id": "55d53828b9d81cbe20b02efd00aa0efd",
"trash_score": 1500,
"trash_scores": {
"default": 1500
},

@ -1,6 +1,5 @@
{
"trash_id": "a3e19f8f627608af0211acd02bf89735",
"trash_score": 1500,
"trash_scores": {
"default": 1500
},

@ -1,6 +1,5 @@
{
"trash_id": "923b6abef9b17f937fab56cfcf89e1f1",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "58d6a88f13e2db7f5059c41047876f00",
"trash_score": 1500,
"trash_scores": {
"default": 1500
},

@ -1,6 +1,5 @@
{
"trash_id": "90cedc1fea7ea5d11298bebd3d1d3223",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "0a3f082873eb454bde444150b70253cc",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "7f9b93f82b7e996391525f2be1d891e0",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "a570d4a0e56a2874b64e5bfa55202a1b",
"trash_score": 2250,
"trash_scores": {
"default": 2250,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "e098247bc6652dd88c76644b275260ed",
"trash_score": 51,
"trash_scores": {
"default": 51
},

@ -1,6 +1,5 @@
{
"trash_id": "ff5bc9e8ce91d46c997ca3ac6994d6f8",
"trash_score": 101,
"trash_scores": {
"default": 101
},

@ -1,6 +1,5 @@
{
"trash_id": "0d91270a7255a1e388fa85e959f359d8",
"trash_score": 1,
"trash_scores": {
"default": 1
},

@ -1,6 +1,5 @@
{
"trash_id": "6d27683346c78d6a3f772e30877910a7",
"trash_score": 1,
"trash_scores": {
"default": 1
},

@ -1,6 +1,5 @@
{
"trash_id": "5322da05b19d857acc1e75be3edf47b3",
"trash_score": 1800,
"trash_scores": {
"default": 1800
},

@ -1,6 +1,5 @@
{
"trash_id": "57f34251344be2e283fc30e00e458be6",
"trash_score": 1750,
"trash_scores": {
"default": 1750
},

@ -1,6 +1,5 @@
{
"trash_id": "48f031e76111f17ea94898f4cdc34fdc",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "5583260016e0b9f683f53af41fb42e4a",
"trash_score": 1950,
"trash_scores": {
"default": 1950
},

@ -1,6 +1,5 @@
{
"trash_id": "9019d81307e68cd4a7eb06a567e833b8",
"trash_score": 1900,
"trash_scores": {
"default": 1900
},

@ -1,6 +1,5 @@
{
"trash_id": "0d94489c0d5828cd3bf9409d309fb32b",
"trash_score": 1500,
"trash_scores": {
"default": 1500
},

@ -1,6 +1,5 @@
{
"trash_id": "64f8f12bbf7472a6ccf838bfd6b5e3e8",
"trash_score": 1800,
"trash_scores": {
"default": 1800
},

@ -1,6 +1,5 @@
{
"trash_id": "0dcf0c8a386d82e3f2d424189af14065",
"trash_score": 1750,
"trash_scores": {
"default": 1750
},

@ -1,6 +1,5 @@
{
"trash_id": "9790a618cec1aeac8ce75601a17ea40d",
"trash_score": 1700,
"trash_scores": {
"default": 1700
},

@ -1,6 +1,5 @@
{
"trash_id": "3c83a765f84239716bd5fd2d7af188f9",
"trash_score": 1650,
"trash_scores": {
"default": 1650
},

@ -1,6 +1,5 @@
{
"trash_id": "ed27ebfef2f323e964fb1f61391bcb35",
"trash_score": 1800,
"trash_scores": {
"default": 1800,
"sqp-1-1080p": 1100,

@ -1,6 +1,5 @@
{
"trash_id": "c20c8647f2746a1f4c4262b0fbbeeeae",
"trash_score": 1750,
"trash_scores": {
"default": 1750,
"sqp-1-1080p": 1050,

@ -1,6 +1,5 @@
{
"trash_id": "5608c71bcebba0a5e666223bae8c9227",
"trash_score": 1700,
"trash_scores": {
"default": 1700,
"sqp-1-1080p": 1000,

@ -1,6 +1,5 @@
{
"trash_id": "2a4d9069cc1fe3242ff9bdaebed239bb",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "e61e28db95d22bedcadf030b8f156d96",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "dfb86d5941bc9075d6af23b09c2aeecd",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "b17886cb4158d9fea189859409975758",
"trash_score": 901,
"trash_scores": {
"default": 901
},

@ -1,6 +1,5 @@
{
"trash_id": "b974a6cd08c1066250f1f177d7aa1225",
"trash_score": 600,
"trash_scores": {
"default": 600
},

@ -1,6 +1,5 @@
{
"trash_id": "9364dd386c9b4a1100dde8264690add7",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "0f12c086e289cf966fa5948eac571f44",
"trash_score": 100,
"trash_scores": {
"default": 100
},

@ -1,6 +1,5 @@
{
"trash_id": "9f6cbff8cfe4ebbc1bde14c7b7bec0de",
"trash_score": 800,
"trash_scores": {
"default": 800
},

@ -1,6 +1,5 @@
{
"trash_id": "eecf3a857724171f968a66cb5719e152",
"trash_score": 800,
"trash_scores": {
"default": 800
},

@ -1,6 +1,5 @@
{
"trash_id": "c465ccc73923871b3eb1802042331306",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "90a6f9a284dff5103f6346090e6280c8",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "2a6039655313bf5dab1e43523b62c374",
"trash_score": 20,
"trash_scores": {
"default": 20
},

@ -1,6 +1,5 @@
{
"trash_id": "9d27d9d2181838f76dee150882bdc58c",
"trash_score": 25,
"trash_scores": {
"default": 25
},

@ -1,6 +1,5 @@
{
"trash_id": "6ba9033150e7896bdc9ec4b44f2b230f",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "72b1548df1ac3175ca105a9ce7043c91",
"trash_score": 300,
"trash_scores": {
"default": 300
},

@ -1,6 +1,5 @@
{
"trash_id": "ae9b7c9ebde1f3bd336a8cbd1ec4c5e5",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "7357cf5161efbf8c4d5d0c30b4815ee2",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

@ -1,6 +1,5 @@
{
"trash_id": "09d9dd29a0fc958f9796e65c2a8864b4",
"trash_score": 25,
"trash_scores": {
"default": 25
},

@ -1,6 +1,5 @@
{
"trash_id": "a061e2e700f81932daf888599f8a8273",
"trash_score": 250,
"trash_scores": {
"default": 250
},

@ -1,6 +1,5 @@
{
"trash_id": "e7c2fcae07cbada050a0af3357491d7b",
"trash_score": 2250,
"trash_scores": {
"default": 2250,
"sqp-1-1080p": 0,

@ -1,6 +1,5 @@
{
"trash_id": "08d6d8834ad9ec87b1dc7ec8148e7a1f",
"trash_score": 500,
"trash_scores": {
"default": 500
},

@ -1,6 +1,5 @@
{
"trash_id": "570bc9ebecd92723d2d21500f4be314c",
"trash_score": 25,
"trash_scores": {
"default": 25
},

@ -1,6 +1,5 @@
{
"trash_id": "3a3ff47579026e76d6504ebea39390de",
"trash_score": 1950,
"trash_scores": {
"default": 1950,
"anime-radarr": 1050

@ -1,6 +1,5 @@
{
"trash_id": "9f98181fe5a3fbeb0cc29340da2a468a",
"trash_score": 1900,
"trash_scores": {
"default": 1900,
"anime-radarr": 1000

@ -1,6 +1,5 @@
{
"trash_id": "8baaf0b3142bf4d94c42a724f034e27a",
"trash_score": 1850,
"trash_scores": {
"default": 1850,
"anime-radarr": 950

@ -1,6 +1,5 @@
{
"trash_id": "e7718d7a3ce595f289bfee26adc178f5",
"trash_score": 5,
"trash_scores": {
"default": 5
},

@ -1,6 +1,5 @@
{
"trash_id": "ae43b294509409a6a13919dedd4764c4",
"trash_score": 6,
"trash_scores": {
"default": 6
},

@ -1,6 +1,5 @@
{
"trash_id": "5c44f52a8714fdd79bb4d98e2673be1f",
"trash_score": -10000,
"trash_scores": {
"default": -10000
},

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save