update plex-mm
continuous-integration/drone/push Build is passing Details

states/02
thest1tch 1 year ago
parent 4af763b2e4
commit 308c22388a

@ -1,186 +1,179 @@
Plex Meta Managers # Plex Meta Managers
.env файл
```
PUID=1000
PGID=1000
TZ="Asia/Yekaterinburg"
DOCKER_APP="/opt/appdata"
```
``` yaml title="docker-compose.yml
``` yaml version: "3.7"
plexmm-films: services:
plexmm:
image: lscr.io/linuxserver/plex-meta-manager:latest image: lscr.io/linuxserver/plex-meta-manager:latest
container_name: plexmm-films container_name: plexmm
restart: "no" restart: "no"
networks:
- direct_net
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
environment: environment:
TZ: $TZ TZ: "Asia/Yekaterinburg"
PUID: $PUID PUID: 1000
PGID: $PGID PGID: 1000
PMM_CONFIG: /config/config.yml #optional PMM_CONFIG: /config/config.yml #optional
PMM_TIME: 03:00 #optional PMM_TIME: 03:00 #optional
PMM_RUN: "True" #optional PMM_RUN: "True" #optional
PMM_TEST: "False" #optional PMM_TEST: "False" #optional
PMM_NO_MISSING: "False" #optional PMM_NO_MISSING: "False" #optional
volumes: volumes:
- $DOCKER_APP/plexmm/films:/config - ./plexmm:/config
``` ```
конфиг файл в папке $DOCKER_APP/plexmm/films ## Конфиг файл в папке ./plexmm
config.yml ??? example "config.yml"
```yaml === "Фильмы"
## This file is a template remove the .template to use the file
libraries: ```yaml
Фильмы: ## This file is a template remove the .template to use the file
metadata_path: libraries:
- file: config/Movies/Genre.yml Фильмы:
- file: config/Movies/Studio.yml metadata_path:
- folder: config/Movies/Collections - file: config/Movies/Genre.yml
- folder: config/Movies/Metadata/Collections - file: config/Movies/Studio.yml
- pmm: basic - folder: config/Movies/Collections
- pmm: imdb - folder: config/Movies/Metadata/Collections
- pmm: franchise - pmm: basic
overlay_path: - pmm: imdb
- remove_overlays: false - pmm: franchise
- reapply_overlay: false overlay_path:
- pmm: resolution - remove_overlays: false
- pmm: commonsense - reapply_overlay: false
- pmm: ratings - pmm: resolution
template_variables: - pmm: commonsense
rating1: critic - pmm: ratings
rating1_image: imdb template_variables:
rating2: audience rating1: critic
rating2_image: trakt rating1_image: imdb
rating3: user rating2: audience
rating3_image: tmdb rating2_image: trakt
horizontal_position: right rating3: user
operations: rating3_image: tmdb
mass_critic_rating_update: imdb horizontal_position: right
mass_audience_rating_update: mdb_trakt operations:
mass_user_rating_update: tmdb mass_critic_rating_update: imdb
playlist_files: mass_audience_rating_update: mdb_trakt
- pmm: playlist mass_user_rating_update: tmdb
settings: playlist_files:
cache: true - pmm: playlist
cache_expiration: 60 settings:
asset_directory: config/assets cache: true
asset_folders: true cache_expiration: 60
asset_depth: 0 asset_directory: config/assets
create_asset_folders: false asset_folders: true
prioritize_assets: false asset_depth: 0
dimensional_asset_rename: false create_asset_folders: false
download_url_assets: false prioritize_assets: false
show_missing_season_assets: false dimensional_asset_rename: false
show_missing_episode_assets: false download_url_assets: false
show_asset_not_needed: true show_missing_season_assets: false
sync_mode: append show_missing_episode_assets: false
minimum_items: 1 show_asset_not_needed: true
default_collection_order: sync_mode: append
delete_below_minimum: true minimum_items: 1
delete_not_scheduled: false default_collection_order:
run_again_delay: 2 delete_below_minimum: true
missing_only_released: false delete_not_scheduled: false
only_filter_missing: false run_again_delay: 2
show_unmanaged: true missing_only_released: false
show_filtered: false only_filter_missing: false
show_options: false show_unmanaged: true
show_missing: true show_filtered: false
show_missing_assets: true show_options: false
save_report: false show_missing: true
tvdb_language: rus show_missing_assets: true
ignore_ids: save_report: false
ignore_imdb_ids: tvdb_language: rus
item_refresh_delay: 0 ignore_ids:
playlist_sync_to_user: all ignore_imdb_ids:
playlist_report: false item_refresh_delay: 0
verify_ssl: true playlist_sync_to_user: all
custom_repo: playlist_report: false
check_nightly: false verify_ssl: true
show_unconfigured: true custom_repo:
playlist_exclude_users: check_nightly: false
webhooks: # Can be individually specified per library as well show_unconfigured: true
error: playlist_exclude_users:
version: webhooks: # Can be individually specified per library as well
run_start: error:
run_end: version:
changes: run_start:
delete: run_end:
plex: # Can be individually specified per library as well; REQUIRED for the script to run changes:
url: http:// delete:
token: token plex: # Can be individually specified per library as well; REQUIRED for the script to run
timeout: 60 url: http://
clean_bundles: false token: token
empty_trash: false timeout: 60
optimize: false clean_bundles: false
tmdb: # REQUIRED for the script to run empty_trash: false
apikey: api optimize: false
language: ru tmdb: # REQUIRED for the script to run
cache_expiration: 60 apikey: api
region: language: ru
trakt: cache_expiration: 60
client_id: id region:
client_secret: secret trakt:
pin: pin client_id: id
authorization: client_secret: secret
# everything below is autofilled by the script pin: pin
access_token: authorization:
token_type: # everything below is autofilled by the script
expires_in: access_token:
refresh_token: token_type:
scope: public expires_in:
created_at: refresh_token:
``` scope: public
created_at:
```
Для сериалов: === "Сериалы"
```yaml ```yaml
Сериалы: Сериалы:
metadata_path: metadata_path:
- file: config/TV-Shows/Collections.yml - file: config/TV-Shows/Collections.yml
- folder: config/TV-Shows/Metadata/Anime - folder: config/TV-Shows/Metadata/Anime
- folder: config/TV-Shows/Metadata/TV - folder: config/TV-Shows/Metadata/TV
- pmm: basic - pmm: basic
- pmm: imdb - pmm: imdb
overlay_path: overlay_path:
- remove_overlays: false - remove_overlays: false
- reapply_overlay: false - reapply_overlay: false
- pmm: ratings - pmm: ratings
template_variables: template_variables:
rating1: critic rating1: critic
rating1_image: imdb rating1_image: imdb
rating2: audience rating2: audience
rating2_image: trakt rating2_image: trakt
rating3: user rating3: user
rating3_image: tmdb rating3_image: tmdb
horizontal_position: right horizontal_position: right
- pmm: resolution - pmm: resolution
template_variables: template_variables:
overlay_level: season overlay_level: season
- pmm: resolution - pmm: resolution
template_variables: template_variables:
overlay_level: episode overlay_level: episode
- pmm: ratings # 3, 4 - pmm: ratings # 3, 4
template_variables: template_variables:
rating1: audience rating1: audience
rating1_image: trakt rating1_image: trakt
horizontal_position: right # the set of ratings is on the right of the poster horizontal_position: right # the set of ratings is on the right of the poster
overlay_level: episode overlay_level: episode
- pmm: status - pmm: status
template_variables: template_variables:
font_size: 75 font_size: 75
#font: config/fonts/Juventus-Fans-Bold.ttf #font: config/fonts/Juventus-Fans-Bold.ttf
back_color: "#262626" # darker back_color: "#262626" # darker
back_width: 1920 back_width: 1920
back_height: 125 back_height: 125
horizontal_align: center horizontal_align: center
vertical_align: top vertical_align: top
vertical_offset: 0 vertical_offset: 0
``` ```
Loading…
Cancel
Save