Skip to content

Commit

Permalink
Merge branch 'nightly' into file-types-page
Browse files Browse the repository at this point in the history
  • Loading branch information
chazlarson authored Dec 1, 2024
2 parents fba76b1 + ebdd1ab commit fb7a483
Show file tree
Hide file tree
Showing 150 changed files with 2,895 additions and 2,264 deletions.
2 changes: 2 additions & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ chazlarson
codec
codecs
collectionless
CommonSense
config
configs
cpp
Expand Down Expand Up @@ -179,6 +180,7 @@ md
mdb
mdblist
MDBList
MDBLists
mediastinger
MediaStinger
mediastingers
Expand Down
7 changes: 7 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"MD009": false,
"MD013": false,
"MD033": false,
"MD045": false,
"MD046": false
}
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Update setuptools requirement to 75.3.0

# New Features
Added the `character` search option to the `imdb_search` builder
Added ability to use Show-level ratings at the season and episode level for Overlays if the original source does not provide ratings at the season or episode level. This is accomplished using (Special Text Variables)[https://kometa.wiki/en/latest/files/overlays/#special-text-variables] but is not yet available for the `Ratings` Defaults file.
Add `show_unfiltered` setting to display items which make it through a filter

# Defaults
Fixed incorrect content rating mappings in various Default files
Expand All @@ -24,3 +26,6 @@ Fixes an issue with IMDb Parental Labels not working
Fixes an issue where OMDb returned `N/A` as the content rating
Fixes an issue where `plex_collectionless` doesn't work if the item was added to a collection in the same run
Adds a page that discusses the different YAML files and what they do.
Modifies default value presentation for default metadata files.
Fixes an issue causing IMDB collection to fail due to duplicate keys
Removed Blog from the Navigation due to lack of time for updating/maintaining it
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0-build16
2.1.0-build20
1 change: 1 addition & 0 deletions config/config.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ settings:
show_unmanaged: true
show_unconfigured: true
show_filtered: false
show_unfiltered: false
show_options: true
show_missing: true
show_missing_assets: true
Expand Down
2 changes: 1 addition & 1 deletion defaults/both/universe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ dynamic_collections:
xmen: https://trakt.tv/users/alan-pittflix/lists/x-men
# check2
mdblist_url:
avp: https://mdblist.com/lists/k0meta/external/39802
avp: https://mdblist.com/lists/johnfawkes/alien-vs-predator
arrow: https://mdblist.com/lists/k0meta/external/15113
dca: https://mdblist.com/lists/k0meta/external/15405
dcu: https://mdblist.com/lists/k0meta/external/15107
Expand Down
3 changes: 0 additions & 3 deletions defaults/chart/imdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ collections:
variables:
style: color
key: popular
style: color
template:
- name: imdb_chart
chart: popular
Expand All @@ -33,7 +32,6 @@ collections:
variables:
style: color
key: top
style: color
template:
- name: imdb_chart
chart: top
Expand All @@ -46,7 +44,6 @@ collections:
variables:
style: color
key: lowest
style: color
imdb_chart: lowest_rated
template:
- name: shared
Expand Down
37 changes: 30 additions & 7 deletions docs/config/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ The available setting attributes which can be set at each level are outlined bel
show_unconfigured: false
```

??? blank "`show_filtered` - Used to show filtered items.<a class="headerlink" href="#show-filtered" title="Permanent link">¶</a>"
??? blank "`show_filtered` - Used to show items filtered out.<a class="headerlink" href="#show-filtered" title="Permanent link">¶</a>"

<div id="show-filtered" />List all items which have been filtered out of a collection or playlist (i.e. if it
doesn't meet the filter criteria)
Expand All @@ -615,6 +615,28 @@ The available setting attributes which can be set at each level are outlined bel
show_filtered: true
```

??? blank "`show_unfiltered` - Used to show items which make it through filters.<a class="headerlink" href="#show-unfiltered" title="Permanent link">¶</a>"

<div id="show-unfiltered" />List all items which have made it through the filters INTO a collection or playlist (i.e. if it
meets the filter criteria)

<hr style="margin: 0px;">

**Attribute:** `show_unfiltered`

**Levels with this Attribute:** Global/Library/Collection/Playlist

**Accepted Values:** `true` or `false`

**Default Value:** `false`

???+ example "Example"
```yaml
settings:
show_unfiltered: true
```

??? blank "`show_options` - Used to show attribute options from plex.<a class="headerlink" href="#show-options" title="Permanent link">¶</a>"

<div id="show-options" />While `show_options` is true the available options for an attribute when using
Expand Down Expand Up @@ -1061,12 +1083,13 @@ If no library-level attribute is set, then the global attribute is used.
```yaml
libraries:
Movies:
run_order: #(1)!
- collections
- metadata
- operations
- overlays
minimum_items: 3 #(2)!
settings:
run_order: #(1)!
- collections
- metadata
- operations
- overlays
minimum_items: 3 #(2)!
collection_files:
# stuff here
overlay_files:
Expand Down
10 changes: 5 additions & 5 deletions docs/defaults/award/bafta.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Arts Awards.

Supported Library Types: Movie

## Collections Section 130
## <a id="collection_section"></a>Collections Section 130

| Collection | Key | Description |
|:----------------------------------------------|:----------------------------------|:--------------------------------------------------------------------------------------------|
Expand Down Expand Up @@ -48,16 +48,16 @@ work. Any value not specified will use its default value if it has one if not it
| `use_year_collections` | **Description:** Turn the individual year collections off.<br>**Values:** `false` to turn of the collections |
| `year_collection_section` | **Description:** Change the collection section for year collections only. (Use quotes to not lose leading zeros `"05"`)<br>**Values:** Any number |
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.<br>**Default:** `sync`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the specified key's collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the [key's](#collection_section) collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `collection_order` | **Description:** Changes the Collection Order for all collections in a Defaults file.<br>**Default:** `custom`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../files/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `collection_order_<<key>>`<sup>1</sup> | **Description:** Changes the Collection Order of the specified key's collection.<br>**Default:** `collection_order`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../files/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `collection_order_<<key>>`<sup>1</sup> | **Description:** Changes the Collection Order of the [key's](#collection_section) collection.<br>**Default:** `collection_order`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../files/builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `data` | **Description:** Replaces the `data` dynamic collection value.<br><table class="clearTable"><tr><th>Attribute</th><th>Description & Values</th></tr><tr><td><code>starting</code></td><td>Controls the starting year for collections<br><strong>Default:</strong> latest-5<br><strong>Values:</strong> Number greater than 0</td></tr><tr><td><code>ending</code></td><td>Controls the ending year for collections<br><strong>Default:</strong> latest<br><strong>Values:</strong> Number greater than 1</td></tr><tr><td><code>increment</code></td><td>Controls the increment (i.e. every 5th year)<br><strong>Default:</strong> 1<br><strong>Values:</strong> Number greater than 0</td><td></td></tr></table><ul><li><strong><code>starting</code> and <code>ending</code> can also have the value <code>latest</code></strong></li><li><strong>You can also use a value relative to the <code>latest</code> by doing <code>latest-5</code></strong></li></ul> |
| `exclude` | **Description:** Exclude these Years from creating a Dynamic Collection.<br>**Values:** List of Years |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `BAFTA <<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<key_name>> BAFTA Awards.`<br>**Values:** Any string with `<<key_name>>` in it. |

1. Each default collection has a `key` that when calling to effect a specific collection you must replace
`<<key>>` with when calling.
1. Each default collection has a `key` [see here]() that you must replace
`<<key>>` with when using this template variable. These keys are found in the table at the top of this page.

=== "Shared Template Variables"

Expand Down
Loading

0 comments on commit fb7a483

Please sign in to comment.