config.example.yml 22 KB

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