VLCConstants.h 4.39 KB
Newer Older
1
2
3
4
/*****************************************************************************
 * VLCConstants.h
 * VLC for iOS
 *****************************************************************************
5
 * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
6
7
8
9
10
11
12
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *          Jean-Romain Prévost <jr # 3on.fr>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/
13

Felix Paul Kühne's avatar
Felix Paul Kühne committed
14
#define kVLCVersionCodename @"Walking with a Ghost"
15

16
17
#define kVLCSettingPasscodeKey @"Passcode"
#define kVLCSettingPasscodeOnKey @"PasscodeProtection"
18
#define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
19
20
21
#define kVLCSettingStretchAudio @"audio-time-stretch"
#define kVLCSettingStretchAudioOnValue @"1"
#define kVLCSettingStretchAudioOffValue @"0"
22
#define kVLCSettingTextEncoding @"subsdec-encoding"
23
#define kVLCSettingTextEncodingDefaultValue @"Windows-1252"
24
25
26
27
#define kVLCSettingSkipLoopFilter @"avcodec-skiploopfilter"
#define kVLCSettingSkipLoopFilterNone @(0)
#define kVLCSettingSkipLoopFilterNonRef @(1)
#define kVLCSettingSkipLoopFilterNonKey @(3)
28
#define kVLCSettingSaveHTTPUploadServerStatus @"isHTTPServerOn"
29
#define kVLCSettingSubtitlesFont @"quartztext-font"
30
#define kVLCSettingSubtitlesFontDefaultValue @"HelveticaNeue"
31
#define kVLCSettingSubtitlesFontSize @"quartztext-rel-fontsize"
32
#define kVLCSettingSubtitlesFontSizeDefaultValue @"16"
33
34
#define kVLCSettingSubtitlesBoldFont @"quartztext-bold"
#define kVLCSettingSubtitlesBoldFontDefaulValue @NO
35
#define kVLCSettingSubtitlesFontColor @"quartztext-color"
36
#define kVLCSettingSubtitlesFontColorDefaultValue @"16777215"
37
#define kVLCSettingSubtitlesFilePath @"sub-file"
38
#define kVLCSettingDeinterlace @"deinterlace"
39
#define kVLCSettingDeinterlaceDefaultValue @(0)
40
41
#define kVLCSettingNetworkCaching @"network-caching"
#define kVLCSettingNetworkCachingDefaultValue @(999)
42
43
#define kVLCSettingsDecrapifyTitles @"MLDecrapifyTitles"
#define kVLCSettingPlaybackGestures @"EnableGesturesToControlPlayback"
44
#define kVLCSettingVariableJumpDuration @"EnableVariableJumpDuration"
45
46
#define kVLCSettingFTPTextEncoding @"ftp-text-encoding"
#define kVLCSettingFTPTextEncodingDefaultValue @(5) // ISO Latin 1
47
#define kVLCSettingPlaybackSpeedDefaultValue @"playback-speed"
48
49
#define kVLCSettingWiFiSharingIPv6 @"wifi-sharing-ipv6"
#define kVLCSettingWiFiSharingIPv6DefaultValue @(NO)
50
51
#define kVLCSettingEqualizerProfile @"EqualizerProfile"
#define kVLCSettingEqualizerProfileDefaultValue @(0)
52
53
54
55
#define kVLCSettingPlaybackForwardSkipLength @"playback-forward-skip-length"
#define kVLCSettingPlaybackForwardSkipLengthDefaultValue @(60)
#define kVLCSettingPlaybackBackwardSkipLength @"playback-forward-skip-length"
#define kVLCSettingPlaybackBackwardSkipLengthDefaultValue @(60)
56
57
#define kVLCSettingOpenAppForPlayback @"open-app-for-playback"
#define kVLCSettingOpenAppForPlaybackDefaultValue @YES
58

59
#define kVLCShowRemainingTime @"show-remaining-time"
60
#define kVLCRecentURLs @"recent-urls"
61
#define kVLCPrivateWebStreaming @"private-streaming"
62
#define kVLChttpScanSubtitle @"http-scan-subtitle"
63

64
65
66
#define kVLCFTPServer @"ftp-server"
#define kVLCFTPLogin @"ftp-login"
#define kVLCFTPPassword @"ftp-pass"
67
68
69
70
#define kVLCLastFTPServer @"last-ftp-server"
#define kVLCLastFTPLogin @"last-ftp-login"
#define kVLCLastFTPPassword @"last-ftp-pass"

71
72
73
74
75
#define kVLCPLEXServer @"plex-server"
#define kVLCPLEXPort @"plex-port"
#define kVLCLastPLEXServer @"last-plex-server"
#define kVLCLastPLEXPort @"last-plex-port"

Felix Paul Kühne's avatar
Felix Paul Kühne committed
76
#define kSupportedFileExtensions @"\\.(3gp|3gp|3gp2|3gpp|amv|asf|avi|axv|divx|dv|flv|f4v|gvi|gxf|m1v|m2p|m2t|m2ts|m2v|m4v|mks|mkv|moov|mov|mp2v|mp4|mpeg|mpeg1|mpeg2|mpeg4|mpg|mpv|mt2s|mts|mxf|mxg|nsv|nuv|oga|ogg|ogm|ogv|ogx|spx|ps|qt|rec|rm|rmvb|tod|ts|tts|vob|vro|webm|wm|wmv|wtv|xesc)$"
77
#define kSupportedSubtitleFileExtensions @"\\.(srt|sub|cdg|idx|utf|ass|ssa|aqt|jss|psb|rt|smi|txt|smil)$"
78
#define kSupportedAudioFileExtensions @"\\.(aac|aiff|aif|amr|aob|ape|axa|caf|flac|it|m2a|m4a|m4b|mka|mlp|mod|mp1|mp2|mp3|mpa|mpc|mpga|oga|ogg|oma|opus|rmi|s3m|spx|tta|voc|vqf|wav|w64|wma|wv|xa|xm)$"
79
80

#define kBlobHash @"521923d214b9ae628da7987cf621e94c4afdd726"
81

82
83
84
85

#define kVLCNotificationNowPlayingInfoUpdate @"nowPlayingInfoUpdate"
#define kVLCDarwinNotificationNowPlayingInfoUpdate @"org.videolan.ios-app.nowPlayingInfoUpdate"

86
87
88
#if TARGET_IPHONE_SIMULATOR
#define WifiInterfaceName @"en1"
#else
Felix Paul Kühne's avatar
Felix Paul Kühne committed
89
#define WifiInterfaceName @"en0"
90
#endif