config.example.yml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  1. #########################################
  2. #
  3. # Database configuration
  4. #
  5. #########################################
  6. ##
  7. ## Database configuration with separate parameters.
  8. ## This setting is MANDATORY, unless 'database_url' is used.
  9. ##
  10. db:
  11. user: kemal
  12. password: kemal
  13. host: localhost
  14. port: 5432
  15. dbname: invidious
  16. ##
  17. ## Database configuration using a single URI. This is an
  18. ## alternative to the 'db' parameter above. If both forms
  19. ## are used, then only database_url is used.
  20. ## This setting is MANDATORY, unless 'db' is used.
  21. ##
  22. ## Note: The 'database_url' setting allows the use of UNIX
  23. ## sockets. To do so, remove the IP address (or FQDN) and port
  24. ## and append the 'host' parameter. E.g:
  25. ## postgres://kemal:kemal@/invidious?host=/var/run/postgresql
  26. ##
  27. ## Accepted values: a postgres:// URI
  28. ## Default: postgres://kemal:kemal@localhost:5432/invidious
  29. ##
  30. #database_url: postgres://kemal:kemal@localhost:5432/invidious
  31. ##
  32. ## Enable automatic table integrity check. This will create
  33. ## the required tables and columns if anything is missing.
  34. ##
  35. ## Accepted values: true, false
  36. ## Default: false
  37. ##
  38. #check_tables: false
  39. #########################################
  40. #
  41. # Server config
  42. #
  43. #########################################
  44. # -----------------------------
  45. # Network (inbound)
  46. # -----------------------------
  47. ##
  48. ## Port to listen on for incoming connections.
  49. ##
  50. ## Note: Ports lower than 1024 requires either root privileges
  51. ## (not recommended) or the "CAP_NET_BIND_SERVICE" capability
  52. ## (See https://stackoverflow.com/a/414258 and `man capabilities`)
  53. ##
  54. ## Accepted values: 1-65535
  55. ## Default: 3000
  56. ##
  57. #port: 3000
  58. ##
  59. ## When the invidious instance is behind a proxy, and the proxy
  60. ## listens on a different port than the instance does, this lets
  61. ## invidious know about it. This is used to craft absolute URLs
  62. ## to the instance (e.g in the API).
  63. ##
  64. ## Note: This setting is MANDATORY if invidious is behind a
  65. ## reverse proxy.
  66. ##
  67. ## Accepted values: 1-65535
  68. ## Default: <none>
  69. ##
  70. #external_port:
  71. ##
  72. ## Interface address to listen on for incoming connections.
  73. ##
  74. ## Accepted values: a valid IPv4 or IPv6 address.
  75. ## default: 0.0.0.0 (listen on all interfaces)
  76. ##
  77. #host_binding: 0.0.0.0
  78. ##
  79. ## Domain name under which this instance is hosted. This is
  80. ## used to craft absolute URLs to the instance (e.g in the API).
  81. ## The domain MUST be defined if your instance is accessed from
  82. ## a domain name (like 'example.com').
  83. ##
  84. ## Accepted values: a fully qualified domain name (FQDN)
  85. ## Default: <none>
  86. ##
  87. domain:
  88. ##
  89. ## Tell Invidious that it is behind a proxy that provides only
  90. ## HTTPS, so all links must use the https:// scheme. This
  91. ## setting MUST be set to true if invidious is behind a
  92. ## reverse proxy serving HTTPs.
  93. ##
  94. ## Accepted values: true, false
  95. ## Default: false
  96. ##
  97. https_only: false
  98. ##
  99. ## Enable/Disable 'Strict-Transport-Security'. Make sure that
  100. ## the domain specified under 'domain' is served securely.
  101. ##
  102. ## Accepted values: true, false
  103. ## Default: true
  104. ##
  105. #hsts: true
  106. # -----------------------------
  107. # Network (outbound)
  108. # -----------------------------
  109. ##
  110. ## Disable proxying server-wide. Can be disable as a whole, or
  111. ## only for a single function.
  112. ##
  113. ## Accepted values: true, false, dash, livestreams, downloads, local
  114. ## Default: false
  115. ##
  116. #disable_proxy: false
  117. ##
  118. ## Size of the HTTP pool used to connect to youtube. Each
  119. ## domain ('youtube.com', 'ytimg.com', ...) has its own pool.
  120. ##
  121. ## Accepted values: a positive integer
  122. ## Default: 100
  123. ##
  124. #pool_size: 100
  125. ##
  126. ## Enable/Disable the use of QUIC (HTTP/3) when connecting
  127. ## to the youtube API and websites ('youtube.com', 'ytimg.com').
  128. ## QUIC's main advantages are its lower latency and lower bandwidth
  129. ## use, compared to its predecessors. However, the current version
  130. ## of QUIC used in invidious is still based on the IETF draft 31,
  131. ## meaning that the underlying library may still not be fully
  132. ## optimized. You can read more about QUIC at the link below:
  133. ## https://datatracker.ietf.org/doc/html/draft-ietf-quic-transport-31
  134. ##
  135. ## Note: you should try both options and see what is the best for your
  136. ## instance. In general QUIC is recommended for public instances. Your
  137. ## mileage may vary.
  138. ##
  139. ## Note 2: Using QUIC prevents some captcha challenges from appearing.
  140. ## See: https://github.com/iv-org/invidious/issues/957#issuecomment-576424042
  141. ##
  142. ## Accepted values: true, false
  143. ## Default: false
  144. ##
  145. #use_quic: false
  146. ##
  147. ## Additional cookies to be sent when requesting the youtube API.
  148. ##
  149. ## Accepted values: a string in the format "name1=value1; name2=value2..."
  150. ## Default: <none>
  151. ##
  152. #cookies:
  153. ##
  154. ## Force connection to youtube over a specific IP family.
  155. ##
  156. ## Note: This may sometimes resolve issues involving rate-limiting.
  157. ## See https://github.com/ytdl-org/youtube-dl/issues/21729.
  158. ##
  159. ## Accepted values: ipv4, ipv6
  160. ## Default: <none>
  161. ##
  162. #force_resolve:
  163. # -----------------------------
  164. # Logging
  165. # -----------------------------
  166. ##
  167. ## Path to log file. Can be absolute or relative to the invidious
  168. ## binary. This is overridden if "-o OUTPUT" or "--output=OUTPUT"
  169. ## are passed on the command line.
  170. ##
  171. ## Accepted values: a filesystem path or 'STDOUT'
  172. ## Default: STDOUT
  173. ##
  174. #output: STDOUT
  175. ##
  176. ## Logging Verbosity. This is overridden if "-l LEVEL" or
  177. ## "--log-level=LEVEL" are passed on the command line.
  178. ##
  179. ## Accepted values: All, Trace, Debug, Info, Warn, Error, Fatal, Off
  180. ## Default: Info
  181. ##
  182. #log_level: Info
  183. # -----------------------------
  184. # Features
  185. # -----------------------------
  186. ##
  187. ## Enable/Disable the "Popular" tab on the main page.
  188. ##
  189. ## Accepted values: true, false
  190. ## Default: true
  191. ##
  192. #popular_enabled: true
  193. ##
  194. ## Enable/Disable statstics (available at /api/v1/stats).
  195. ## The following data is available:
  196. ## - Software name ("invidious") and version+branch (same data as
  197. ## displayed in the footer, e.g: "2021.05.13-75e5b49" / "master")
  198. ## - The value of the 'registration_enabled' config (true/false)
  199. ## - Number of currently registered users
  200. ## - Number of registered users who connected in the last month
  201. ## - Number of registered users who connected in the last 6 months
  202. ## - Timestamp of the last server restart
  203. ## - Timestamp of the last "Channel Refresh" job execution
  204. ##
  205. ## Warning: This setting MUST be set to true if you plan to run
  206. ## a public instance. It is used by api.invidious.io to refresh
  207. ## your instance's status.
  208. ##
  209. ## Accepted values: true, false
  210. ## Default: false
  211. ##
  212. #statistics_enabled: false
  213. # -----------------------------
  214. # Users and accounts
  215. # -----------------------------
  216. ##
  217. ## Allow/Forbid Invidious (local) account creation. Invidious
  218. ## accounts allow users to subscribe to channels and to create
  219. ## playlists without a Google account.
  220. ##
  221. ## Accepted values: true, false
  222. ## Default: true
  223. ##
  224. #registration_enabled: true
  225. ##
  226. ## Allow/Forbid users to log-in. This setting affects the ability
  227. ## to connect with BOTH Google and Invidious (local) accounts.
  228. ##
  229. ## Accepted values: true, false
  230. ## Default: true
  231. ##
  232. #login_enabled: true
  233. ##
  234. ## Enable/Disable the captcha challenge on the login page.
  235. ##
  236. ## Note: this is a basic captcha challenge that doesn't
  237. ## depend on any third parties.
  238. ##
  239. ## Accepted values: true, false
  240. ## Default: true
  241. ##
  242. #captcha_enabled: true
  243. ##
  244. ## List of usernames that will be granted administrator rights.
  245. ## A user with administrator rights will be able to change the
  246. ## server configuration options listed below in /preferences,
  247. ## in addition to the usual user preferences.
  248. ##
  249. ## Server-wide settings:
  250. ## - popular_enabled
  251. ## - captcha_enabled
  252. ## - login_enabled
  253. ## - registration_enabled
  254. ## - statistics_enabled
  255. ## Default user preferences:
  256. ## - default_home
  257. ## - feed_menu
  258. ##
  259. ## Accepted values: an array of strings
  260. ## Default: [""]
  261. ##
  262. #admins: [""]
  263. # -----------------------------
  264. # Background jobs
  265. # -----------------------------
  266. ##
  267. ## Number of threads to use when crawling channel videos (during
  268. ## subscriptions update).
  269. ##
  270. ## Notes:
  271. ## - Setting this to 0 will disable the channel videos crawl job.
  272. ## - This setting is overridden if "-c THREADS" or
  273. ## "--channel-threads=THREADS" are passed on the command line.
  274. ##
  275. ## Accepted values: a positive integer
  276. ## Default: 1
  277. ##
  278. channel_threads: 1
  279. ##
  280. ## Time interval between two executions of the job that crawls
  281. ## channel videos (subscriptions update).
  282. ##
  283. ## Accepted values: a valid time interval (like 1h30m or 90m)
  284. ## Default: 30m
  285. ##
  286. #channel_refresh_interval: 30m
  287. ##
  288. ## Forcefully dump and re-download the entire list of uploaded
  289. ## videos when crawling channel (during subscriptions update).
  290. ##
  291. ## Accepted values: true, false
  292. ## Default: false
  293. ##
  294. full_refresh: false
  295. ##
  296. ## Number of threads to use when updating RSS feeds.
  297. ##
  298. ## Notes:
  299. ## - Setting this to 0 will disable the channel videos crawl job.
  300. ## - This setting is overridden if "-f THREADS" or
  301. ## "--feed-threads=THREADS" are passed on the command line.
  302. ##
  303. ## Accepted values: a positive integer
  304. ## Default: 1
  305. ##
  306. feed_threads: 1
  307. ##
  308. ## Enable/Disable the polling job that keeps the decryption
  309. ## function (for "secured" videos) up to date.
  310. ##
  311. ## Note: This part of the code is currently broken, so changing
  312. ## this setting has no impact.
  313. ##
  314. ## Accepted values: true, false
  315. ## Default: true
  316. ##
  317. #decrypt_polling: true
  318. # -----------------------------
  319. # Captcha API
  320. # -----------------------------
  321. ##
  322. ## URL of the captcha solving service.
  323. ##
  324. ## Accepted values: any URL
  325. ## Default: https://api.anti-captcha.com
  326. ##
  327. #captcha_api_url: https://api.anti-captcha.com
  328. ##
  329. ## API key for the captcha solving service.
  330. ##
  331. ## Accepted values: a string
  332. ## Default: <none>
  333. ##
  334. #captcha_key:
  335. # -----------------------------
  336. # Miscellaneous
  337. # -----------------------------
  338. ##
  339. ## custom banner displayed at the top of every page. This can
  340. ## used for instance announcements, e.g.
  341. ##
  342. ## Accepted values: any string. HTML is accepted.
  343. ## Default: <none>
  344. ##
  345. #banner:
  346. ##
  347. ## Subscribe to channels using PubSubHub (Google PubSubHubbub service).
  348. ## PubSubHub allows Invidious to be instantly notified when a new video
  349. ## is published on any subscribed channels. When PubSubHub is not used,
  350. ## Invidious will check for new videos every minute.
  351. ##
  352. ## Note: This setting is recommended for public instances.
  353. ##
  354. ## Note 2:
  355. ## - Requires a public instance (it uses /feed/webhook/v1)
  356. ## - Requires 'domain' and 'hmac_key' to be set.
  357. ## - Setting this parameter to any number greater than zero will
  358. ## enable channel subscriptions via PubSubHub, but will limit the
  359. ## amount of concurrent subscriptions.
  360. ##
  361. ## Accepted values: true, false, a positive integer
  362. ## Default: false
  363. ##
  364. #use_pubsub_feeds: false
  365. ##
  366. ## HMAC signing key used for CSRF tokens and pubsub
  367. ## subscriptions verification.
  368. ##
  369. ## Accepted values: a string
  370. ## Default: <none>
  371. ##
  372. #hmac_key:
  373. ##
  374. ## List of video IDs where the "download" widget must be
  375. ## disabled, in order to comply with DMCA requests.
  376. ##
  377. ## Accepted values: an array of string
  378. ## Default: <none>
  379. ##
  380. #dmca_content:
  381. ##
  382. ## Cache video annotations in the database.
  383. ##
  384. ## Warning: empty annotations or annotations that only contain
  385. ## cards won't be cached.
  386. ##
  387. ## Accepted values: true, false
  388. ## Default: false
  389. ##
  390. #cache_annotations: false
  391. ##
  392. ## Source code URL. If your instance is running a modified source
  393. ## code, you MUST publish it somewhere and set this option.
  394. ##
  395. ## Accepted values: a string
  396. ## Default: <none>
  397. ##
  398. #modified_source_code_url: ""
  399. #########################################
  400. #
  401. # Default user preferences
  402. #
  403. #########################################
  404. ##
  405. ## NOTE: All the settings below define the default user
  406. ## preferences. They will apply to ALL users connecting
  407. ## without a preferences cookie (so either on the first
  408. ## connection to the instance or after clearing the
  409. ## browser's cookies).
  410. ##
  411. default_user_preferences:
  412. # -----------------------------
  413. # Internationalization
  414. # -----------------------------
  415. ##
  416. ## Default user interface language (locale).
  417. ##
  418. ## Note: When hosting a public instance, overriding the
  419. ## default (english) is not recommended, as it may
  420. ## people using other languages.
  421. ##
  422. ## Accepted values:
  423. ## ar (Arabic)
  424. ## da (Danish)
  425. ## de (German)
  426. ## en-US (english, US)
  427. ## el (Greek)
  428. ## eo (Esperanto)
  429. ## es (Spanish)
  430. ## fa (Persian)
  431. ## fi (Finnish)
  432. ## fr (French)
  433. ## he (Hebrew)
  434. ## hr (Hungarian)
  435. ## id (Indonesian)
  436. ## is (Icelandic)
  437. ## it (Italian)
  438. ## ja (Japanese)
  439. ## nb-NO (Norwegian, Bokmål)
  440. ## nl (Dutch)
  441. ## pl (Polish)
  442. ## pt-BR (Portuguese, Brazil)
  443. ## pt-PT (Portuguese, Portugal)
  444. ## ro (Romanian)
  445. ## ru (Russian)
  446. ## sv (Swedish)
  447. ## tr (Turkish)
  448. ## uk (Ukrainian)
  449. ## zh-CN (Chinese, China) (a.k.a "Simplified Chinese")
  450. ## zh-TW (Chinese, Taiwan) (a.k.a "Traditional Chinese")
  451. ##
  452. ## Default: en-US
  453. ##
  454. #locale: en-US
  455. ##
  456. ## Default geographical location for content.
  457. ##
  458. ## Accepted values:
  459. ## AE, AR, AT, AU, AZ, BA, BD, BE, BG, BH, BO, BR, BY, CA, CH, CL, CO, CR,
  460. ## CY, CZ, DE, DK, DO, DZ, EC, EE, EG, ES, FI, FR, GB, GE, GH, GR, GT, HK,
  461. ## HN, HR, HU, ID, IE, IL, IN, IQ, IS, IT, JM, JO, JP, KE, KR, KW, KZ, LB,
  462. ## LI, LK, LT, LU, LV, LY, MA, ME, MK, MT, MX, MY, NG, NI, NL, NO, NP, NZ,
  463. ## OM, PA, PE, PG, PH, PK, PL, PR, PT, PY, QA, RO, RS, RU, SA, SE, SG, SI,
  464. ## SK, SN, SV, TH, TN, TR, TW, TZ, UA, UG, US, UY, VE, VN, YE, ZA, ZW
  465. ##
  466. ## Default: US
  467. ##
  468. #region: US
  469. ##
  470. ## Top 3 preferred languages for video captions.
  471. ##
  472. ## Note: overriding the default (no preferred
  473. ## caption language) is not recommended, in order
  474. ## to not penalize people using other languages.
  475. ##
  476. ## Accepted values: a three-entries array.
  477. ## Each entry can be one of:
  478. ## "English", "English (auto-generated)",
  479. ## "Afrikaans", "Albanian", "Amharic", "Arabic",
  480. ## "Armenian", "Azerbaijani", "Bangla", "Basque",
  481. ## "Belarusian", "Bosnian", "Bulgarian", "Burmese",
  482. ## "Catalan", "Cebuano", "Chinese (Simplified)",
  483. ## "Chinese (Traditional)", "Corsican", "Croatian",
  484. ## "Czech", "Danish", "Dutch", "Esperanto", "Estonian",
  485. ## "Filipino", "Finnish", "French", "Galician", "Georgian",
  486. ## "German", "Greek", "Gujarati", "Haitian Creole", "Hausa",
  487. ## "Hawaiian", "Hebrew", "Hindi", "Hmong", "Hungarian",
  488. ## "Icelandic", "Igbo", "Indonesian", "Irish", "Italian",
  489. ## "Japanese", "Javanese", "Kannada", "Kazakh", "Khmer",
  490. ## "Korean", "Kurdish", "Kyrgyz", "Lao", "Latin", "Latvian",
  491. ## "Lithuanian", "Luxembourgish", "Macedonian",
  492. ## "Malagasy", "Malay", "Malayalam", "Maltese", "Maori",
  493. ## "Marathi", "Mongolian", "Nepali", "Norwegian Bokmål",
  494. ## "Nyanja", "Pashto", "Persian", "Polish", "Portuguese",
  495. ## "Punjabi", "Romanian", "Russian", "Samoan",
  496. ## "Scottish Gaelic", "Serbian", "Shona", "Sindhi",
  497. ## "Sinhala", "Slovak", "Slovenian", "Somali",
  498. ## "Southern Sotho", "Spanish", "Spanish (Latin America)",
  499. ## "Sundanese", "Swahili", "Swedish", "Tajik", "Tamil",
  500. ## "Telugu", "Thai", "Turkish", "Ukrainian", "Urdu",
  501. ## "Uzbek", "Vietnamese", "Welsh", "Western Frisian",
  502. ## "Xhosa", "Yiddish", "Yoruba", "Zulu"
  503. ##
  504. ## Default: ["", "", ""]
  505. ##
  506. #captions: ["", "", ""]
  507. # -----------------------------
  508. # Interface
  509. # -----------------------------
  510. ##
  511. ## Enable/Disable dark mode.
  512. ##
  513. ## Accepted values: true, false
  514. ## Default: <none>
  515. ##
  516. #dark_mode:
  517. ##
  518. ## Enable/Disable thin mode (no video thumbnails).
  519. ##
  520. ## Accepted values: true, false
  521. ## Default: false
  522. ##
  523. #thin_mode: false
  524. ##
  525. ## List of feeds available on the home page.
  526. ##
  527. ## Note: "Subscriptions" and "Playlists" are only visible
  528. ## when the user is logged in.
  529. ##
  530. ## Accepted values: A list of strings
  531. ## Each entry can be one of: "Popular", "Trending",
  532. ## "Subscriptions", "Playlists"
  533. ##
  534. ## Default: ["Popular", "Trending", "Subscriptions", "Playlists"] (show all feeds)
  535. ##
  536. #feed_menu: ["Popular", "Trending", "Subscriptions", "Playlists"]
  537. ##
  538. ## Default feed to display on the home page.
  539. ##
  540. ## Note: setting this option to "Popular" has no
  541. ## effect when 'popular_enabled' is set to false.
  542. ##
  543. ## Accepted values: Popular, Trending, Subscriptions, Playlists, <none>
  544. ## Default: Popular
  545. ##
  546. #default_home: Popular
  547. ##
  548. ## Default number of results to display per page.
  549. ##
  550. ## Note: this affects invidious-generated pages only, such
  551. ## as watch history and subscription feeds. Playlists, search
  552. ## results and channel videos depend on the data returned by
  553. ## the Youtube API.
  554. ##
  555. ## Accepted values: any positive integer
  556. ## Default: 40
  557. ##
  558. #max_results: 40
  559. ##
  560. ## Show/hide annotations.
  561. ##
  562. ## Accepted values: true, false
  563. ## Default: false
  564. ##
  565. #annotations: false
  566. ##
  567. ## Show/hide annotation.
  568. ##
  569. ## Accepted values: true, false
  570. ## Default: false
  571. ##
  572. #annotations_subscribed: false
  573. ##
  574. ## Type of comments to display below video.
  575. ##
  576. ## Accepted values: a two-entries array.
  577. ## Each entry can be one of: "youtube", "reddit", ""
  578. ##
  579. ## Default: ["youtube", ""]
  580. ##
  581. #comments: ["youtube", ""]
  582. ##
  583. ## Default player style.
  584. ##
  585. ## Accepted values: invidious, youtube
  586. ## Default: invidious
  587. ##
  588. #player_style: invidious
  589. ##
  590. ## Show/Hide the "related videos" sidebar when
  591. ## watching a video.
  592. ##
  593. ## Accepted values: true, false
  594. ## Default: true
  595. ##
  596. #related_videos: true
  597. # -----------------------------
  598. # Video player behavior
  599. # -----------------------------
  600. ##
  601. ## Automatically play videos on page load.
  602. ##
  603. ## Accepted values: true, false
  604. ## Default: false
  605. ##
  606. #autoplay: false
  607. ##
  608. ## Automatically load the "next" video (either next in
  609. ## playlist or proposed) when the current video ends.
  610. ##
  611. ## Accepted values: true, false
  612. ## Default: false
  613. ##
  614. #continue: false
  615. ##
  616. ## Autoplay next video by default.
  617. ##
  618. ## Note: Only effective if 'continue' is set to true.
  619. ##
  620. ## Accepted values: true, false
  621. ## Default: true
  622. ##
  623. #continue_autoplay: true
  624. ##
  625. ## Play videos in Audio-only mode by default.
  626. ##
  627. ## Accepted values: true, false
  628. ## Default: false
  629. ##
  630. #listen: false
  631. ##
  632. ## Loop videos automatically.
  633. ##
  634. ## Accepted values: true, false
  635. ## Default: false
  636. ##
  637. #video_loop: false
  638. # -----------------------------
  639. # Video playback settings
  640. # -----------------------------
  641. ##
  642. ## Default video quality.
  643. ##
  644. ## Accepted values: dash, hd720, medium, small
  645. ## Default: hd720
  646. ##
  647. #quality: hd720
  648. ##
  649. ## Default dash video quality.
  650. ##
  651. ## Note: this setting only takes effet if the
  652. ## 'quality' parameter is set to "dash".
  653. ##
  654. ## Accepted values:
  655. ## auto, best, 4320p, 2160p, 1440p, 1080p,
  656. ## 720p, 480p, 360p, 240p, 144p, worst
  657. ## Default: auto
  658. ##
  659. #quality_dash: auto
  660. ##
  661. ## Default video playback speed.
  662. ##
  663. ## Accepted values: 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0
  664. ## Default: 1.0
  665. ##
  666. #speed: 1.0
  667. ##
  668. ## Default volume.
  669. ##
  670. ## Accepted values: 0-100
  671. ## Default: 100
  672. ##
  673. #volume: 100
  674. ##
  675. ## Allow 360° videos to be played.
  676. ##
  677. ## Note: This feature requires a WebGL-enabled browser.
  678. ##
  679. ## Accepted values: true, false
  680. ## Default: true
  681. ##
  682. #vr_mode: true
  683. # -----------------------------
  684. # Subscription feed
  685. # -----------------------------
  686. ##
  687. ## In the "Subscription" feed, only show the latest video
  688. ## of each channel the user is subscribed to.
  689. ##
  690. ## Note: when combined with 'unseen_only', the latest unseen
  691. ## video of each channel will be displayed instead of the
  692. ## latest by date.
  693. ##
  694. ## Accepted values: true, false
  695. ## Default: false
  696. ##
  697. #latest_only: false
  698. ##
  699. ## Enable/Disable user subscriptions desktop notifications.
  700. ##
  701. ## Accepted values: true, false
  702. ## Default: false
  703. ##
  704. #notifications_only: false
  705. ##
  706. ## In the "Subscription" feed, Only show the videos that the
  707. ## user haven't watched yet (i.e which are not in their watch
  708. ## history).
  709. ##
  710. ## Accepted values: true, false
  711. ## Default: false
  712. ##
  713. #unseen_only: false
  714. ##
  715. ## Default sorting parameter for subscription feeds.
  716. ##
  717. ## Accepted values:
  718. ## 'alphabetically'
  719. ## 'alphabetically - reverse'
  720. ## 'channel name'
  721. ## 'channel name - reverse'
  722. ## 'published'
  723. ## 'published - reverse'
  724. ##
  725. ## Default: published
  726. ##
  727. #sort: published
  728. # -----------------------------
  729. # Miscellaneous
  730. # -----------------------------
  731. ##
  732. ## Proxy videos through instance by default.
  733. ##
  734. ## Warning: As most users won't change this setting in their
  735. ## preferences, defaulting to true will significantly
  736. ## increase the instance's network usage, so make sure that
  737. ## your server's connection can handle it.
  738. ##
  739. ## Accepted values: true, false
  740. ## Default: false
  741. ##
  742. #local: false
  743. ##
  744. ## Show the connected user's nick at the top right.
  745. ##
  746. ## Accepted values: true, false
  747. ## Default: true
  748. ##
  749. #show_nick: true
  750. ##
  751. ## Automatically redirect to a random instance when the user uses
  752. ## any "switch invidious instance" link (For videos, it's the plane
  753. ## icon, next to "watch on youtube" and "listen"). When set to false,
  754. ## the user is sent to https://redirect.invidious.io instead, where
  755. ## they can manually select an instance.
  756. ##
  757. ## Accepted values: true, false
  758. ## Default: false
  759. ##
  760. #automatic_instance_redirect: false
  761. ##
  762. ## Show the entire video description by default (when set to 'false',
  763. ## only the first few lines of the description are shown and a
  764. ## "show more" button allows to expand it).
  765. ##
  766. ## Accepted values: true, false
  767. ## Default: false
  768. ##
  769. #extend_desc: false