forked from van-geaux/plex_nfo_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
64 lines (55 loc) · 1.86 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# config.yml
# support environment variables in .env file
# change PMS path here (not used anymore)
# path before /Library/Application Support/Metadata
# !!!!!!! DO NOT OMMIT THE LAST SLASH "/" !!!!!!!
# plex_root: '/docker/plex/Library/Application Support/Plex Media Server/'
# change plex url and token here
# !!!!!!! OMMIT THE LAST SLASH "/" !!!!!!!!
baseurl: ${PLEX_URL} # i.e http://192.168.1.1:32400 or if reverse proxied i.e. https://plex.yourtld.com
token: ${PLEX_TOKEN} # how to get token https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
# input the libraries you want to export NFO/poster/fanart from
library_names: ['Movies', 'TV Shows', 'Anime']
# minimum age (days) for NFO/poster/art not to be replaced
# i.e setting 15 means any NFO/poster/art file older than 15 days will not be replaced
# !!!!!!! set lower than how often you plan to run the script !!!!!!!
days_difference: 4
# true/false choose what to export
# !!!!!!! do not wrap in quotes !!!!!!!
export_nfo: true
export_poster: false
export_fanart: false
# change/add path mapping if plex path is different from local (script) path
# !!!!!!! OMMIT THE LAST SLASH "/" !!!!!!!!
path_mapping: [
{
'plex': '/data_media',
'local': '/volume1/data/media'
},
{
'plex': '/usb2',
'local': '/volumeUSB2/usbshare/data'
}
]
################################ NFO options ################################
# important
# change only if you know you don't want these metadata
title: true
agent_id: true # will export all available metadata agent ids
tagline: true
plot: true
year: true
# optionals
studio: false
mpaa: false
criticrating: false
customrating: false
runtime: false
releasedate: false
genre: false
country: false
ratings: false
directors: false
writers: false
roles: false
# producers: false # there's no equivalent in jellyfin metadata