VLCConstants.h 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 @"Walking with a Ghost"
  14. #define kVLCSettingPasscodeKey @"Passcode"
  15. #define kVLCSettingPasscodeOnKey @"PasscodeProtection"
  16. #define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
  17. #define kVLCSettingStretchAudio @"audio-time-stretch"
  18. #define kVLCSettingStretchAudioOnValue @"1"
  19. #define kVLCSettingStretchAudioOffValue @"0"
  20. #define kVLCSettingTextEncoding @"subsdec-encoding"
  21. #define kVLCSettingTextEncodingDefaultValue @"Windows-1252"
  22. #define kVLCSettingSkipLoopFilter @"avcodec-skiploopfilter"
  23. #define kVLCSettingSkipLoopFilterNone @(0)
  24. #define kVLCSettingSkipLoopFilterNonRef @(1)
  25. #define kVLCSettingSkipLoopFilterNonKey @(3)
  26. #define kVLCSettingSaveHTTPUploadServerStatus @"isHTTPServerOn"
  27. #define kVLCSettingSubtitlesFont @"quartztext-font"
  28. #define kVLCSettingSubtitlesFontDefaultValue @"HelveticaNeue"
  29. #define kVLCSettingSubtitlesFontSize @"quartztext-rel-fontsize"
  30. #define kVLCSettingSubtitlesFontSizeDefaultValue @"16"
  31. #define kVLCSettingSubtitlesBoldFont @"quartztext-bold"
  32. #define kVLCSettingSubtitlesBoldFontDefaultValue @NO
  33. #define kVLCSettingSubtitlesFontColor @"quartztext-color"
  34. #define kVLCSettingSubtitlesFontColorDefaultValue @"16777215"
  35. #define kVLCSettingSubtitlesFilePath @"sub-file"
  36. #define kVLCSettingDeinterlace @"deinterlace"
  37. #define kVLCSettingDeinterlaceDefaultValue @(0)
  38. #define kVLCSettingNetworkCaching @"network-caching"
  39. #define kVLCSettingNetworkCachingDefaultValue @(999)
  40. #define kVLCSettingsDecrapifyTitles @"MLDecrapifyTitles"
  41. #define kVLCSettingPlaybackGestures @"EnableGesturesToControlPlayback"
  42. #define kVLCSettingVariableJumpDuration @"EnableVariableJumpDuration"
  43. #define kVLCSettingFTPTextEncoding @"ftp-text-encoding"
  44. #define kVLCSettingFTPTextEncodingDefaultValue @(5) // ISO Latin 1
  45. #define kVLCSettingPlaybackSpeedDefaultValue @"playback-speed"
  46. #define kVLCSettingWiFiSharingIPv6 @"wifi-sharing-ipv6"
  47. #define kVLCSettingWiFiSharingIPv6DefaultValue @(NO)
  48. #define kVLCSettingEqualizerProfile @"EqualizerProfile"
  49. #define kVLCSettingEqualizerProfileDefaultValue @(0)
  50. #define kVLCSettingPlaybackForwardSkipLength @"playback-forward-skip-length"
  51. #define kVLCSettingPlaybackForwardSkipLengthDefaultValue @(60)
  52. #define kVLCSettingPlaybackBackwardSkipLength @"playback-forward-skip-length"
  53. #define kVLCSettingPlaybackBackwardSkipLengthDefaultValue @(60)
  54. #define kVLCSettingOpenAppForPlayback @"open-app-for-playback"
  55. #define kVLCSettingOpenAppForPlaybackDefaultValue @YES
  56. #define kVLCShowRemainingTime @"show-remaining-time"
  57. #define kVLCRecentURLs @"recent-urls"
  58. #define kVLCPrivateWebStreaming @"private-streaming"
  59. #define kVLChttpScanSubtitle @"http-scan-subtitle"
  60. #define kVLCFTPServer @"ftp-server"
  61. #define kVLCFTPLogin @"ftp-login"
  62. #define kVLCFTPPassword @"ftp-pass"
  63. #define kVLCLastFTPServer @"last-ftp-server"
  64. #define kVLCLastFTPLogin @"last-ftp-login"
  65. #define kVLCLastFTPPassword @"last-ftp-pass"
  66. #define kVLCPLEXServer @"plex-server"
  67. #define kVLCPLEXPort @"plex-port"
  68. #define kVLCLastPLEXServer @"last-plex-server"
  69. #define kVLCLastPLEXPort @"last-plex-port"
  70. #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)$"
  71. #define kSupportedSubtitleFileExtensions @"\\.(srt|sub|cdg|idx|utf|ass|ssa|aqt|jss|psb|rt|smi|txt|smil)$"
  72. #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)$"
  73. #define kBlobHash @"521923d214b9ae628da7987cf621e94c4afdd726"
  74. #define kVLCNotificationNowPlayingInfoUpdate @"nowPlayingInfoUpdate"
  75. #define kVLCDarwinNotificationNowPlayingInfoUpdate @"org.videolan.ios-app.nowPlayingInfoUpdate"
  76. #if TARGET_IPHONE_SIMULATOR
  77. #define WifiInterfaceName @"en1"
  78. #else
  79. #define WifiInterfaceName @"en0"
  80. #endif