-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
113 lines (107 loc) · 1.89 KB
/
config.py
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Windows Path
LISTEN_PATH = 'E:\\Descargas\\Demo2\\'
# Linux Path
# LISTEN_PATH = "/home/<USER>/Downloads/"
# Directory config
SOUND_DIR_NAME = "sound"
VIDEO_DIR_NAME = "video"
DOCS_DIR_NAME = "docs"
PRESENTATION_DIR_NAME = "presentations"
SPREADSHEETS_DIR_NAME = "spreadsheets"
DOCUMENTS_DIR_NAME = "documents"
COMPRESSED_DIR_NAME = "compress"
SYSTEMS_DIR_NAME = "isos"
BINARIES_DIR_NAME = "binaries"
IMAGES_DIR_NAME = "images"
CODE_DIR_NAME = "code"
BASE_STRUCTURE = {
CODE_DIR_NAME: [
"java",
"js",
"ts",
"html",
"xml",
"css",
"py"
],
SOUND_DIR_NAME: [
"mp3",
"wav",
"wma",
"m4a",
"aac",
"aa"
],
VIDEO_DIR_NAME: [
"mkv",
"mp4",
"mpg",
"mov",
"webm",
"avi",
"flv",
"mpeg",
"ogg",
"wmv"
],
DOCS_DIR_NAME: {
PRESENTATION_DIR_NAME: [
"opd",
"otp",
"pot",
"potm",
"potx",
"pps",
"ppsm",
"ppsx",
"ppt",
"pptx",
"pptm"
],
SPREADSHEETS_DIR_NAME: [
"xls",
"csv",
"dif",
"ods",
"xlm",
"ots"
],
DOCUMENTS_DIR_NAME: [
"txt",
"docx",
"pdf",
"odt",
"doc"
]
},
IMAGES_DIR_NAME: [
"png",
"jpeg",
"jpg",
"gif",
"tif",
"tiff",
"bmp",
"eps",
"psd",
"ai",
"raw",
"svg",
"webp",
"ico"
],
BINARIES_DIR_NAME: [
"exe",
"bin"
],
SYSTEMS_DIR_NAME: [
"iso",
"img"
],
COMPRESSED_DIR_NAME: [
"rar",
"zip",
"gz",
"tar"
]
}