forked from wangroot/MFCRecorder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.conf
88 lines (67 loc) · 4.82 KB
/
config.conf
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[paths]
wishlist = /Users/Joe/wanted.txt
save_directory = /Users/Joe/MFC
# blacklisted models will be ignored even if "auto record" conditions are met. They will record if they are also in the wanted file, however.
# The list should be the models UID, just as it is in the wanted file.
blacklist =
# set the directory structure - default is "{path}/{uid}/{year}.{month}.{day}_{hour}.{minutes}.{seconds}_{model}.mp4"
# {path} = save_directory set above. (your directory structure should start with this)
# {model} = the models name
# {uid} = models uid or broadcaster id. This is a number which is always consistent. The models name can be changed, so this is what I find best for keeping all videos of a model in the same directory
# "{year}, {month}, {day}, {hour}, {minutes}, {seconds}" should all be easy enough to figure out what these are
# you can also change ".mp4" to another extension. ".ts" is what the stream is actual broadcast as.
# example using a madeup "hannah" who has the uid 208562: {path}/{uid}/{year}/{year}.{month}.{day}_{hour}.{minutes}.{seconds}_{model}.mp4 = "/Users/Joe/MFC/208562/2017/2017.07.26_19.34.47_hannah.mp4"
# This will also be the "Download directory" or temp directory if you set a "completed_directory"
directory_structure = {path}/{uid}/{year}.{month}.{day}_{hour}.{minutes}.{seconds}_{model}.mp4
# (OPTIONAL) - leave blank if you dont want files moved after completed
# The files will be moved here once the stream has ended. The same naming structure will be used as above
# if this is left empty, the videos wll remain in the same directory they were originally saved to
# This path should be to a directory, not a filename! so do not include the filename portion, only the directory.
completed_directory =
[settings]
checkInterval = 20
# (OPTIONAL) - leave blank if you dont want to run a post processing script on the files
# You can set a command to be ran on the file once it is completed. This can be any sort of a script you would like.
# You can create a script to convert the video via ffmpeg to make it compatible for certain devices, create a contact sheet of the video
# upload the video to a cloud storage drive via rclone, or whatever else you see fit.
# set the string to be the same as you you would type into terminal to call the script manually.
# The peramaters which will be passed to the script are as follows:
# 1 = full file path (ie: /Users/Joe/MFC/208562/2017/2017.07.26_19.34.47_hannah.mp4)
# 2 = filename (ie : 2017.07.26_19.34.47_hannah.mp4)
# 3 = directory (ie : /Users/Joe/MFC/208562/hannah/2017/)
# 4 = models name (ie: hannah)
# 5 = uid (ie: 208562) (explained above)
# to call a bash script called "MoveToGoogleDrive.sh" and located in the user Joes home directory, you would use:
# postProcessingCommand = "bash /Users/Joe/home/MoveToGoogleDrive.sh"
# this script will be ran on the files "download location" prior to it being moved to its "completed location".
# The moving of the file will not take place if a post processing script is ran, so if you want to move it once it is completed, do so through commands in the post processing script.
postProcessingCommand =
# Because depending on what the post processing script does, it may be demanding on the system.
# Set the maximum number of concurrent post processing scripts you would like to be ran at one time.
# (required if using a post processing script)
postProcessingThreads =
# minimum number of viewers required in a room before the model will be recorded. 0 = disabled
minViewers = 0
# stop recording if the number of viewers becomes less than stopViewers value. This should not be more than "minViewers" value.
# if it is greater than minViewers value, minViewers will be automatically adjusted to the value of stopViewers.
# I would suggest keeping a fair difference between minViewers and stopViewers, otherwise you may get many very short clips if the
# number of viewers in a room is "teetering" between the two numbers.
# 0 = disabled
stopViewers = 0
[AutoRecording]
# This section is for grabbing models who are not on the wanted list, but meet certian conditions.
# for all settings 0 is disabled.
# a blacklist file must be set and must exist to use these settings. The the minViewers setting above applies.
# start recording if the number of viewers in there room is greater than "viewers" variable
viewers = 0
# same as "stopViewers" from above, but only applies to the models who are not on the wanted list grabbed
autoStopViewers = 0
# start recording if camscore is greater than "score" variable
score = 0
# start recording any model whos account was created less than "newerThanHours" hours ago.
newerThanHours = 0
# automatically record models who are not in the wanted list, but have set certain tags.
# set the desired tags, with each tag separated by a comma.
# set the minimum number of tags required to start recording a model.
tags = 0
minTags = 0