forked from EugeneDae/VLC-Scheduler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
defaults.py
39 lines (27 loc) · 843 Bytes
/
defaults.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
import sys
DEBUG = 1
if getattr(sys, 'frozen', False):
DEBUG = 0
VLC = {
'host': '127.0.0.1',
'port': 8080,
'password': 'vlcremote',
'extraintf': 'http,luaintf',
'options': []
}
if sys.platform.startswith('win'):
VLC['path'] = r'C:\Program Files\VideoLAN\VLC\vlc.exe'
elif sys.platform == 'darwin':
VLC['path'] = '/Applications/VLC.app/Contents/MacOS/VLC'
else:
VLC['path'] = '/usr/bin/vlc'
SOURCES = []
FILENAME_WITH_A_DATE_PATTERN = '^(\d\d)-(\d\d)-(\d\d\d\d).*'
# All extensions should be lowercase and prepended with a dot
MEDIA_EXTENSIONS = ('.mp4', '.avi', '.mov', '.mkv', '.webm', '.png', '.jpg')
PLAYLIST_EXTENSIONS = ('.xspf', '.m3u')
SOURCE_MIXING_FUNCTION = 'zip_equally'
IGNORE_PLAYING_TIME_IF_PLAYLIST_IS_EMPTY = False
IMAGE_PLAY_DURATION = 60
MEDIA_RECURSIVE = False
PING_URLS = []