VLCConstants.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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 kVLCSettingPasscodeResetOnUpgrade @"kVLCSettingPasscodeResetOnUpgrade"
  15. #define kVLCSettingPasscodeOnKey @"PasscodeProtection"
  16. #define kVLCSettingPasscodeAllowTouchID @"AllowTouchID"
  17. #define kVLCAutomaticallyPlayNextItem @"AutomaticallyPlayNextItem"
  18. #define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
  19. #define kVLCSettingStretchAudio @"audio-time-stretch"
  20. #define kVLCSettingStretchAudioOnValue @"1"
  21. #define kVLCSettingStretchAudioOffValue @"0"
  22. #define kVLCSettingTextEncoding @"subsdec-encoding"
  23. #define kVLCSettingTextEncodingDefaultValue @"Windows-1252"
  24. #define kVLCSettingSkipLoopFilter @"avcodec-skiploopfilter"
  25. #define kVLCSettingSkipLoopFilterNone @(0)
  26. #define kVLCSettingSkipLoopFilterNonRef @(1)
  27. #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. #define kVLCSettingSubtitlesBoldFont @"quartztext-bold"
  34. #define kVLCSettingSubtitlesBoldFontDefaultValue @NO
  35. #define kVLCSettingSubtitlesFontColor @"quartztext-color"
  36. #define kVLCSettingSubtitlesFontColorDefaultValue @"16777215"
  37. #define kVLCSettingSubtitlesFilePath @"sub-file"
  38. #define kVLCSettingDeinterlace @"deinterlace"
  39. #define kVLCSettingDeinterlaceDefaultValue @(0)
  40. #define kVLCSettingHWDecoding @"codec"
  41. #define kVLCSettingHWDecodingDefault @""
  42. #define kVLCSettingNetworkCaching @"network-caching"
  43. #define kVLCSettingNetworkCachingDefaultValue @(999)
  44. #define kVLCSettingsDecrapifyTitles @"MLDecrapifyTitles"
  45. #define kVLCSettingVolumeGesture @"EnableVolumeGesture"
  46. #define kVLCSettingPlayPauseGesture @"EnablePlayPauseGesture"
  47. #define kVLCSettingBrightnessGesture @"EnableBrightnessGesture"
  48. #define kVLCSettingSeekGesture @"EnableSeekGesture"
  49. #define kVLCSettingCloseGesture @"EnableCloseGesture"
  50. #define kVLCSettingVariableJumpDuration @"EnableVariableJumpDuration"
  51. #define kVLCSettingVideoFullscreenPlayback @"AlwaysUseFullscreenForVideo"
  52. #define kVLCSettingContinuePlayback @"ContinuePlayback"
  53. #define kVLCSettingContinueAudioPlayback @"ContinueAudioPlayback"
  54. #define kVLCSettingFTPTextEncoding @"ftp-text-encoding"
  55. #define kVLCSettingFTPTextEncodingDefaultValue @(5) // ISO Latin 1
  56. #define kVLCSettingPlaybackSpeedDefaultValue @"playback-speed"
  57. #define kVLCSettingWiFiSharingIPv6 @"wifi-sharing-ipv6"
  58. #define kVLCSettingWiFiSharingIPv6DefaultValue @(NO)
  59. #define kVLCSettingEqualizerProfile @"EqualizerProfile"
  60. #define kVLCSettingEqualizerProfileDefaultValue @(0)
  61. #define kVLCSettingPlaybackForwardSkipLength @"playback-forward-skip-length"
  62. #define kVLCSettingPlaybackForwardSkipLengthDefaultValue @(60)
  63. #define kVLCSettingPlaybackBackwardSkipLength @"playback-forward-skip-length"
  64. #define kVLCSettingPlaybackBackwardSkipLengthDefaultValue @(60)
  65. #define kVLCSettingOpenAppForPlayback @"open-app-for-playback"
  66. #define kVLCSettingOpenAppForPlaybackDefaultValue @YES
  67. #define kVLCShowRemainingTime @"show-remaining-time"
  68. #define kVLCRecentURLs @"recent-urls"
  69. #define kVLCRecentURLTitles @"recent-url-titles"
  70. #define kVLCPrivateWebStreaming @"private-streaming"
  71. #define kVLChttpScanSubtitle @"http-scan-subtitle"
  72. #define kSupportedFileExtensions @"\\.(3g2|3gp|3gp2|3gpp|amv|asf|avi|bik|bin|crf|divx|drc|dv|evo|f4v|flv|gvi|gxf|iso|m1v|m2v|m2t|m2ts|m4v|mkv|mov|mp2|mp2v|mp4|mp4v|mpe|mpeg|mpeg1|mpeg2|mpeg4|mpg|mpv2|mts|mtv|mxf|mxg|nsv|nuv|ogg|ogm|ogv|ogx|ps|rec|rm|rmvb|rpl|thp|tod|ts|tts|txd|vob|vro|webm|wm|wmv|wtv|xesc)$"
  73. #define kSupportedSubtitleFileExtensions @"\\.(cdg|idx|srt|sub|utf|ass|ssa|aqt|jss|psb|rt|smi|txt|smil|stl|usf|dks|pjs|mpl2|mks|vtt|ttml|dfxp)$"
  74. #define kSupportedAudioFileExtensions @"\\.(3ga|669|a52|aac|ac3|adt|adts|aif|aifc|aiff|amb|amr|aob|ape|au|awb|caf|dts|flac|it|kar|m4a|m4b|m4p|m5p|mid|mka|mlp|mod|mpa|mp1|mp2|mp3|mpc|mpga|mus|oga|ogg|oma|opus|qcp|ra|rmi|s3m|sid|spx|tak|thd|tta|voc|vqf|w64|wav|wma|wv|xa|xm)$"
  75. #define kSupportedPlaylistFileExtensions @"\\.(asx|b4s|cue|ifo|m3u|m3u8|pls|ram|rar|sdp|vlc|xspf|wax|wvx|zip|conf)$"
  76. #define kVLCDarwinNotificationNowPlayingInfoUpdate @"org.videolan.ios-app.nowPlayingInfoUpdate"
  77. #if TARGET_IPHONE_SIMULATOR
  78. #define WifiInterfaceName @"en1"
  79. #else
  80. #define WifiInterfaceName @"en0"
  81. #endif
  82. #define kVLCMigratedToUbiquitousStoredServerList @"kVLCMigratedToUbiquitousStoredServerList"
  83. #define kVLCStoredServerList @"kVLCStoredServerList"
  84. #define kVLCStoreDropboxCredentials @"kVLCStoreDropboxCredentials"
  85. #define kVLCStoreOneDriveCredentials @"kVLCStoreOneDriveCredentials"
  86. #define kVLCStoreBoxCredentials @"kVLCStoreBoxCredentials"
  87. #define kVLCStoreGDriveCredentials @"kVLCStoreGDriveCredentials"
  88. #define kVLCUserActivityPlaying @"org.videolan.vlc-ios.playing"
  89. #define kVLCUserActivityLibrarySelection @"org.videolan.vlc-ios.libraryselection"
  90. #define kVLCUserActivityLibraryMode @"org.videolan.vlc-ios.librarymode"
  91. #define kVLCApplicationShortcutLocalLibrary @"ApplicationShortcutLocalLibrary"
  92. #define kVLCApplicationShortcutLocalServers @"ApplicationShortcutLocalServers"
  93. #define kVLCApplicationShortcutOpenNetworkStream @"ApplicationShortcutOpenNetworkStream"
  94. #define kVLCApplicationShortcutClouds @"ApplicationShortcutClouds"
  95. /* LEGACY KEYS, DO NOT USE IN NEW CODE */
  96. #define kVLCFTPServer @"ftp-server"
  97. #define kVLCFTPLogin @"ftp-login"
  98. #define kVLCFTPPassword @"ftp-pass"
  99. #define kVLCPLEXServer @"plex-server"
  100. #define kVLCPLEXPort @"plex-port"