VLCConstants.h 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*****************************************************************************
  2. * VLCConstants.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. * Jean-Romain Prévost <jr # 3on.fr>
  10. *
  11. * Refer to the COPYING file of the official project for license.
  12. *****************************************************************************/
  13. #define kVLCVersionCodename @"All Along the Watchtower"
  14. #define kVLCApplicationGroupIdentifier @"group.org.videolan.vlc-ios"
  15. #define kVLCSettingPasscodeKey @"Passcode"
  16. #define kVLCSettingPasscodeOnKey @"PasscodeProtection"
  17. #define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
  18. #define kVLCSettingStretchAudio @"audio-time-stretch"
  19. #define kVLCSettingStretchAudioOnValue @"1"
  20. #define kVLCSettingStretchAudioOffValue @"0"
  21. #define kVLCSettingTextEncoding @"subsdec-encoding"
  22. #define kVLCSettingTextEncodingDefaultValue @"Windows-1252"
  23. #define kVLCSettingSkipLoopFilter @"avcodec-skiploopfilter"
  24. #define kVLCSettingSkipLoopFilterNone @(0)
  25. #define kVLCSettingSkipLoopFilterNonRef @(1)
  26. #define kVLCSettingSkipLoopFilterNonKey @(3)
  27. #define kVLCSettingSaveHTTPUploadServerStatus @"isHTTPServerOn"
  28. #define kVLCSettingSubtitlesFont @"quartztext-font"
  29. #define kVLCSettingSubtitlesFontDefaultValue @"HelveticaNeue"
  30. #define kVLCSettingSubtitlesFontSize @"quartztext-rel-fontsize"
  31. #define kVLCSettingSubtitlesFontSizeDefaultValue @"16"
  32. #define kVLCSettingSubtitlesBoldFont @"quartztext-bold"
  33. #define kVLCSettingSubtitlesBoldFontDefaultValue @NO
  34. #define kVLCSettingSubtitlesFontColor @"quartztext-color"
  35. #define kVLCSettingSubtitlesFontColorDefaultValue @"16777215"
  36. #define kVLCSettingSubtitlesFilePath @"sub-file"
  37. #define kVLCSettingDeinterlace @"deinterlace"
  38. #define kVLCSettingDeinterlaceDefaultValue @(0)
  39. #define kVLCSettingNetworkCaching @"network-caching"
  40. #define kVLCSettingNetworkCachingDefaultValue @(999)
  41. #define kVLCSettingsDecrapifyTitles @"MLDecrapifyTitles"
  42. #define kVLCSettingPlaybackGestures @"EnableGesturesToControlPlayback"
  43. #define kVLCSettingVariableJumpDuration @"EnableVariableJumpDuration"
  44. #define kVLCSettingVideoFullscreenPlayback @"AlwaysUseFullscreenForVideo"
  45. #define kVLCSettingFTPTextEncoding @"ftp-text-encoding"
  46. #define kVLCSettingFTPTextEncodingDefaultValue @(5) // ISO Latin 1
  47. #define kVLCSettingPlaybackSpeedDefaultValue @"playback-speed"
  48. #define kVLCSettingWiFiSharingIPv6 @"wifi-sharing-ipv6"
  49. #define kVLCSettingWiFiSharingIPv6DefaultValue @(NO)
  50. #define kVLCSettingEqualizerProfile @"EqualizerProfile"
  51. #define kVLCSettingEqualizerProfileDefaultValue @(0)
  52. #define kVLCSettingPlaybackForwardSkipLength @"playback-forward-skip-length"
  53. #define kVLCSettingPlaybackForwardSkipLengthDefaultValue @(60)
  54. #define kVLCSettingPlaybackBackwardSkipLength @"playback-forward-skip-length"
  55. #define kVLCSettingPlaybackBackwardSkipLengthDefaultValue @(60)
  56. #define kVLCSettingOpenAppForPlayback @"open-app-for-playback"
  57. #define kVLCSettingOpenAppForPlaybackDefaultValue @YES
  58. #define kVLCShowRemainingTime @"show-remaining-time"
  59. #define kVLCRecentURLs @"recent-urls"
  60. #define kVLCPrivateWebStreaming @"private-streaming"
  61. #define kVLChttpScanSubtitle @"http-scan-subtitle"
  62. #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|vlc|vob|vro|webm|wm|wmv|wtv|xesc)$"
  63. #define kSupportedSubtitleFileExtensions @"\\.(srt|sub|cdg|idx|utf|ass|ssa|aqt|jss|psb|rt|smi|txt|smil)$"
  64. #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)$"
  65. #define kBlobHash @"521923d214b9ae628da7987cf621e94c4afdd726"
  66. #define kVLCDarwinNotificationNowPlayingInfoUpdate @"org.videolan.ios-app.nowPlayingInfoUpdate"
  67. #if TARGET_IPHONE_SIMULATOR
  68. #define WifiInterfaceName @"en1"
  69. #else
  70. #define WifiInterfaceName @"en0"
  71. #endif
  72. #define kVLCStoredServerList @"kVLCStoredServerList"
  73. /* LEGACY KEYS, DO NOT USE IN NEW CODE */
  74. #define kVLCFTPServer @"ftp-server"
  75. #define kVLCFTPLogin @"ftp-login"
  76. #define kVLCFTPPassword @"ftp-pass"
  77. #define kVLCPLEXServer @"plex-server"
  78. #define kVLCPLEXPort @"plex-port"