-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.rb.samp
57 lines (48 loc) · 1.93 KB
/
config.rb.samp
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
##
## Personal settings -- you must change these
##
# Where should we do our work?
MOVIES_ROOT = '/some/path/to/movies'
# Where do you archive your movies? (optional)
ARCHIVE_ROOT = '/archive/path/to/movies'
ARCHIVE_TARGETS = {
'movies' => 'movies',
'kid' => 'kid',
'tv' => 'television',
'anim' => 'animation'
}
# Slack settings
SLACK_EVENT_URI = '/your-random-abcdefghijklmnopqrstuvwxyz/event'
SLACK_ACTION_URI = '/your-random-abcdefghijklmnopqrstuvwxyz/action'
SLACK_BOT_TOKEN = 'xoxb-slack-provided-abcdefghijklmnopqrstuvwxyz'
SLACK_CHAT_NAME = 'movie' # how you get moviebot's attention
SLACK_CHANNEL = 'movies' # moviebot will always responsd in this channel
SLACK_LISTEN_PORT = 8050 # listening port on the local machine
SLACK_LISTEN_HOST = '0.0.0.0' # listening IP address, usually unchanged
# Cloud settings (ignore if you'd like to encode locally)
USE_CLOUD = false
AWS_ACCESS_KEY_ID = 'ABCDEFGHIJKLMNOPQRS'
AWS_SECRET_ACCESS_KEY = 'abcdefghijklmnopqrstuvwxyz'
AWS_S3_BUCKET = 'moviebot-something-something'
AWS_REGION = 'us-east-2'
AWS_SSH_KEY_NAME = 'my-ssh-moniker'
SSH_PRIVKEY_PATH = '/Users/myself/.ssh/keys/aws-my-moniker' # your local private key file
AWS_IMAGE_ID = 'ami-024e6efaf93d85776' # Ubuntu 22 LTS in Ohio region
AWS_INSTANCE_TYPE = 'c6a.8xlarge'
AWS_SG_GROUP_ID = 'sg-234098234098234'
##
## Additional settings -- the defaults are usually OK
##
# Where should we do our work?
ENCODING_ROOT = "#{MOVIES_ROOT}/_encoding"
RIPPING_ROOT = "#{MOVIES_ROOT}/_ripping"
DONE_ROOT = "#{MOVIES_ROOT}/_done"
# Where is Handbrake command-line binary?
HANDBRAKE_BIN = '/Applications/Utilities/HandBrakeCLI'
HANDBRAKE_PROFILE = 'High Profile'
# MakeMKV command-line binary?
MAKEMKV_BIN = '/Applications/MakeMKV.app/Contents/MacOS/makemkvcon'
MKV_SCAN_MINLENGTH = 20 # minutes
MKV_RIP_MINLENGTH = 50 # minutes
# Gory details?
LOG_DEBUG = false