forked from trickortweak/flickr-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuploadr.ini
68 lines (58 loc) · 3.38 KB
/
uploadr.ini
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
[Config]
################################################################################
# Location to scan for new files
################################################################################
FILES_DIR = "YourDir"
################################################################################
# Flickr settings
################################################################################
# Set your own API key and secret message
# Go to http://www.flickr.com/services/apps/create/apply and apply for an API key
#
FLICKR = {
"title" : "",
"description" : "",
"tags" : "auto-upload",
"is_public" : "0",
"is_friend" : "0",
"is_family" : "0",
"api_key" : "YourKey",
"secret" : "YourSecret"
}
################################################################################
# How often to check for new files to upload (in seconds)
################################################################################
SLEEP_TIME = 1 * 60
################################################################################
# Only with --drip-feed option:
# How often to wait between uploading individual files (in seconds)
################################################################################
DRIP_TIME = 1 * 60
################################################################################
# File we keep the history of uploaded files in.
################################################################################
DB_PATH = os.path.join(os.path.dirname(sys.argv[0]), "flickrdb")
################################################################################
# Location of file where we keep the lock for multiple running processes from happening
################################################################################
LOCK_PATH = os.path.join(os.path.dirname(sys.argv[0]), ".flickrlock")
################################################################################
# Location of file where we keep the tokenfile
################################################################################
TOKEN_PATH = os.path.join(os.path.dirname(sys.argv[0]), ".flickrToken")
################################################################################
# List of folder names you don't want to parse
################################################################################
EXCLUDED_FOLDERS = ["@eaDir","#recycle",".picasaoriginals","_ExcludeSync","Corel Auto-Preserve","Originals","Automatisch beibehalten von Corel"]
################################################################################
# List of file extensions you agree to upload
################################################################################
ALLOWED_EXT = ["jpg","png","avi","mov","mpg","mp4","3gp"]
################################################################################
# Files greater than this value won't be uploaded (1Mo = 1000000)
################################################################################
FILE_MAX_SIZE = 50000000
################################################################################
# Do you want to verify each time if already uploaded files have been changed?
################################################################################
MANAGE_CHANGES = True