1228 Commits

Author SHA1 Message Date
Omar Roth
50bab26a3a Add support for CONNECT proxy 2020-05-25 18:52:36 -05:00
Omar Roth
ceb252986e Update captcha job 2020-05-25 12:52:15 -05:00
Omar Roth
750ef296c6 Update captcha handler 2020-05-13 16:09:39 -05:00
Omar Roth
454ae8656a Cleanup request headers 2020-05-08 09:00:53 -05:00
Omar Roth
75450dcdbc Update signature param 2020-05-08 08:59:09 -05:00
tleydxdy
bd2c7e3bb9 Verify download, fix invidious file permission (#949)
* Fix docker
2020-04-30 20:35:34 -05:00
mendel5
9d23cf33fd Consistent IDs for info section (#1133) 2020-04-30 15:01:29 -05:00
Omar Roth
97eb01a28d Merge weblate 2020-04-20 16:46:00 -05:00
Lucas Araujo
9a2a636aed Update Portuguese (Brazil) translation 2020-04-20 16:12:20 -05:00
Oğuz Ersen
61c8256ef0 Update Turkish translation 2020-04-20 16:12:15 -05:00
Tolstovka
8e1791570e Update Ukrainian translation 2020-04-20 16:12:15 -05:00
Bruno Guerreiro
aa30d1f359 Add Portuguese (Portugal) translation 2020-04-20 16:12:12 -05:00
khalasa47
326f4bd681 Update Basque translation 2020-04-20 16:12:09 -05:00
Mihail Iosilevitch
7690c6c33d Update Russian translation 2020-04-20 16:12:06 -05:00
Allan Nordhøy
fece1077f2 Update Swedish translation 2020-04-20 16:12:05 -05:00
Allan Nordhøy
75fc7db50d Update Romanian translation 2020-04-20 16:12:05 -05:00
Sylke Vicious
96da04576e Update Italian translation 2020-04-20 16:12:05 -05:00
bongo bongo
001ec3663e Add Serbian (cyrillic) translation 2020-04-20 16:12:02 -05:00
Tamas Cservenak
21a00b77bd Add Hungarian translation (#1111) 2020-04-20 16:05:28 -05:00
Omar Roth
408f3852ec Hide playlist widget when user has no playlists 2020-04-15 16:30:02 -05:00
Omar Roth
61150c74d2 Move privacy type into playlists.sql 2020-04-14 18:09:48 -05:00
Omar Roth
7bb7003c9d Fix authorThumbnails in /api/v1/channels 2020-04-10 11:49:51 -05:00
Omar Roth
920463f2ff Fix playlist_ajax 2020-04-10 11:49:18 -05:00
Omar Roth
ca1185d0be Fix warnings in latest version of Crystal 2020-04-09 12:18:09 -05:00
Omar Roth
be655ee328 Bump dependencies 2020-04-09 11:14:21 -05:00
Omar Roth
02d4186b11 Fix player matching 2020-04-09 10:55:50 -05:00
Omar Roth
3f97bebd69 Support adding video to playlist from watch page 2020-04-09 10:55:32 -05:00
Omar Roth
2e378da922 Add support for Swedish locale 2020-04-04 15:57:29 -05:00
Omar Roth
b37f51bd7f Fix /c/ redirect 2020-04-04 15:31:24 -05:00
Olle Jonsson
eb8b0f72cc Add Swedish translation (#1078)
Co-authored-by: Daniel Lublin <daniel@lublin.se>
2020-04-02 16:26:54 -05:00
Olle Jonsson
d8fe9a4d29 nb-NO: Translate "subscription" correctly (#1089)
Co-authored-by: Oskar Gewalli <gewalli@gmail.com>
2020-04-02 16:16:27 -05:00
Omar Roth
c97cdf551e Refactor extract_plid 2020-03-30 14:27:07 -05:00
Omar Roth
80fc60b5e2 Add spec for extract_plid 2020-03-30 14:23:51 -05:00
Omar Roth
3b2e142542 Fix JSON serialization 2020-03-29 18:04:44 -04:00
Omar Roth
0e58d99f4e Fix player mouseover events 2020-03-27 09:47:46 -05:00
Omar Roth
92798abb5d Add manifest-src to CSP 2020-03-19 13:41:08 -05:00
Omar Roth
bd7950b757 Add toggle_parent to dynamic handlers 2020-03-15 18:52:49 -04:00
Omar Roth
59a15ceef6 Remove VarInt class 2020-03-15 17:47:16 -04:00
Omar Roth
4011a113cc Strip invalid characters from referer URLs 2020-03-15 17:47:16 -04:00
leonklingele
70cbe91776 Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
Omar Roth
f92027c44b Escape 'sort_by' 2020-03-10 11:25:32 -04:00
Omar Roth
1443335315 Switch textcaptcha to HTTPS 2020-03-10 11:12:11 -04:00
Omar Roth
6ff2229a09 Bump dependencies 2020-03-06 13:59:42 -05:00
Omar Roth
bb72672dd9 Replace static asset requests with QUIC 2020-03-06 13:53:35 -05:00
Omar Roth
d96dee3aa6 Add debug info to videoplayback 2020-03-06 13:50:00 -05:00
Omar Roth
bd0aaa343b Prevent storyboards from hanging 2020-03-05 13:49:06 -05:00
Omar Roth
3126e1ac94 docker: allow to configure Invidious by env var (#1030)
Invidious gained support to read its configuration from an env var
instead of config file in e3c10d779d.

Unfortunately, Docker doesn't allow newline characters in env var
values (see [0]) which means we can only provide a proper YAML config
by using the inlined configuration in docker-compose.yml which,
unfortunately, is tracked by Git. Once support for multiline env var
values has been added to Docker, we should migrate and read the config
from a .env file instead (which is not tracked by Git).

[0]: https://github.com/docker/compose/issues/3527
2020-03-04 12:33:13 -06:00
Omar Roth
a117d87f33 Skip validation checks for videoplayback, ggpht 2020-03-04 13:06:17 -05:00
Omar Roth
9dc4f8a1aa Escape item titles in search page 2020-03-04 13:03:14 -05:00
leonklingele
0d536d11e3 Verify token signature in constant time, Run cheap checks first in token validation process (#1032)
* Verify token signature in constant time

To prevent timing side channel attacks

* Run cheap checks first in token validation process

Expensive checks such as the nonce lookup on the database or the
signature check can be run after cheap/fast checks.
2020-03-02 10:04:36 -06:00
B͈̤̖̪̪̱ͅl̯̯̮̼͎̬͚̳̩̖̲u̜̼͉͈̠b͙̬̘̙̱̗̲͙b͍̞̬̬͓̼l̰̪͖̯̼̟̟͈̖͕̜̱̜ͅl̻̗͔̝̭̰͚͇̯̥
72a4962fd0 add lapisTube (#1027) 2020-03-02 09:35:28 -06:00
Kyle Copperfield
a3045a3953 Use a MediaQueryListener to toggle on demand. Tested on OSX. (#925)
Closes #867.
2020-03-02 09:33:47 -06:00
Tommy Miland
c620a22017 Add logfile to logrotate (#892) 2020-03-02 09:19:07 -06:00
Omar Roth
856ec03cc7 Revert "Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681)"
This reverts commit ef70668a77.
2020-03-01 11:07:37 -05:00
leonklingele
c80c5631f0 docker: do not require password for PostgreSQL superuser, docker,kubernetes: create "privacy" type before using it, travis: do not run "docker-compose up" in detached mode (#1042)
* docker: do not require password for PostgreSQL superuser

A password is now required by the postgres Docker image which makes
initial setup (and our CI build) fail with the following error:

    postgres_1   | Error: Database is uninitialized and superuser password is not specified.
    postgres_1   |        You must specify POSTGRES_PASSWORD for the superuser. Use
    postgres_1   |        "-e POSTGRES_PASSWORD=password" to set it in "docker run".
    postgres_1   |
    postgres_1   |        You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
    postgres_1   |        without a password. This is *not* recommended. See PostgreSQL
    postgres_1   |        documentation about "trust":
    postgres_1   |        https://www.postgresql.org/docs/current/auth-trust.html

See https://github.com/docker-library/postgres/issues/681.

* docker,kubernetes: create PostgreSQL "privacy" type before using it

Fixes the following error when setting up the database:

    postgres_1   | 2020-02-21 01:01:22.371 UTC [172] ERROR:  type "privacy" does not exist at character 200
    postgres_1   | 2020-02-21 01:01:22.371 UTC [172] STATEMENT:  CREATE TABLE public.playlists
    postgres_1   | 	(
    postgres_1   | 	    title text,
    postgres_1   | 	    id text primary key,
    postgres_1   | 	    author text,
    postgres_1   | 	    description text,
    postgres_1   | 	    video_count integer,
    postgres_1   | 	    created timestamptz,
    postgres_1   | 	    updated timestamptz,
    postgres_1   | 	    privacy privacy,
    postgres_1   | 	    index int8[]
    postgres_1   | 	);
    postgres_1   | ERROR:  type "privacy" does not exist
    postgres_1   | LINE 10:     privacy privacy,

* travis: do not run "docker-compose up" in detached mode

Rather, allow database to finish its setup procedure and grant
Invidious time to launch.
2020-03-01 10:06:45 -06:00
Omar Roth
ef70668a77 Add HOST_AUTH_METHOD=trust to docker compose (see docker-library/postgres#681) 2020-03-01 10:51:17 -05:00
Karol Kosek
ebd4691462 Update Polish translation 2020-03-01 16:31:32 +01:00
Tymofij Lytvynenko
28554235be Update Ukrainian translation 2020-03-01 16:31:32 +01:00
Deleted User
efbbb6fd20 Update German translation 2020-03-01 16:31:32 +01:00
Omar Roth
9de57021a3 Update postgres setup 2020-03-01 10:30:55 -05:00
Omar Roth
e21f770485 Fix status check for channel page 2020-02-28 15:57:45 -05:00
Omar Roth
697c00dccf Sanitize PLID 2020-02-28 14:10:01 -05:00
Omar Roth
1caf6a3298 Fix deadlock when updating notifications 2020-02-28 13:13:48 -05:00
Omar Roth
02fd02d482 Remove DB array concatenation 2020-02-28 12:14:29 -05:00
Pedro Lucas Porcellis
239fb0db94 Remove duplicated Github logo on footer (#986)
* Remove duplicated Github logo on footer
2020-02-20 18:50:54 -05:00
Omar Roth
fe1d73c3e5 Merge pull request #1015 from leonklingele/add-kubernetes
Add support to run on Kubernetes, add Helm chart
2020-02-20 18:45:25 -05:00
Omar Roth
43da06a354 Remove temp fix for crystal/crystal-lang#7383 2020-02-20 18:30:46 -05:00
Omar Roth
fea6b67067 Remove 'type' attribute from community embed 2020-02-20 18:30:46 -05:00
Omar Roth
f065ae54d5 Merge pull request #1031 from leonklingele/crystal-0.33.0-format
Update code formatting for Crystal 0.33.0
2020-02-20 18:10:56 -05:00
Omar Roth
3cf417766d Merge pull request #1033 from leanderseidlitz/master
readme.md: fix missing playlist relation in postgresql
2020-02-20 18:10:26 -05:00
Leander Seidlitz
0fb41b10e9 readme.md: fix missing playlist relation in postgresql 2020-02-15 20:58:52 +01:00
Leon Klingele
bc9dc3bf1e Update code formatting for Crystal 0.33.0
Crystal 0.33.0 introduced some changes to to the code formatter.
Run "crystal tool format" so CI doesn't fail anymore.
2020-02-15 19:52:28 +01:00
Leon Klingele
3cde5e28a8 Add support to run on Kubernetes, add Helm chart
See relevant README.md for more details.
2020-02-07 13:46:12 +01:00
Omar Roth
cb8e7181c4 Merge pull request #1016 from leonklingele/config-env
Add support to read config from environment variable
2020-02-06 20:13:34 -05:00
Omar Roth
9a3becdecc Merge pull request #1011 from jorgesumle/master
Remove invalid and useless HTML from embed player
2020-02-06 20:12:17 -05:00
Leon Klingele
e3c10d779d Add support to read config from environment variable
Try to read app config from the "INVIDIOUS_CONFIG" environment variable.
If the variable is undefined, read config from config.yml file as before.

Required by https://github.com/omarroth/invidious/pull/1015 et al.
2020-02-04 15:53:46 +01:00
Jorge Maldonado Ventura
dd9f1024f4 Remove invalid HTML from embed player 2020-02-01 19:25:03 +01:00
Omar Roth
9841f74adc Add handling for comments with no content 2020-02-01 12:14:37 -05:00
Omar Roth
b56e493d92 Remove frameborder from community embeds 2020-02-01 11:23:12 -05:00
Omar Roth
a2c5211b20 Check /browse_ajax for channel blocks 2020-02-01 11:23:12 -05:00
Omar Roth
b7a7abed48 Merge pull request #1004 from outloudvi/zhcn-l10n
Update zh-CN translation
2020-02-01 11:13:03 -05:00
Omar Roth
72bfdfd925 Merge pull request #975 from jorgesumle/embed
Change embed code
2020-02-01 11:11:12 -05:00
Outvi V
b80d34612a Update zh-CN translation 2020-01-27 13:01:53 +08:00
Omar Roth
648cc0f006 Refactor signature extraction 2020-01-24 17:02:28 -05:00
chr56
830692dd60 Update Chinese (Simplified) translation 2020-01-17 22:50:16 -05:00
Adam Zieliński
95a6759381 Update Polish translation 2020-01-17 22:50:16 -05:00
Jorge Maldonado Ventura
960b37b1c2 Update Spanish translation 2020-01-17 22:50:16 -05:00
Jorge Maldonado Ventura
b1d17dea4f Update Esperanto translation 2020-01-17 22:50:16 -05:00
Jeff Huang
6b06471953 Update Chinese (Traditional) translation 2020-01-17 22:50:16 -05:00
dimqua
4ca957d3eb Update Russian translation 2020-01-17 22:50:16 -05:00
Oguz Ersen
eb9b63477c Update Turkish translation 2020-01-17 22:50:16 -05:00
Allan Nordhøy
80c01b055c Update Norwegian Bokmål translation 2020-01-17 22:50:16 -05:00
Omar Roth
50aec67069 Merge pull request #984 from rreuvekamp/202001_improve-dutch-locale
Improve Dutch locale
2020-01-17 22:26:46 -05:00
Omar Roth
7baced75e5 Fix channel redirect 2020-01-14 08:21:17 -05:00
Remi Reuvekamp
99743a94fb Improve Dutch locale 2020-01-12 19:00:10 +01:00
Omar Roth
9bdfd6025b Add base-devel to Arch dependencies 2020-01-08 21:06:22 -05:00
Omar Roth
91400d2ce0 Merge pull request #959 from frajibe/wip/frajibe/frenchTs
Small fixes for the french translation
2020-01-08 20:29:26 -05:00
Omar Roth
7b88d0efe3 Minor refactor 2020-01-08 20:27:21 -05:00
Omar Roth
4aada65dae Fix channel playlists for genre channels 2020-01-08 20:26:47 -05:00
Omar Roth
0560d2cfb7 Bump video.js 2020-01-08 20:19:47 -05:00
Jorge Maldonado Ventura
58c1a68ad9 Change embed code 2020-01-04 15:27:45 +01:00
Omar Roth
588fc6df85 Bump dependencies 2019-12-14 16:10:46 -05:00
frajibe
2c9e4ded40 Fix the french translation 2019-12-14 18:20:26 +01:00
Omar Roth
88a538e71b Minor refactor for channel playlists 2019-12-05 15:47:35 -05:00
Omar Roth
513363504f Add better error message for fetch_channel 2019-12-05 15:46:21 -05:00
Omar Roth
0e844edacb Add support for pt-BR 2019-12-05 15:26:35 -05:00
Everton
5751bb2481 Add Brazilian Portuguese locale (#915)
* adding Brazilian Portuguese locale
2019-12-05 15:24:53 -05:00
Omar Roth
28669d940a Remove --release from dockerfile 2019-12-05 14:49:44 -05:00
Omar Roth
3d87bdb6b4 Merge pull request #938 from tleydxdy/patch-2
Proper fix for docker build
2019-12-05 14:49:14 -05:00
Omar Roth
1499ce43bf Add support for Romanian locale 2019-12-03 19:41:58 -05:00
Omar Roth
4d22b43d65 Merge pull request #942 from vcvlad/master
Invidious translated into Romanian
2019-12-03 19:41:26 -05:00
Omar Roth
823603650f Add support for /sorry/index CAPTCHA 2019-12-03 19:14:11 -05:00
Omar Roth
062867a38d Strip domain from caption URLs 2019-12-01 17:52:39 -05:00
Vlad Crangă
f3e0c5d653 Update ro.json
Invidious translated from English into Romanian.
2019-11-28 17:16:46 +00:00
Vlad Crangă
fc7f48b7db Create ro.json 2019-11-28 15:09:41 +00:00
Omar Roth
04d56420d1 Run 'crystal tool format' 2019-11-28 08:20:44 -06:00
Omar Roth
a017574f74 Add support for force_resolve to QUIC client 2019-11-28 08:19:28 -06:00
tleydxdy
ae24360c02 Proper fix for docker build
return to static linking
2019-11-26 18:20:23 -05:00
Omar Roth
3fea1976c8 Update dependencies 2019-11-24 15:26:19 -05:00
Omar Roth
cf97dd9fcd Bump dependencies 2019-11-24 14:00:53 -05:00
Omar Roth
0e3a48ff76 Update QUICPool 2019-11-24 13:41:47 -05:00
Omar Roth
276bf09238 Skip preferences for assets 2019-11-20 12:04:53 -05:00
Omar Roth
05988c1c49 Bump version 2019-11-18 20:41:42 -05:00
Omar Roth
d46b26e3bc Use QUIC for connections to YouTube 2019-11-18 17:28:32 -05:00
Omar Roth
236c172c6f Merge pull request #896 from sh4dowb/master
Fixed double quotes in meta description
2019-11-14 10:38:38 -05:00
Omar Roth
59fcb56972 Merge pull request #907 from tleydxdy/patch-2
Fix docker build for now
2019-11-14 10:38:12 -05:00
Omar Roth
c07cd3a856 Fix typo in playlist url 2019-11-14 10:11:33 -05:00
tleydxdy
37766347a5 Fix docker build for now 2019-11-13 08:57:12 -05:00
sh4dowb
79da61782b Fixed double quotes in meta description 2019-11-11 19:00:23 +03:00
Omar Roth
8af87f1a8b Fix updating of cookies 2019-11-10 10:02:02 -05:00
Omar Roth
494c954cbb Add etag to /api/v1/annotations 2019-11-09 22:05:17 -05:00
Omar Roth
71bc9eea28 Add support for Anti-Captcha 2019-11-09 14:22:39 -05:00
Omar Roth
e3b2bcfd06 Fix ID for search duration 2019-11-08 09:29:33 -05:00
Omar Roth
142d974641 Use force_resolve for search suggestions 2019-11-07 12:25:34 -05:00
Omar Roth
e56129111a Update CHANGELOG and bump version 2019-11-05 23:38:49 -05:00
Omar Roth
0e1d6aa85c Update error messages for video extractor 2019-11-05 19:39:11 -05:00
Omar Roth
bcdb8cd770 Fix default fo dark_mode 2019-11-04 17:08:13 -05:00
Omar Roth
7b2ca55089 Fix escaping in email query 2019-11-04 12:26:05 -05:00
Omar Roth
f6ef0b684a Fix word-break for links in channel RSS 2019-11-03 08:53:16 -05:00
Omar Roth
02e1cdf210 Add support for '/yts/img' endpoint 2019-11-01 12:02:38 -04:00
Omar Roth
b58950c574 Fix decoding for channel playlists extractor 2019-11-01 12:00:59 -04:00
Omar Roth
833a60f29c Update pubsub to use client pool 2019-11-01 07:34:36 -04:00
Omar Roth
f776d67c03 Update sed replace in Dockerfile 2019-10-28 12:49:03 -04:00
Omar Roth
13e7cca1a4 Bump read timeout 2019-10-28 12:34:50 -04:00
Omar Roth
0f3c477ff3 Remove dependency on ImageMagick (replace with rsvg-convert) 2019-10-28 10:49:05 -04:00
Omar Roth
039cc30c07 Fix host replace in Dockerfile 2019-10-28 10:45:22 -04:00
Omar Roth
25c8cd9246 Fix escaping for search params 2019-10-28 06:17:39 -04:00
Omar Roth
c58841100a Fix extractor for channel community cursor 2019-10-27 21:44:17 -04:00
Omar Roth
03e24cccd0 Add support for configurable administrator email 2019-10-27 14:18:07 -04:00
Omar Roth
35f011758d Merge pull request #850 from XVnNzb2kFEhV9Tjm/master
Add Japanese translations
2019-10-27 14:09:31 -04:00
Omar Roth
2ebfaf76f2 Refactor continuation token handling 2019-10-27 13:50:42 -04:00
Omar Roth
0cf187dee7 Add support for image captcha in Google login 2019-10-27 00:19:05 -04:00
Omar Roth
bdeb325bad Fix monkeypatch for HTTP::Client 2019-10-26 11:51:23 -04:00
Omar Roth
a1225b6d0d Sanitize input to decode_length_seconds 2019-10-26 10:17:25 -04:00
XVnNzb2kFEhV9Tjm
f0368b02c4 Add Japanese translations 2019-10-26 18:34:25 +09:00
Omar Roth
202de1436d Fix broken connections in pool 2019-10-25 23:06:08 -04:00
Omar Roth
7f8746fcd4 Remove invalid connections from pool 2019-10-25 22:40:53 -04:00
Omar Roth
e05a25d701 Vary user-agent 2019-10-25 18:02:33 -04:00
Omar Roth
6930570fa2 Add HTTPClient pool 2019-10-25 12:58:16 -04:00
Omar Roth
aba2c5b938 Remove code for /api/v1/insights 2019-10-25 12:25:57 -04:00
Tommy
d82f86dcd9 Update entrypoint.postgres.sh (#843)
* Update entrypoint.postgres.sh
2019-10-22 07:37:26 -04:00
Omar Roth
159b4f9734 Format source 2019-10-21 21:40:03 -04:00
Omar Roth
46a737c7a1 Skip deleted videos in playlist 2019-10-21 19:00:56 -04:00
Omar Roth
a731486ab7 Fix typo in locale regex 2019-10-21 11:11:29 -04:00
Omar Roth
c3e57f1fdd Fix typo in footer 2019-10-20 23:02:16 -04:00
Omar Roth
a9af484412 Merge pull request #839 from TheFrenchGhosty/crypto
Add protocol to the cryptocurrencies
2019-10-20 22:39:24 -04:00
Omar Roth
007646774e Fix typo in English locale 2019-10-20 21:01:27 -04:00
Omar Roth
2d78e35e16 Fix typo in syncing user preferences 2019-10-20 20:58:50 -04:00
Omar Roth
7524b5e349 Move feed_menu and default_home into user preferences 2019-10-20 20:43:33 -04:00
Omar Roth
2a04a48b89 Fix redirect for livestreams 2019-10-20 12:48:55 -04:00
TheFrenchGhosty
3cbdaab81e Add protocol to the cryptocurrencies 2019-10-19 20:23:27 +02:00
Omar Roth
8c858a5953 Merge pull request #829 from l10n-tw/translation
Update zh_TW translations.
2019-10-19 13:14:33 -04:00
TheFrenchGhosty
1812958106 French Translation updated, custom playlists update, enhancements and corrections (#830)
* French Translation updated, custom playlists update and corrections
2019-10-19 13:13:49 -04:00
Omar Roth
4e5324916c Merge pull request #836 from EsmailELBoBDev2/master
Update ar.json
2019-10-19 13:12:58 -04:00
Esmail EL BoB
1a77becc6a Update ar.json 2019-10-18 17:22:45 +00:00
Omar Roth
23ccaea2ff Fix comment event listener 2019-10-18 12:44:11 -04:00
Omar Roth
2a4b252a9d Only force resolve for www.youtube.com 2019-10-18 12:41:03 -04:00
Jeff Huang
9ae4edfee5 Update zh_TW translations. 2019-10-17 08:48:34 +08:00
Omar Roth
bf48809b61 Allow unlisted playlists to be viewed from /api/v1/playlists/ 2019-10-16 08:21:26 -04:00
Omar Roth
57a80a3c10 Add missing text to locales 2019-10-15 22:52:11 -04:00
Omar Roth
3f3e52d7ae Fix indexId for created playlist video 2019-10-15 22:09:01 -04:00
Omar Roth
5c69110658 Merge pull request #673 from omarroth/add-playlists
Add initial support for custom playlists
2019-10-15 21:29:34 -04:00
Omar Roth
be055d9dcb Add support for custom playlists 2019-10-15 21:17:14 -04:00
Omar Roth
1e34a61911 Fix white-space for RSS feeds 2019-10-14 21:07:07 -04:00
Omar Roth
97bd1da2a2 Remove SSL redirect 2019-10-14 21:07:07 -04:00
Omar Roth
330ffb803f Remove invalid source map directive for videojs-quality-selector 2019-10-14 21:07:07 -04:00
Omar Roth
7b77f200be Merge pull request #817 from TheFrenchGhosty/master
French Translation updated - Rewording and corrections
2019-10-13 17:34:45 -05:00
TheFrenchGhosty
15a3c8408f Assume feed means subscriptions feed 2019-10-12 23:15:53 +02:00
TheFrenchGhosty
bc1784ed2b French Translation updated, rewording and corrections 2019-10-12 23:11:40 +02:00
Omar Roth
55f0a82249 Remove Patreon links 2019-10-12 10:07:18 -04:00
Omar Roth
7aada3f328 Avoid override for X-Client headers 2019-10-10 23:45:46 -04:00
Omar Roth
dad885c051 Add YouTube-Client headers to HTTP requests 2019-10-10 22:03:39 -04:00
Omar Roth
f5c7bbfda8 Add support for zh-TW translation 2019-10-09 10:23:26 -04:00
ButterflyOfFire
f832743009 Update Arabic translation 2019-10-09 16:22:39 +02:00
Omar Roth
7551de6439 Merge pull request #791 from l10n-tw/translation
Add zh-TW translations.
2019-10-09 10:22:34 -04:00
Omar Roth
e03b4b7505 Hide scrollbar for player menus 2019-10-05 11:51:31 -04:00
Omar Roth
2d59fdd178 Fix default value for empty description 2019-10-04 17:04:43 -04:00
Omar Roth
e61c8046f4 Fix z-index, scrollbar in player 2019-10-04 12:50:44 -04:00
Omar Roth
c0796ac3d6 Add description to RSS body 2019-10-04 12:50:22 -04:00
Omar Roth
68be24ffc6 Refactor process_video_params 2019-10-04 12:23:28 -04:00
Omar Roth
9dcc87c705 Refactor storyboard generation 2019-10-04 10:26:02 -04:00
Omar Roth
d36c536107 Merge pull request #792 from delightfulagony/master
Fixed bug that made the whole 'Invidious' home link div clickable. Solves #691
2019-10-04 10:25:10 -04:00
agony
affeeb39de Fixed bug that made the whole 'Invidious' div clickable. Solves #691 2019-10-02 14:05:58 +02:00
Jeff Huang
f5d8a952f2 Add zh-TW translations. 2019-10-02 16:28:25 +08:00
Omar Roth
da07f99d3d Bump supported Crystal version 2019-09-30 15:36:54 -04:00
Omar Roth
eef66de68c Merge pull request #743 from girst/rssparams
Forward query string parameters from Atom feeds
2019-09-30 15:36:35 -04:00
girst
4aa1180fce Forward parameters given in &params= from Atom feeds
Any parameters given in &params=... are appended to /watch URLs.  This
allows e.g. passing &raw=1&listen=1 to a playlist of music and use an
rss reader like newsboat as a media player, like so:

    https://invidio.us/feed/playlist/XXX?params=%26raw%3D1%listen%3D1

All three feeds--channels, playlists, subscriptions--are supported.
2019-09-30 17:48:13 +02:00
Omar Roth
553d52a45e Update silvermine quality selector 2019-09-26 17:11:10 -04:00
Omar Roth
347b153884 Merge pull request #765 from leonklingele/docker-travis-warnings
docker,travis: fail build on any warning
2019-09-24 20:51:12 -04:00
Omar Roth
1e7c176481 Merge pull request #766 from leonklingele/travis-shallow-clone
travis: unshallowly clone Git repo
2019-09-24 20:50:48 -04:00
Omar Roth
e390405d0c Update privacy policy 2019-09-24 20:47:49 -04:00
Leon Klingele
7378a84c96 travis: unshallowly clone Git repo
This fixes a compilation error if too many commits were made after the
most recent tag:

    fatal: No names found, cannot describe anything.
    In src/invidious.cr:60:19
      60 | CURRENT_VERSION = {{ "#{`git describe --tags --abbrev=0`.strip}" }}
    Error: expanding macro

See https://travis-ci.org/leonklingele/invidious/jobs/588672881#L275-L290.
2019-09-25 01:23:12 +02:00
Leon Klingele
b25013c4a2 docker,travis: fail build on any warning 2019-09-25 01:22:51 +02:00
Omar Roth
6942916f13 Merge remote-tracking branch 'weblate/master' 2019-09-24 13:48:49 -04:00
Omar Roth
f69f0b97f5 Add fix for index out of bounds during high load 2019-09-24 13:38:50 -04:00
Omar Roth
4361ea9686 Update DB calls for 0.31.0 2019-09-24 13:38:50 -04:00
Omar Roth
be2ee33273 Fix overflow for player controls 2019-09-24 13:38:50 -04:00
Omar Roth
8c2ddb0255 Add config options for host binding and port 2019-09-24 13:38:50 -04:00
Omar Roth
466a5a932b Add support for Turkish translation 2019-09-24 13:38:50 -04:00
Oguz Ersen
8a3c6382e9 Add Turkish translation 2019-09-24 13:38:46 -04:00
Oguz Ersen
a2b45120c5 Update Turkish translation 2019-09-24 19:31:37 +02:00
Oguz Ersen
546ad52e11 Add Turkish translation 2019-09-24 19:31:37 +02:00
leonklingele
1aefc5b540 Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies (#764)
* shard: update to crystal 0.31.0

Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115.

Also fix some deprecation warnings using the following commands:

    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
    sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
2019-09-24 13:31:33 -04:00
Omar Roth
1085ca4a2d Fix typo in Google login 2019-09-22 09:54:54 -04:00
Omar Roth
9766322e99 Update videojs-quality-selector 2019-09-21 22:22:20 -04:00
Omar Roth
cfb68e3bff Add additional handling for unplayable videos 2019-09-21 20:06:08 -04:00
Omar Roth
a006963fb8 Update Google login 2019-09-21 20:06:08 -04:00
Omar Roth
24c95c27c3 Merge pull request #752 from gnomus/master
[Fix][Docker] Update Package Repository for Install
2019-09-14 10:05:35 -04:00
gnomus
3c40c0be6b Update Package Repository for Install 2019-09-13 15:06:44 +02:00
Omar Roth
b1fc80b79a Update sub_count extractor 2019-09-12 21:09:23 -04:00
Omar Roth
50d793e49b Hide video count for auto-generated channels 2019-09-12 13:11:21 -04:00
Omar Roth
34c43b8349 Add support for abbreviated sub count in search 2019-09-12 13:06:27 -04:00
Omar Roth
7002a316fd Filter movies from recommended videos 2019-09-12 13:06:10 -04:00
Omar Roth
1f37faad42 Fix plurilzation regex 2019-09-09 18:09:21 -04:00
Omar Roth
68cf24d100 Add support for channel redirects 2019-09-08 12:08:59 -04:00
Omar Roth
86491da253 Fix map for recommended videos 2019-09-07 21:56:33 -04:00
Omar Roth
90249cdafa Fix extractor for short_view_count_text 2019-09-07 20:09:08 -04:00
Omar Roth
7c75111c41 Refactor error handling for API endpoints 2019-09-05 14:12:14 -04:00
Omar Roth
7b53b6bfef Shrink continuation cursor for YouTube comments 2019-09-04 15:47:27 -04:00
Jorge Maldonado Ventura
fded5fd900 Update Spanish translation 2019-09-03 21:10:49 -04:00
Swann Martinet
950965bd4a Update French translation 2019-09-03 21:10:49 -04:00
Swann Martinet
3a359319fa Update German translation 2019-09-03 21:10:49 -04:00
Allan Nordhøy
d3dd82c699 Update Norwegian Bokmål translation 2019-09-03 21:10:49 -04:00
Jorge Maldonado Ventura
81f192bccb Update Esperanto translation 2019-09-03 21:10:49 -04:00
ButterflyOfFire
60a23febed Update Arabic translation 2019-09-03 21:10:48 -04:00
Esmail EL BoB
d0e280cbac Update ar.json (#728)
* Update ar.json
2019-09-03 21:04:04 -04:00
unbranched
ecb62c8659 Italian translation update (#724)
* Italian translation update
2019-09-03 21:02:53 -04:00
Omar Roth
12669df92b Merge pull request #729 from Infinisil/migrate
Provide db user in migrate-db-3646395.sh
2019-09-01 17:30:22 -04:00
Omar Roth
44b2afeffa Merge pull request #675 from Dragnucs/patch-1
Add Postgres health check
2019-09-01 09:53:04 -04:00
Omar Roth
70f435e909 Fix nillable for recommendedVideos 2019-08-31 16:24:13 -04:00
Omar Roth
512d82071e Fix invalid viewCountText in related videos 2019-08-31 15:58:38 -04:00
Omar Roth
3896230199 Fix type cast for viewCount 2019-08-31 01:11:45 -04:00
tleydxdy
b902880a05 fix docker build (#734) 2019-08-31 01:11:25 -04:00
Silvan Mosberger
418526af16 Provide db user in migrate-db-3646395.sh 2019-08-29 02:25:15 +02:00
Omar Roth
45ad212459 Handle redirects in /videoplayback 2019-08-27 09:53:44 -05:00
Omar Roth
0f49d424d3 Refactor search params 2019-08-27 09:35:15 -05:00
Omar Roth
01e42c8d6f Flatten viewCountText 2019-08-27 08:52:22 -05:00
Omar Roth
26107bd6c3 Minor refactor 2019-08-27 08:08:26 -05:00
Omar Roth
7d3ecd2297 Bump JS/CSS dependencies 2019-08-27 08:01:33 -05:00
Omar Roth
16056661dd Update recommended videos extractor 2019-08-27 08:00:04 -05:00
Omar Roth
059f50dad4 Add 'playlistThumbnail' to playlist objects 2019-08-21 19:08:11 -05:00
Omar Roth
4c9975a7d9 Use accurate sub count when available 2019-08-21 18:35:54 -05:00
Omar Roth
9f9cc1ffb5 Refactor search extractor 2019-08-21 18:23:20 -05:00
Omar Roth
e768e1e277 Fix allowed_regions for globally blocked videos 2019-08-19 10:16:11 -05:00
leonklingele
acaf7b969a js: add support to detect alt, meta and control key in keydown handler (#704)
This fixes a quite severe user experience issue where pressing the
'alt', 'meta' and/or 'ctrl' key along with one of the supported keys
(e.g. 'f' to enter video fullscreen mode) would overwrite the default
browser behavior. In the case of 'f+meta' we would enter fullscreen
mode, and not open the browser search panel as one might expect.

This change is required to stay consistent with the way YouTube
handles keydown events.
2019-08-18 23:22:39 -05:00
Omar Roth
2b94975345 Fix playlist_thumbnail extractor 2019-08-16 20:06:21 -05:00
leonklingele
e6b4e12689 js: add support for keydown events (#678)
* js: add support for keydown events

This will modify the player behavior even if the player element is unfocused.

Based on the YouTube key bindings, allow to

- toggle playback with space and 'k' key
- increase and decrease player volume with up / down arrow key
- mute and unmute player with 'm' key
- jump forwards and backwards by 5 seconds with right / left arrow key
- jump forwards and backwards by 10 seconds with 'l' / 'j'  key
- set video progress with number keys 0–9
- toggle captions with 'c' key
- toggle fullscreen mode with 'f' key
- play next video with 'N' key
- increase and decrease playback speed with '>' / '<' key

* js: remove unused dependency 'videojs.hotkeys.min.js'

Support for controlling the player volume by scrolling over it is
still retained by copying over the relevant code part from the
aforementioned library.
2019-08-16 16:01:14 -05:00
Dragnucs
7eaac995bd Change font family to better native selection (#679) 2019-08-16 15:59:05 -05:00
Omar Roth
a19cdb5e72 Fix season playlists 2019-08-16 15:46:59 -05:00
psvenk
f54fbd057e Add prefers-color-scheme support (#601)
* Add prefers-color-scheme support

This should fix <https://github.com/omarroth/invidious/issues/559>.
The cookie storage format has been changed from boolean
("true"/"false") to tri-state ("dark"/"light"/""), so that users
without a cookie set will get dark mode if they have enabled the dark
theme in their operating system. The code for handling the cookie
state, along with the user's operating system theme, has been factored
out into a new function `update_mode`, which is called both at window
load and at the "storage" event listener, because the "storage" event
listener is only trigerred when a change is made to the localStorage
from another tab/window (for more info - see
<https://stackoverflow.com/a/4679754>).
2019-08-15 11:29:55 -05:00
Omar Roth
19eceb4ecc Merge pull request #694 from 2secslater/player-preferences-typo-fix
Fix annoying typo in Preferences view for the player view
2019-08-14 19:17:29 -05:00
Omar Roth
dcff1ec25f Merge pull request #698 from leonklingele/docker-build-on-alpine-edge
docker: use alpine:edge base image for building
2019-08-14 18:50:15 -05:00
Leon Klingele
567cda4cd3 docker: use alpine:edge base image for building
This fixes currently failing Docker builds.
kemalcr/kemal in version 0.26.0 requires Crystal 0.30.0 which is not
yet available on Alpine 3.10 (previously used as the Docker base image).
2019-08-15 01:37:25 +02:00
Omar Roth
900d8790b3 Refactor geo-bypass 2019-08-14 18:09:07 -05:00
Omar Roth
cad284519f Merge pull request #696 from leonklingele/shard-update-dependencies-and-crystal-version
shard: update dependencies and Crystal version
2019-08-14 18:07:26 -05:00
Omar Roth
0727acf458 Merge pull request #695 from leonklingele/crystalfmt
Format Crystal files
2019-08-14 18:06:37 -05:00
Omar Roth
d8813179be Merge pull request #682 from leonklingele/ci-travis-test-docker-stages
travis: also test Docker build
2019-08-14 17:59:53 -05:00
Leon Klingele
10d690c8fb shard: update to crystal 0.30.1 2019-08-14 23:44:27 +02:00
Leon Klingele
52f71cdda0 shard: update dependencies
This updates will/crystal-pg to 0.18.1 and kemalcr/kemal tp 0.26.0.
2019-08-14 23:44:03 +02:00
Leon Klingele
2a9a348164 Format Crystal files
Crystal 0.30.1 apparently introduced some breaking changes to their
code formatter which made CI fail.

The code was automatically formatted by running

    crystal tool format
2019-08-14 23:31:07 +02:00
Andrew
00346781bb Fix annoying typo in Preferences view 2019-08-14 20:12:37 +00:00
Leon Klingele
4c6e92eea1 travis: also test Docker build 2019-08-10 17:00:50 +02:00
Omar Roth
b63f469110 Fix typo in ConfigPreferences 2019-08-09 14:09:24 -05:00
Omar Roth
f6f176afc1 Merge pull request #680 from leonklingele/add-player-styles
Add support for player styles
2019-08-09 13:49:51 -05:00
Omar Roth
3de37a61c5 Update videojs-http-source-selector 2019-08-09 10:36:41 -05:00
Omar Roth
2d955dae48 Force redirect for videos without audio 2019-08-09 10:36:22 -05:00
Leon Klingele
46577fb128 Add support for player styles
This currently includes the following styles:

- Invidious, the default
- YouTube, using a centered play button and always visible video control bar

Implements https://github.com/omarroth/invidious/issues/670.
Supersedes https://github.com/omarroth/invidious/pull/661.
2019-08-09 02:04:36 +02:00
Dragnucs
37dba6ebfd Add Postgres health check 2019-08-07 08:07:36 +00:00
Omar Roth
66b949bed1 Format history.ecr 2019-08-05 18:57:32 -05:00
Omar Roth
c9a05187fb Update icon for unlisted videos 2019-08-05 18:57:32 -05:00
Omar Roth
cc956583fb Fix detection of unavailable videos 2019-08-05 18:57:32 -05:00
Omar Roth
14206efb09 Merge pull request #671 from leonklingele/shard-upgrade-dependencies
shard: update dependencies
2019-08-04 22:37:36 -05:00
Leon Klingele
5e6d7f5d16 shard: update dependencies 2019-08-05 04:19:09 +02:00
Omar Roth
7a33831d14 Fix detection of premium content 2019-08-04 20:57:34 -05:00
Omar Roth
4f120e19fd Fix overflow for channel description 2019-08-04 09:46:26 -05:00
Omar Roth
37d064d836 Bump Crystal version 2019-08-04 09:16:29 -05:00
leonklingele
824150f89b Add Travis CI and pin dependencies (#655) 2019-08-04 09:10:32 -05:00
Omar Roth
f7dc4cca2c Merge pull request #665 from leonklingele/improve-dockerfile
docker: various improvements to Dockerfile
2019-08-04 08:07:16 -05:00
Leon Klingele
ea39bb4334 docker: various improvements to Dockerfile
This includes the following changes:

- Use multi-stage build to run application in an optimized environment, see
  https://docs.docker.com/develop/develop-images/multistage-build/
- Run application on alpine instead of archlinux to further reduce image size
- Build Crystal application with --release for improved runtime performance
- Run application as non-root user for better security, see
  https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
- Only rebuild Docker layers when required
2019-08-04 11:21:32 +02:00
Omar Roth
5680d5a7be Sort dash representations by framerate 2019-08-02 15:24:38 -05:00
Omar Roth
004246124b Merge pull request #664 from leonklingele/css-fix-jumpy-page-on-search-field-focus
Fix jumpy page on search field focus
2019-08-01 12:50:08 -05:00
Omar Roth
c41beae99a Add fix for channels with empty descriptions 2019-08-01 07:49:33 -05:00
Leon Klingele
fe2cffb25b Fix jumpy page on search field focus 2019-08-01 09:35:57 +02:00
Omar Roth
f71d5c429d Add description to channel pages 2019-07-31 19:29:16 -05:00
Omar Roth
dce5816b18 Fix image url extractor 2019-07-31 19:16:09 -05:00
leonklingele
f99a7b2a8c Fix engagement for zero-view videos (#654)
Division by zero resulted in 'NaN'.

Fixes https://github.com/omarroth/invidious/issues/653.
2019-07-31 09:48:45 -05:00
mondstern
ec36c69984 Update German translation 2019-07-31 09:37:43 -05:00
recette-lemon
2458db03de Update Icelandic translation 2019-07-31 09:36:55 -05:00
Brn9hrd7
7528b7bc1a Update german translation (#650) 2019-07-31 09:32:16 -05:00
TheFrenchGhosty
8af33084ed French translation updated - New words, consistency (#643)
* New words translated, more consistency
2019-07-31 08:52:41 -05:00
Omar Roth
f643175156 Fix typo in video extractor 2019-07-30 10:12:41 -05:00
Omar Roth
0321dda1d7 Fix handling for video content warnings 2019-07-29 20:39:12 -05:00
Omar Roth
ff5d79e3ee Update video extractor 2019-07-29 19:41:45 -05:00
Omar Roth
4ee3ec09df Autofill search for playlists and communities page 2019-07-27 08:51:10 -05:00
Omar Roth
cfe9d47fa0 Add support for '/embed/?list' 2019-07-25 10:36:35 -05:00
Omar Roth
607d6125fc Add support for '/embed/live_stream' 2019-07-24 19:18:26 -05:00
Omar Roth
6215259565 Add support for Google login verification 2019-07-22 13:28:36 -05:00
Omar Roth
d034fecc89 Remove default arguments from function definitions 2019-07-20 20:33:44 -05:00
Omar Roth
f18d8229c0 Refactor continuation protocol buffers 2019-07-20 20:18:08 -05:00
Omar Roth
e736626953 Fix continuation for last page of playlists 2019-07-20 11:38:20 -05:00
Omar Roth
c2c438637a Merge remote-tracking branch 'weblate/master' 2019-07-18 21:58:51 -05:00
Omar Roth
94638fe42c Update translations 2019-07-18 21:52:25 -05:00
recette-lemon
55ecfda39a Update Icelandic translation 2019-07-18 21:52:25 -05:00
Omar Roth
d97a272aa5 Fix check for 2-step verification 2019-07-18 21:52:24 -05:00
W2hJ3MOmIRovEpTeahe80jC
80a1944b9d Update Icelandic translation 2019-07-19 01:52:11 +02:00
recette-lemon
138cf943a9 Update Icelandic translation 2019-07-19 01:52:11 +02:00
recette-lemon
c7e672e533 Update Icelandic translation 2019-07-19 01:52:11 +02:00
Omar Roth
1b74a04efd Add 'force_resolve' to fix issues with rate limiting 2019-07-18 18:51:10 -05:00
Omar Roth
290c7e6009 Disable autoplay in community tabs 2019-07-14 10:13:40 -05:00
Omar Roth
e8a56e0fea Add '1.75' playback speed 2019-07-14 10:13:40 -05:00
Omar Roth
1ae7b646b3 Merge pull request #633 from EsmailELBoBDev2/patch-4
Update ar.json
2019-07-14 10:13:04 -05:00
Esmail EL BoB
42e2d73ce2 Update ar.json 2019-07-14 06:07:02 +00:00
Omar Roth
9e2a65a5ce Update CHANGELOG and bump version 2019-07-12 23:45:21 -05:00
Omar Roth
fea20ea913 Add support for Icelandic translation 2019-07-12 21:07:40 -05:00
Omar Roth
5b2480fff2 Merge remote-tracking branch 'weblate/master' 2019-07-12 21:04:20 -05:00
Omar Roth
b0dca2a363 Minor refactor 2019-07-12 21:00:50 -05:00
Jorge Maldonado Ventura
59bbe72798 Update Esperanto translation 2019-07-12 19:05:25 +02:00
recette-lemon
f99a30a57e Update Icelandic translation 2019-07-12 19:05:25 +02:00
Allan Nordhøy
aa4cb29621 Update Norwegian Bokmål translation 2019-07-12 19:05:25 +02:00
recette-lemon
91ad4e396b Update Icelandic translation 2019-07-12 19:05:25 +02:00
recette-lemon
351e17aacf Update Icelandic translation 2019-07-12 19:05:25 +02:00
recette-lemon
6c8e09acdb Add Icelandic translation 2019-07-12 19:05:25 +02:00
Omar Roth
1a7b341745 Update Google login 2019-07-12 12:04:39 -05:00
Omar Roth
af592ea8c1 Fix extraction for ytInitialData 2019-07-11 07:27:54 -05:00
Omar Roth
bb096a0357 Raise 400 on invalid request to '/feed/webhook' 2019-07-10 11:26:05 -05:00
Omar Roth
3c226892c6 Add fix for empty title tag when fetching videos 2019-07-10 10:44:44 -05:00
Omar Roth
47f6fe069a Add fix for unsupported attachment types 2019-07-09 23:09:16 -05:00
Omar Roth
aa3c1d930b Remove empty representations from dash manifests 2019-07-09 10:08:27 -05:00
Omar Roth
99b0b4f5b8 Fix escaping for materialized view SQL 2019-07-09 09:34:19 -05:00
Omar Roth
bcd239ac2b Add community page 2019-07-09 09:31:04 -05:00
Omar Roth
2cc25b1e6e Add administrator option to disable proxying 2019-07-08 12:15:18 -05:00
Omar Roth
5fd3ed782f Add fix for #600 2019-07-08 10:00:08 -05:00
Omar Roth
c34a24b633 Attempt to optimize query for subscription feed 2019-07-07 14:00:42 -05:00
Omar Roth
775612ec5a Prevent embeds from appearing in watch history 2019-07-05 16:55:28 -05:00
Omar Roth
fd43b16213 Add av01 formats to itag list 2019-07-05 13:43:44 -05:00
Omar Roth
5a455ec4f7 Fix redirect for livestream segments 2019-07-05 12:08:39 -05:00
Omar Roth
1277c3d156 Fix chunk size for livestreams 2019-07-05 11:35:04 -05:00
Omar Roth
8033d1ca6d Fix chunking for livestream segments 2019-07-05 11:02:12 -05:00
Omar Roth
28df6881a7 Try to prevent redirect for DASH streams 2019-07-04 23:29:28 -05:00
Omar Roth
e5fa5df7be Chunk video files to bypass throttling 2019-07-04 23:29:28 -05:00
Omar Roth
f7dbf2bdd4 Add 'pipe' for proxying assets 2019-07-04 23:29:28 -05:00
Omar Roth
857c57daba Add support for Chinese translation 2019-07-04 23:11:04 -05:00
Omar Roth
5515da3c2d Merge pull request #620 from outloudvi/l10n-zh-cn
Add translation of Simplified Chinese
2019-07-04 23:06:26 -05:00
Outvi V
cfc111f855 Add zh-CN translation 2019-07-04 13:08:01 +08:00
Omar Roth
3dd4043827 Fix 404 for video thumbnails 2019-07-03 13:54:15 -05:00
Omar Roth
351ecfae0f Fix body when proxying assets with status code > 300 2019-07-03 13:13:40 -05:00
Omar Roth
b22393092b Fix protocol for video author thumbnails 2019-07-03 13:10:18 -05:00
Omar Roth
1485ee8027 Fix channel thumbnail size in FireFox 2019-07-03 10:53:33 -05:00
Omar Roth
60826c2d0c Fix author thumbnail for community replies 2019-07-03 10:12:03 -05:00
Omar Roth
fb383458d7 Add /api/v1/search/suggestions 2019-07-03 10:11:47 -05:00
Omar Roth
196ee1aa8b Add '/api/v1/channels/comments' 2019-07-02 18:53:19 -05:00
Omar Roth
2df97cd2f5 Fix provided author for '/videos' endpoint 2019-07-02 07:29:01 -05:00
Omar Roth
501b523680 Fit channel link to content 2019-07-01 14:26:27 -05:00
Omar Roth
6efa6691b1 Clean up comment templating 2019-07-01 13:38:30 -05:00
Omar Roth
c47f1ae236 Add Reddit comment permalink 2019-07-01 12:37:28 -05:00
Omar Roth
aac240fe41 Resize comment thumbnails 2019-07-01 12:08:29 -05:00
Omar Roth
041debcd93 Revert "Chunk videoplayback response to avoid throttling"
This reverts commit 818cd2454d.
2019-07-01 10:45:09 -05:00
Omar Roth
0632a2d3c8 Fix logging for /watch URLs 2019-07-01 10:07:19 -05:00
Omar Roth
9f40b3a873 Add missing table to check_tables 2019-07-01 09:29:52 -05:00
Omar Roth
8fad0af935 Add caption styling 2019-06-30 22:46:08 -05:00
Omar Roth
48ad744ebf Add support for default channel banners 2019-06-30 12:59:38 -05:00
Omar Roth
556d5b0ca5 Resize channel thumbnails 2019-06-30 12:39:51 -05:00
Omar Roth
e30d70b6d4 Refactor proxy_list into global 2019-06-28 21:17:56 -05:00
Omar Roth
a58f5a925a Add banner to "/playlists" page 2019-06-28 21:00:28 -05:00
Omar Roth
a3cc3c57fd Add cursor: none to player 2019-06-28 20:55:23 -05:00
Omar Roth
0d0d3edeae Add thumbnail and banners to channel page 2019-06-28 20:48:24 -05:00
Omar Roth
dd0be7c522 Revert "Push potential fix for #578"
This reverts commit ebfd7d2153.
2019-06-28 11:05:08 -05:00
Omar Roth
9d2982fcd7 Fix typo in '/videoplayback' 2019-06-26 15:03:09 -05:00
Omar Roth
ebfd7d2153 Push potential fix for #578 2019-06-26 14:44:06 -05:00
Omar Roth
818cd2454d Chunk videoplayback response to avoid throttling 2019-06-26 14:43:33 -05:00
Omar Roth
b31d1c06f5 Fix typo in StaticFileHandler 2019-06-23 15:41:44 -05:00
Omar Roth
6cd884555c Patch StaticFileHandler to serve files from memory 2019-06-23 12:54:46 -05:00
Omar Roth
47ef74a1bb Refactor commonly used request and response headers 2019-06-23 08:39:25 -05:00
Omar Roth
cc6d6ddd66 Prevent firing _onStreamProgress after aborting 2019-06-22 20:08:37 -05:00
Omar Roth
6a6cf015a6 Merge pull request #598 from tleydxdy/patch-1
let docker listen to 127.0.0.1 by default
2019-06-22 19:47:35 -05:00
Omar Roth
ca79e81b39 Fix simpleText in comments extractor 2019-06-21 21:53:28 -05:00
Omar Roth
a9e86cecf5 Fix comment extractor 2019-06-21 20:25:31 -05:00
Tolstovka
5773b1c3e5 Update Ukrainian translation 2019-06-19 02:10:52 +02:00
Tolstovka
b562b3410b Update Russian translation 2019-06-19 02:10:52 +02:00
Jorge Maldonado Ventura
f6440e9830 Update Esperanto translation 2019-06-19 02:10:52 +02:00
ssantos
e43636e1e9 Update German translation 2019-06-19 02:10:52 +02:00
Omar Roth
6783bf9903 Update README 2019-06-17 18:10:04 -05:00
Omar Roth
807723c5b2 Fix status codes on error 2019-06-17 14:06:02 -05:00
tleydxdy
d3c4936116 let docker listen to 127.0.0.1 by default 2019-06-17 10:46:37 -04:00
Omar Roth
bbb40aef51 Fix event listener for notifications.js 2019-06-16 18:11:34 -05:00
Omar Roth
485a3e29e7 Optimize get_subscriptions AJAX 2019-06-16 17:33:24 -05:00
Omar Roth
1477f99c2c Add target="_blank" to embed titles 2019-06-16 14:49:00 -05:00
Omar Roth
2e1f9d5fa9 Fix title URL for embedded videos 2019-06-16 13:14:56 -05:00
Omar Roth
9dea251862 Fix typo in notifications.js 2019-06-16 12:57:56 -05:00
Omar Roth
17edfd6573 Shorten timeout for AJAX 2019-06-16 12:55:17 -05:00
Omar Roth
458e9d6cc7 Update license for sse.js 2019-06-16 09:46:09 -05:00
Omar Roth
485459b8b2 Add clickable title for embedded videos 2019-06-16 09:41:33 -05:00
Omar Roth
fcf377d26b Fix escaping for login page 2019-06-15 20:42:42 -05:00
Omar Roth
3be1c9261f Fix sleep in pull_top_videos 2019-06-15 19:18:36 -05:00
Omar Roth
38600b3347 Update list of domains for pulling Reddit comments 2019-06-15 18:58:21 -05:00
Omar Roth
62f7f7a689 Update shard.yml 2019-06-15 10:34:31 -05:00
Omar Roth
552f616305 Fix retry on timeout for AJAX requests 2019-06-15 10:09:32 -05:00
Omar Roth
a3164177f8 Fix SMS for Google login 2019-06-15 10:09:25 -05:00
Omar Roth
fa6bf21cd1 Update Google login 2019-06-09 13:48:31 -05:00
Omar Roth
eecf76c1fb Fix typo in short_description 2019-06-08 16:34:55 -05:00
Omar Roth
d1635cf24e Set max preference size 2019-06-08 16:04:55 -05:00
Omar Roth
b43e9ed7e7 Refactor 'description_html' 2019-06-08 15:08:27 -05:00
Omar Roth
12b2ab5da8 Add 'to_json' into respective structs 2019-06-08 13:31:41 -05:00
Omar Roth
1c9085556c Add support for 'attribution_link' 2019-06-08 11:13:00 -05:00
Omar Roth
9122f8acee Add title overlay to embedded videos 2019-06-08 10:52:47 -05:00
Omar Roth
ef8c9f093c Add premiere date to watch page 2019-06-08 10:18:45 -05:00
Omar Roth
801dffd571 Fix RSS content-type 2019-06-07 21:39:32 -05:00
Omar Roth
0b1c57b39f Add notifications to private feed 2019-06-07 21:27:37 -05:00
Omar Roth
2febc268f7 Fix warnings in Crystal 0.29 2019-06-07 21:13:50 -05:00
Omar Roth
58995bb3a2 Add support for log levels 2019-06-07 21:13:50 -05:00
Omar Roth
8c944815bc Minor refactor 2019-06-07 21:13:50 -05:00
Omar Roth
f065a21542 Fix 404 handling for endpoints matching short URLs 2019-06-07 21:13:50 -05:00
Omar Roth
27e032d10d Add '/api/v1/auth/feeds' 2019-06-07 21:13:50 -05:00
Omar Roth
ab3980cd38 Enforce maximum email length 2019-06-07 21:13:50 -05:00
Omar Roth
1db648a525 Merge pull request #577 from EsmailELBoBDev2/patch-3
Update ar.json
2019-06-07 10:26:36 -05:00
Omar Roth
ce3b5b683d Merge pull request #580 from Vistaus/master
Updated Dutch translation
2019-06-07 10:25:57 -05:00
Heimen Stoffels
9d23f1298d Updated Dutch translation 2019-06-07 12:29:03 +02:00
Esmail EL BoB
3f791b65b5 Update ar.json 2019-06-07 04:46:46 +00:00
Omar Roth
317d8703ca Optimize query for pulling popular videos 2019-06-06 21:33:30 -05:00
Omar Roth
fda619f704 Fix 'unique_res' to keep resolutions unique within a representation 2019-06-06 21:32:39 -05:00
Omar Roth
e4a0669da8 Fix typo in video param 2019-06-06 21:31:10 -05:00
Omar Roth
89725df3dc Update CHANGELOG and bump version 2019-06-05 23:08:16 -05:00
Allan Nordhøy
51799844c9 Update Norwegian Bokmål translation 2019-06-05 18:11:25 +02:00
Jorge Maldonado Ventura
48de136e9d Update Esperanto translation 2019-06-05 18:11:25 +02:00
Jorge Maldonado Ventura
cb6f97a831 Update Esperanto translation 2019-06-05 18:11:25 +02:00
ssantos
7e0cd0ab60 Update German translation 2019-06-05 18:11:25 +02:00
Omar Roth
8521f04087 Use short URL for sharing videos 2019-06-05 11:10:23 -05:00
Omar Roth
8ba45808be Fix typo in '/api/manifest/dash/id' 2019-06-04 21:14:57 -05:00
Omar Roth
d876fd7f5b Add 'unique_res' option to '/api/manifest/dash/id' 2019-06-04 20:54:38 -05:00
Omar Roth
352e409a6e Fix toggle_theme when visiting preferences with JS disabled 2019-06-04 20:13:58 -05:00
Omar Roth
d6ec441c8e Add buffer for notification channels 2019-06-03 13:36:49 -05:00
Omar Roth
d197497349 Add 'type' field to ChannelVideo and Video 2019-06-03 13:36:34 -05:00
Omar Roth
d892ba6aa5 Refactor connection channel for delivering notifications 2019-06-03 13:12:06 -05:00
Omar Roth
84b2583973 Fix insert for empty descriptions 2019-06-02 15:47:45 -05:00
Omar Roth
108648b427 Optimize query for creating subscription feeds 2019-06-02 11:48:18 -05:00
Omar Roth
71bf8b6b4d Refactor connect_listen for notifications 2019-06-02 07:41:53 -05:00
Omar Roth
576067c1e5 Fix preference for web notifications 2019-06-01 18:06:44 -05:00
Omar Roth
e23bab0103 Only add notification event listener after onload 2019-06-01 17:38:49 -05:00
Omar Roth
4e111c84f3 Fix typo in '/watch' 2019-06-01 17:18:34 -05:00
Omar Roth
8cecce7570 Fix audio mode for raw URLs 2019-06-01 16:28:08 -05:00
Omar Roth
0338fd42e1 Add support for Web notifications 2019-06-01 16:09:17 -05:00
Omar Roth
b3788bc143 Fix typo for feed_needs_update 2019-06-01 11:19:06 -05:00
Omar Roth
18d66ddded Add 'needs_update' column for scheduling feed refresh 2019-06-01 10:19:18 -05:00
Omar Roth
701b5ea561 Remove watched videos from notifications 2019-06-01 09:51:31 -05:00
Omar Roth
86d0de4b0e Fix typo in post webhook 2019-05-31 10:29:45 -05:00
Omar Roth
a95958f9f6 Fix videoplayback when encountering redirector URLs 2019-05-30 20:47:04 -05:00
Omar Roth
69ab236f3f Fix typo in '/watch' 2019-05-30 19:00:38 -05:00
Omar Roth
4cf3c6a616 HTML-escape strings to '/api/v1/auth/preferences' 2019-05-30 19:00:38 -05:00
Omar Roth
da48bbf312 Add support for partial POST to '/api/v1/auth/preferences' 2019-05-30 19:00:38 -05:00
Omar Roth
ac957db6d1 Provide dash qualities as reported by YouTube player 2019-05-30 19:00:30 -05:00
Omar Roth
64464f23ae Add 'views' to channel_videos 2019-05-30 18:59:13 -05:00
Heimen Stoffels
52cb239194 Updated and corrected Dutch translation (#560)
* Updated and corrected Dutch translation
2019-05-29 18:08:42 -05:00
Omar Roth
efd54b7523 Add 'comments' as URL parameter 2019-05-29 14:24:30 -05:00
Omar Roth
2aca57cb82 Update specs 2019-05-28 10:04:11 -05:00
Omar Roth
d68baf08cb Shrink h1 on mobile 2019-05-28 10:04:04 -05:00
Omar Roth
a7578aa709 Update videojs-vtt-thumbnails version 2019-05-27 20:55:34 -05:00
Omar Roth
a8261d376a Merge remote-tracking branch 'weblate/master' 2019-05-27 14:59:49 -05:00
Omar Roth
fc346b4efd Add 'View playlist on YouTube' 2019-05-27 14:54:50 -05:00
Omar Roth
ad09e734da Refactor refresh_feeds 2019-05-27 14:48:57 -05:00
Tolstovka
a674fea1c2 Update French translation 2019-05-27 19:53:00 +02:00
Tolstovka
9e22b34fac Update Spanish translation 2019-05-27 19:53:00 +02:00
Tolstovka
fe24408620 Update English (United States) translation 2019-05-27 19:53:00 +02:00
Omar Roth
c07ad0941c Fix typo in refresh_feeds 2019-05-27 12:51:18 -05:00
Omar Roth
2f02b38b62 Merge pull request #557 from EsmailELBoBDev2/patch-1
Update ar.json
2019-05-27 12:25:21 -05:00
Omar Roth
3ac766530d Add proper queuing for feed events 2019-05-27 12:23:15 -05:00
Omar Roth
de77c71042 Add "local" to "next video" URLs 2019-05-27 12:16:22 -05:00
Esmail EL BoB
9c854a1757 Update ar.json 2019-05-27 17:04:11 +00:00
Omar Roth
f66fa1150e Fix inconsistency in translation 2019-05-27 11:56:52 -05:00
Omar Roth
f820706e4f Truncate password to 55 bytes 2019-05-27 09:06:32 -05:00
Omar Roth
29e9e0f2cc Provide empty response on 204 2019-05-27 08:35:38 -05:00
Esmail EL BoB
2933093e17 updated arabic, FINALLY (#553)
* Update ar.json
2019-05-26 19:15:49 -05:00
Omar Roth
71cd8918be Fix URI for storyboard extractor 2019-05-26 18:55:22 -05:00
Omar Roth
c049ba59ff Add stub for '/timedtext_video' 2019-05-26 13:49:35 -05:00
Omar Roth
51c5f28443 Add config option for updating feeds on event 2019-05-26 12:06:01 -05:00
Omar Roth
bb1ed902a9 Trigger feed update when modifying subscriptions 2019-05-26 11:34:08 -05:00
Omar Roth
b016a60a75 Add triggers for updating feeds 2019-05-26 11:28:54 -05:00
Omar Roth
890d485bb5 Fix formatting 2019-05-26 10:53:56 -05:00
Omar Roth
208bb2d72f Catch connection reset when proxying files 2019-05-26 09:41:12 -05:00
Omar Roth
267bf289c4 Exclude /api/v1/auth/notifications from middleware 2019-05-21 10:08:49 -05:00
Omar Roth
b3e083d866 Add POST /api/v1/auth/subscriptions 2019-05-21 09:01:17 -05:00
Omar Roth
a675c64c2d Refactor DBConfig 2019-05-21 09:00:35 -05:00
Omar Roth
8b50c8515f Fix content-type for captions 2019-05-20 20:22:01 -05:00
Omar Roth
1eaa377583 Add Greek translation (thanks Iris!) 2019-05-20 13:06:54 -05:00
Omar Roth
4345b1d930 Reset playbackRate once player has caught up to source 2019-05-20 12:15:48 -05:00
Omar Roth
06bf0c2622 Copy proxy_file in chunks 2019-05-20 12:06:44 -05:00
Omar Roth
3ac8de0a64 Fix proxy_file when response body is empty 2019-05-19 07:13:13 -05:00
Omar Roth
f237fd9847 Fix CORS headers for proxied assets 2019-05-19 07:12:45 -05:00
Omar Roth
5730280325 Only modify cues for auto-generated captions 2019-05-18 20:27:19 -05:00
Omar Roth
ab4df7e078 Fix response for proxied assets 2019-05-18 19:15:47 -05:00
Tolstovka
b52e6c99ab Update Ukrainian translation 2019-05-18 19:15:36 -05:00
Tolstovka
7dab548522 Update Russian translation 2019-05-18 19:15:35 -05:00
Omar Roth
785c341822 Update CloudTube link in README 2019-05-16 20:53:38 -05:00
Omar Roth
7d2e1f63b5 Refactor watched_widget.js 2019-05-16 20:51:17 -05:00
Omar Roth
e119459411 Add GET '/authorize_token' 2019-05-15 12:26:29 -05:00
Omar Roth
97ef2191fd Add 'hsts' as config option 2019-05-14 08:21:01 -05:00
Omar Roth
e833ccf309 Fix comments for age-restricted videos 2019-05-14 08:18:57 -05:00
Omar Roth
a4134d30fa Fix comedy genre URL 2019-05-14 08:02:55 -05:00
Omar Roth
6069fd02d3 Merge remote-tracking branch 'weblate/master' 2019-05-11 11:19:18 -05:00
Omar Roth
bb15dc57a4 Fix font color for captions button 2019-05-11 11:09:45 -05:00
Omar Roth
bdfe170c3b Fix length seconds for videos with longer duration 2019-05-11 10:59:47 -05:00
Perflyst
0fa2ba53ab Update Italian translation 2019-05-11 17:42:15 +02:00
Perflyst
4bb657debf Update Dutch translation 2019-05-11 17:42:15 +02:00
codl
dd12840e34 Update French translation 2019-05-11 17:42:15 +02:00
dimqua
b027dcfec9 Update Russian translation 2019-05-11 17:42:15 +02:00
ssantos
9e9b6f1542 Update German translation 2019-05-11 17:42:15 +02:00
Omar Roth
7cd66e20d0 Fix typo in X-XSS-Protection 2019-05-10 16:48:38 -05:00
Omar Roth
d93df15eff Update licenses 2019-05-10 15:33:23 -05:00
Omar Roth
ddfd20d997 Fix CSP for subdomains 2019-05-10 15:29:10 -05:00
Omar Roth
fd8af88493 Use separate asset version for cache busting 2019-05-09 22:58:34 -05:00
Omar Roth
bfa488f77d Add option to toggle theme without reload 2019-05-09 11:50:44 -05:00
Omar Roth
03be793930 Fix typo in player.js 2019-05-09 08:36:36 -05:00
Omar Roth
37d88d5ff7 Remove referer from XHR 2019-05-08 09:16:11 -05:00
Omar Roth
4616f889fd Add simple form of cache busting 2019-05-08 08:58:10 -05:00
Omar Roth
59cbf95c4f Update licenses 2019-05-06 11:27:11 -05:00
Omar Roth
058711d3a8 Refactor player.js 2019-05-06 11:23:14 -05:00
Omar Roth
2ddc61fa5c Refactor embed.js 2019-05-06 10:37:22 -05:00
Omar Roth
e04b7d0f01 Fix video previews for embeds 2019-05-06 10:28:20 -05:00
Omar Roth
2faa2ed1f4 Refactor watch.js 2019-05-06 09:48:33 -05:00
Omar Roth
5e2889e776 Update CHANGELOG and bump version 2019-05-05 23:02:43 -05:00
Omar Roth
5bda36fb28 Remove source map URL from videojs.hotkeys.min.js 2019-05-05 20:45:46 -05:00
Omar Roth
53fbb257b9 Update fix for HTTP Client 2019-05-05 19:03:56 -05:00
Omar Roth
65a32d6e20 Update fix for crystal-lang/crystal#7383 2019-05-05 17:47:45 -05:00
Omar Roth
92450920d4 Fix backticks in locales 2019-05-05 17:46:58 -05:00
Omar Roth
0099a9822e Refactor subscribe_widget 2019-05-05 08:38:55 -05:00
Omar Roth
0cf86974dd Add redirect for videos with no audio sources 2019-05-04 10:47:54 -05:00
Omar Roth
716705aa15 Add mouse hover for video previews 2019-05-04 08:43:41 -05:00
Omar Roth
757993064e Fix view_count_text extractor for livestreams 2019-05-04 08:43:41 -05:00
Omar Roth
3f738cf905 Tweak styling for thumbnail video length 2019-05-04 08:43:34 -05:00
Omar Roth
570715100b Fix text size for premieres 2019-05-03 18:00:16 -05:00
Omar Roth
ad8750b40d Fix referer escaping 2019-05-03 12:15:21 -05:00
Omar Roth
757ea93393 Fix typo 2019-05-03 09:15:53 -05:00
Omar Roth
dbd5a222d5 Add '/watch_videos' endpoint 2019-05-03 09:11:38 -05:00
Omar Roth
bba80bc80f Fix content-type for HEAD '.jpg' 2019-05-03 08:23:11 -05:00
Allan Nordhøy
094143bc28 Update Norwegian Bokmål translation 2019-05-02 21:38:28 +02:00
Jorge Maldonado Ventura
24a335d304 Update Esperanto translation 2019-05-02 21:38:28 +02:00
arkakuso
c62b318b9e Update Basque translation 2019-05-02 21:38:28 +02:00
Jorge Maldonado Ventura
ea5c7c321a Update Esperanto translation 2019-05-02 21:38:28 +02:00
Omar Roth
6d92775ab5 Add video previews 2019-05-02 14:36:32 -05:00
Omar Roth
1a9360ca75 Minor formatting changes 2019-05-01 20:03:39 -05:00
Omar Roth
22b9bbe702 Add support for anonymous playlists 2019-05-01 08:03:58 -05:00
Omar Roth
6fb44083ec Update source and licenses 2019-05-01 07:40:18 -05:00
Omar Roth
ba02be08bb Merge pull request #303 from glmdgrielson/annotations
Add annotation player
2019-05-01 07:14:10 -05:00
Omar Roth
56fe3ede5b Add annotation preferences 2019-04-30 23:39:04 -05:00
glmdgrielson
e48a000784 Add annotation player
This addresses issue #110 from master. Yay for adding annotations back!
2019-04-30 21:19:13 -05:00
Omar Roth
6d1c150ff5 Fix typo 2019-04-30 21:18:35 -05:00
Omar Roth
21190a240f Add support for adding banner to site header 2019-04-30 21:17:34 -05:00
Omar Roth
8a525bc131 Add '/api/v1/auth/preferences' 2019-04-30 21:01:57 -05:00
Omar Roth
734905d1f7 Bump max-age for HSTS 2019-04-30 20:53:56 -05:00
Omar Roth
90edf2fc60 Add 'debug' topic to /api/v1/auth/notifications 2019-04-30 20:48:48 -05:00
Omar Roth
e3f37c14db Add glibc to Docker dependencies 2019-04-30 08:56:24 -05:00
Omar Roth
c6c92184d9 Fix duplicate id on watch page 2019-04-29 09:34:49 -05:00
Omar Roth
c4fbc65354 Provide bundled streams first in download widget 2019-04-28 18:51:10 -05:00
Omar Roth
54d250bde4 Add 'since' to '/api/v1/auth/notifications' 2019-04-28 18:14:16 -05:00
Omar Roth
ef309bd8d0 Translate value for 'familyFriendly' 2019-04-28 14:56:06 -05:00
Omar Roth
6cdb6ec711 Add support for plurlization to locales 2019-04-28 14:50:17 -05:00
Omar Roth
03891b66b6 Show view count for related videos 2019-04-28 14:14:44 -05:00
Omar Roth
42dd6326d5 Remove unnecessary index 2019-04-28 14:11:23 -05:00
Omar Roth
5c4defdb8e Add support for '/c/:user/live' 2019-04-28 14:11:23 -05:00
Omar Roth
f08d53b0c6 Add view count to livestreams in search results 2019-04-28 14:11:23 -05:00
Omar Roth
6859b85266 Add 'lang' to HTML tag 2019-04-28 10:05:15 -05:00
Omar Roth
075adb4f03 Add http-source-selector 2019-04-28 10:05:15 -05:00
Esmail EL BoB
5ce72a3461 Updated most of ar.json (#508)
* Update ar.json
2019-04-25 13:09:38 -05:00
Omar Roth
8c2958b86d Add 'local=true' to hlsUrl 2019-04-25 12:41:35 -05:00
Omar Roth
f15b7cebac Try to prevent timeout in /data_control 2019-04-24 20:18:35 -05:00
Omar Roth
f6d8df1e83 Update videojs-share 2019-04-24 08:48:34 -05:00
Omar Roth
19ed5bf993 Add support for 'user' URLs in NewPipe import 2019-04-22 15:39:57 -05:00
Omar Roth
5567e2843d Force refresh after receiving PubSub notification 2019-04-22 11:15:19 -05:00
Omar Roth
0a8e20fd60 Revert "Update French translation"
This reverts commit a2533af116.
2019-04-22 11:07:41 -05:00
Omar Roth
558c4341e4 Merge remote-tracking branch 'weblate/master' 2019-04-22 10:51:08 -05:00
Omar Roth
250860d92c Add '/api/v1/auth/subscriptions' 2019-04-22 10:40:29 -05:00
Omar Roth
64aecba7a0 Add option to change passwords 2019-04-22 10:18:17 -05:00
Jorge Maldonado Ventura
3689b08237 Update Esperanto translation 2019-04-20 20:33:58 +02:00
Omar Roth
30e567e8b6 Fix published time for /api/v1/auth/notifications 2019-04-20 12:41:51 -05:00
Omar Roth
ddd74549fe Fix description field for /api/v1/videos 2019-04-20 10:50:55 -05:00
Omar Roth
14620c32aa Don't overwrite published date for channel_videos 2019-04-20 10:18:54 -05:00
Omar Roth
fb7068d415 Add '/api/v1/notifications' 2019-04-20 09:33:45 -05:00
Omar Roth
8614ff40df Add support for Ukranian and Esperanto 2019-04-19 11:20:18 -05:00
Allan Nordhøy
aa10a9d899 Language fixes (#366)
* Language fixes
2019-04-19 11:14:11 -05:00
Omar Roth
a5b8feca93 Merge remote-tracking branch 'weblate/master' 2019-04-19 10:31:14 -05:00
Omar Roth
486e47f985 Add missing text to locales 2019-04-19 10:28:12 -05:00
Omar Roth
bb5a1ad513 Add 'continue_autoplay' preference 2019-04-19 09:38:27 -05:00
Omar Roth
eac0a52f10 Fix shiftKey for player hotkeys 2019-04-19 09:20:41 -05:00
Tolstovka
7ac00258cc Update Ukrainian translation 2019-04-19 15:49:24 +02:00
Tolstovka
e3a0ae8a4b Update Russian translation 2019-04-19 15:49:24 +02:00
Adam Zieliński
2953159f8b Update Polish translation 2019-04-19 15:49:24 +02:00
Allan Nordhøy
9693363c76 Update Norwegian Bokmål translation 2019-04-19 15:49:24 +02:00
Anne Onyme 017
a2533af116 Update French translation 2019-04-19 15:49:24 +02:00
Jorge Maldonado Ventura
b4aecb5b74 Update Spanish translation 2019-04-19 15:49:24 +02:00
Jorge Maldonado Ventura
15aa2498b5 Update Esperanto translation 2019-04-19 15:49:24 +02:00
Omar Roth
0372ff0c2c Update shard.yml 2019-04-19 08:49:08 -05:00
Omar Roth
7a8d5a391a Fix downcasting with usernames 2019-04-18 19:17:58 -05:00
Omar Roth
2a6c81a89d Add authentication API 2019-04-18 16:23:50 -05:00
Omar Roth
301871aec6 Bump version 2019-04-18 08:37:29 -05:00
Omar Roth
25359e5320 Fix typo in 404 handler 2019-04-17 14:46:00 -05:00
Omar Roth
b6fff53b21 Refactor HTTP::Client calls into make_client 2019-04-17 09:06:31 -05:00
Omar Roth
ae7b5fac74 Fix handling for comments 2019-04-16 08:20:25 -05:00
Omar Roth
26168a9520 Refactor CSRF tokens (using format in #473) 2019-04-15 23:23:40 -05:00
Omar Roth
698dfca319 Add migrate script for annotations.sql 2019-04-15 11:17:23 -05:00
Omar Roth
3bcb98e644 Add config option to cache annotations from IA 2019-04-15 11:13:09 -05:00
Omar Roth
2deb436ccd Update placeholder text in new locales 2019-04-15 10:45:00 -05:00
Omar Roth
2b3405c4a9 Merge remote-tracking branch 'weblate/master' 2019-04-14 19:48:47 -05:00
Omar Roth
677a465630 Fix file formatting for locales 2019-04-14 19:48:21 -05:00
Omar Roth
8ecb76fc0b Merge remote-tracking branch 'weblate/master' 2019-04-14 19:40:47 -05:00
Tolstovka
0178013fc1 Update Ukrainian translation 2019-04-14 19:39:17 -05:00
Tolstovka
c273a8ee69 Update Ukrainian translation 2019-04-15 02:23:36 +02:00
Tolstovka
0ed56b706b Update Russian translation 2019-04-15 02:23:32 +02:00
Jorge Maldonado Ventura
4582b6cf76 Update Esperanto translation 2019-04-15 02:23:31 +02:00
Omar Roth
05513bcd1e Fix "placeholder=" text in locales 2019-04-14 19:17:56 -05:00
Omar Roth
f5dd135ed8 Add 'view as playlist' option to trending page 2019-04-14 19:04:10 -05:00
Omar Roth
9c8f85741c Fix search when keyword matches operator 2019-04-14 18:37:43 -05:00
Omar Roth
ca515f2eae Use headset icon for audio mode 2019-04-14 18:24:25 -05:00
Omar Roth
80c1ebd768 Support 'sort_by' in reddit /api/v1/comments 2019-04-14 18:08:00 -05:00
Omar Roth
b51fd7fc13 Add view count to video items 2019-04-14 17:43:44 -05:00
Omar Roth
efe86c37b2 Show subscribe text when not logged in 2019-04-14 17:10:32 -05:00
Omar Roth
d20a4a8bfc Fix grid size for smaller devices 2019-04-14 17:04:52 -05:00
Tolstovka
9da2d11e80 Add Ukrainian translation 2019-04-14 01:58:01 +02:00
Jorge Maldonado Ventura
5ef554aecf Add Esperanto translation 2019-04-14 01:41:17 +02:00
Omar Roth
9a7fea0447 Add playlist support to embedded videos 2019-04-13 14:26:32 -05:00
Omar Roth
ae52ff93b2 Fix 404 for annotations endpoint 2019-04-13 08:28:59 -05:00
Omar Roth
80a567bf1e Fix video count in playlist extractor 2019-04-12 16:37:35 -05:00
Omar Roth
ce2a3361eb Fix missing author name for channel_videos 2019-04-12 16:29:23 -05:00
Omar Roth
ca9ea109c6 Add id to AdaptationSets 2019-04-12 11:19:54 -05:00
Omar Roth
2a33a746f0 Remove content type from videoplayback redirects 2019-04-12 11:08:33 -05:00
Omar Roth
e8c5246645 Fix share button 2019-04-12 09:31:05 -05:00
Omar Roth
98295b85ab Add webm to dash manifests 2019-04-12 08:04:59 -05:00
Omar Roth
af1823db8c Fix url in storyboards 2019-04-12 07:29:47 -05:00
Omar Roth
a2ab6b89f1 Fix width and height in manifest 2019-04-11 22:31:45 -05:00
Omar Roth
5de300fb35 Fix default background color for player 2019-04-11 17:03:37 -05:00
Omar Roth
62a4c82e95 Add storyboards and fix image caching 2019-04-11 17:00:00 -05:00
Omar Roth
d522c864d4 Add dashUrl to /api/v1/videos 2019-04-11 15:28:03 -05:00
Omar Roth
aa8ff7ace3 Always use ucid for channel search 2019-04-11 13:52:09 -05:00
Omar Roth
4e6a931de3 Make check_tables config option 2019-04-11 12:13:25 -05:00
Omar Roth
5e141e869d Add subtitles to download widget 2019-04-11 12:08:43 -05:00
Omar Roth
611555514c Remove unnecessary XML declaration 2019-04-11 11:53:07 -05:00
Omar Roth
e1c78fcbd3 Update view names to avoid collisions 2019-04-10 19:56:38 -05:00
Omar Roth
8640d6bb1e Add 'extract_polymer_config' 2019-04-10 18:02:13 -05:00
Omar Roth
28d5bedcc7 Speed up table creation 2019-04-10 17:16:18 -05:00
Omar Roth
373b890e1d Log command before execution 2019-04-10 17:09:36 -05:00
Omar Roth
aad0f90a9d Add 'sign_token' 2019-04-10 16:58:46 -05:00
Omar Roth
5dc45c35e6 Automatically migrate database 2019-04-10 16:23:37 -05:00
Omar Roth
b8c87632e6 Add feed link to watch history 2019-04-09 17:41:25 -05:00
Omar Roth
c85903383a Fix to_json for storing user preferences 2019-04-08 09:46:58 -05:00
Omar Roth
4aededf038 Add media-src blob: to CSP 2019-04-08 09:39:47 -05:00
Omar Roth
4bc6501b8d Add 'blob' to CSP 2019-04-08 09:36:12 -05:00
Omar Roth
a1b3b47573 Add CSP, STS, and Referrer-Policy 2019-04-07 14:04:33 -05:00
Omar Roth
c8cf4fe09c Fix subscription_ajax for Google accounts 2019-04-07 12:59:12 -05:00
Omar Roth
ca07d75405 Add '--version' to command line 2019-04-06 08:32:36 -05:00
Omar Roth
c5001f3620 Add role to psql scripts 2019-04-06 07:38:33 -05:00
Omar Roth
8d5f941829 Update CHANGELOG and bump version 2019-04-05 23:04:56 -05:00
Omar Roth
c3bfaa1c33 Merge remote-tracking branch 'weblate/master' 2019-04-05 17:25:39 -05:00
Omar Roth
ea0d52c0b8 Add support for Spanish translation 2019-04-05 17:24:06 -05:00
Allan Nordhøy
fcb37f40f6 Update Norwegian Bokmål translation 2019-04-06 00:13:29 +02:00
dimqua
7f30d07f4c Update Russian translation 2019-04-06 00:13:29 +02:00
micrococo
59744a96fa Add Spanish translation (#466)
* Add Spanish translation
2019-04-05 17:13:25 -05:00
Omar Roth
b82fb58dc4 Fix typo in handling 'controls' param 2019-04-04 15:05:54 -05:00
Omar Roth
c728214af7 Fix batch importing of channels 2019-04-04 14:49:32 -05:00
Omar Roth
305d636217 Add multithreading to pubsub job 2019-04-04 07:49:53 -05:00
Omar Roth
31312747e9 Fix from_yaml in ConfigPreferences 2019-04-03 19:04:33 -05:00
Omar Roth
5ef288b840 Add 'sort_by' to /api/v1/comments 2019-04-03 18:42:12 -05:00
Omar Roth
f6615a490d Allow disabling download widget for specific videos (in compliance with DMCA) 2019-04-03 14:54:38 -05:00
Omar Roth
bd4f5ebcdf Add option to configure default user preferences 2019-04-03 11:38:41 -05:00
Omar Roth
1fd7ff5655 Add scheme to author thumbnail 2019-04-02 08:51:28 -05:00
Omar Roth
ab7e1b42bd Add '/api/v1/annotations/:id' 2019-03-31 22:07:17 -05:00
afrmtbl
a7723e6ded Implement "fields" parameter from the YouTube Data API (#429)
* Implement fields handling
2019-03-30 20:18:34 -05:00
Omar Roth
1b78001201 Use struct for allocations 2019-03-29 16:30:02 -05:00
Omar Roth
36c0eae7ed Add /feeds/videos.xml 2019-03-29 15:50:18 -05:00
Omar Roth
0ae43e242f Fix pubsub job for newly added channels 2019-03-29 10:03:13 -05:00
Omar Roth
bafd4f1860 Update Arabic translation 2019-03-29 09:08:10 -05:00
Omar Roth
388e58bf1e Update handling for preferences 2019-03-28 13:43:40 -05:00
Omar Roth
eee973fe86 Fix host in redirect 2019-03-27 15:25:08 -05:00
Omar Roth
61769c6f9c Fix local redirects in /videoplayback 2019-03-27 15:00:22 -05:00
TheFrenchGhosty
665ef9424e French translation updated - New words translated, even more consistency (#451)
* French Translation Updated
2019-03-27 12:23:54 -05:00
Omar Roth
7a0f0ca5ce Fix thin mode 2019-03-27 11:31:05 -05:00
Omar Roth
63be05146d Fix expire for prefs cookie 2019-03-27 11:15:23 -05:00
Omar Roth
9239cfb3c1 Fix redirect for shortened video urls 2019-03-27 05:28:53 -05:00
Omar Roth
6fd24ad54f Add cancel button to search bar 2019-03-26 17:45:39 -05:00
Omar Roth
d70933c9f2 Fix typo in allow_ratings 2019-03-26 13:47:06 -05:00
Omar Roth
9ac2ddcb4d Fix premiere_timestamp without scheduledStartTime 2019-03-26 13:46:07 -05:00
Omar Roth
8d9569e06b Add 'unlisted' icon to watch page 2019-03-26 13:01:23 -05:00
Omar Roth
02f8e657f3 Update French translation 2019-03-25 20:27:35 -05:00
Omar Roth
3dc711ab9d Merge remote-tracking branch 'weblate/master' 2019-03-25 20:12:43 -05:00
Adam Zieliński
702922dd88 Update Polish translation 2019-03-25 19:38:30 -05:00
TheFrenchGhosty
2583c809ca French translation updated - More consistency (#436)
* French translation updated
2019-03-25 19:26:18 -05:00
Adam Zieliński
b6071ce6dc Update Polish translation 2019-03-25 23:11:09 +01:00
Anne Onyme 017
186132bb98 Update French translation 2019-03-25 23:11:09 +01:00
Omar Roth
c15790f230 Use user preferences in embedded videos 2019-03-25 17:09:53 -05:00
Omar Roth
13924a8353 Fix duplicate file extension 2019-03-25 17:09:20 -05:00
Omar Roth
fd84b57ac8 Use tuples for "qualities" in API endpoints 2019-03-25 10:00:18 -05:00
Omar Roth
591a6b330a Remove 'crawl_threads', fix sleep in fibers 2019-03-25 09:23:42 -05:00
Omar Roth
a3b767bb13 Add live now indicator to playlists 2019-03-24 09:10:14 -05:00
Omar Roth
847ee61bf4 Fix typo in APIHandler 2019-03-24 09:01:18 -05:00
Omar Roth
0c6cede287 Format files and trim trailing whitespace 2019-03-23 14:05:13 -05:00
Omar Roth
ce4b07d7d7 Fix thumbnail for deleted videos 2019-03-23 12:56:52 -05:00
Omar Roth
a1f49b279f Rename migrate scripts 2019-03-23 11:34:16 -05:00
Omar Roth
1c8075ca40 Add 0.25 to list of playback rates 2019-03-23 11:14:15 -05:00
Omar Roth
56b0952cd1 Update sources 2019-03-23 11:09:31 -05:00
Omar Roth
1c152f6cad Add padding to thumbnails 2019-03-23 10:24:52 -05:00
Omar Roth
57c05354c2 Move 'pretty=1' into middleware 2019-03-23 10:24:30 -05:00
Omar Roth
90b5479735 Fix error message for invalid video ID 2019-03-22 22:17:39 -05:00
Omar Roth
1079c4516c Automatically recreate views with outdated schema 2019-03-22 16:53:16 -05:00
Omar Roth
7381985c79 Fix typo in logger 2019-03-22 15:50:41 -05:00
Omar Roth
fd26f9f34e Add support for premieres to search and feed 2019-03-22 14:54:35 -05:00
Omar Roth
88b70973cc Add 'premiereTimestamp' to /api/v1/videos 2019-03-22 14:53:19 -05:00
Omar Roth
f0658bbd09 Add 'liveNow' to subscription feed 2019-03-22 14:52:57 -05:00
Omar Roth
661e07c8db Merge pull request #423 from Perflyst/patch-1
Update contact email in shard.yml
2019-03-20 11:40:47 -05:00
Omar Roth
6e51189d4d Expire nonce on register 2019-03-20 11:02:04 -05:00
Perflyst
dfdb7c835b Update contact email in shard.yml 2019-03-20 16:33:31 +01:00
Omar Roth
f1d7aa09e4 Add fix for Google cookies with no extension 2019-03-20 09:48:37 -05:00
Omar Roth
88e6b865d9 Update contact email for text captcha 2019-03-20 09:20:51 -05:00
Omar Roth
d5c6d74f14 Fix loading icon size 2019-03-20 09:20:31 -05:00
Omar Roth
202f3d36c4 Bake in branch, commit, version 2019-03-19 20:50:34 -05:00
Omar Roth
7a54b1d36a Fix player size with JS disabled 2019-03-19 20:13:26 -05:00
Omar Roth
9091b36249 Don't require CAPTCHA for login 2019-03-19 20:13:16 -05:00
Omar Roth
21285d9f6d Fix file extension for download widget 2019-03-17 18:52:01 -05:00
Omar Roth
2ebc773863 Add mixes to genre channels 2019-03-17 18:31:11 -05:00
Omar Roth
44f4057876 Fix issue with cookie expiration 2019-03-17 12:40:24 -05:00
Omar Roth
d85020079f Add shortcuts for changing playbackRate 2019-03-17 12:21:55 -05:00
Omar Roth
956dc382ea Clean up player CSS 2019-03-17 12:21:55 -05:00
Omar Roth
99aa214859 Add 'thumbnail_id' to playlists 2019-03-17 12:21:47 -05:00
Omar Roth
405e98f429 Add 1.25 and 0.75 playback rates 2019-03-16 09:17:57 -05:00
Omar Roth
a8c375fc95 Update copyright notice 2019-03-15 11:44:53 -05:00
Omar Roth
4a56a2cad6 Remove outline when clicking on player 2019-03-15 08:34:37 -05:00
Omar Roth
438945907d Merge branch 'master' of github.com:omarroth/invidious 2019-03-14 21:12:32 -05:00
TheFrenchGhosty
db245add0f French translation updated, some translation restored (#412)
* French translation updated
2019-03-14 20:28:27 -05:00
Anne Onyme 017
986699bce5 Update French translation 2019-03-14 23:03:33 +01:00
dimqua
d1803320f1 Update Russian translation 2019-03-13 17:21:24 +01:00
Omar Roth
d4609519f0 Merge pull request #411 from EsmailELBoBDev2/master
Update ar.json
2019-03-13 11:21:20 -05:00
Esmail EL BoB
2b4a6284e4 Update ar.json 2019-03-13 12:26:43 +00:00
Omar Roth
3c6be7e04c Merge weblate into master 2019-03-13 00:02:21 -05:00
Omar Roth
e738e57e26 Add 'local' option to preferences 2019-03-12 21:05:49 -05:00
Omar Roth
21ebc398fa Add privacy policy 2019-03-12 20:58:25 -05:00
Adam Zieliński
1ac611239e Update Polish translation 2019-03-12 16:14:34 +01:00
Allan Nordhøy
97e6047725 Update Norwegian Bokmål translation 2019-03-12 16:14:34 +01:00
Omar Roth
cf3f0fcc39 Add max-aspect-ratio to player 2019-03-12 10:12:47 -05:00
Omar Roth
19c32bf993 Calculate player height based on viewport 2019-03-12 10:01:36 -05:00
Omar Roth
e86eb16d91 Add temporary fix for crystal-lang/crystal#7383 2019-03-11 16:17:40 -05:00
Omar Roth
1fcd1ff3e8 Add better fallback for '/videoplayback' 2019-03-11 14:07:55 -05:00
Omar Roth
58f4212aa8 Remove 'host' from query params 2019-03-11 13:32:46 -05:00
Omar Roth
f01152eda1 Add 'host' to '/videoplayback' 2019-03-11 13:14:30 -05:00
Omar Roth
11ff40bcd6 Fix paths for 'local=true&raw=1' 2019-03-11 12:55:09 -05:00
Omar Roth
46e985b306 Add 'dark_mode', 'thin_mode' as query parameters 2019-03-11 12:44:25 -05:00
Omar Roth
fdc014af67 Add '&local=true' to watch and embed pages 2019-03-11 11:43:48 -05:00
Omar Roth
bf11a46abe Bump expire time for pubsub 2019-03-11 10:48:38 -05:00
Omar Roth
8f41130a14 Update and add missing text to locales 2019-03-08 22:23:17 -06:00
dimqua
e96c4732d6 Update Russian translation 2019-03-09 05:02:13 +01:00
Allan Nordhøy
a1d38a6940 Update Norwegian Bokmål translation 2019-03-09 05:02:13 +01:00
Omar Roth
9b8703cf49 Fix tab name for auto-generated channels 2019-03-08 22:01:59 -06:00
Omar Roth
c4d77bc18a Use host_url for generating thumbnails 2019-03-08 14:43:31 -06:00
Omar Roth
c69fbb72d3 Fix typo in README 2019-03-08 12:01:43 -06:00
Omar Roth
64e4791dca Update README.md 2019-03-08 12:01:31 -06:00
Omar Roth
bc1e62ce51 Add 'external_port' 2019-03-08 11:37:52 -06:00
Omar Roth
79c1040796 Remove sourceMap link for JS source 2019-03-08 10:36:14 -06:00
Omar Roth
eaf55bf12c Fix styling for watch indicator 2019-03-08 10:35:18 -06:00
Omar Roth
ce528c9783 Update sorting for subscriptions 2019-03-08 10:34:52 -06:00
Omar Roth
b9c7501012 Fix typo in pubsub update 2019-03-07 21:49:52 -06:00
Omar Roth
ae10052aaf Fix date parsing for RSS feeds 2019-03-07 21:13:54 -06:00
Omar Roth
10abcd519f Add RSS alternate to channel and subscription pages 2019-03-07 13:34:33 -06:00
Omar Roth
1d6c763e92 Merge pull request #397 from dimqua/patch-1
(preferences) fix word wrap
2019-03-07 13:29:44 -06:00
Omar Roth
3fa0ce99f0 Merge pull request #403 from em92/patch-1
Add alternate link with rss feed to playlist page
2019-03-07 13:29:14 -06:00
Eugene Molotov
7380585f00 Add alternate link with rss feed to playlist page 2019-03-07 12:26:30 +05:00
Omar Roth
7557ffcda1 Mark deleted channels in /subscription_manager 2019-03-06 09:54:56 -06:00
Omar Roth
bc9d70109c Fix typo in index 2019-03-06 08:45:04 -06:00
Omar Roth
7448159d6b Update CHANGELOG and bump version 2019-03-05 23:55:24 -06:00
Omar Roth
a65998274f Defer loading videojs-share until last 2019-03-05 15:22:04 -06:00
Omar Roth
b2f4a0276a Remove "lease_seconds" from pubsub response 2019-03-05 14:43:09 -06:00
Omar Roth
99d9c3a900 Fix rows for subscribe job 2019-03-05 14:41:38 -06:00
Omar Roth
e4dc430c74 Update hub topic URL 2019-03-05 13:46:08 -06:00
Omar Roth
1435516a9c Add port number to host URL 2019-03-05 12:56:59 -06:00
Omar Roth
2a1befb41a Fix sorting for latest_only 2019-03-05 07:17:29 -06:00
Omar Roth
2840d98fd4 Fix tagging for current version 2019-03-04 15:17:09 -06:00
Omar Roth
32b9c0c840 Fix tagging for current branch 2019-03-04 14:43:17 -06:00
dimqua
f16273772e (preferences) fix word wrap 2019-03-04 23:14:24 +03:00
Omar Roth
6375a62465 Clean up handling for callback endpoint 2019-03-04 11:07:27 -06:00
Omar Roth
aa63c3f70e Update formatting and default feed menu 2019-03-04 10:46:58 -06:00
Omar Roth
004fb96b2f Add nonce to pubsub token 2019-03-04 07:53:31 -06:00
Omar Roth
5895604282 Merge pull request #394 from tmiland/contrib
Add current branch to footer
2019-03-03 21:41:03 -06:00
Tommy Miland
a1af75a87f Update template.ecr
Add current branch to footer.
Add icons to footer.
2019-03-04 04:05:09 +01:00
Tommy Miland
732bd28c92 Update invidious.cr
Add current branch.
2019-03-04 04:04:26 +01:00
Omar Roth
90715467a2 Set default value for 'subscribed' date 2019-03-03 20:44:29 -06:00
Omar Roth
7425700009 Update pubsub to support lease_seconds 2019-03-03 20:40:24 -06:00
Omar Roth
8e884fe115 Fix webhook endpoints 2019-03-03 19:50:23 -06:00
Omar Roth
96c09450b8 Fix column name ucid in jobs 2019-03-03 19:45:05 -06:00
Omar Roth
64cfd2296c Add support for subscribing to channels via PubSubHubbub 2019-03-03 19:18:23 -06:00
Omar Roth
17cf0772fb Set domain to be nil by default 2019-03-03 12:02:15 -06:00
Omar Roth
66605196ad Remove "detect_language" from dependencies 2019-03-03 11:51:28 -06:00
Omar Roth
2c9b148627 Add 'playlists' tab to channel page 2019-03-03 10:56:04 -06:00
Omar Roth
07ef48a07a Add length_seconds to playlist on watch page 2019-03-03 10:55:49 -06:00
Omar Roth
03f94db5e2 Fix watch filtering from subscription feed when watch history is empty 2019-03-02 20:13:41 -06:00
Omar Roth
9b202adebd Remove <hr> from footer 2019-03-02 20:12:36 -06:00
Omar Roth
daf8e5b8b6 Remove array from usage statistics 2019-03-01 21:03:57 -06:00
Omar Roth
25bd27ef95 Merge weblate into master 2019-03-01 19:59:30 -06:00
Allan Nordhøy
dd41e4906c Update Norwegian Bokmål translation 2019-03-02 02:57:53 +01:00
Omar Roth
20660b92f8 Add missing text to locales 2019-03-01 19:57:28 -06:00
Omar Roth
f0cc7a925c Add 'lastChannelRefreshedAt' to /api/v1/stats 2019-03-01 19:55:07 -06:00
Omar Roth
057e69fe70 Update User-Agent and statistics schema 2019-03-01 19:39:10 -06:00
Omar Roth
4be82c5ca6 Add /api/v1/stats 2019-03-01 19:25:16 -06:00
Omar Roth
0eaf8f38a1 Add support for Basque translation 2019-03-01 19:24:53 -06:00
Omar Roth
f31af18aa9 Merge weblate into master 2019-03-01 17:18:03 -06:00
Omar Roth
5859cd290c Clean up footer and add version 2019-03-01 16:52:37 -06:00
Omar Roth
a39b1583da Add administrator preferences 2019-03-01 16:06:45 -06:00
dimqua
ac0eb9acaf Update Russian translation 2019-03-01 17:45:23 +01:00
Adam Zieliński
a0d9e46c33 Update Polish translation 2019-03-01 17:45:23 +01:00
beriain
573404d3ac Update Basque translation 2019-03-01 17:45:23 +01:00
Omar Roth
2fe545e19a Add content element to RSS feeds 2019-03-01 10:44:41 -06:00
Omar Roth
ea52c05f05 Fix escaping for video filenames 2019-02-28 21:29:01 -06:00
Omar Roth
2a643e86bc Update dockerfile 2019-02-28 13:49:29 -06:00
Omar Roth
cc76428cd2 Update README 2019-02-28 13:28:02 -06:00
Omar Roth
7ffc3a0652 Set updated for deleted channels 2019-02-27 17:31:17 -06:00
Omar Roth
51df0860cc Update dependencies 2019-02-27 16:52:37 -06:00
Omar Roth
e4f397d049 Fix RSS thumbnails 2019-02-27 16:18:47 -06:00
Omar Roth
0c8dff162d Fix embed extractor for age-gated videos 2019-02-27 15:15:24 -06:00
Omar Roth
4865529fed Create views if they don't exist 2019-02-27 09:10:28 -06:00
Omar Roth
0a404cc9a6 Add fix for missing param in "/videoplayback" 2019-02-27 08:16:58 -06:00
Omar Roth
17b84f32df Fix duration in /api/v1/search 2019-02-26 14:31:37 -06:00
Omar Roth
a03958d937 Add -webkit-appearance to default.css 2019-02-26 12:21:19 -06:00
Omar Roth
27cd1e73f3 Fix feed menu on mobile 2019-02-26 09:23:16 -06:00
Omar Roth
d6bd893573 Add fix for missing hash keys 2019-02-26 08:12:56 -06:00
Omar Roth
7a7049b25b Escape video titles in download widget 2019-02-25 17:54:55 -06:00
Omar Roth
62ff9605ce Extract format streams from player response 2019-02-25 17:28:35 -06:00
Omar Roth
2847c34f58 Bump version 2019-02-25 12:16:13 -06:00
Omar Roth
b5a00f3c47 Remove duplicate information from autogenerated channel page 2019-02-25 09:52:44 -06:00
Omar Roth
09d0972ab4 Pull dash URL from player response 2019-02-25 09:11:41 -06:00
Omar Roth
6b12449be4 Show playlists for auto-generated channels 2019-02-24 16:39:44 -06:00
Omar Roth
955b36913f Add fix for spaces in content-disposition 2019-02-24 16:19:31 -06:00
Omar Roth
7e6cf7b979 Add title text for icons 2019-02-24 16:19:31 -06:00
Omar Roth
b82ae5e84a Merge pull request #380 from GauthierPLM/french-translation-update
Update translation & correct typos
2019-02-24 12:29:24 -06:00
Omar Roth
c5a17cd043 Add subscriptions to feed menu 2019-02-24 11:53:10 -06:00
Omar Roth
1692f7640c Remove JS from download widget 2019-02-24 11:04:46 -06:00
Omar Roth
ebcb21dbfe Allow user to save preferences without creating an account 2019-02-24 09:49:48 -06:00
Gauthier POGAM--LE MONTAGNER
b6d12cfb11 Update translation & correct typos 2019-02-24 15:24:53 +01:00
Omar Roth
7f75a7ca0b Add support for changing signature param 2019-02-22 20:36:16 -06:00
Omar Roth
bdc9196b4a Escape email when creating feed for Google account 2019-02-22 20:35:37 -06:00
Omar Roth
a283c3143d Adjust size of player 2019-02-21 18:17:02 -06:00
Omar Roth
57635c0d24 Add scroll to control bar when it's possible to overflow 2019-02-21 18:13:40 -06:00
Omar Roth
7ed4485717 Format CSS 2019-02-21 17:43:49 -06:00
Omar Roth
394952a86a Revert "Fix control bar overflow on mobile"
This reverts commit e25249ce4d.
2019-02-21 16:20:58 -06:00
Omar Roth
85854cac77 Add support for custom channel URLs 2019-02-21 15:07:22 -06:00
Omar Roth
5bf3c28436 Add better indicator for livestreams 2019-02-21 14:19:05 -06:00
Omar Roth
e25249ce4d Fix control bar overflow on mobile 2019-02-21 14:01:12 -06:00
Omar Roth
40073e7089 Fix sorting options for /feed/private 2019-02-21 14:01:12 -06:00
eutampieri
0e141f21e8 Applied suggestions from WebLate (#375)
* Applied suggestions from WebLate
2019-02-21 13:34:40 -06:00
Omar Roth
9a1f4de323 Convert intervals to integers 2019-02-20 09:37:33 -06:00
Omar Roth
83493237a5 Add support for translating time intervals 2019-02-20 08:49:54 -06:00
Omar Roth
fb14d9c134 Merge pull request #372 from eutampieri/it-locale
Fixed some localisation
2019-02-20 08:32:58 -06:00
eutampieri
63fca853d0 Fixed some localisation
Yesterday I was tired so I missed a few strings
2019-02-20 15:01:43 +01:00
Omar Roth
f647f7bdea Clear session ids when deleting an account 2019-02-19 18:26:33 -06:00
Allan Nordhøy
06076c683f Update Norwegian Bokmål translation 2019-02-20 00:46:42 +01:00
Omar Roth
6b61eefca7 Add support for Italian locale 2019-02-19 17:46:31 -06:00
Omar Roth
985dd65b83 Merge pull request #368 from eutampieri/it-locale
Create it.json
2019-02-19 17:44:44 -06:00
Omar Roth
f26ad00155 Add /api/v1/channels/playlists/:ucid 2019-02-19 17:05:27 -06:00
Omar Roth
a210327318 Add /api/v1/channels/latest/:ucid 2019-02-19 17:00:06 -06:00
eutampieri
5ae76bfe6c Create it.json 2019-02-19 22:15:22 +01:00
Omar Roth
58fb74179b Add fix for videos that don't have videoDetails 2019-02-19 13:54:14 -06:00
Omar Roth
92223dbee5 Fix channel RSS feed 2019-02-18 16:06:00 -06:00
Omar Roth
1ceb827a82 Check deleted channels 2019-02-18 15:44:15 -06:00
Omar Roth
f85472c0ce Fix extracting for mixes provided by YouTube Music 2019-02-18 11:43:57 -06:00
Omar Roth
4933cd46d7 Fix sorting of subscriptions with 'latest_only' 2019-02-18 11:29:57 -06:00
Omar Roth
421ad21b40 Speed up filtering watched videos from feed 2019-02-17 19:53:42 -06:00
Omar Roth
6cea83991c Format and update locales 2019-02-16 17:56:49 -06:00
Agustin Ferrari
b04a2d4f61 Just a couple of adjustments (#350)
* Added icons tooltips in local/en-US.json, corrected link tooltip to switch to video mode and changed heart symbol by icon in comments
2019-02-16 17:46:04 -06:00
Omar Roth
f8467fcda6 Fix locale text for "Show replies" 2019-02-16 14:26:08 -06:00
Omar Roth
9f00dba0cb Merge pull request #353 from Perflyst/347-screenshots
Add screenshots
2019-02-16 13:50:55 -06:00
Omar Roth
6a8a49d8ef Merge branch 'master' into 347-screenshots 2019-02-16 09:57:09 -06:00
Omar Roth
7e2954c325 Format README and optimize screenshots 2019-02-16 09:55:45 -06:00
Perflyst
da21d33d96 Merge pull request #1 from dimqua/347-screenshots
Add new screenshots
2019-02-16 12:21:12 +01:00
Omar Roth
27663b10a2 Add minor API fixes 2019-02-15 17:28:54 -06:00
Omar Roth
c099a5ad2e Speed up manage_subscriptions 2019-02-15 17:13:52 -06:00
dimqua
a4c05deb21 Add new screenshots 2019-02-15 00:22:28 +03:00
dimqua
9df77707d3 Update Russian translation 2019-02-12 22:06:51 +01:00
Omar Roth
ceea6e4597 Escape subscribe text 2019-02-12 14:59:26 -06:00
TheFrenchGhosty
b5b0599222 French Translation - By a French (#363)
* French Translation
2019-02-12 14:46:47 -06:00
Omar Roth
94152c4d17 Merge pull request #355 from dimqua/patch-3
Add MusicPiped
2019-02-12 00:33:02 -06:00
Omar Roth
f02b5e8c4d Run 'crystal tool format' 2019-02-11 20:52:47 -06:00
Omar Roth
f1820ffaf7 Add fix for user array 2019-02-11 20:47:26 -06:00
Omar Roth
52cad8d6da Update change index for channel_videos and add index for nonces 2019-02-11 10:59:17 -06:00
Omar Roth
1590393fcc Don't try to update channels in subscription manager 2019-02-11 10:52:28 -06:00
Omar Roth
64f13df99b Update README 2019-02-11 10:20:55 -06:00
Avizini
45cdb81861 fix issues page url (#352)
* fix issues page url
2019-02-11 09:18:40 -06:00
Omar Roth
ff563a70a5 Fix typo in session_ids 2019-02-10 15:08:53 -06:00
dimqua
84a5edf0eb Add MusicPiped 2019-02-11 00:06:44 +03:00
Omar Roth
5528a130b6 Mark migrate-db-3646395.sh as executable 2019-02-10 13:50:17 -06:00
Omar Roth
a384f6e5fd Add migrate script and update README 2019-02-10 12:46:58 -06:00
Omar Roth
3646395f1d Store session_ids in separate table 2019-02-10 12:33:29 -06:00
Omar Roth
8bbf351d04 Fix challenge switching for Google login 2019-02-10 12:27:33 -06:00
Perflyst
dde0292e1c Add screenshots to README.md 2019-02-10 14:44:40 +01:00
Perflyst
ff1212a188 Add screenshots 2019-02-10 14:23:28 +01:00
Omar Roth
27934dad37 Add region to latest_version 2019-02-09 12:28:43 -06:00
Omar Roth
0d509c82ee Rename migrate-db-e1aa1ce.sh to migrate-db-30e6d29.sh 2019-02-09 12:10:20 -06:00
Omar Roth
30e6d29106 Add 'deleted' to channel info 2019-02-09 10:49:48 -06:00
Omar Roth
7a9ef0d664 Add produce_channel_playlists_url 2019-02-09 10:15:14 -06:00
Omar Roth
3cce74d364 Add feed menu to popular, top, and trending 2019-02-08 10:34:32 -06:00
Omar Roth
9698988be3 Filter video streams to avoid duplicates in DASH player 2019-02-08 09:49:40 -06:00
Omar Roth
29af5fc4a6 Prune proxy list 2019-02-06 21:29:31 -06:00
Omar Roth
a7b79824de Add support for 'region' in search 2019-02-06 18:21:40 -06:00
Omar Roth
d625d0ffbd Use get_video for pulling comment token 2019-02-06 17:55:22 -06:00
Omar Roth
1dcfa90c8e Update version and bump changelog 2019-02-06 17:50:04 -06:00
Omar Roth
8170dad9bd Simplify video extractor 2019-02-06 16:12:11 -06:00
Omar Roth
699f85e773 Fix Google login 2019-02-05 08:49:24 -06:00
Omar Roth
f225d38680 Revert updated dependencies 2019-02-04 15:34:53 -06:00
Omar Roth
2630dc8dcd Add 'related_videos' to video params 2019-02-04 15:28:51 -06:00
Omar Roth
276662a147 Use IO::Memory for creating continuation tokens 2019-02-04 15:17:10 -06:00
Omar Roth
ed8a9af355 Add helpers_spec 2019-02-04 12:05:51 -06:00
Omar Roth
e6e3d826b9 Update shard.yml 2019-02-04 12:05:31 -06:00
Omar Roth
5b3606ad1d Merge pull request #339 from tmiland/contrib
Update README.md
2019-02-04 09:54:01 -06:00
Tommy Miland
072cc13f14 Merge remote-tracking branch 'upstream/master' into contrib 2019-02-03 16:20:02 +01:00
Omar Roth
c1ed660ca0 Proxy creator thumbnail for heart container 2019-02-03 08:45:34 -06:00
Tommy Miland
2c44051318 Update README.md
Add manual commands to Debian and Ubuntu install instructions.
2019-02-03 12:57:01 +01:00
Omar Roth
d0a690c303 Add CORS to API endpoints 2019-02-02 22:48:47 -06:00
Omar Roth
87e1fa0a28 Add new text to locales 2019-02-02 19:07:09 -06:00
Omar Roth
a1af27b125 Merge pull request #334 from aaferrari/master
Color change in the links and several improvements in the comments
2019-02-02 18:19:33 -06:00
Agustin Ferrari
ceaddbc821 Minor fixes in CSS colors 2019-02-02 20:13:40 -03:00
Omar Roth
9989c8100a Properly escape email when creating view 2019-02-02 15:27:19 -06:00
Agustin Ferrari
c0e73e71c5 Merge branch 'master' of https://github.com/omarroth/invidious 2019-02-01 20:15:34 -03:00
Agustin Ferrari
b0ba670c91 Comments now show if they were edited and if they received a heart from the uploader (plus additional classes in default.css). The isEdited attribute was also added in the comments API and new strings in en-US.json 2019-02-01 09:09:10 -03:00
Omar Roth
d5c9b7dfe8 Only play after error if already playing 2019-01-31 20:26:11 -06:00
dimqua
095b5fcea0 Update Russian translation 2019-01-31 22:07:16 +01:00
beriain
aeee40c894 Update Basque translation 2019-01-31 22:07:16 +01:00
beriain
a7fbcd0aa8 Add Basque translation 2019-01-31 22:07:16 +01:00
Omar Roth
c9bc081f8c Respect DEFAULT_USER_PREFERENCES in video params 2019-01-31 15:06:53 -06:00
Omar Roth
fbb5df0849 Default to showing recommendations for logged out users 2019-01-31 14:54:02 -06:00
Omar Roth
cef061d6fb Fix incorrect default in user preferences 2019-01-31 14:40:26 -06:00
Omar Roth
def58ff11f Add interval and timeout for errors in player 2019-01-31 09:09:00 -06:00
Omar Roth
9e73e3b153 Add errorcode for invalid video IDs 2019-01-31 08:48:44 -06:00
Agustin Ferrari
e9ea365f2f Add additional parameters in the API comments, highlight the user name in the uploader comments and I finished permalink of the comments. 2019-01-31 08:21:26 -03:00
Agustin Ferrari
55118a6768 Change color to the links and add a couple of improvements in the comments 2019-01-30 09:28:28 -03:00
Omar Roth
1e214aae7c Reload player instead of removing invalid source 2019-01-29 19:55:27 -06:00
Omar Roth
ff09a7255a Add handling to remove invalid sources 2019-01-28 22:36:27 -06:00
Omar Roth
26b7200360 Respect playback rate when reloading player 2019-01-28 20:47:38 -06:00
Omar Roth
b38a2bbd12 Reload player on error 2019-01-28 20:45:08 -06:00
Omar Roth
097cbcdae3 Update subscribe button immediately 2019-01-27 22:12:07 -06:00
Omar Roth
c0fdc28a84 Fix colors and data-url in download widget 2019-01-27 21:20:52 -06:00
Omar Roth
6218078c51 Pull subscribe widget into separate file 2019-01-27 21:06:28 -06:00
Omar Roth
a9aae6b36c Add internal redirect for video URLs 2019-01-27 20:36:40 -06:00
Omar Roth
96fb2118d5 Merge pull request #324 from dimqua/patch-2
fix broken link
2019-01-27 12:02:19 -06:00
dimqua
48fc0949cc fix broken link 2019-01-27 20:41:43 +03:00
Omar Roth
7d270211ae Merge pull request #322 from Perflyst/readme-remove-extensions
Remove Extensions from README.md
2019-01-27 10:57:01 -06:00
Perflyst
a9f5b84c7f Remove Extensions from README.md 2019-01-27 17:01:03 +01:00
Omar Roth
2d20f12335 Merge pull request #319 from dimqua/patch-1
fix file path
2019-01-26 15:40:26 -06:00
dimqua
45b53b8902 fix file path 2019-01-26 19:12:13 +03:00
Omar Roth
898b768b30 Fallback on ucid for channel search when author contains hyphen 2019-01-25 12:26:23 -06:00
Omar Roth
06aa1bb90f Merge pull request #315 from EsmailELBoBDev2/master
Fix "Download as: " in ar.json
2019-01-25 11:44:44 -06:00
Omar Roth
1f6078cf25 Fix links to invalid genre channels 2019-01-25 11:35:25 -06:00
Omar Roth
ba36ab9559 Add 'pretty=1' option to API endpoints 2019-01-25 10:50:18 -06:00
Omar Roth
586c0a0579 Add error message for unavailable endpoint /api/v1/insights/:id 2019-01-25 10:38:28 -06:00
Esmail EL BoB
209d7117fb Merge branch 'master' into master 2019-01-25 12:48:10 +02:00
Esmail EL BoB
3751d11a0b Update ar.json 2019-01-25 12:46:53 +02:00
Omar Roth
1af86f6afb Add sleep to popular_videos and top_videos 2019-01-24 20:21:35 -06:00
Omar Roth
4c77908bb4 Update postgres entrypoint for docker image 2019-01-24 19:02:09 -06:00
Omar Roth
952b208a01 Add retry for /videoplaybacl 2019-01-24 13:53:14 -06:00
Omar Roth
40fb29ea2b Merge pull request #313 from Perflyst/fix-install
Fix installation guide, Add Upgrade information, Create and mention documentation
2019-01-24 12:39:42 -06:00
Perflyst
c1081e3df0 Add links to documentation 2019-01-24 19:34:05 +01:00
Omar Roth
4b60f7ddff Add logger to method calls 2019-01-24 12:19:02 -06:00
Omar Roth
75d8c4f5c0 Use logger instead of STDOUT 2019-01-24 12:16:29 -06:00
Esmail EL BoB
16a7fcb79b Update ar.json (#314) 2019-01-24 12:03:19 -06:00
Esmail EL BoB
8cd0137aed Merge branch 'master' into master 2019-01-24 11:05:33 +02:00
Esmail EL BoB
f455b12085 Update ar.json 2019-01-24 11:03:33 +02:00
Omar Roth
1a9057a175 Add fix to download widget for titles with unescaped characters 2019-01-24 00:01:56 -06:00
Omar Roth
0fcfb7b82b Add redirect for legacy '/profile' endpoint 2019-01-23 23:12:48 -06:00
Omar Roth
30f08ae48c Add missing text to locales 2019-01-23 22:54:04 -06:00
Omar Roth
8f1b65de59 Add missing text to en-US.json 2019-01-23 22:45:31 -06:00
Omar Roth
d88f9f3b3e Use params for importing dash sources 2019-01-23 19:46:17 -06:00
Omar Roth
08e8d0f56f Fix typo in default.css 2019-01-23 19:25:09 -06:00
Omar Roth
fb535ad6bb Add download widget 2019-01-23 19:05:24 -06:00
Omar Roth
15efac520e Stop trying to pull comments after 10 timeouts 2019-01-23 18:23:31 -06:00
Perflyst
dd5623ffbf Update invidious usage
Thanks @omarroth
2019-01-23 21:40:17 +01:00
Omar Roth
7a6a0f364c Run 'crystal tool format' 2019-01-23 14:37:04 -06:00
Perflyst
93297b63b1 Add logfile to systemd service and fix path 2019-01-23 21:31:52 +01:00
Omar Roth
e1540390a8 Fix typo in config documentation 2019-01-23 14:30:45 -06:00
Omar Roth
71ba071160 Add documentation to config 2019-01-23 14:28:31 -06:00
Omar Roth
af449161ff Add -o option for redirecting output 2019-01-23 14:15:19 -06:00
Perflyst
03aa11b412 Rewrite installation guide 2019-01-23 21:12:02 +01:00
Perflyst
5e272db8f5 Delete setup.sh 2019-01-23 20:06:43 +01:00
Omar Roth
827e68acf5 Resize player to better fit larger screens 2019-01-23 12:54:19 -06:00
Omar Roth
987ea1cb98 Add IRC to README 2019-01-21 15:33:25 -06:00
Omar Roth
633ecb524e Add 'fr' to list of supported locales 2019-01-21 15:04:09 -06:00
Omar Roth
f19d8f7095 Merge pull request #311 from Perflyst/locale-fr
Add French translation
2019-01-21 14:55:32 -06:00
Perflyst
a20e3cd77e Add French translation 2019-01-21 20:21:42 +01:00
Omar Roth
a7b6a67615 Use locale for "Only show latest" text 2019-01-21 11:54:44 -06:00
Omar Roth
e7f05d76fa Add Contact and License sections to README 2019-01-21 11:35:10 -06:00
Omar Roth
5cb57fb176 Move 'domain' into config.yml 2019-01-20 22:19:14 -06:00
Omar Roth
95bde7bb8a Add handling for empty continuation 2019-01-20 10:03:36 -06:00
Omar Roth
daa2329f8b Add fix for pulling comments from age-gated videos 2019-01-20 10:03:36 -06:00
Omar Roth
b23710f89f Fix comments without startTimeSeconds 2019-01-20 10:03:36 -06:00
Omar Roth
277dda0dcb Merge pull request #297 from Perflyst/systemd-service
Add systemd service
2019-01-19 11:30:53 -06:00
Omar Roth
cf9134416c Remove unnecessary comment 2019-01-19 10:42:03 -06:00
Omar Roth
2425368c3a Bump version 2019-01-19 10:03:23 -06:00
Omar Roth
20c4d213d9 Use config.domain in place of hardcoded value 2019-01-19 09:10:52 -06:00
Perflyst
af9134ffb4 Add systemd service information to README.md 2019-01-19 15:08:26 +01:00
Perflyst
f65ddaa0f1 Add invidious.service 2019-01-19 15:04:28 +01:00
Esmail EL BoB
9580a21786 added support for vid types in "trending" page (#289)
* Added AR Support For trending Page
2019-01-17 10:17:16 -06:00
Omar Roth
dfd17bdd88 Improve error message for 500 and add redirect for 404 2019-01-12 13:18:08 -06:00
Omar Roth
0f48d221b4 Fix hlsvp extractor 2019-01-12 12:00:44 -06:00
Omar Roth
8f57388cd3 Fix average rating where likes and dislikes are null 2019-01-12 11:56:07 -06:00
Esmail EL BoB
0992587da5 Updated wrong word :-) [UPDATE] (#284)
* updated & added new words
2019-01-11 10:18:10 -06:00
Omar Roth
138a6b1136 Add missing "avg_rating" 2019-01-10 08:06:54 -06:00
Omar Roth
c6ec8317ac Use location.assign instead of window.location.replace 2019-01-05 23:02:03 -06:00
Omar Roth
81c2ecc788 Bump version and update CHANGELOG 2019-01-05 21:54:23 -06:00
Omar Roth
7abe5dc845 Add onion links to README 2019-01-05 21:51:08 -06:00
Omar Roth
a16f967085 Add popular, top, trending bar 2019-01-05 15:25:31 -06:00
Omar Roth
7f8349d4b1 Escape function names in signature extractor 2019-01-05 15:23:22 -06:00
Omar Roth
4ae57cb475 Improve playlist description extractor 2019-01-04 22:48:00 -06:00
kniddl
cc00beb1db Update German translation 2019-01-04 11:18:05 -06:00
dimqua
a1d442d1e3 Update Russian translation 2019-01-04 11:17:48 -06:00
Omar Roth
2fdf3d24e3 Redirect to home page on empty search 2019-01-02 20:14:31 -06:00
Omar Roth
0832fa9bdb Filter paid videos from RSS and channel list 2019-01-02 20:09:00 -06:00
Omar Roth
c2c224b16f Use fibers to try to speed up importing of channels 2019-01-02 19:28:59 -06:00
Omar Roth
7951d4c8aa Add length_seconds to subscription search 2019-01-02 19:28:59 -06:00
Omar Roth
a02b539362 Merge pull request #272 from cheeseandcereal/master
update readme for required ubuntu dependencies
2018-12-31 23:26:25 -06:00
Adam Crowder
fc4a2b812e update readme for required ubuntu dependencies 2018-12-29 04:25:07 -08:00
Omar Roth
6b4ea53a32 Add sleep time for update_decrypt_function 2018-12-28 09:55:02 -06:00
Omar Roth
db7457f135 Add nb_NO to supported locales 2018-12-26 09:29:12 -06:00
dimqua
29db4c2301 Translated using Weblate (Russian)
Currently translated at 60.5% (164 of 271 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/ru/
2018-12-25 00:47:42 +01:00
Allan Nordhøy
99f024d222 Translated using Weblate (Norwegian Bokmål)
Currently translated at 69.4% (184 of 265 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/nb_NO/
2018-12-25 00:47:42 +01:00
Omar Roth
f3c9566687 Fix param ordering for fetch_playlist_videos 2018-12-24 17:47:23 -06:00
Omar Roth
382a6b556d Update RSS schema 2018-12-23 12:07:04 -06:00
Omar Roth
17a9b0cd15 Merge pull request #271 from tor255/atomfeedfix
Fixed subscription's xml feed
2018-12-23 12:04:06 -06:00
tor
5ca74a8dca Fixed subscription's xml feed 2018-12-24 04:55:39 +11:00
Esmail EL BoB
162f7d9d3d updated & added new words 2018-12-21 12:46:21 -06:00
Omar Roth
388b3cff8b Fix typo in data_control 2018-12-21 09:50:01 -06:00
Omar Roth
a5af6f4956 Add missing translations to locales 2018-12-21 09:39:52 -06:00
Omar Roth
7f3bdc4bea Update en-US.json 2018-12-21 09:29:02 -06:00
Omar Roth
d06c5306be Update i18n 2018-12-20 17:41:42 -06:00
Omar Roth
2e39299071 Update en-US.json translations 2018-12-20 17:41:31 -06:00
Omar Roth
7596baf03b Fix translation with non-existent locales 2018-12-20 16:59:46 -06:00
Omar Roth
0feb414a1d Add menu for selecting trending page 2018-12-20 16:48:45 -06:00
Omar Roth
1360d67c11 Show more informative error to users signing in with Google 2018-12-20 15:39:41 -06:00
Omar Roth
a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth
5b2b026468 Fix typo in RU translation 2018-12-20 15:03:27 -06:00
Omar Roth
78b34af305 Update Arabic locale and fix formatting 2018-12-20 11:23:32 -06:00
Omar Roth
a9a0280b1a Add link to watch history in feed and manager 2018-12-20 11:05:54 -06:00
Odin
4c936eab29 Add Dutch translation
Currently translated at 100.0% (153 of 153 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/nl/
2018-12-20 10:46:51 -06:00
Allan Nordhøy
9463717b90 Add Norwegian Bokmål translation 2018-12-20 10:46:33 -06:00
Omar Roth
e605371154 Add Arabic translation
Currently translated at 98.7% (151 of 153 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/ar/
2018-12-20 10:46:30 -06:00
Adam Zieliński
467b000757 Add Polish translation
Currently translated at 96.7% (148 of 153 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/pl/
2018-12-20 10:46:26 -06:00
Omar Roth
45a53e2616 Add German translation
Currently translated at 95.5% (253 of 265 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/de/
2018-12-20 10:46:23 -06:00
dimqua
51f4f60d46 Add Russian translation
Currently translated at 51.3% (136 of 265 strings)

Translation: Invidious/Translations
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/ru/
2018-12-20 10:46:14 -06:00
Omar Roth
7d47b5d4bd Use named params for SearchChannel 2018-12-15 13:02:53 -06:00
Omar Roth
d0b30ad977 Don't pass HTTP client in args 2018-12-15 12:05:52 -06:00
Omar Roth
843606db65 Support changing author names 2018-12-15 12:02:57 -06:00
Omar Roth
b030149d76 Revert "Use <audio> tag for audio only"
This reverts commit e6bc5bb35d.
2018-12-08 20:12:22 -06:00
Omar Roth
b686d76d8c Update script for Invidious embed 2018-12-07 10:25:41 -06:00
Omar Roth
2ef3db334f Update CHANGELOG and bump version 2018-12-05 22:17:43 -06:00
Omar Roth
89439e1775 Add link to '/clear_watch_history' in '/feed/history' 2018-12-05 17:07:51 -06:00
Omar Roth
65cc51766f Add other projects that use Invidious 2018-12-04 21:28:49 -06:00
Omar Roth
b9aff18d43 Merge pull request #258 from asddsaz/patch-1
Add Made with Invidious Section
2018-12-04 20:58:06 -06:00
asddsaz
d2f51ab71c Add Made with Invidious Section 2018-12-05 01:22:54 +00:00
Omar Roth
21dd204a13 Update README 2018-11-30 15:10:56 -06:00
Omar Roth
7fd4c76a59 Try to pull UCID instead of brand name in search results 2018-11-28 10:20:52 -06:00
Omar Roth
4480e9c1ba Don't downcase UCID when searching channels 2018-11-27 22:26:17 -06:00
Omar Roth
6033e8aed1 Add related_channels to /api/v1/channels 2018-11-27 22:07:45 -06:00
Omar Roth
32bd593a8a Remove log statement 2018-11-27 21:20:29 -06:00
Omar Roth
1c49fa3b63 Add timeout for autoplay 2018-11-27 21:18:20 -06:00
Omar Roth
7ab9d741bf Fix autoplay 2018-11-27 16:52:27 -06:00
Omar Roth
6540742c76 Remove unnecessary text from locale 2018-11-27 16:16:50 -06:00
Omar Roth
dcf45d217f Don't cache results when using proxy 2018-11-26 20:46:08 -06:00
Omar Roth
d211d8fc05 Add locales/en-US.json 2018-11-26 14:42:59 -06:00
Omar Roth
2dfb3e7814 Minor text changes 2018-11-26 14:28:15 -06:00
Omar Roth
19bf0ccbf0 Add /feed/top and /feed/popular 2018-11-26 10:50:34 -06:00
Omar Roth
2ea580e18e Format default.css 2018-11-25 19:01:19 -06:00
Omar Roth
0152967d3e Fix title when downloading video 2018-11-25 19:01:04 -06:00
Omar Roth
934c81b02f Add second hand to image CAPTCHA 2018-11-25 18:26:21 -06:00
Omar Roth
9ce02e579d Update '/api/v1/popular' 2018-11-25 18:16:56 -06:00
Omar Roth
32e4ad0784 Update default config 2018-11-25 18:13:56 -06:00
Omar Roth
18bb397c7d Add '/api/v1/popular' 2018-11-25 18:13:11 -06:00
Omar Roth
3c98601f35 Add job for pulling popular videos 2018-11-25 18:08:51 -06:00
Omar Roth
26eb59e00d Add text CAPTCHA 2018-11-22 13:26:08 -06:00
Omar Roth
ca4e8b800c Use absolute paths in /opensearch.xml 2018-11-21 20:49:14 -06:00
Omar Roth
568e55dfa6 Add description for home page 2018-11-21 20:00:33 -06:00
Omar Roth
941a773b7d Add opensearch.xml 2018-11-21 20:00:17 -06:00
Omar Roth
95ebfd34c5 Don't wait on server for subscription count 2018-11-21 19:26:55 -06:00
Omar Roth
fd7aa59e0f Properly parse NewPipe imports 2018-11-21 17:12:13 -06:00
Omar Roth
cdd916f51d Add async for manage_subscriptions 2018-11-21 13:35:37 -06:00
Omar Roth
e80884cfce Remove unnecessary request header 2018-11-21 13:18:33 -06:00
Omar Roth
c656a7cb9e Add link to watch history in preferences 2018-11-21 13:10:56 -06:00
Omar Roth
a15463cf37 Clarify options in preferences 2018-11-21 13:10:09 -06:00
Omar Roth
2ce038fb7a Only show toggle watched button when relevant 2018-11-21 13:06:29 -06:00
Omar Roth
588f9b9bd6 Fix 'order' expression 2018-11-21 08:25:21 -06:00
Omar Roth
d6d73bd336 Fix clickable titles in subscription feed 2018-11-20 22:58:30 -06:00
Omar Roth
f01cfd0226 Use material style for trash icon 2018-11-20 22:58:04 -06:00
Omar Roth
60c6778344 Make 'watched' icon smaller 2018-11-20 22:57:51 -06:00
Omar Roth
a242390fc1 Fix typo in nonces.sql 2018-11-20 13:14:13 -06:00
Omar Roth
e5730f4cbc Use 'ion-ios-trash' for /feed/history 2018-11-20 11:19:04 -06:00
Omar Roth
2be43c17ab Sample proxies to avoid overloading single proxy 2018-11-20 11:18:48 -06:00
Omar Roth
2e99642173 Add /feed/trending 2018-11-20 11:18:12 -06:00
Omar Roth
aeaeacbf8d Refactor geo-bypass 2018-11-20 10:07:50 -06:00
Omar Roth
6b12f11e10 Add ability to mark videos as watched in subscription feed 2018-11-19 22:06:59 -06:00
Omar Roth
c7e8d623c0 Support overflow grid 2018-11-19 18:43:06 -06:00
Omar Roth
ad20d6359b Add 'expire' to filter invalid tokens 2018-11-19 18:41:11 -06:00
Omar Roth
b535de690e Move video count into playlist thumbnail 2018-11-19 17:34:33 -06:00
Omar Roth
c1a60392ae Expand description when related videos are disabled 2018-11-19 17:23:01 -06:00
Omar Roth
fff817b654 Remove timestamp fallback for nojs 2018-11-19 16:47:18 -06:00
Omar Roth
8706364d90 Add support for watchEndpoints in comment templating 2018-11-19 16:24:21 -06:00
Omar Roth
ed6d321bc6 Fix identifier for AGPLv3 in licenses.ecr 2018-11-19 16:02:35 -06:00
Omar Roth
b10794bc64 Clarify feature in README 2018-11-19 14:44:24 -06:00
Omar Roth
94c92b68a2 Add flat list of proxies for geo-bypass 2018-11-19 10:51:30 -06:00
Omar Roth
27488a2295 Fix invalid passing of arguments to get_video 2018-11-18 17:57:31 -06:00
Omar Roth
3418b82dc5 Fix typo in autoplay 2018-11-18 17:47:40 -06:00
Omar Roth
04d9b16a6b Add fix for optional 'rvs' 2018-11-18 17:28:22 -06:00
Omar Roth
43961ef035 Add 'region' parameter to captions and manifest endpoints 2018-11-17 17:37:57 -06:00
Omar Roth
16964ca6ce Add 'region' parameter for bypassing region locks 2018-11-17 17:33:30 -06:00
Omar Roth
879586d7f5 Fix subscription feed for latest unseen videos 2018-11-17 13:37:27 -06:00
Omar Roth
cd482cfd89 Add more informative error response on incorrect CAPTCHA 2018-11-17 13:26:24 -06:00
Omar Roth
d185ba84bf Remember nonce to prevent replay attacks 2018-11-17 13:18:12 -06:00
Omar Roth
c7f0a6f2e1 Create proper JSON request for Google login 2018-11-17 12:17:40 -06:00
Omar Roth
48526435ad Add CSRF token for Google accounts 2018-11-15 20:23:17 -06:00
Omar Roth
b92542ea35 Show autoplay when playlist is invalid 2018-11-15 18:05:10 -06:00
Omar Roth
e6bc5bb35d Use <audio> tag for audio only 2018-11-15 17:52:53 -06:00
Omar Roth
6ca7a71db9 Fix channel sort on mobile 2018-11-15 17:05:29 -06:00
Omar Roth
bf867c3fcf Add cookie sharing with subdomains 2018-11-15 16:41:43 -06:00
Omar Roth
6db235becf Remove nil assertions from video extractor 2018-11-15 09:38:29 -06:00
Omar Roth
71303452d8 Update README 2018-11-13 20:38:56 -06:00
Omar Roth
adcefa4ffa Add 'published - reverse' option to feed 2018-11-13 20:29:36 -06:00
Omar Roth
c8b321920d Add channel video count to search results 2018-11-13 19:18:08 -06:00
Omar Roth
47ed8bd13f Add channel sort to '/api/v1/channels/videos' 2018-11-13 19:11:16 -06:00
Omar Roth
44e9b4ac2a Add channel sort options 2018-11-13 19:04:25 -06:00
Omar Roth
9aeb9ec00f Merge branch 'pr/229' 2018-11-12 22:59:56 -06:00
WAZAAAAA
0f58f872ac image size losslessly reduced with FileOptimizer 2018-11-12 22:59:39 -06:00
Omar Roth
0e26e4d407 Remove video title tooltip 2018-11-12 18:37:58 -06:00
Omar Roth
9113846d10 Fix typo in genre urls 2018-11-12 10:01:31 -06:00
Omar Roth
df7480bcb6 Fix comment templating when JavaScript is disabled 2018-11-11 23:31:27 -06:00
Omar Roth
4b76b93610 Add continuous playback 2018-11-11 11:45:05 -06:00
Omar Roth
1465cefa17 Move HMAC tokens into users.cr 2018-11-11 09:44:16 -06:00
Omar Roth
dcddb6fb83 Update license information 2018-11-11 08:47:42 -06:00
Omar Roth
7f868ecdf9 Add unminimized sources and license information 2018-11-10 11:08:03 -06:00
Omar Roth
e8c9641548 Update info extractor 2018-11-10 10:50:09 -06:00
Omar Roth
b9e2fee2c9 Fix templating for videos with 0 comments 2018-11-10 09:05:44 -06:00
Omar Roth
0c8a1d46bd Fix whitespace in dnt-policy.txt 2018-11-10 07:54:13 -06:00
Omar Roth
8766475e55 Update shards.yml 2018-11-09 21:30:02 -06:00
Omar Roth
aaf8bdb28c Disable unimplemented route 2018-11-09 20:37:46 -06:00
Omar Roth
b77c73df0d Clean up data import/export 2018-11-09 17:25:24 -06:00
Omar Roth
6066615553 Update formatting 2018-11-09 08:48:02 -06:00
Omar Roth
30d040b02a Fix extractor for author thumbnails 2018-11-08 18:32:47 -06:00
Omar Roth
8e6bee75e7 Add CSRF prevention for /signout 2018-11-08 17:42:25 -06:00
Omar Roth
28f564ee4c Fix XSS in title and input bar 2018-11-08 17:27:21 -06:00
Omar Roth
1ea563f4f1 Add error message for fetching channel videos 2018-11-08 17:10:14 -06:00
Omar Roth
c5d2a57206 Speed up importing watch history 2018-11-08 16:43:28 -06:00
Omar Roth
6ae5d489ec Add 'liveNow' to /api/v1/channels 2018-11-08 16:35:57 -06:00
Omar Roth
0a1c84ada1 Add support for partial data restore 2018-11-08 16:35:26 -06:00
Omar Roth
fee3b93339 Add 'liveNow' to /api/v1/channels/videos 2018-11-08 16:17:47 -06:00
Omar Roth
31a9abc03a Add favicon 2018-11-08 15:58:10 -06:00
Omar Roth
3748c0083f Update Twitter thumbnail 2018-11-08 08:45:08 -06:00
Omar Roth
7a6d4e6ef9 Add extra handling for autoplay 2018-11-08 08:37:48 -06:00
Omar Roth
6c19f0f242 Revert "Update robots.txt"
This reverts commit b26b6b9bdf.
2018-11-08 00:41:03 -06:00
Omar Roth
1ff8579575 Check user_id as part of validating CSRF tokens 2018-11-08 00:29:20 -06:00
Omar Roth
b9c29bf537 Add option for user to delete their account 2018-11-08 00:12:14 -06:00
Omar Roth
f988123820 Revert "Add Origin header checks"
This reverts commit 2be240767c.
2018-11-07 23:13:51 -06:00
Omar Roth
2be240767c Add Origin header checks 2018-11-07 23:05:50 -06:00
Omar Roth
103949c61e Update twitter thumbnail 2018-11-07 22:26:50 -06:00
Omar Roth
316a73f07e Remove duration for playlists in search results 2018-11-07 10:07:47 -06:00
Omar Roth
b26b6b9bdf Update robots.txt 2018-11-06 23:13:31 -06:00
Omar Roth
3a44cfd3de Add Invidious Downloader to list of extensions 2018-11-06 22:02:23 -06:00
Omar Roth
570e09333a Add error message for empty 'v' param 2018-11-06 09:55:52 -06:00
Omar Roth
4e33d3a0b9 Fix index out of bounds for playlist ucid 2018-11-05 09:00:39 -06:00
Omar Roth
9e022f3b04 Add redirect for empty 'v' param 2018-11-05 07:31:48 -06:00
Omar Roth
1dcca85819 Fix typo in template.ecr 2018-11-05 07:31:18 -06:00
Omar Roth
ad57247a5f Fix location of dnt-policy.txt 2018-11-04 23:15:01 -06:00
Omar Roth
9194f47ee4 Add DNT policy 2018-11-04 23:10:46 -06:00
Omar Roth
4f856dd898 Add support for Crystal 0.27.0 2018-11-04 09:37:12 -06:00
Omar Roth
c912e63fb5 Only check invalid size passwords on register 2018-11-04 08:30:16 -06:00
Omar Roth
7e558c5b1d Add error messages for invalid password sizes 2018-11-03 11:52:33 -05:00
Omar Roth
19632511d5 Update SQL 2018-11-02 09:46:45 -05:00
Omar Roth
d739ef8fd3 Add fix for videos without keywords 2018-11-02 08:26:35 -05:00
Omar Roth
c92f6e44e7 Update keywords and view_count 2018-11-02 08:09:28 -05:00
Omar Roth
19516eaa25 Add option to view comments with JS disabled 2018-10-31 16:47:53 -05:00
Omar Roth
294c168193 Update README 2018-10-31 09:42:29 -05:00
Omar Roth
468e6b1c27 Fix mix continuation 2018-10-31 09:24:24 -05:00
Omar Roth
c55c553725 Fix channel_videos schema 2018-10-30 10:50:27 -05:00
Omar Roth
596960f35a Remove migration points 2018-10-30 10:03:03 -05:00
Omar Roth
e39dec9778 Add option to listen by default 2018-10-30 09:41:23 -05:00
Omar Roth
8794e26e67 Add length_seconds to channel_videos 2018-10-30 09:20:51 -05:00
Omar Roth
eb44a60f8d Remove migration point 2018-10-30 09:04:01 -05:00
Omar Roth
791f216a45 Don't remove unsupported sources 2018-10-30 08:34:55 -05:00
Omar Roth
be601a7584 Fix handling for non-existent channels 2018-10-23 21:04:15 -05:00
Omar Roth
ceff2763a5 Update error messages for /api/v1/channels 2018-10-23 20:58:07 -05:00
Omar Roth
8fd54027de Bump version 2018-10-23 20:55:20 -05:00
Omar Roth
a97c72f63b Update CHANGELOG and bump version 2018-10-22 23:11:18 -05:00
Omar Roth
81ea2bf799 Don't nest YouTube replies 2018-10-22 17:15:36 -05:00
Omar Roth
ed3d9ce540 Make channel extractor more robust 2018-10-21 21:44:20 -05:00
Omar Roth
ef95dc2380 Add fix for show playlists 2018-10-21 19:54:41 -05:00
Omar Roth
4875aa1d7e Add partial support for video duration in thumbnails 2018-10-20 20:37:55 -05:00
Omar Roth
3ee7201f5d Comma seperate comment scores 2018-10-20 13:52:06 -05:00
Omar Roth
3c634d9f66 Update styling for subscribe buttons 2018-10-20 13:51:52 -05:00
Omar Roth
94d116974b Add break between text and sub count 2018-10-19 16:20:35 -05:00
Omar Roth
5c87cf1547 Update subscribe buttons 2018-10-19 11:14:26 -05:00
Omar Roth
1cfa1f6559 Add 'paid' and 'premium' flags to API 2018-10-16 11:15:14 -05:00
Omar Roth
8b69e23471 Update CHANGELOG and bump version 2018-10-15 21:22:22 -05:00
Omar Roth
57d88ffcc8 Fix fallback for comments 2018-10-15 11:15:23 -05:00
Omar Roth
e46e6183ae Fix proxying for videos 2018-10-14 11:29:20 -05:00
Omar Roth
b49623f90f Revert "Attempt to bypass channel region locks"
This reverts commit 95c6747a3e.
2018-10-14 11:14:27 -05:00
Omar Roth
95c6747a3e Attempt to bypass channel region locks 2018-10-14 09:53:40 -05:00
Omar Roth
245d0b571f Add next page for channels with geo-blocked videos 2018-10-14 09:06:04 -05:00
Omar Roth
6e0df50a03 Remove migration points 2018-10-13 20:03:48 -05:00
Omar Roth
f88697541c Add author_thumbnail to '/api/v1/videos' 2018-10-13 20:01:58 -05:00
Omar Roth
5eefab62fd Add "show replies" and "hide replies" 2018-10-13 19:40:42 -05:00
Omar Roth
13b0526c7a Fix subscribe button when logged out 2018-10-13 19:40:24 -05:00
Omar Roth
1568a35cfb Add column to video update 2018-10-12 22:37:12 -05:00
Omar Roth
93082c0a45 Remove migration points 2018-10-12 21:28:15 -05:00
Omar Roth
1a39faee75 Add subCountText and add XHR alternative for subscribing to channels 2018-10-12 21:17:37 -05:00
Omar Roth
81b447782a Fix speed param for playlist preferences 2018-10-10 19:55:28 -05:00
Omar Roth
c87aa8671c Add fix for continuation on playlists smaller than 100 videos 2018-10-10 19:47:51 -05:00
Omar Roth
921c34aa65 Create materialized views for Google accounts 2018-10-10 16:10:58 -05:00
Omar Roth
ccc423f682 Fix 'latest only' feed 2018-10-09 18:39:19 -05:00
Omar Roth
02335f3390 Fix typo 2018-10-09 18:10:27 -05:00
Omar Roth
bcc8ba73bf Fix update_feeds job 2018-10-09 17:24:29 -05:00
Omar Roth
35e63fa3f5 Use materialized views for subscription feeds 2018-10-09 08:40:29 -05:00
Omar Roth
3fe4547f8e Update CHANGELOG and bump version 2018-10-09 08:09:04 -05:00
Omar Roth
2dbe151ceb Add speed param to playlist redirect 2018-10-09 08:08:52 -05:00
Omar Roth
e2c15468e0 Make usernames case-insensitive 2018-10-08 20:09:06 -05:00
188 changed files with 26248 additions and 4911 deletions

31
.travis.yml Normal file
View File

@@ -0,0 +1,31 @@
dist: bionic
jobs:
include:
- stage: build
# TODO: Shallowly clone again once the .git folder is no longer required for building
git:
depth: false
language: crystal
crystal: latest
before_install:
- shards update
- shards install
install:
- crystal build --warnings all --error-on-warnings src/invidious.cr
script:
- crystal tool format --check
- crystal spec
- stage: build_docker
# TODO: Shallowly clone again once the .git folder is no longer required for building
git:
depth: false
language: minimal
services:
- docker
install:
- docker-compose build
script:
- docker-compose up -d
- while curl -Isf http://localhost:3000; do sleep 1; done

View File

@@ -1,3 +1,691 @@
# 0.20.0 (2019-011-06)
# Version 0.20.0: Custom Playlists
It's been quite a while since the last release! There've been [198 commits](https://github.com/omarroth/invidious/compare/0.19.0..0.20.0) from 27 contributors.
A couple smaller features have since been added. Channel pages and playlists in particular have received a bit of a face-lift, with both now displaying their descriptions as expected, and playlists providing video count and published information. Channels will also now provide video descriptions in their RSS feed.
Turkish (tr), Chinese (zh-TW, in addition to zh-CN), and Japanese (jp) are all now supported languages. Thank you as always to the hard work done by translators that makes this possible.
The feed menu and default home page are both now configurable for registered and unregistered users, and is quite a bit of an improvement for users looking to reduce distractions for their daily use.
## For Administrators
`feed_menu` and `default_home` are now configurable by the user, and have therefore been moved into `default_user_preferences`:
```yaml
feed_menu: ["Popular", "Top"]
default_home: Top
# becomes:
default_user_preferences:
feed_menu: ["Popular", "Top"]
default_home: Top
```
Several new options have also been added, including the ability to set a support email for the instance using `admin_email: EMAIL`, and forcing the use of a specific connection in the case of rate-limiting using `force_resolve` (see below).
## For Developers
Authenticated endpoints are now [properly documented](https://github.com/omarroth/invidious/wiki/Authenticated-Endpoints), as well how to generate and use API tokens. My hope is that this makes some of the more [interesting](https://github.com/omarroth/invidious/wiki/Authenticated-Endpoints#get-apiv1authnotifications) endpoints more accessible for developers to use in their own applications.
API endpoints for interacting with custom playlists have also been added with documentation available [here](https://github.com/omarroth/invidious/wiki/Authenticated-Endpoints#get-apiv1authplaylists).
## Custom playlists
This is probably the feature that has been the longest in the pipe and that I'm quite pleased is now implemented. It is now possible to create custom playlists, which can be played and edited through Invidious. API endpoints have also been added (documentation [here](https://github.com/omarroth/invidious/wiki/Authenticated-Endpoints#get-apiv1authplaylists)).
Overall I'm quite pleased with how smoothly it has been rolled out and with the experience so far, and I'm exctited for how it can be extended and improved in future.
## [instances.invidio.us](https://instances.invidio.us)
It is now possible to view a list of public instances (as provided in the [wiki](https://github.com/omarroth/invidious/wiki/Invidious-Instances)) through an API or a pretty new interface [here](https://instances.invidio.us). It combines uptime information, statistics from each instance and basic information already provided in the wiki. I expect it should be much more user-friendly than compiling the information yourself, and is already used by [Invidition](https://codeberg.org/Booteille/Invidition) to provide a list of instances for users to choose from.
The site itself is licensed under the AGPLv3 and the source is available [here](https://github.com/omarroth/instances.invidio.us).
## Video unavailable [#811](https://github.com/omarroth/invidious/issues/811)
Many users have likely noticed this error message if using Invidious directly or through another service, such as FreeTube. This issue is caused by rate-limiting by Google, and is not a new issuee for projects like Invidious (notably [youtube-dl](https://github.com/ytdl-org/youtube-dl#http-error-429-too-many-requests-or-402-payment-required)) and appears to be affecting smaller, private instances as well.
There is not a permanent fix for administrators currently, however there is some information available [here](https://github.com/omarroth/invidious/issues/811#issuecomment-540017772) that may provide a temporary solution. Unfortanately, in most cases the best option is to wait for the instance to be unbanned or to move the instance to a different IP. A more informative error message is also now provided, which should help an administrator more quickly diagnose the problem.
For those interested, I would recommend following [#811](https://github.com/omarroth/invidious/issues/811) for any future progress on the issue.
## BAT verified publisher
I'm quite late to this announcement, however I'm pleased to mention that Invidious is now a BAT verified publisher! I would recommend looking [here](https://basicattentiontoken.org/about/) or [here](https://www.reddit.com/r/BATProject/comments/7cr7yc/new_to_bat_read_this_introduction_to_basic/) for learning more about what it is and how it works. Overall I think it makes an interesting substitute for services like Liberapay, and a (hopefully) much less-intrusive alternative to direct advertising.
BAT is combined under other cryptocurrencies below. Currently there's a fairly significant delay in payout, which is the reason for the large fluctuation in crypto donations between September and October (and also the reason for the late announcement).
## Release schedule
Currently I'm quite pleased with the current state of the project. There's plenty of things I'd still like to add, however at this point I expect the rate of most new additions will slow down a bit, with more focus on stabililty and any long-standing bugs.
Because of this, I'm planning on releasing a new version quarterly, with any necessary hotfixes being pushed as a new patch release as necessary. As always it will be possible to run Invidious directly from [master](https://github.com/omarroth/invidious/wiki/Updating) if you'd still like to have the lastest version.
I'll plan on providing finances each release, with a similar monthly breakdown as below.
## Finances for September 2019
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$64.37
- [Liberapay](https://liberapay.com/omarroth) : \$76.04
- Crypto : ~\$99.89 (converted from BAT, BCH, BTC)
- Total : \$240.30
### Expenses
- invidious-lb1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node6 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node7 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node8 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node9 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node10 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node11 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node12 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node13 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node14 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node15 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node16 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$135.00
## Finances for October 2019
- [Liberapay](https://liberapay.com/omarroth) : \$134.40
- Crypto : ~\$8.29 (converted from BAT, BCH, BTC)
- Total : \$142.69
### Expenses
- invidious-lb1 (nyc1) : \$5.00 (load balancer)
- invidious-lb2 (nyc1) : \$5.00 (load balancer)
- invidious-lb3 (nyc1) : \$5.00 (load balancer)
- invidious-lb4 (nyc1) : \$5.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node6 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node7 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node8 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node9 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node10 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node11 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node12 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node13 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node14 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node15 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node16 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node17 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node18 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$155.00
# 0.19.0 (2019-07-13)
# Version 0.19.0: Communities
Hello again everyone! Focus this month has mainly been on improving playback performance, along with a couple new features I'd like to announce. There have been [109 commits](https://github.com/omarroth/invidious/compare/0.18.0...0.19.0) this past month from 10 contributors.
This past month has seen the addition of Chinese (`zh-CN`) and Icelandic (`is`) translations. I would like to give a huge thanks to their respective translators, and again an enormous thanks to everyone who helps translate the site.
I'm delighted to mention that [FreeTube 0.6.0](https://github.com/FreeTubeApp/FreeTube) now supports 1080p thanks to the Invidious API. I would very much recommend reading the [relevant post](https://freetube.writeas.com/freetube-release-0-6-0-beta-1080p-and-a-lot-of-qol) for some more information on how it works, along with several other major improvements. Folks that are interested in adding similar functionality for their own projects should feel free to get in touch.
This past month there has been quite a bit of work on improving memory usage and improving download and playback speeds. As mentioned in the previous release, some extra hardware has been allocated which should also help with this. I'm still looking for ways to improve performance and feedback is always appreciated.
Along with performance, a couple quality of life improvements have been added, including author thumbnails and banners, clickable titles for embedded videos, and better styling for captions, among some other enhancements.
## Communities
Support for YouTube's [communities tab](https://creatoracademy.youtube.com/page/lesson/community-tab) has been added. It's a very interesting but surprisingly unknown feature. Essentially, providing comments for a channel, rather than a video, where an author can post updates for their subscribers.
It's commonly used to promote interesting links and foster discussion. I hope this feature helps people find more interesting content that otherwise would have been overlooked.
## For Developers
For accessing channel communities, an `/api/v1/channels/comments/:ucid` endpoint has been added, with similar behavior and schema to `/api/v1/comments/:id`, with an extra `attachment` field for top-level comments. More info on usage and available data can be found in the [wiki](https://github.com/omarroth/invidious/wiki/API#get-apiv1channelscommentsucid-apiv1channelsucidcomments).
An `/api/v1/auth/feeds` endpoint has been added for programmatically accessing a user's subscription feed, with options for displaying notifications and filtering an existing feed.
An `/api/v1/search/suggestions` endpoint has been added for retrieving suggestions for a given query.
## For Administrators
It is now possible to disable more resource intensive features, such as downloads and DASH functionality by adding `disable_proxy` to your config. See [#453](https://github.com/omarroth/invidious/issues/453) and the [Wiki](https://github.com/omarroth/invidious/wiki/Configuration) for more information and example usage. I expect this to be a big help for folks with limited bandwidth when hosting their own instances.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$38.39
- [Liberapay](https://liberapay.com/omarroth) : \$84.85
- Crypto : ~\$0.00 (converted from BCH, BTC)
- Total : \$123.24
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node6 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node7 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node8 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node9 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node10 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$105.00
The goal on Patreon has been updated to reflect the above expenses. As mentioned above, the main reason for more hardware is to improve playback and download speeds, although I'm still looking into improving performance without allocating more hardware.
As always I'm grateful for everyone's support and feedback. I'll see you all next month.
# 0.18.0 (2019-06-06)
# Version 0.18.0: Native Notifications and Optimizations
Hope everyone has been doing well. This past month there have been [97 commits](https://github.com/omarroth/invidious/compare/0.17.0...0.18.0) from 10 contributors. For the most part changes this month have been on optimizing various parts of the site, mainly subscription feeds and support for serving images and other assets.
I'm quite happy to mention that support for Greek (`el`) has been added, which I hope will continue to make the site accessible for more users.
Subscription feeds will now only update when necessary, rather than periodically. This greatly lightens the load on DB as well as making the feeds generally more responsive when changing subscriptions, importing data, and when receiving new uploads.
Caching for images and other assets should be greatly improved with [#456](https://github.com/omarroth/invidious/issues/456). JavaScript has been pulled out into separate files where possible to take advantage of this, which should result in lighter pages and faster load times.
This past month several people have encountered issues with downloads and watching high quality video through the site, see [#532](https://github.com/omarroth/invidious/issues/532) and [#562](https://github.com/omarroth/invidious/issues/562). For this coming month I've allocated some more hardware which should help with this, and I'm also looking into optimizing how videos are currently served.
## For Developers
`viewCount` is now available for `/api/v1/popular` and all videos returned from `/api/v1/auth/notifications`. Both also now provide `"type"` for indicating available information for each object.
An `/authorize_token` page is now available for more easily creating new tokens for use in applications, see [this comment](https://github.com/omarroth/invidious/issues/473#issuecomment-496230812) in [#473](https://github.com/omarroth/invidious/issues/473) for more details.
A POST `/api/v1/auth/notifications` endpoint is also now available for correctly returning notifications for 150+ channels.
## For Administrators
There are two new schema changes for administrators: `views` for adding view count to the popular page, and `feed_needs_update` for tracking feed changes.
As always the relevant migration scripts are provided which should run when following instructions for [updating](https://github.com/omarroth/invidious/wiki/Updating). Otherwise, adding `check_tables: true` to your config will automatically make the required changes.
## Native Notifications
[<img src="https://omar.yt/81c3ae1839831bd9300d75e273b6552a86dc2352/native_notification.png" height="160" width="472">](https://omar.yt/81c3ae1839831bd9300d75e273b6552a86dc2352/native_notification.png "Example of native notification, available in repository under screnshots/native_notification.png")
It is now possible to receive [Web notifications](https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API) from subscribed channels.
You can enable notifications by clicking "Enable web notifications" in your preferences. Generally they appear within 20-60 seconds of a new video being uploaded, and I've found them to be an enormous quality of life improvement.
Although it has been fairly stable, please feel free to report any issues you find [here](https://github.com/omarroth/invidious/issues) or emailing me directly at omarroth@protonmail.com.
Important to note for administrators is that instances require [`use_pubsub_feeds`](https://github.com/omarroth/invidious/wiki/Configuration) and must be served over HTTPS in order to correctly send web notifications.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$49.73
- [Liberapay](https://liberapay.com/omarroth) : \$100.57
- Crypto : ~\$11.12 (converted from BCH, BTC)
- Total : \$161.42
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node6 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$85.00
See you all next month!
# 0.17.0 (2019-05-06)
# Version 0.17.0: Player and Authentication API
Hello everyone! This past month there have been [130 commits](https://github.com/omarroth/invidious/compare/0.16.0..0.17.0) from 11 contributors. Large focus has been on improving the player as well as adding API access for other projects to make use of Invidious.
There have also been significant changes in preparation of native notifications (see [#195](https://github.com/omarroth/invidious/issues/195), [#469](https://github.com/omarroth/invidious/issues/469), [#473](https://github.com/omarroth/invidious/issues/473), and [#502](https://github.com/omarroth/invidious/issues/502)), and playlists. I expect to see both of these to be added in the next release.
I'm quite happy to mention that new translations have been added for Esperanto (`eo`) and Ukranian (`uk`). Support for pluralization has also been added, so it should now be possible to make a more native experience for speakers in other languages. The system currently in place is a bit cumbersome, so for any help using this feature please get in touch!
## For Administrators
A `check_tables` option has been added to automatically migrate without the use of custom scripts. This method will likely prove to be much more robust, and is currently enabled for the official instance. To prevent any unintended changes to the DB, `check_tables` is disabled by default and will print commands before executing. Having this makes features that require schema changes much easier to implement, and also makes it easier to upgrade from older instances.
As part of [#303](https://github.com/omarroth/invidious/issues/303), a `cache_annotations` option has been added to speed up access from `/api/v1/annotations/:id`. This vastly improves the experience for videos with annotations. Currently, only videos that contain legacy annotations will be cached, which should help keep down the size of the cache. `cache_annotations` is disabled by default.
## For Developers
An authorization API has been added which allows other applications to read and modify user subscriptions and preferences (see [#473](https://github.com/omarroth/invidious/issues/473)). Support for accessing user feeds and notifications is also planned. I believe this feature is a large step forward in supporting syncing subscriptions and preferences with other services, and I'm excited to see what other developers do with this functionality.
Support for server-to-client push notifications is currently underway. This allows Invidious users, as well as applications using the Invidious API, to receive notifications about uploads in near real-time (see #469). An `/api/v1/auth/notifications` endpoint is currently available. I'm very excited for this to be integrated into the site, and to see how other developers use it in their own projects.
An `/api/v1/storyboards/:id` endpoint has been added for accessing storyboard URLs, which allows developers to add video previews to their players (see below).
## Player
Support for annotations has been merged into master with [#303](https://github.com/omarroth/invidious/issues/303), thanks @glmdgrielson! Annotations can be enabled by default or only for subscribed channels, and can also be toggled per video. I'm extremely proud of the progress made here, and I'm so thankful to everyone that has made this possible. I expect this to be the last update with regards to supporting annotations, but I do plan on continuing to improve the experience as much as possible.
The Invidious player now supports video previews and a corresponding API endpoint `/api/v1/storyboards/:id` has been added for developers looking to add similar functionality to their own players. Not much else to say here. Overall it's a very nice quality of life improvement and an attractive addition to the site.
It is now possible to select specific sources for videos provided using DASH (see [#34](https://github.com/omarroth/invidious/issues/34)). I would consider support largely feature complete, although there are still several issues to be fixed before I would consider it ready for larger rollout. You can watch videos in 1080p by setting `Default quality` to `dash` in your preferences, or by adding `&quality=dash` to the end of video URLs.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$49.73
- [Liberapay](https://liberapay.com/omarroth) : \$63.03
- Crypto : ~\$0.00 (converted from BCH, BTC)
- Total : \$112.76
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$80.00
That's all for now. Thanks!
# 0.16.0 (2019-04-06)
# Version 0.16.0: API Improvements and Annotations
Hello again! This past month has seen [116 commits](https://github.com/omarroth/invidious/compare/0.15.0..0.16.0) from 13 contributors and a couple important changes I'd like to announce.
A privacy policy is now available [here](https://invidio.us/privacy). I've done my best to explain things as clearly as possible without oversimplifying, and would very much recommend reading it if you're concerned about your privacy and want to learn more about how Invidious uses your data. Please let me know if there is anything that needs clarification.
I'm also very happy to announce that a Spanish translation has been added to the site. You can use it with `?hl=es` or by setting `es` as your default locale. As always I'm extremely grateful to translators for making the site accessible to more people.
## For Administrators
Invidious now supports server-to-server [push notifications](https://developers.google.com/youtube/v3/guides/push_notifications). This uses [PubSubHubbub](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html) to automatically handle new videos sent to an instance, which is less resource intensive and generally faster. Note that it will not pull all videos from a subscribed channel, so recommended usage is in addition to `channel_threads`. Using PubSub requires a valid `domain` that updates can be sent to, and a random string that can be used to sign updates sent to the instance. You can enable it by adding `use_pubsub_feeds: true` to your `config.yml`. See [Configuration](https://github.com/omarroth/invidious/wiki/Configuration) for more info.
Unfortunately there are a couple necessary changes to the DB to support `liveNow` and `premiereTimestamp` in subscription feeds. Migration scripts have been provided that should be used automatically if following the instructions [here](https://github.com/omarroth/invidious/wiki/Updating).
You can now configure default user preferences for your instance. This allows you to set default locale, player preferences, and more. See [#415](https://github.com/omarroth/invidious/issues/415) for more details and example usage.
## For Developers
The [fields](https://developers.google.com/youtube/v3/getting-started#fields) API has been added with [#429](https://github.com/omarroth/invidious/pull/429) and is now supported on all JSON endpoints, thanks [**@afrmtbl**](https://github.com/afrmtbl)! Synax is straight-forward and can be used to reduce data transfer and create a simpler response for debugging. You can see an example [here](https://invidio.us/api/v1/videos/CvFH_6DNRCY?pretty=1&fields=title,recommendedVideos/title). I've been quite happy using it and hope it is similarly useful for others.
An `/api/v1/annotations/:id` endpoint has been added for pulling legacy annotation data from [this](https://archive.org/details/youtubeannotations) archive, see below for more details. You can also access annotation data available on YouTube using `?source=youtube`, although this will only return card data as legacy annotations were deleted on January 15th.
A couple minor changes to existing endpoints:
- A `premiereTimestamp` field has been added to `/api/v1/videos/:id`
- A `sort_by` param has been added to `/api/v1/comments/:id`, supports `new`, `top`.
More info is available in the [documentation](https://github.com/omarroth/invidious/wiki/API).
## Annotations
I'm pleased to announce that annotation data is finally available from the roughly 1.4 billion videos archived as part of [this](https://www.reddit.com/r/DataHoarder/comments/aa6czg/youtube_annotation_archive/) project. They are accessible from the Internet Archive [here](https://archive.org/details/youtubeannotations) or as a 355GB torrent, see [here](https://www.reddit.com/r/DataHoarder/comments/b7imx9/youtube_annotation_archive_annotation_data_from/) for more details. A corresponding `/api/v1/annotations/:id` endpoint has been added to Invidious which uses the collection from IA to provide legacy annotations.
Support for them in the player is possible thanks to [this](https://github.com/afrmtbl/videojs-youtube-annotations) plugin developed by [**@afrmtbl**](https://github.com/afrmtbl). A PR for adding support to the site is available as [#303](https://github.com/omarroth/invidious/pull/303). There's also an [extension](https://github.com/afrmtbl/AnnotationsRestored) for overlaying them on top of the YouTube player (again thanks to [**@afrmtbl**](https://github.com/afrmtbl)), and an [extension](https://tech234a.bitbucket.io/AnnotationsReloaded?src=invidious) for hooking into code still present in the YouTube player itself, developed by [**@tech234a**](https://github.com/tech234a).
I would recommend reading the [official announcement](https://www.reddit.com/r/DataHoarder/comments/b7imx9/youtube_annotation_archive_annotation_data_from/) for more details. I would like to again thank everyone that helped contribute to this project.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$42.42
- [Liberapay](https://liberapay.com/omarroth) : \$70.11
- Crypto : ~\$1.76 (converted from BCH, BTC, BSV)
- Total : \$114.29
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node5 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$80.00
This past month the site saw a couple abnormal peaks in traffic, so an additional webserver has been added to match the increased load. The goal on Patreon has been updated to match the above expenses.
Thanks everyone!
# 0.15.0 (2019-03-06)
## Version 0.15.0: Preferences and Channel Playlists
The project has seen quite a bit of activity this past month. Large focus has been on fixing bugs, but there's still quite a few new features I'm happy to announce. There have been [133 commits](https://github.com/omarroth/invidious/compare/0.14.0...0.15.0) from 15 contributors this past month.
As a couple miscellaneous changes, a couple [nice screenshots](https://github.com/omarroth/invidious#screenshots) have been added to the README, so folks can see more of what the site has to offer without creating an account.
The footer has also been cleaned up quite a bit, and now displays the current version, so it's easier to know what features are available from the current instance.
## For Administrators
This past month there has been a minor release - `0.14.1` - which fixes a breaking change made by YouTube for their polymer redesign.
There have been several new features that unfortunately require a database migration. There are migration scripts provided in `config/migrate-scripts`, and the [wiki](https://github.com/omarroth/invidious/wiki/Updating) has instructions for automatically applying them. I'll do my best to keep those changes to a minimum, and expect to see a corresponding script to automatically apply any new changes.
Administrator preferences have been added with [#312](https://github.com/omarroth/invidious/issues/312), which allows administrators to customize their instance. Administrators can change the order of feed menus, change the default homepage, disable open registration, and several other options. There's a short 'how-to' [here](https://github.com/omarroth/invidious/issues/312#issuecomment-468831842), and the new options are documented [here](https://github.com/omarroth/invidious/wiki/Configuration).
An `/api/v1/stats` endpoint has been added with [#356](https://github.com/omarroth/invidious/issues/356), which reports the instance version and number of active users. Statistics are disabled by default, and can be enabled in administator preferences. Statistics for the official instance are available [here](https://invidio.us/api/v1/stats?pretty=1).
## For Developers
`/api/v1/channels/:ucid` now provides an `autoGenerated` tag, which returns true for [topic channels](https://www.youtube.com/channel/UCE80FOXpJydkkMo-BYoJdEg), and larger [genre channels](https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ) generated by YouTube. These channels don't have any videos of their own, so `latestVideos` will be empty. It is recommended instead to display a list of playlists generated by YouTube.
You can now pull a list of playlists from a channel with `/api/v1/channels/playlists/:ucid`. Supported options are documented in the [wiki](https://github.com/omarroth/invidious/wiki/API#get-apiv1channelsplaylistsucid-apiv1channelsucidplaylists). Pagination is handled with a `continuation` token, which is generated on each call. Of note is that auto-generated channels currently have one page of results, and subsequent calls will be empty.
For quickly pulling the latest 30 videos from a channel, there is now `/api/v1/channels/latest/:ucid`. It is much faster than a call to `/api/v1/channels/:ucid`. It will not convert an author name to a valid ucid automatically, and will not return any extra data about a channel.
## Preferences
In addition to administrator preferences mentioned above, you can now change your preferences without an account (see [#42](https://github.com/omarroth/invidious/pull/42)). I think this is quite an improvement to the usability of the site, and is much friendlier to privacy-conscious folks that don't want to make an account. Preferences will be automatically imported to a newly created account.
Several issues with sorting subscriptions have been fixed, and `/manage_subscriptions` has been sped up significantly. The subscription feed has also seen a bump in performance. Delayed notifications have unfortunately started becoming a problem now that there are more users on the site. Some new changes are currently being tested which should mostly resolve the issue, so expect to see more in the next release.
## Channel Playlists
You can now view available playlists from a channel, and [auto-generated channels](https://invidio.us/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ) are no longer empty. You can sort as you would on YouTube, and all the same functionality should be available. I'm quite pleased to finally have it implemented, since it's currently the only data available from the above mentioned auto-generated channels, and makes it much easier to consume music on the site.
There's also more discussion on improving Invidious for streaming music in [#304](https://github.com/omarroth/invidious/issues/304), and adding support for music.youtube.com. I would appreciate any thoughts on how to improve that experience, since it's a very large and useful part of YouTube.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$42.42
- [Liberapay](https://liberapay.com/omarroth) : \$30.97
- Crypto : ~\$0.00 (converted from BCH, BTC)
- Total : \$73.39
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$75.00
It's been very humbling to see how fast the project has grown, and I look forward to making the site even better. Thank you everyone.
# 0.14.0 (2019-02-06)
## Version 0.14.0: Community
This last month several contributors have made improvements specifically for the people using this project. New pages have been added to the wiki, and there is now a [Matrix Server](https://riot.im/app/#/room/#invidious:matrix.org) and IRC channel so it's easier and faster for people to ask questions or chat. There have been [101 commits](https://github.com/omarroth/invidious/compare/0.13.0...0.14.0) since the last major release from 8 contributors.
It has come to my attention in the past month how many people are self-hosting, and I would like to make it easier for them to do so.
With that in mind, expect future releases to have a section for For Administrators (if any relevant changes) and For Developers (if any relevant changes).
## For Administrators
This month the most notable change for administrators is releases. As always, there will be a major release each month. However, a new minor release will be made whenever there are any critical bugs that need to be fixed.
This past month is the first time there has been a minor release - `0.13.1` - which fixes a breaking change made by YouTube. Administrators using versioning for their instances will be able to rely on the latest version, and should have a system in place to upgrade their instance as soon as a new release is available.
Several new pages have been added to the [wiki](https://github.com/omarroth/invidious/wiki#for-administrators) (as mentioned below) that will help administrators better setup their own instances. Configuration, maintenance, and instructions for updating are of note, as well as several common issues that are encountered when first setting up.
## For Developers
There's now a `pretty=1` parameter for most endpoints so you can view data easily from the browser, which is convenient for debugging and casual use. You can see an example [here](https://invidio.us/api/v1/videos/CvFH_6DNRCY?pretty=1).
Unfortunately the `/api/v1/insights/:id` endpoint is no longer functional, as YouTube removed all publicly available analytics around a month ago. The YouTube endpoint now returns a 404, so it's unlikely it will be functional again.
## Wiki
There have been a sizable number of changes to the Wiki, including a [list of public Invidious instances](https://github.com/omarroth/invidious/wiki/Invidious-Instances), the [list of extensions](https://github.com/omarroth/invidious/wiki/Extensions), and documentation for administrators (as mentioned above) and developers.
The wiki is editable by anyone so feel free to add anything you think is useful.
## Matrix & IRC
Thee is now a [Matrix Server](https://riot.im/app/#/room/#invidious:matrix.org) for Invidious, so please feel free to hop on if you have any questions or want to chat. There is also a registered IRC channel: #invidious on Freenode which is bridged to Matrix.
## Features
Several new features have been added, including a download button, creator hearts and comment colors, and a French translation.
There have been fixes for Google logins, missing text in locales, invalid links to genre channels, and better error handling in the player, among others.
Several fixes and features are omitted for space, so I'd recommend taking a look at the [compare tab](https://github.com/omarroth/invidious/compare/0.13.0...0.14.0) for more information.
## Annotations Update
Annotations were removed January 15th, 2019 around15:00 UTC. Before they were deleted we were able to archive annotations from around 1.4 billion videos. I'd very much recommend taking a look [here](https://www.reddit.com/r/DataHoarder/comments/al7exa/youtube_annotation_archive_update_and_preview/) for more information and a list of acknowledgements. I'm extremely thankful to everyone who was able to contribute and I'm glad we were able to save such a large part of internet history.
There's been large strides in supporting them in the player as well, which you can follow in [#303](https://github.com/omarroth/invidious/pull/303). You can preview the functionality at https://dev.invidio.us . Before they are added to the main site expect to see an option to disable them, both site-wide and per video.
Organizing this project has unfortunately taken up quite a bit of my time, and I've been very grateful for everyone's patience.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth) : \$49.42
- [Liberapay](https://liberapay.com/omarroth) : \$27.89
- Crypto : ~\$0.00 (converted from BCH, BTC)
- Total : \$77.31
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$75.00
As always I'm grateful for everyone's contributions and support. I'll see you all in March.
# 0.13.1 (2019-01-19)
##
# 0.13.0 (2019-01-06)
## Version 0.13.0: Translations, Annotations, and Tor
I hope everyone had a happy New Year! There's been a couple new additions since last release, with [44 commits](https://github.com/omarroth/invidious/compare/0.12.0...0.13.0) from 9 contributors. It's been quite a year for the project, and I hope to continue improving the project into 2019! Starting off the new year:
## Translations
I'm happy to announce support for translations has been added with [`a160c64`](https://github.com/omarroth/invidious/a160c64). Currently, there is support for:
- Arabic (`ar`)
- Dutch (`nl`)
- English (`en-US`)
- German (`de`)
- Norwegian Bokmål (`nb_NO`)
- Polish (`pl`)
- Russian (`ru`)
Which you can change in your preferences under `Language`. You can also add `&hl=LANGUAGE` to the end of any request to translate it to your preferred language, for example https://invidio.us/?hl=ru. I'd like to say thank you again to everyone who has helped translate the site! I've mentioned this before, but I'm delighted that so many people find the project useful.
## Annotations
Recently, [YouTube announced that all annotations will be deleted on January 15th, 2019](https://support.google.com/youtube/answer/7342737). I believe that annotations have a very important place in YouTube's history, and [announced a project to archive them](https://www.reddit.com/r/DataHoarder/comments/aa6czg/youtube_annotation_archive/).
I expect annotations to be supported in the Invidious player once archiving is complete (see [#110](https://github.com/omarroth/invidious/issues/110) for details), and would also like to host them for other developers to use in their projects.
The code is available [here](https://github.com/omarroth/archive), and contains instructions for running a worker if you would like to contribute. There's much more information available in the announcement as well for anyone who is interested.
## Tor
I unfortunately missed the chance to mention this in the previous release, but I'm now happy to announce that you can now view Invidious through Tor at the following links:
kgg2m7yk5aybusll.onion
axqzx4s6s54s32yentfqojs3x5i7faxza6xo3ehd4bzzsg2ii4fv2iid.onion
Invidious is well suited to use through Tor, as it does not require any JS and is fairly lightweight. I'd recommend looking [here](https://diasp.org/posts/10965196) and [here](https://www.reddit.com/r/TOR/comments/a3c1ak/you_can_now_watch_youtube_videos_anonymously_with/) for more details on how to use the onion links, and would like to say thank you to [/u/whonix-os](https://www.reddit.com/user/whonix-os) for suggesting it and providing support setting setting them up.
## Popular and Trending
You can now easily view videos trending on YouTube with [`a16f967`](https://github.com/omarroth/invidious/a16f967). It also provides support for viewing YouTube's various categories categories, such as `News`, `Gaming`, and `Music`. You can also change the `region` parameter to view trending in different countries, which should be made easier to use in the coming weeks.
A link to `/feed/popular` has also been added, which provides a list of videos sorted using the algorithm described [here](https://github.com/omarroth/invidious/issues/217#issuecomment-436503761). I think it better reflects what users watch on the site, but I'd like to hear peoples' thoughts on this and on how it could be improved.
## Finances
### Donations
- [Patreon](https://www.patreon.com/omarroth): \$64.63
- [Liberapay](https://liberapay.com/omarroth) : \$30.05
- Crypto : ~\$28.74 (converted from BCH, BTC)
- Total : \$123.42
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$75.00
### What will happen with what's left over?
I believe this is the first month that all expenses have been fully paid for by donations. Thank you! I expect to allocate the current amount for hardware to improve performance and for hosting annotation data, as mentioned above.
Anything that is left over is kept to continue hosting the project for as long as possible. Thank you again everyone!
I think that's everything for 2018. There's lots still planned, and I'm very excited for the future of this project!
# 0.12.0 (2018-12-06)
## Version 0.12.0: Accessibility, Privacy, Transparency
Hello again, it's been a while! A lot has happened since the last release. Invidious has seen [134 commits](https://github.com/omarroth/invidious/compare/0.11.0...0.12.0) from 3 contributors, and I'm quite happy with the progress that has been made. I enjoyed this past month, and I believe having a monthly release schedule allows me to focus on more long-term improvements, and I hope people enjoy these more substantial updates as well.
## Accessability and Privacy
There have been quite a few improvements for user privacy, and improvements that improve accessibility for both people and software.
You can now view comments without JS with [`19516ea`](https://github.com/omarroth/invidious/19516ea). Currently, this functionality is limited to the first 20 comments, but expect this functionality to be improved to come as close to the JS version as possible. Folks can track progress in [#204](https://github.com/omarroth/invidious/issues/204).
Invidious is now compatible with [LibreJS](https://www.gnu.org/software/librejs/), and provides license information [here](https://invidio.us/licenses) with [`7f868ec`](https://github.com/omarroth/invidious/7f868ec). As expected, all libraries are compatible under the AGPLv3, and I'm happy to mention that no other changes were required to make Invidious compatible with LibreJS.
A DNT policy has also been added with [`9194f47`](https://github.com/omarroth/invidious/9194f47) for compatibility with [Privacy Badger](https://www.eff.org/privacybadger). I'm pleased to mention that here too no other changes had to be made in order for Invidious to be compatible with this extension. I expect a privacy policy to be added soon as well, so users can better understand how Invidious uses their data.
For users that are visually impaired, there is now a text CAPTCHA available so it's easier to register and login. Because of the simple front-end of the project, I expect screen readers and other software to be able to easily understand the site's interface. In combination with the ability to listen-only, I believe Invidious is much more accessible than YouTube. Folks can read [#244](https://github.com/omarroth/invidious/issues/244) for more details, and I would very much appreciate any feedback on how this can be improved.
## User Preferences
There have been a lot of improvements to preferences. Options for enabling audio-only by default and continuous playback (autoplay) have been added with [`e39dec9`](https://github.com/omarroth/invidious/e39dec9), with [`4b76b93`](https://github.com/omarroth/invidious/4b76b93), respectively. Users can also now mark videos as watched from their subscription feed and view watch history by going to https://invidio.us/feed/history. I expect to add more information to history so that it's easier to use. Folks can track progress with [#182](https://github.com/omarroth/invidious/issues/182). As with all data Invidious keeps, watch history can be exported [here](https://invidio.us/data_control).
Users can now delete their account with [`b9c29bf`](https://github.com/omarroth/invidious/b9c29bf). This will remove _all_ user data from Invidious, including session IDs, watch history, and subscriptions. As mentioned above, it's easy to export that data and import it to a local instance, or export subscriptions for use with other applications such as [FreeTube](https://github.com/FreeTubeApp/FreeTube) or [NewPipe](https://github.com/TeamNewPipe/NewPipe).
## Translation and Internationalis(z)ation
Invidious has been approved for hosting by Weblate, available [here](https://hosted.weblate.org/projects/invidious/translations/). At the time of writing, translations for Arabic, Dutch, German, Polish, and Russian are currently underway. I would like to say a very big thank you to everyone working on them, and I hope to fully support them within around 2 weeks. Folks can track progress with [#251](https://github.com/omarroth/invidious/issues/251).
## Transperency and Finances
For the sake of transparency, I plan on publishing each month's finances. This is currently already done on Liberapay and Patreon, but there is not a total amount currently provided anywhere, and I would also like to include expenses to provide a better explanation of how patrons' money is being spent.
### Donations
- [Patreon](https://www.patreon.com/omarroth): \$43.60 (Patreon takes roughly 9%)
- [Liberapay](https://liberapay.com/omarroth) : \$22.10
- Crypto : ~\$1.25 (converted from BCH, BTC)
- Total : \$66.95
### Expenses
- invidious-load1 (nyc1) : \$10.00 (load balancer)
- invidious-update1 (s-1vcpu-1gb) : \$5.00 (updates feeds)
- invidious-node1 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node2 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node3 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-node4 (s-1vcpu-1gb) : \$5.00 (web server)
- invidious-db1 (s-4vcpu-8gb) : \$40.00 (database)
- Total : \$75.00
I'd be happy to provide any explanation where needed. I would also like to thank everyone who donates, it really helps and I can't say how happy I am to see that so many people find it valuable.
That's all for this month. I wish everyone the best for the holidays, and I'll see you all again in January!
# 0.11.0 (2018-10-23)
## Week 11: FreeTube and Styling
This past Friday I'm been very excited to see that FreeTube version [0.4.0](https://github.com/FreeTubeApp/FreeTube/tree/0.4.0) has been released! I'd recommend taking a look at the official patch notes, but to spoil a little bit here: FreeTube now uses the Invidious API for _all_ requests previously sent to YouTube, and has also seen support for playlists, keyboard shortcuts, and more default settings (speed, autoplay, and subtitles). I'm happy to see that FreeTube has reached 500 stars on Github, and I think it's very much deserved. I'd recommend keeping an eye on the newly-launched [FreeTube blog](https://freetube.writeas.com/) for updates on the project.
Quite a few styling changes have been added this past week, including channel subscriber count to the subscribe and unsubscribe buttons. The changes sound small, but they've been a very big improvement and I'm quite satisfied with how they look. Also to note is that partial support for duration in thumbnails have been added with [#202](https://github.com/omarroth/invidious/issues/202). Overall, I think the site is becoming much more pleasing visually, and I hope to continue to improve it.
I've been very pleased to see Invidious in its current state, and I believe it's many times more mature compared to even a month ago. Changes have also started slowing down a bit as it's become more mature, and therefore I'd like to transition to a monthly update schedule in order to provide more comprehensive updates for everyone. I want to thank you all for helping me reach this point. I can't say how happy I am for Invidious to be where it is now.
Enjoy the rest of your week everyone, I'll see you in November!
# 0.10.0 (2018-10-16)
## Week 10: Subscriptions
This week I'm happy to announce that subscriptions have been drastically sped up with
35e63fa. As I mentioned last week, this essentially "caches" a user's feed, meaning that operations that previously took 20 seconds or timed out, now can load in under a second. I'd take a look at [#173](https://github.com/omarroth/invidious/issues/173) for a sample benchmark. Previously features that made Invidious's feed so useful, such as filtering by unseen and by author would take too long to load, and so instead would timeout. I'm very happy that this has been fixed, and folks can get back to using these features.
Among some smaller features that have been added this week include [#118](https://github.com/omarroth/invidious/issues/118), which adds, in my opinion, some very attractive subscribe and unsubscribe buttons. I think it's also a bit of a functional improvement as well, since it doesn't require a user to reload the page in order to subscribe or unsubscribe to a channel, and also gives the opportunity to put the channel's sub count on display.
An option to swap between Reddit and YouTube comments without a page reload has been added with
5eefab6, bringing it somewhat closer in functionality to the popular [AlienTube](https://github.com/xlexi/alientube) extension, on which it is based (although the extension unfortunately appears now to be fragmented).
As always, there are a couple smaller improvements this week, including some minor fixes for geo-bypass with
e46e618 and [`245d0b5`](https://github.com/omarroth/invidious/245d0b5), playlist preferences with [`81b4477`](https://github.com/omarroth/invidious/81b4477), and YouTube comments with [`02335f3`](https://github.com/omarroth/invidious/02335f3).
This coming week I'd also recommend keeping an eye on the excellent [FreeTube](https://github.com/FreeTubeApp/FreeTube), which is looking forward to a new release. I've been very lucky to work with [**@PrestonN**](https://github.com/PrestonN) for the past few weeks to improve the Invidious API, and I'm quite looking forward to the new release.
That's all for this week folks, thank you all again for your continued interest and support.
# 0.9.0 (2018-10-08)
## Week 9: Playlists
Not as much to announce this week, but I'm still quite happy to announce a couple things, namely:
Playback support for playlists has finally been added with [`88430a6`](https://github.com/omarroth/invidious/88430a6). You can now view playlists with the `&list=` query param, as you would on YouTube. You can also view mixes with the mentioned `&list=`, although they require some extra handling that I would like to add in the coming week, as well as adding playlist looping and shuffle. I think playback support has been a roadblock for more exciting features such as [#114](https://github.com/omarroth/invidious/issues/114), and I look forward to improving the experience.
Comments have had a bit of a cosmetic upgrade with [#132](https://github.com/omarroth/invidious/issues/132), which I think helps better distinguish between Reddit and YouTube comments, as it makes them appear similarly to their respective sites. You can also now switch between YouTube and Reddit comments with a push of a button, which I think is quite an improvement, especially for newer or less popular videos with fewer comments.
I've had a small breakthrough in speeding up users' subscription feeds with PostgreSQL's [materialized views](https://www.postgresql.org/docs/current/static/rules-materializedviews.html). Without going into too much detail, materialized views essentially cache the result of a query, making it possible to run resource-intensive queries once, rather than every time a user visits their feed. In the coming week I hope to push this out to users, and hopefully close [#173](https://github.com/omarroth/invidious/issues/173).
I haven't had as much time to work on the project this week, but I'm quite happy to have added some new features. Have a great week everyone.
# 0.8.0 (2018-10-02)
## Week 8: Mixes
@@ -29,6 +717,7 @@ A [CHANGELOG](https://github.com/omarroth/invidious/blob/master/CHANGELOG.md) ha
Recently, users have been reporting 504s when attempting to access their subscriptions, which is tracked in [#173](https://github.com/omarroth/invidious/issues/173). This is most likely caused by an uptick in usage, which I am absolutely grateful for, but unfortunately has resulted in an increase in costs for hosting the site, which is why I will be bumping my goal on Patreon from $60 to $80. I would appreciate any feedback on how subscriptions could be improved.
Other minor improvements include:
- Additional regions added to bypass geo-block with [`9a78523`](https://github.com/omarroth/invidious/9a78523)
- Fix for playlists containing less than 100 videos (previously shown as empty) with [`35ac887`](https://github.com/omarroth/invidious/35ac887)
- Fix for `published` date for Reddit comments (previously showing negative seconds) with [`6e09202`](https://github.com/omarroth/invidious/6e09202)
@@ -41,7 +730,7 @@ Thank you everyone for your support!
Hello again! This week I'm happy to mention a couple new features to search as well as some miscellaneous usability improvements.
You can now constrain your search query to a specific channel with the `channel:CHANNEL` filter (see [#165](https://github.com/omarroth/invidious/issues/165) for more details). Unfortunately, other search filters combined with channel search are not yet supported. I hope to add support for them in the coming weeks.
You can now constrain your search query to a specific channel with the `channel:CHANNEL` filter (see [#165](https://github.com/omarroth/invidious/issues/165) for more details). Unfortunately, other search filters combined with channel search are not yet supported. I hope to add support for them in the coming weeks.
You can also now search only your subscriptions by adding `subscriptions:true` to your query (see [#30](https://github.com/omarroth/invidious/issues/30) for more details). It's not quite ready for widespread use but I would appreciate feedback as the site updates to fully support it. Other search filters are not yet supported with `subscriptions:true`, but I hope to add more functionality to this as well.
@@ -67,7 +756,7 @@ A potential XSS vector has also been fixed in YouTube comments with [`8c45694`](
All the above vulnerabilities were brought to my attention by someone who wishes to remain anonymous, but I would like to say again here how thankful I am. If anyone else would like to get in touch please feel free to email me at omarroth@hotmail.com or omarroth@protonmail.com.
This week a couple changes have been made to better protect user's privacy as well.
This week a couple changes have been made to better protect user's privacy as well.
All CSS and JS assets are now served locally with [`3ec684a`](https://github.com/omarroth/invidious/3ec684a), which means users no longer need to whitelist unpkg.com. Although I personally have encountered few issues, I understand that many folks would like to keep their browsing activity contained to as few parties as possible. In the coming week I also hope to proxy YouTube images, so that no user data is sent to Google.
YouTube links in comments now should redirect properly to the Invidious alternate with [`1c8bd67`](https://github.com/omarroth/invidious/1c8bd67) and [`cf63c82`](https://github.com/omarroth/invidious/cf63c82), so users can more easily evade Google tracking.
@@ -117,7 +806,7 @@ I'd also like to announce that I've set up an account on [Liberapay](https://lib
[Two weeks ago](https://github.com/omarroth/invidious/releases/tag/0.1.0) I mentioned adding 1080p support into the player. Currently, the only thing blocking is [#207](https://github.com/videojs/http-streaming/pull/207) in the excellent [http-streaming](https://github.com/videojs/http-streaming) library. I hope to work with the videojs team to merge it soon and finally implement 1080p support!
That's all for this week, thank you again everyone for your support!
That's all for this week, thank you again everyone for your support!
# 0.2.0 (2018-09-06)
@@ -132,9 +821,9 @@ A couple of miscellaneous features and bugfixes:
- You can now login to Invidious simultaneously from multiple devices - [#109](https://github.com/omarroth/invidious/issues/109)
- Added a note for scheduled livestreams - [#124](https://github.com/omarroth/invidious/issues/124)
- Added a note for scheduled livestreams - [#124](https://github.com/omarroth/invidious/issues/124)
- Changed YouTube comment header to "View x comments" - [#120](https://github.com/omarroth/invidious/issues/120)
- Changed YouTube comment header to "View x comments" - [#120](https://github.com/omarroth/invidious/issues/120)
Enjoy your week everyone!

205
README.md
View File

@@ -1,9 +1,11 @@
# Invidious
[![Build Status](https://travis-ci.org/omarroth/invidious.svg?branch=master)](https://travis-ci.org/omarroth/invidious)
## Invidious is an alternative front-end to YouTube
- Audio-only (and no need to keep window open on mobile)
- [Open-source](https://github.com/omarroth/invidious) (AGPLv3 licensed)
- Audio-only mode (and no need to keep window open on mobile)
- [Free software](https://github.com/omarroth/invidious) (AGPLv3 licensed)
- No ads
- No need to create a Google account to save subscriptions
- Lightweight (homepage is ~4 KB compressed)
@@ -18,16 +20,36 @@
- Set default player options (speed, quality, autoplay, loop)
- Does not require JS to play videos
- Support for Reddit comments in place of YT comments
- Import/Export subscriptions, watch history, preference
- Import/Export subscriptions, watch history, preferences
- Does not use any of the official YouTube APIs
- Developer [API](https://github.com/omarroth/invidious/wiki/API)
Liberapay: https://liberapay.com/omarroth
Patreon: https://patreon.com/omarroth
BTC: 356DpZyMXu6rYd55Yqzjs29n79kGKWcYrY
BCH: qq4ptclkzej5eza6a50et5ggc58hxsq5aylqut2npk
## Invidious Instances
See [Invidious Instances](https://github.com/omarroth/invidious/wiki/Invidious-Instances) for a full list of publicly available instances.
### Official Instances
- [invidio.us](https://invidio.us) 🇺🇸
Issuer: Let's Encrypt, [SSLLabs Verification](https://www.ssllabs.com/ssltest/analyze.html?d=invidio.us)
- [kgg2m7yk5aybusll.onion](http://kgg2m7yk5aybusll.onion)
- [axqzx4s6s54s32yentfqojs3x5i7faxza6xo3ehd4bzzsg2ii4fv2iid.onion](http://axqzx4s6s54s32yentfqojs3x5i7faxza6xo3ehd4bzzsg2ii4fv2iid.onion)
## Screenshots
| Player | Preferences | Subscriptions |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| [<img src="screenshots/01_player.png?raw=true" height="140" width="280">](screenshots/01_player.png?raw=true) | [<img src="screenshots/02_preferences.png?raw=true" height="140" width="280">](screenshots/02_preferences.png?raw=true) | [<img src="screenshots/03_subscriptions.png?raw=true" height="140" width="280">](screenshots/03_subscriptions.png?raw=true) |
| [<img src="screenshots/04_description.png?raw=true" height="140" width="280">](screenshots/04_description.png?raw=true) | [<img src="screenshots/05_preferences.png?raw=true" height="140" width="280">](screenshots/05_preferences.png?raw=true) | [<img src="screenshots/06_subscriptions.png?raw=true" height="140" width="280">](screenshots/06_subscriptions.png?raw=true) |
## Installation
See [Invidious-Updater](https://github.com/tmiland/Invidious-Updater) for a self-contained script that can automatically install and update Invidious.
### Docker:
#### Build and start cluster:
@@ -51,53 +73,123 @@ $ docker volume rm invidious_postgresdata
$ docker-compose build
```
### Installing [Crystal](https://github.com/crystal-lang/crystal):
### Linux:
#### On Arch:
#### Install dependencies
```bash
$ sudo pacman -S shards crystal
$ shards
# Arch Linux
$ sudo pacman -S base-devel shards crystal librsvg postgresql
# Ubuntu or Debian
# First you have to add the repository to your APT configuration. For easy setup just run in your command line:
$ curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash
# That will add the signing key and the repository configuration. If you prefer to do it manually, execute the following commands:
$ curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add -
$ echo "deb https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list
$ sudo apt-get update
$ sudo apt install crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev
```
#### On OSX:
#### Add invidious user and clone repository
```bash
$ useradd -m invidious
$ sudo -i -u invidious
$ git clone https://github.com/omarroth/invidious
$ exit
```
#### Setup PostgresSQL
```bash
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo -i -u postgres
$ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
$ createdb -O kemal invidious
$ psql invidious kemal < /home/invidious/invidious/config/sql/channels.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/videos.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/channel_videos.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/users.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/session_ids.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/nonces.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/annotations.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/playlists.sql
$ psql invidious kemal < /home/invidious/invidious/config/sql/playlist_videos.sql
$ exit
```
#### Setup Invidious
```bash
$ sudo -i -u invidious
$ cd invidious
$ shards update && shards install
$ crystal build src/invidious.cr --release
# test compiled binary
$ ./invidious # stop with ctrl c
$ exit
```
#### systemd service
```bash
$ sudo cp /home/invidious/invidious/invidious.service /etc/systemd/system/invidious.service
$ sudo systemctl enable invidious.service
$ sudo systemctl start invidious.service
```
#### Logrotate
```bash
$ sudo echo "/home/invidious/invidious/invidious.log {
rotate 4
weekly
notifempty
missingok
compress
minsize 1048576
}" | tee /etc/logrotate.d/invidious.logrotate
$ sudo chmod 0644 /etc/logrotate.d/invidious.logrotate
```
### OSX:
```bash
# Install dependencies
$ brew update
$ brew install shards crystal-lang
$ shards
$ brew install shards crystal postgres imagemagick librsvg
# Clone repository and setup postgres database
$ git clone https://github.com/omarroth/invidious
$ cd invidious
$ brew services start postgresql
$ psql -c "CREATE ROLE kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
$ createdb -O kemal invidious
$ psql invidious kemal < config/sql/channels.sql
$ psql invidious kemal < config/sql/videos.sql
$ psql invidious kemal < config/sql/channel_videos.sql
$ psql invidious kemal < config/sql/users.sql
$ psql invidious kemal < config/sql/session_ids.sql
$ psql invidious kemal < config/sql/nonces.sql
$ psql invidious kemal < config/sql/annotations.sql
$ psql invidious kemal < config/sql/privacy.sql
$ psql invidious kemal < config/sql/playlists.sql
$ psql invidious kemal < config/sql/playlist_videos.sql
# Setup Invidious
$ shards update && shards install
$ crystal build src/invidious.cr --release
```
### Installing Postgres:
## Update Invidious
#### On Arch:
Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL)
#### On OSX:
```bash
$ brew install postgres
```
### Setup Postgres:
```bash
$ ./setup.sh
```
### Installing ImageMagick (required for CAPTCHA):
#### On Arch:
```bash
$ sudo pacman -S imagemagick librsvg
```
You can see how to update Invidious [here](https://github.com/omarroth/invidious/wiki/Updating).
## Usage:
```bash
$ crystal build src/invidious.cr --release
$ ./invidious -h
Usage: invidious [arguments]
-b HOST, --bind HOST Host to bind (defaults to 0.0.0.0)
@@ -106,12 +198,12 @@ Usage: invidious [arguments]
--ssl-key-file FILE SSL key file
--ssl-cert-file FILE SSL certificate file
-h, --help Shows this help
-t THREADS, --crawl-threads=THREADS
Number of threads for crawling (default: 1)
-c THREADS, --channel-threads=THREADS
Number of threads for refreshing channels (default: 1)
-v THREADS, --video-threads=THREADS
Number of threads for refreshing videos (default: 1)
-f THREADS, --feed-threads=THREADS
Number of threads for refreshing feeds (default: 1)
-o OUTPUT, --output=OUTPUT Redirect output (default: STDOUT)
-v, --version Print version
```
Or for development:
@@ -119,13 +211,24 @@ Or for development:
```bash
$ curl -fsSLo- https://raw.githubusercontent.com/samueleaton/sentry/master/install.cr | crystal eval
$ ./sentry
🤖 Your SentryBot is vigilant. beep-boop...
```
## Documentation
[Documentation](https://github.com/omarroth/invidious/wiki) can be found in the wiki.
## Extensions
- [Alternate Tube Redirector](https://addons.mozilla.org/en-US/firefox/addon/alternate-tube-redirector/): Automatically open Youtube Videos on alternate sites like Invidious or Hooktube.
- [Invidious Redirect](https://greasyfork.org/en/scripts/370461-invidious-redirect): Redirects Youtube URLs to Invidio.us (userscript)
- [Invidio.us embed](https://greasyfork.org/en/scripts/370442-invidious-embed): Replaces YouTube embeds with Invidio.us embeds (userscript)
[Extensions](https://github.com/omarroth/invidious/wiki/Extensions) can be found in the wiki, as well as documentation for integrating it into other projects.
## Made with Invidious
- [FreeTube](https://github.com/FreeTubeApp/FreeTube): An Open Source YouTube app for privacy.
- [CloudTube](https://cadence.moe/cloudtube/subscriptions): A JS-rich alternate YouTube player
- [PeerTubeify](https://gitlab.com/Ealhad/peertubeify): On YouTube, displays a link to the same video on PeerTube, if it exists.
- [MusicPiped](https://github.com/deep-gaurav/MusicPiped): A materialistic music player that streams music from YouTube.
- [LapisTube](https://github.com/blubbll/lapis-tube): A fancy and advanced (experimental) YouTube frontend. Combined streams & custom YT features.
## Contributing
@@ -135,6 +238,18 @@ $ ./sentry
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
## Contact
- [omarroth](https://github.com/omarroth) - creator, maintainer
Feel free to send an email to omarroth@protonmail.com or join our [Matrix Server](https://riot.im/app/#/room/#invidious:matrix.org), or #invidious on Freenode.
You can also view release notes on the [releases](https://github.com/omarroth/invidious/releases) page or in the CHANGELOG.md included in the repository.
## License
[![GNU AGPLv3 Image](https://www.gnu.org/graphics/agplv3-155x51.png)](http://www.gnu.org/licenses/agpl-3.0.en.html)
Invidious is Free Software: You can use, study share and improve it at your
will. Specifically you can redistribute and/or modify it under the terms of the
[GNU Affero General Public License](https://www.gnu.org/licenses/agpl.html) as
published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

View File

@@ -0,0 +1,218 @@
Do Not Track Compliance Policy
Version 1.0
This domain complies with user opt-outs from tracking via the "Do Not Track"
or "DNT" header [http://www.w3.org/TR/tracking-dnt/]. This file will always
be posted via HTTPS at https://example-domain.com/.well-known/dnt-policy.txt
to indicate this fact.
SCOPE
This policy document allows an operator of a Fully Qualified Domain Name
("domain") to declare that it respects Do Not Track as a meaningful privacy
opt-out of tracking, so that privacy-protecting software can better determine
whether to block or anonymize communications with this domain. This policy is
intended first and foremost to be posted on domains that publish ads, widgets,
images, scripts and other third-party embedded hypertext (for instance on
widgets.example.com), but it can be posted on any domain, including those users
visit directly (such as www.example.com). The policy may be applied to some
domains used by a company, site, or service, and not to others. Do Not Track
may be sent by any client that uses the HTTP protocol, including websites,
mobile apps, and smart devices like TVs. Do Not Track also works with all
protocols able to read HTTP headers, including SPDY.
NOTE: This policy contains both Requirements and Exceptions. Where possible
terms are defined in the text, but a few additional definitions are included
at the end.
REQUIREMENTS
When this domain receives Web requests from a user who enables DNT by actively
choosing an opt-out setting in their browser or by installing software that is
primarily designed to protect privacy ("DNT User"), we will take the following
measures with respect to those users' data, subject to the Exceptions, also
listed below:
1. END USER IDENTIFIERS:
a. If a DNT User has logged in to our service, all user identifiers, such as
unique or nearly unique cookies, "supercookies" and fingerprints are
discarded as soon as the HTTP(S) response is issued.
Data structures which associate user identifiers with accounts may be
employed to recognize logged in users per Exception 4 below, but may not
be associated with records of the user's activities unless otherwise
excepted.
b. If a DNT User is not logged in to our service, we will take steps to ensure
that no user identifiers are transmitted to us at all.
2. LOG RETENTION:
a. Logs with DNT Users' identifiers removed (but including IP addresses and
User Agent strings) may be retained for a period of 10 days or less,
unless an Exception (below) applies. This period of time balances privacy
concerns with the need to ensure that log processing systems have time to
operate; that operations engineers have time to monitor and fix technical
and performance problems; and that security and data aggregation systems
have time to operate.
b. These logs will not be used for any other purposes.
3. OTHER DOMAINS:
a. If this domain transfers identifiable user data about DNT Users to
contractors, affiliates or other parties, or embeds from or posts data to
other domains, we will either:
b. ensure that the operators of those domains abide by this policy overall
by posting it at /.well-known/dnt-policy.txt via HTTPS on the domains in
question,
OR
ensure that the recipient's policies and practices require the recipient
to respect the policy for our DNT Users' data.
OR
obtain a contractual commitment from the recipient to respect this policy
for our DNT Users' data.
NOTE: if an “Other Domain” does not receive identifiable user information
from the domain because such information has been removed, because the
Other Domain does not log that information, or for some other reason, these
requirements do not apply.
c. "Identifiable" means any records which are not Anonymized or otherwise
covered by the Exceptions below.
4. PERIODIC REASSERTION OF COMPLIANCE:
At least once every 12 months, we will take reasonable steps commensurate
with the size of our organization and the nature of our service to confirm
our ongoing compliance with this document, and we will publicly reassert our
compliance.
5. USER NOTIFICATION:
a. If we are required by law to retain or disclose user identifiers, we will
attempt to provide the users with notice (unless we are prohibited or it
would be futile) that a request for their information has been made in
order to give the users an opportunity to object to the retention or
disclosure.
b. We will attempt to provide this notice by email, if the users have given
us an email address, and by postal mail if the users have provided a
postal address.
c. If the users do not challenge the disclosure request, we may be legally
required to turn over their information.
d. We may delay notice if we, in good faith, believe that an emergency
involving danger of death or serious physical injury to any person
requires disclosure without delay of information relating to the
emergency.
EXCEPTIONS
Data from DNT Users collected by this domain may be logged or retained only in
the following specific situations:
1. CONSENT / "OPT BACK IN"
a. DNT Users are opting out from tracking across the Web. It is possible
that for some feature or functionality, we will need to ask a DNT User to
"opt back in" to be tracked by us across the entire Web.
b. If we do that, we will take reasonable steps to verify that the users who
select this option have genuinely intended to opt back in to tracking.
One way to do this is by performing scientifically reasonable user
studies with a representative sample of our users, but smaller
organizations can satisfy this requirement by other means.
c. Where we believe that we have opt back in consent, our server will
send a tracking value status header "Tk: C" as described in section 6.2
of the W3C Tracking Preference Expression draft:
http://www.w3.org/TR/tracking-dnt/#tracking-status-value
2. TRANSACTIONS
If a DNT User actively and knowingly enters a transaction with our
services (for instance, clicking on a clearly-labeled advertisement,
posting content to a widget, or purchasing an item), we will retain
necessary data for as long as required to perform the transaction. This
may for example include keeping auditing information for clicks on
advertising links; keeping a copy of posted content and the name of the
posting user; keeping server-side session IDs to recognize logged in
users; or keeping a copy of the physical address to which a purchased
item will be shipped. By their nature, some transactions will require data
to be retained indefinitely.
3. TECHNICAL AND SECURITY LOGGING:
a. If, during the processing of the initial request (for unique identifiers)
or during the subsequent 10 days (for IP addresses and User Agent strings),
we obtain specific information that causes our employees or systems to
believe that a request is, or is likely to be, part of a security attack,
spam submission, or fraudulent transaction, then logs of those requests
are not subject to this policy.
b. If we encounter technical problems with our site, then, in rare
circumstances, we may retain logs for longer than 10 days, if that is
necessary to diagnose and fix those problems, but this practice will not be
routinized and we will strive to delete such logs as soon as possible.
4. AGGREGATION:
a. We may retain and share anonymized datasets, such as aggregate records of
readership patterns; statistical models of user behavior; graphs of system
variables; data structures to count active users on monthly or yearly
bases; database tables mapping authentication cookies to logged in
accounts; non-unique data structures constructed within browsers for tasks
such as ad frequency capping or conversion tracking; or logs with truncated
and/or encrypted IP addresses and simplified User Agent strings.
b. "Anonymized" means we have conducted risk mitigation to ensure
that the dataset, plus any additional information that is in our
possession or likely to be available to us, does not allow the
reconstruction of reading habits, online or offline activity of groups of
fewer than 5000 individuals or devices.
c. If we generate anonymized datasets under this exception we will publicly
document our anonymization methods in sufficient detail to allow outside
experts to evaluate the effectiveness of those methods.
5. ERRORS:
From time to time, there may be errors by which user data is temporarily
logged or retained in violation of this policy. If such errors are
inadvertent, rare, and made in good faith, they do not constitute a breach
of this policy. We will delete such data as soon as practicable after we
become aware of any error and take steps to ensure that it is deleted by any
third-party who may have had access to the data.
ADDITIONAL DEFINITIONS
"Fully Qualified Domain Name" means a domain name that addresses a computer
connected to the Internet. For instance, example1.com; www.example1.com;
ads.example1.com; and widgets.example2.com are all distinct FQDNs.
"Supercookie" means any technology other than an HTTP Cookie which can be used
by a server to associate identifiers with the clients that visit it. Examples
of supercookies include Flash LSO cookies, DOM storage, HTML5 storage, or
tricks to store information in caches or etags.
"Risk mitigation" means an engineering process that evaluates the possibility
and likelihood of various adverse outcomes, considers the available methods of
making those adverse outcomes less likely, and deploys sufficient mitigations
to bring the probability and harm from adverse outcomes below an acceptable
threshold.
"Reading habits" includes amongst other things lists of visited DNS names, if
those domains pertain to specific topics or activities, but records of visited
DNS names are not reading habits if those domain names serve content of a very
diverse and general nature, thereby revealing minimal information about the
opinions, interests or activities of the user.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

9
assets/browserconfig.xml Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>

View File

@@ -21,13 +21,16 @@ body {
color: #f0f0f0;
}
.pure-form > fieldset > input,
.pure-control-group > input,
.pure-form > fieldset > select,
.pure-control-group > select {
input,
select,
textarea {
color: rgba(35, 35, 35, 1);
}
.pure-form input[type="file"] {
color: #f0f0f0;
}
.navbar > .searchbar input {
background-color: inherit;
color: inherit;

View File

@@ -1,3 +1,65 @@
html,
body {
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica,
Arial, sans-serif;
}
.deleted {
background-color: rgb(255, 0, 0, 0.5);
}
.channel-profile > * {
font-size: 1.17em;
font-weight: bold;
vertical-align: middle;
}
.channel-profile > img {
width: 48px;
height: auto;
}
.channel-owner {
background-color: #008bec;
color: #fff;
border-radius: 9px;
padding: 1px 6px;
}
.creator-heart-container {
display: inline-block;
padding: 0px 7px 6px 0px;
margin: 0px -7px -4px 0px;
}
.creator-heart {
position: relative;
width: 16px;
height: 16px;
border: 2px none;
}
.creator-heart-background-hearted {
width: 16px;
height: 16px;
padding: 0px;
position: relative;
}
.creator-heart-small-hearted {
position: absolute;
right: -7px;
bottom: -4px;
}
.creator-heart-small-container {
position: relative;
width: 13px;
height: 13px;
color: rgb(255, 0, 0);
}
.h-box {
padding-left: 1em;
padding-right: 1em;
@@ -14,6 +76,7 @@ div {
}
.loading {
display: inline-block;
animation: spin 2s linear infinite;
}
@@ -22,6 +85,58 @@ div {
padding-right: 10px;
}
button.pure-button-primary,
a.pure-button-primary,
.channel-owner:hover {
background-color: #a0a0a0;
color: rgba(35, 35, 35, 1);
}
button.pure-button-primary:hover,
a.pure-button-primary:hover {
background-color: rgba(0, 182, 240, 1);
color: #fff;
}
div.thumbnail {
padding: 28.125%;
position: relative;
box-sizing: border-box;
}
img.thumbnail {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
object-fit: cover;
}
.length {
z-index: 100;
position: absolute;
background-color: rgba(35, 35, 35, 0.75);
color: #fff;
border-radius: 2px;
padding: 2px;
font-size: 16px;
right: 0.25em;
bottom: -0.75em;
}
.watched {
z-index: 100;
position: absolute;
background-color: rgba(35, 35, 35, 0.75);
color: #fff;
border-radius: 2px;
padding: 4px 8px 4px 8px;
font-size: 16px;
left: 0.2em;
top: -0.7em;
}
/*
* Navbar
*/
@@ -47,9 +162,12 @@ div {
.navbar .index-link {
font-weight: bold;
display: inline;
}
.navbar > .searchbar .pure-form input[type="search"] {
margin-bottom: 1px;
border-top: 0;
border-left: 0;
border-right: 0;
@@ -60,7 +178,16 @@ div {
box-shadow: none;
transition: 0.1s border-bottom;
-webkit-appearance: none;
}
/* https://stackoverflow.com/a/55170420 */
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
height: 14px;
width: 14px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
background-size: 14px;
}
.navbar > .searchbar .pure-form fieldset {
@@ -69,6 +196,7 @@ div {
/* attract focus to the searchbar by adding a subtle transition */
.navbar > .searchbar .pure-form input[type="search"]:focus {
margin-bottom: 0px;
border-bottom: 2px solid #aaa;
}
@@ -87,6 +215,16 @@ div {
margin-right: 1em;
}
@media only screen and (max-aspect-ratio: 16/9) {
.player-dimensions.vjs-fluid {
padding-top: 46.86% !important;
}
#player-container {
padding-bottom: 46.86% !important;
}
}
@media screen and (max-width: 767px) {
.navbar {
flex-direction: column;
@@ -104,6 +242,11 @@ div {
.navbar > .searchbar > form {
width: 60%;
}
h1 {
font-size: 1.25em;
margin: 0.42em 0;
}
}
@media screen and (max-width: 320px) {
@@ -113,7 +256,7 @@ div {
}
}
/*
/*
* Footer
*/
@@ -140,6 +283,76 @@ div {
}
/* Control Bar */
@media screen and (max-width: 640px) {
.video-js .vjs-control-bar,
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
overflow-x: scroll;
}
}
ul.vjs-menu-content::-webkit-scrollbar {
display: none;
}
.vjs-user-inactive {
cursor: none;
}
.video-js .vjs-text-track-display > div > div > div {
background-color: rgba(0, 0, 0, 0.75) !important;
border-radius: 9px !important;
padding: 5px !important;
}
.vjs-play-control,
.vjs-volume-panel,
.vjs-current-time,
.vjs-time-control,
.vjs-duration,
.vjs-progress-control,
.vjs-remaining-time {
order: 1;
}
.vjs-captions-button {
order: 2;
}
.vjs-quality-selector,
.video-js .vjs-http-source-selector {
order: 3;
}
.vjs-playback-rate {
order: 4;
}
.vjs-share-control {
order: 5;
}
.vjs-fullscreen-control {
order: 6;
}
.vjs-playback-rate > .vjs-menu {
width: 50px;
}
.vjs-control-bar {
display: flex;
flex-direction: row;
scrollbar-width: none;
}
.vjs-control-bar::-webkit-scrollbar {
display: none;
}
.video-js .vjs-icon-cog {
font-size: 18px;
}
.video-js .vjs-control-bar,
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
background-color: rgba(35, 35, 35, 0.75);
@@ -162,6 +375,11 @@ div {
background-color: rgba(15, 15, 15, 0.5);
}
fieldset > select,
span > select {
color: rgba(49, 49, 51, 1);
}
.video-js .vjs-load-progress,
.video-js .vjs-load-progress div {
background: rgba(87, 87, 88, 1);
@@ -176,9 +394,16 @@ div {
background-color: rgba(0, 182, 240, 1);
}
/* Overlay */
.video-js .vjs-overlay {
background-color: rgba(35, 35, 35, 0.75);
color: rgba(255, 255, 255, 1);
}
/* ProgressBar marker */
.vjs-marker {
background-color: rgba(255, 255, 255, 1);
z-index: 0;
}
/* Big "Play" Button */
@@ -207,17 +432,40 @@ div {
object-fit: cover;
}
#player {
.player-dimensions.vjs-fluid {
padding-top: 82vh;
}
video.video-js {
position: absolute;
left: 0;
top: 0;
height: 100%;
}
#player-container {
position: relative;
padding-bottom: 56.25%;
margin-left: 1em;
margin-right: 1em;
padding-bottom: 82vh;
height: 0;
}
.pure-control-group label {
word-wrap: normal;
}
.video-js.player-style-invidious {
/* This is already the default */
}
.video-js.player-style-youtube .vjs-control-bar {
display: flex;
flex-direction: row;
}
.video-js.player-style-youtube .vjs-big-play-button {
/*
Styles copied from video-js.min.css, definition of
.vjs-big-play-centered .vjs-big-play-button
*/
top: 50%;
left: 50%;
margin-top: -0.81666em;
margin-left: -1.5em;
}

10
assets/css/embed.css Normal file
View File

@@ -0,0 +1,10 @@
#player {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,16 @@
a:hover,
a:active {
color: #167ac6;
color: #167ac6 !important;
}
a {
color: #303030;
color: #61809b;
text-decoration: none;
}
/* All links that do not fit with the default color goes here */
a:not([data-id]) > .icon,
.pure-u-lg-1-5 > .h-box > a[href^="/watch?"],
.playlist-restricted > ol > li > a {
color: #303030;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
/**
* videojs-http-source-selector
* @version 1.1.6
* @copyright 2019 Justin Fujita <Justin@pivotshare.com>
* @license MIT
*/
.video-js.vjs-http-source-selector{display:block}

View File

@@ -0,0 +1 @@
.video-js .vjs-overlay{color:#fff;position:absolute;text-align:center}.video-js .vjs-overlay-no-background{max-width:33%}.video-js .vjs-overlay-background{background-color:#646464;background-color:rgba(255,255,255,0.4);border-radius:3px;padding:10px;width:33%}.video-js .vjs-overlay-top-left{top:5px;left:5px}.video-js .vjs-overlay-top{left:50%;margin-left:-16.5%;top:5px}.video-js .vjs-overlay-top-right{right:5px;top:5px}.video-js .vjs-overlay-right{right:5px;top:50%;transform:translateY(-50%)}.video-js .vjs-overlay-bottom-right{bottom:3.5em;right:5px}.video-js .vjs-overlay-bottom{bottom:3.5em;left:50%;margin-left:-16.5%}.video-js .vjs-overlay-bottom-left{bottom:3.5em;left:5px}.video-js .vjs-overlay-left{left:5px;top:50%;transform:translateY(-50%)}.video-js .vjs-overlay-center{left:50%;margin-left:-16.5%;top:50%;transform:translateY(-50%)}.video-js .vjs-no-flex .vjs-overlay-left,.video-js .vjs-no-flex .vjs-overlay-center,.video-js .vjs-no-flex .vjs-overlay-right{margin-top:-15px}

View File

@@ -1,7 +1,7 @@
/**
* videojs-share
* @version 2.0.1
* @copyright 2018 Mikhail Khazov <mkhazov.work@gmail.com>
* @version 3.2.1
* @copyright 2019 Mikhail Khazov <mkhazov.work@gmail.com>
* @license MIT
*/
.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-modal-dialog-content{display:flex;align-items:center;padding:0;background-image:linear-gradient(to bottom, rgba(0,0,0,0.77), rgba(0,0,0,0.75))}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{position:absolute;right:0;top:5px;width:30px;height:30px;color:#fff;cursor:pointer;opacity:0.9;transition:opacity 0.25s ease-out}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button:before{content:'×';font-size:20px;line-height:15px}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button:hover{opacity:1}.video-js .vjs-share{display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:100%;height:100%;max-height:400px}.video-js .vjs-share__top,.video-js .vjs-share__middle,.video-js .vjs-share__bottom{display:flex}.video-js .vjs-share__top,.video-js .vjs-share__middle{flex-direction:column;justify-content:space-between}.video-js .vjs-share__middle{padding:0 25px}.video-js .vjs-share__title{align-self:center;font-size:22px;color:#fff}.video-js .vjs-share__subtitle{width:100%;margin:0 auto 12px;font-size:16px;color:#fff;opacity:0.7}.video-js .vjs-share__short-link-wrapper{position:relative;display:block;width:100%;height:40px;margin:0 auto;margin-bottom:15px;border:0;color:rgba(255,255,255,0.65);background-color:#363636;outline:none;overflow:hidden;flex-shrink:0}.video-js .vjs-share__short-link{display:block;width:100%;height:100%;padding:0 40px 0 15px;border:0;color:rgba(255,255,255,0.65);background-color:#363636;outline:none}.video-js .vjs-share__btn{position:absolute;right:0;bottom:0;height:40px;width:40px;display:flex;align-items:center;padding:0 11px;border:0;color:#fff;background-color:#2e2e2e;background-size:18px 19px;background-position:center;background-repeat:no-repeat;cursor:pointer;outline:none;transition:width 0.3s ease-out, padding 0.3s ease-out}.video-js .vjs-share__btn svg{flex-shrink:0}.video-js .vjs-share__btn span{position:relative;padding-left:10px;opacity:0;transition:opacity 0.3s ease-out}.video-js .vjs-share__btn:hover{justify-content:center;width:100%;padding:0 40px;background-image:none}.video-js .vjs-share__btn:hover span{opacity:1}.video-js .vjs-share__socials{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;transition:width 0.3s ease-out, height 0.3s ease-out}.video-js .vjs-share__social{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:32px;height:32px;margin-right:6px;margin-bottom:6px;cursor:pointer;font-size:8px;transition:transform 0.3s ease-out, filter 0.2s ease-out;border:none;outline:none}.video-js .vjs-share__social:hover{filter:brightness(115%)}.video-js .vjs-share__social svg{width:100%;max-height:24px}.video-js .vjs-share__social_vk{background-color:#5d7294}.video-js .vjs-share__social_ok{background-color:#ed7c20}.video-js .vjs-share__social_mail{background-color:#134785}.video-js .vjs-share__social_tw{background-color:#76aaeb}.video-js .vjs-share__social_reddit{background-color:#ff4500}.video-js .vjs-share__social_fbFeed{background-color:#475995}.video-js .vjs-share__social_messenger{background-color:#0084ff}.video-js .vjs-share__social_gp{background-color:#d53f35}.video-js .vjs-share__social_linkedin{background-color:#0077b5}.video-js .vjs-share__social_viber{background-color:#766db5}.video-js .vjs-share__social_telegram{background-color:#4bb0e2}.video-js .vjs-share__social_whatsapp{background-color:#78c870}.video-js .vjs-share__bottom{justify-content:center}@media (max-height: 220px){.video-js .vjs-share .hidden-xs{display:none}}@media (max-height: 350px){.video-js .vjs-share .hidden-sm{display:none}}@media (min-height: 400px){.video-js .vjs-share__title{margin-bottom:15px}.video-js .vjs-share__short-link-wrapper{margin-bottom:30px}}@media (min-width: 320px){.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{right:5px;top:10px}}@media (min-width: 660px){.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{right:20px;top:20px}.video-js .vjs-share__social{width:40px;height:40px}}
.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-modal-dialog-content{display:flex;align-items:center;padding:0;background-image:linear-gradient(to bottom, rgba(0,0,0,0.77), rgba(0,0,0,0.75))}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{position:absolute;right:0;top:5px;width:30px;height:30px;color:#fff;cursor:pointer;opacity:0.9;transition:opacity 0.25s ease-out}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button:before{content:'×';font-size:20px;line-height:15px}.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button:hover{opacity:1}.video-js .vjs-share{display:flex;flex-direction:column;justify-content:space-around;align-items:center;width:100%;height:100%;max-height:400px}.video-js .vjs-share__top,.video-js .vjs-share__middle,.video-js .vjs-share__bottom{display:flex}.video-js .vjs-share__top,.video-js .vjs-share__middle{flex-direction:column;justify-content:space-between}.video-js .vjs-share__middle{padding:0 25px}.video-js .vjs-share__title{align-self:center;font-size:22px;color:#fff}.video-js .vjs-share__subtitle{width:100%;margin:0 auto 12px;font-size:16px;color:#fff;opacity:0.7}.video-js .vjs-share__short-link-wrapper{position:relative;display:block;width:100%;height:40px;margin:0 auto;margin-bottom:15px;border:0;color:rgba(255,255,255,0.65);background-color:#363636;outline:none;overflow:hidden;flex-shrink:0}.video-js .vjs-share__short-link{display:block;width:100%;height:100%;padding:0 40px 0 15px;border:0;color:rgba(255,255,255,0.65);background-color:#363636;outline:none}.video-js .vjs-share__btn{position:absolute;right:0;bottom:0;height:40px;width:40px;display:flex;align-items:center;padding:0 11px;border:0;color:#fff;background-color:#2e2e2e;background-size:18px 19px;background-position:center;background-repeat:no-repeat;cursor:pointer;outline:none;transition:width 0.3s ease-out, padding 0.3s ease-out}.video-js .vjs-share__btn svg{flex-shrink:0}.video-js .vjs-share__btn span{position:relative;padding-left:10px;opacity:0;transition:opacity 0.3s ease-out}.video-js .vjs-share__btn:hover{justify-content:center;width:100%;padding:0 40px;background-image:none}.video-js .vjs-share__btn:hover span{opacity:1}.video-js .vjs-share__socials{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;transition:width 0.3s ease-out, height 0.3s ease-out}.video-js .vjs-share__social{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:32px;height:32px;margin-right:6px;margin-bottom:6px;cursor:pointer;font-size:8px;transition:transform 0.3s ease-out, filter 0.2s ease-out;border:none;outline:none}.video-js .vjs-share__social:hover{filter:brightness(115%)}.video-js .vjs-share__social svg{overflow:visible;max-height:24px}.video-js .vjs-share__social_vk{background-color:#5d7294}.video-js .vjs-share__social_ok{background-color:#ed7c20}.video-js .vjs-share__social_mail,.video-js .vjs-share__social_email{background-color:#134785}.video-js .vjs-share__social_tw{background-color:#76aaeb}.video-js .vjs-share__social_reddit{background-color:#ff4500}.video-js .vjs-share__social_fbFeed{background-color:#475995}.video-js .vjs-share__social_messenger{background-color:#0084ff}.video-js .vjs-share__social_gp{background-color:#d53f35}.video-js .vjs-share__social_linkedin{background-color:#0077b5}.video-js .vjs-share__social_viber{background-color:#766db5}.video-js .vjs-share__social_telegram{background-color:#4bb0e2}.video-js .vjs-share__social_whatsapp{background-color:#78c870}.video-js .vjs-share__bottom{justify-content:center}@media (max-height: 220px){.video-js .vjs-share .hidden-xs{display:none}}@media (max-height: 350px){.video-js .vjs-share .hidden-sm{display:none}}@media (min-height: 400px){.video-js .vjs-share__title{margin-bottom:15px}.video-js .vjs-share__short-link-wrapper{margin-bottom:30px}}@media (min-width: 320px){.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{right:5px;top:10px}}@media (min-width: 660px){.video-js.vjs-videojs-share_open .vjs-modal-dialog .vjs-close-button{right:20px;top:20px}.video-js .vjs-share__social{width:40px;height:40px}}

View File

@@ -0,0 +1,7 @@
/**
* videojs-vtt-thumbnails
* @version 0.0.13
* @copyright 2019 Chris Boustead <chris@forgemotion.com>
* @license MIT
*/
.video-js.vjs-vtt-thumbnails{display:block}.video-js .vjs-vtt-thumbnail-display{position:absolute;bottom:85%;pointer-events:none;box-shadow:0 0 7px rgba(0,0,0,0.6)}

View File

@@ -0,0 +1 @@
.__cxt-ar-annotations-container__{--annotation-close-size: 20px;position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;overflow:hidden}.__cxt-ar-annotation__{position:absolute;box-sizing:border-box;font-family:Arial,sans-serif;color:#fff;z-index:20;pointer-events:auto}.__cxt-ar-annotation__ span{position:absolute;left:0;top:0;overflow:hidden;word-wrap:break-word;white-space:pre-wrap;pointer-events:none;box-sizing:border-box;padding:2%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.__cxt-ar-annotation-close__{display:none;position:absolute;width:var(--annotation-close-size);height:var(--annotation-close-size);cursor:pointer;right:calc(var(--annotation-close-size)/-1.8);top:calc(var(--annotation-close-size)/-1.8);z-index:1}.__cxt-ar-annotation__:hover:not([hidden]):not([data-ar-closed]) .__cxt-ar-annotation-close__{display:block}.__cxt-ar-annotation__[hidden]{display:none!important}.__cxt-ar-annotation__[data-ar-type=highlight]{border:1px solid rgba(255,255,255,.1);background-color:transparent}.__cxt-ar-annotation__[data-ar-type=highlight]:hover{border:1px solid rgba(255,255,255,.5);background-color:transparent}.__cxt-ar-annotation__ svg{pointer-events:all}

BIN
assets/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
assets/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2018-6-14: Created with FontForge (http://fontforge.org)
2019-5-24: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20160407 at Thu Jun 14 08:50:34 2018
Created by FontForge 20160407 at Fri May 24 15:45:40 2019
By Adam Bradley
Copyright (c) 2018, Adam Bradley
Copyright (c) 2019, Adam Bradley
</metadata>
<defs>
<font id="Ionicons" horiz-adv-x="416" >

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

103
assets/js/community.js Normal file
View File

@@ -0,0 +1,103 @@
var community_data = JSON.parse(document.getElementById('community_data').innerHTML);
String.prototype.supplant = function (o) {
return this.replace(/{([^{}]*)}/g, function (a, b) {
var r = o[b];
return typeof r === 'string' || typeof r === 'number' ? r : a;
});
}
function hide_youtube_replies(event) {
var target = event.target;
sub_text = target.getAttribute('data-inner-text');
inner_text = target.getAttribute('data-sub-text');
body = target.parentNode.parentNode.children[1];
body.style.display = 'none';
target.innerHTML = sub_text;
target.onclick = show_youtube_replies;
target.setAttribute('data-inner-text', inner_text);
target.setAttribute('data-sub-text', sub_text);
}
function show_youtube_replies(event) {
var target = event.target;
sub_text = target.getAttribute('data-inner-text');
inner_text = target.getAttribute('data-sub-text');
body = target.parentNode.parentNode.children[1];
body.style.display = '';
target.innerHTML = sub_text;
target.onclick = hide_youtube_replies;
target.setAttribute('data-inner-text', inner_text);
target.setAttribute('data-sub-text', sub_text);
}
function number_with_separator(val) {
while (/(\d+)(\d{3})/.test(val.toString())) {
val = val.toString().replace(/(\d+)(\d{3})/, '$1' + ',' + '$2');
}
return val;
}
function get_youtube_replies(target, load_more) {
var continuation = target.getAttribute('data-continuation');
var body = target.parentNode.parentNode;
var fallback = body.innerHTML;
body.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
var url = '/api/v1/channels/comments/' + community_data.ucid +
'?format=html' +
'&hl=' + community_data.preferences.locale +
'&thin_mode=' + community_data.preferences.thin_mode +
'&continuation=' + continuation;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
if (load_more) {
body = body.parentNode.parentNode;
body.removeChild(body.lastElementChild);
body.innerHTML += xhr.response.contentHtml;
} else {
body.removeChild(body.lastElementChild);
var p = document.createElement('p');
var a = document.createElement('a');
p.appendChild(a);
a.href = 'javascript:void(0)';
a.onclick = hide_youtube_replies;
a.setAttribute('data-sub-text', community_data.hide_replies_text);
a.setAttribute('data-inner-text', community_data.show_replies_text);
a.innerText = community_data.hide_replies_text;
var div = document.createElement('div');
div.innerHTML = xhr.response.contentHtml;
body.appendChild(p);
body.appendChild(div);
}
} else {
body.innerHTML = fallback;
}
}
}
xhr.ontimeout = function () {
console.log('Pulling comments failed.');
body.innerHTML = fallback;
}
xhr.send();
}

File diff suppressed because one or more lines are too long

104
assets/js/embed.js Normal file
View File

@@ -0,0 +1,104 @@
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
function get_playlist(plid, retries) {
if (retries == undefined) retries = 5;
if (retries <= 0) {
console.log('Failed to pull playlist');
return;
}
if (plid.startsWith('RD')) {
var plid_url = '/api/v1/mixes/' + plid +
'?continuation=' + video_data.id +
'&format=html&hl=' + video_data.preferences.locale;
} else {
var plid_url = '/api/v1/playlists/' + plid +
'?index=' + video_data.index +
'&continuation' + video_data.id +
'&format=html&hl=' + video_data.preferences.locale;
}
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', plid_url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
if (xhr.response.nextVideo) {
player.on('ended', function () {
var url = new URL('https://example.com/embed/' + xhr.response.nextVideo);
if (video_data.params.autoplay || video_data.params.continue_autoplay) {
url.searchParams.set('autoplay', '1');
}
if (video_data.params.listen !== video_data.preferences.listen) {
url.searchParams.set('listen', video_data.params.listen);
}
if (video_data.params.speed !== video_data.preferences.speed) {
url.searchParams.set('speed', video_data.params.speed);
}
if (video_data.params.local !== video_data.preferences.local) {
url.searchParams.set('local', video_data.params.local);
}
url.searchParams.set('list', plid);
if (!plid.startsWith('RD')) {
url.searchParams.set('index', xhr.response.index);
}
location.assign(url.pathname + url.search);
});
}
}
}
}
xhr.onerror = function () {
console.log('Pulling playlist failed... ' + retries + '/5');
setTimeout(function () { get_playlist(plid, retries - 1) }, 1000);
}
xhr.ontimeout = function () {
console.log('Pulling playlist failed... ' + retries + '/5');
get_playlist(plid, retries - 1);
}
xhr.send();
}
window.addEventListener('load', function (e) {
if (video_data.plid) {
get_playlist(video_data.plid);
} else if (video_data.video_series) {
player.on('ended', function () {
var url = new URL('https://example.com/embed/' + video_data.video_series.shift());
if (video_data.params.autoplay || video_data.params.continue_autoplay) {
url.searchParams.set('autoplay', '1');
}
if (video_data.params.listen !== video_data.preferences.listen) {
url.searchParams.set('listen', video_data.params.listen);
}
if (video_data.params.speed !== video_data.preferences.speed) {
url.searchParams.set('speed', video_data.params.speed);
}
if (video_data.params.local !== video_data.preferences.local) {
url.searchParams.set('local', video_data.params.local);
}
if (video_data.video_series.length !== 0) {
url.searchParams.set('playlist', video_data.video_series.join(','))
}
location.assign(url.pathname + url.search);
});
}
});

3
assets/js/global.js Normal file
View File

@@ -0,0 +1,3 @@
// Disable Web Workers. Fixes Video.js CSP violation (created by `new Worker(objURL)`):
// Refused to create a worker from 'blob:http://host/id' because it violates the following Content Security Policy directive: "worker-src 'self'".
window.Worker = undefined;

144
assets/js/handlers.js Normal file
View File

@@ -0,0 +1,144 @@
'use strict';
(function () {
var n2a = function (n) { return Array.prototype.slice.call(n); };
var video_player = document.getElementById('player_html5_api');
if (video_player) {
video_player.onmouseenter = function () { video_player['data-title'] = video_player['title']; video_player['title'] = ''; };
video_player.onmouseleave = function () { video_player['title'] = video_player['data-title']; video_player['data-title'] = ''; };
video_player.oncontextmenu = function () { video_player['title'] = video_player['data-title']; };
}
// For dynamically inserted elements
document.addEventListener('click', function (e) {
if (!e || !e.target) { return; }
e = e.target;
var handler_name = e.getAttribute('data-onclick');
switch (handler_name) {
case 'jump_to_time':
var time = e.getAttribute('data-jump-time');
player.currentTime(time);
break;
case 'get_youtube_replies':
var load_more = e.getAttribute('data-load-more') !== null;
get_youtube_replies(e, load_more);
break;
case 'toggle_parent':
toggle_parent(e);
break;
default:
break;
}
});
n2a(document.querySelectorAll('[data-mouse="switch_classes"]')).forEach(function (e) {
var classes = e.getAttribute('data-switch-classes').split(',');
var ec = classes[0];
var lc = classes[1];
var onoff = function (on, off) {
var cs = e.getAttribute('class');
cs = cs.split(off).join(on);
e.setAttribute('class', cs);
};
e.onmouseenter = function () { onoff(ec, lc); };
e.onmouseleave = function () { onoff(lc, ec); };
});
n2a(document.querySelectorAll('[data-onsubmit="return_false"]')).forEach(function (e) {
e.onsubmit = function () { return false; };
});
n2a(document.querySelectorAll('[data-onclick="mark_watched"]')).forEach(function (e) {
e.onclick = function () { mark_watched(e); };
});
n2a(document.querySelectorAll('[data-onclick="mark_unwatched"]')).forEach(function (e) {
e.onclick = function () { mark_unwatched(e); };
});
n2a(document.querySelectorAll('[data-onclick="add_playlist_video"]')).forEach(function (e) {
e.onclick = function () { add_playlist_video(e); };
});
n2a(document.querySelectorAll('[data-onclick="add_playlist_item"]')).forEach(function (e) {
e.onclick = function () { add_playlist_item(e); };
});
n2a(document.querySelectorAll('[data-onclick="remove_playlist_item"]')).forEach(function (e) {
e.onclick = function () { remove_playlist_item(e); };
});
n2a(document.querySelectorAll('[data-onclick="revoke_token"]')).forEach(function (e) {
e.onclick = function () { revoke_token(e); };
});
n2a(document.querySelectorAll('[data-onclick="remove_subscription"]')).forEach(function (e) {
e.onclick = function () { remove_subscription(e); };
});
n2a(document.querySelectorAll('[data-onclick="notification_requestPermission"]')).forEach(function (e) {
e.onclick = function () { Notification.requestPermission(); };
});
n2a(document.querySelectorAll('[data-onrange="update_volume_value"]')).forEach(function (e) {
var cb = function () { update_volume_value(e); }
e.oninput = cb;
e.onchange = cb;
});
function update_volume_value(element) {
document.getElementById('volume-value').innerText = element.value;
}
function revoke_token(target) {
var row = target.parentNode.parentNode.parentNode.parentNode.parentNode;
row.style.display = 'none';
var count = document.getElementById('count');
count.innerText = count.innerText - 1;
var referer = window.encodeURIComponent(document.location.href);
var url = '/token_ajax?action_revoke_token=1&redirect=false' +
'&referer=' + referer +
'&session=' + target.getAttribute('data-session');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
count.innerText = parseInt(count.innerText) + 1;
row.style.display = '';
}
}
}
var csrf_token = target.parentNode.querySelector('input[name="csrf_token"]').value;
xhr.send('csrf_token=' + csrf_token);
}
function remove_subscription(target) {
var row = target.parentNode.parentNode.parentNode.parentNode.parentNode;
row.style.display = 'none';
var count = document.getElementById('count');
count.innerText = count.innerText - 1;
var referer = window.encodeURIComponent(document.location.href);
var url = '/subscription_ajax?action_remove_subscriptions=1&redirect=false' +
'&referer=' + referer +
'&c=' + target.getAttribute('data-ucid');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
count.innerText = parseInt(count.innerText) + 1;
row.style.display = '';
}
}
}
var csrf_token = target.parentNode.querySelector('input[name="csrf_token"]').value;
xhr.send('csrf_token=' + csrf_token);
}
})();

143
assets/js/notifications.js Normal file
View File

@@ -0,0 +1,143 @@
var notification_data = JSON.parse(document.getElementById('notification_data').innerHTML);
var notifications, delivered;
function get_subscriptions(callback, retries) {
if (retries == undefined) retries = 5;
if (retries <= 0) {
return;
}
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', '/api/v1/auth/subscriptions?fields=authorId', true);
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
subscriptions = xhr.response;
callback(subscriptions);
}
}
}
xhr.onerror = function () {
console.log('Pulling subscriptions failed... ' + retries + '/5');
setTimeout(function () { get_subscriptions(callback, retries - 1) }, 1000);
}
xhr.ontimeout = function () {
console.log('Pulling subscriptions failed... ' + retries + '/5');
get_subscriptions(callback, retries - 1);
}
xhr.send();
}
function create_notification_stream(subscriptions) {
notifications = new SSE(
'/api/v1/auth/notifications?fields=videoId,title,author,authorId,publishedText,published,authorThumbnails,liveNow', {
withCredentials: true,
payload: 'topics=' + subscriptions.map(function (subscription) { return subscription.authorId }).join(','),
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
});
delivered = [];
var start_time = Math.round(new Date() / 1000);
notifications.onmessage = function (event) {
if (!event.id) {
return;
}
var notification = JSON.parse(event.data);
console.log('Got notification:', notification);
if (start_time < notification.published && !delivered.includes(notification.videoId)) {
if (Notification.permission === 'granted') {
var system_notification =
new Notification((notification.liveNow ? notification_data.live_now_text : notification_data.upload_text).replace('`x`', notification.author), {
body: notification.title,
icon: '/ggpht' + new URL(notification.authorThumbnails[2].url).pathname,
img: '/ggpht' + new URL(notification.authorThumbnails[4].url).pathname,
tag: notification.videoId
});
system_notification.onclick = function (event) {
window.open('/watch?v=' + event.currentTarget.tag, '_blank');
}
}
delivered.push(notification.videoId);
localStorage.setItem('notification_count', parseInt(localStorage.getItem('notification_count') || '0') + 1);
var notification_ticker = document.getElementById('notification_ticker');
if (parseInt(localStorage.getItem('notification_count')) > 0) {
notification_ticker.innerHTML =
'<span id="notification_count">' + localStorage.getItem('notification_count') + '</span> <i class="icon ion-ios-notifications"></i>';
} else {
notification_ticker.innerHTML =
'<i class="icon ion-ios-notifications-outline"></i>';
}
}
}
notifications.addEventListener('error', handle_notification_error);
notifications.stream();
}
function handle_notification_error(event) {
console.log('Something went wrong with notifications, trying to reconnect...');
notifications = { close: function () { } };
setTimeout(function () { get_subscriptions(create_notification_stream) }, 1000);
}
window.addEventListener('load', function (e) {
localStorage.setItem('notification_count', document.getElementById('notification_count') ? document.getElementById('notification_count').innerText : '0');
if (localStorage.getItem('stream')) {
localStorage.removeItem('stream');
} else {
setTimeout(function () {
if (!localStorage.getItem('stream')) {
notifications = { close: function () { } };
localStorage.setItem('stream', true);
get_subscriptions(create_notification_stream);
}
}, Math.random() * 1000 + 50);
}
window.addEventListener('storage', function (e) {
if (e.key === 'stream' && !e.newValue) {
if (notifications) {
localStorage.setItem('stream', true);
} else {
setTimeout(function () {
if (!localStorage.getItem('stream')) {
notifications = { close: function () { } };
localStorage.setItem('stream', true);
get_subscriptions(create_notification_stream);
}
}, Math.random() * 1000 + 50);
}
} else if (e.key === 'notification_count') {
var notification_ticker = document.getElementById('notification_ticker');
if (parseInt(e.newValue) > 0) {
notification_ticker.innerHTML =
'<span id="notification_count">' + e.newValue + '</span> <i class="icon ion-ios-notifications"></i>';
} else {
notification_ticker.innerHTML =
'<i class="icon ion-ios-notifications-outline"></i>';
}
}
});
});
window.addEventListener('unload', function (e) {
if (notifications) {
localStorage.removeItem('stream');
}
});

474
assets/js/player.js Normal file
View File

@@ -0,0 +1,474 @@
var player_data = JSON.parse(document.getElementById('player_data').innerHTML);
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
var options = {
preload: 'auto',
liveui: true,
playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0],
controlBar: {
children: [
'playToggle',
'volumePanel',
'currentTimeDisplay',
'timeDivider',
'durationDisplay',
'progressControl',
'remainingTimeDisplay',
'captionsButton',
'qualitySelector',
'playbackRateMenuButton',
'fullscreenToggle'
]
}
}
if (player_data.aspect_ratio) {
options.aspectRatio = player_data.aspect_ratio;
}
var embed_url = new URL(location);
embed_url.searchParams.delete('v');
short_url = location.origin + '/' + video_data.id + embed_url.search;
embed_url = location.origin + '/embed/' + video_data.id + embed_url.search;
var shareOptions = {
socials: ['fbFeed', 'tw', 'reddit', 'email'],
url: short_url,
title: player_data.title,
description: player_data.description,
image: player_data.thumbnail,
embedCode: "<iframe id='ivplayer' width='640' height='360' src='" + embed_url + "' style='border:none;'></iframe>"
}
var player = videojs('player', options);
if (location.pathname.startsWith('/embed/')) {
player.overlay({
overlays: [{
start: 'loadstart',
content: '<h1><a rel="noopener" target="_blank" href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}, {
start: 'pause',
content: '<h1><a rel="noopener" target="_blank" href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}]
});
}
player.on('error', function (event) {
if (player.error().code === 2 || player.error().code === 4) {
setInterval(setTimeout(function (event) {
console.log('An error occured in the player, reloading...');
var currentTime = player.currentTime();
var playbackRate = player.playbackRate();
var paused = player.paused();
player.load();
if (currentTime > 0.5) {
currentTime -= 0.5;
}
player.currentTime(currentTime);
player.playbackRate(playbackRate);
if (!paused) {
player.play();
}
}, 5000), 5000);
}
});
// Add markers
if (video_data.params.video_start > 0 || video_data.params.video_end > 0) {
var markers = [{ time: video_data.params.video_start, text: 'Start' }];
if (video_data.params.video_end < 0) {
markers.push({ time: video_data.length_seconds - 0.5, text: 'End' });
} else {
markers.push({ time: video_data.params.video_end, text: 'End' });
}
player.markers({
onMarkerReached: function (marker) {
if (marker.text === 'End') {
if (player.loop()) {
player.markers.prev('Start');
} else {
player.pause();
}
}
},
markers: markers
});
player.currentTime(video_data.params.video_start);
}
player.volume(video_data.params.volume / 100);
player.playbackRate(video_data.params.speed);
player.on('waiting', function () {
if (player.playbackRate() > 1 && player.liveTracker.isLive() && player.liveTracker.atLiveEdge()) {
console.log('Player has caught up to source, resetting playbackRate.')
player.playbackRate(1);
}
});
if (video_data.premiere_timestamp && Math.round(new Date() / 1000) < video_data.premiere_timestamp) {
player.getChild('bigPlayButton').hide();
}
if (video_data.params.autoplay) {
var bpb = player.getChild('bigPlayButton');
bpb.hide();
player.ready(function () {
new Promise(function (resolve, reject) {
setTimeout(() => resolve(1), 1);
}).then(function (result) {
var promise = player.play();
if (promise !== undefined) {
promise.then(_ => {
}).catch(error => {
bpb.show();
});
}
});
});
}
if (!video_data.params.listen && video_data.params.quality === 'dash') {
player.httpSourceSelector();
}
player.vttThumbnails({
src: location.origin + '/api/v1/storyboards/' + video_data.id + '?height=90'
});
// Enable annotations
if (!video_data.params.listen && video_data.params.annotations) {
window.addEventListener('load', function (e) {
var video_container = document.getElementById('player');
let xhr = new XMLHttpRequest();
xhr.responseType = 'text';
xhr.timeout = 60000;
xhr.open('GET', '/api/v1/annotations/' + video_data.id, true);
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
videojs.registerPlugin('youtubeAnnotationsPlugin', youtubeAnnotationsPlugin);
if (!player.paused()) {
player.youtubeAnnotationsPlugin({ annotationXml: xhr.response, videoContainer: video_container });
} else {
player.one('play', function (event) {
player.youtubeAnnotationsPlugin({ annotationXml: xhr.response, videoContainer: video_container });
});
}
}
}
}
window.addEventListener('__ar_annotation_click', e => {
const { url, target, seconds } = e.detail;
var path = new URL(url);
if (path.href.startsWith('https://www.youtube.com/watch?') && seconds) {
path.search += '&t=' + seconds;
}
path = path.pathname + path.search;
if (target === 'current') {
window.location.href = path;
} else if (target === 'new') {
window.open(path, '_blank');
}
});
xhr.send();
});
}
function increase_volume(delta) {
const curVolume = player.volume();
let newVolume = curVolume + delta;
if (newVolume > 1) {
newVolume = 1;
} else if (newVolume < 0) {
newVolume = 0;
}
player.volume(newVolume);
}
function toggle_muted() {
const isMuted = player.muted();
player.muted(!isMuted);
}
function skip_seconds(delta) {
const duration = player.duration();
const curTime = player.currentTime();
let newTime = curTime + delta;
if (newTime > duration) {
newTime = duration;
} else if (newTime < 0) {
newTime = 0;
}
player.currentTime(newTime);
}
function set_time_percent(percent) {
const duration = player.duration();
const newTime = duration * (percent / 100);
player.currentTime(newTime);
}
function toggle_play() {
if (player.paused()) {
player.play();
} else {
player.pause();
}
}
const toggle_captions = (function () {
let toggledTrack = null;
const onChange = function (e) {
toggledTrack = null;
};
const bindChange = function (onOrOff) {
player.textTracks()[onOrOff]('change', onChange);
};
// Wrapper function to ignore our own emitted events and only listen
// to events emitted by Video.js on click on the captions menu items.
const setMode = function (track, mode) {
bindChange('off');
track.mode = mode;
window.setTimeout(function () {
bindChange('on');
}, 0);
};
bindChange('on');
return function () {
if (toggledTrack !== null) {
if (toggledTrack.mode !== 'showing') {
setMode(toggledTrack, 'showing');
} else {
setMode(toggledTrack, 'disabled');
}
toggledTrack = null;
return;
}
// Used as a fallback if no captions are currently active.
// TODO: Make this more intelligent by e.g. relying on browser language.
let fallbackCaptionsTrack = null;
const tracks = player.textTracks();
for (let i = 0; i < tracks.length; i++) {
const track = tracks[i];
if (track.kind !== 'captions') {
continue;
}
if (fallbackCaptionsTrack === null) {
fallbackCaptionsTrack = track;
}
if (track.mode === 'showing') {
setMode(track, 'disabled');
toggledTrack = track;
return;
}
}
// Fallback if no captions are currently active.
if (fallbackCaptionsTrack !== null) {
setMode(fallbackCaptionsTrack, 'showing');
toggledTrack = fallbackCaptionsTrack;
}
};
})();
function toggle_fullscreen() {
if (player.isFullscreen()) {
player.exitFullscreen();
} else {
player.requestFullscreen();
}
}
function increase_playback_rate(steps) {
const maxIndex = options.playbackRates.length - 1;
const curIndex = options.playbackRates.indexOf(player.playbackRate());
let newIndex = curIndex + steps;
if (newIndex > maxIndex) {
newIndex = maxIndex;
} else if (newIndex < 0) {
newIndex = 0;
}
player.playbackRate(options.playbackRates[newIndex]);
}
window.addEventListener('keydown', e => {
if (e.target.tagName.toLowerCase() === 'input') {
// Ignore input when focus is on certain elements, e.g. form fields.
return;
}
// See https://github.com/ctd1500/videojs-hotkeys/blob/bb4a158b2e214ccab87c2e7b95f42bc45c6bfd87/videojs.hotkeys.js#L310-L313
const isPlayerFocused = false
|| e.target === document.querySelector('.video-js')
|| e.target === document.querySelector('.vjs-tech')
|| e.target === document.querySelector('.iframeblocker')
|| e.target === document.querySelector('.vjs-control-bar')
;
let action = null;
const code = e.keyCode;
const decoratedKey =
e.key
+ (e.altKey ? '+alt' : '')
+ (e.ctrlKey ? '+ctrl' : '')
+ (e.metaKey ? '+meta' : '')
;
switch (decoratedKey) {
case ' ':
case 'k':
action = toggle_play;
break;
case 'ArrowUp':
if (isPlayerFocused) {
action = increase_volume.bind(this, 0.1);
}
break;
case 'ArrowDown':
if (isPlayerFocused) {
action = increase_volume.bind(this, -0.1);
}
break;
case 'm':
action = toggle_muted;
break;
case 'ArrowRight':
action = skip_seconds.bind(this, 5);
break;
case 'ArrowLeft':
action = skip_seconds.bind(this, -5);
break;
case 'l':
action = skip_seconds.bind(this, 10);
break;
case 'j':
action = skip_seconds.bind(this, -10);
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
const percent = (code - 48) * 10;
action = set_time_percent.bind(this, percent);
break;
case 'c':
action = toggle_captions;
break;
case 'f':
action = toggle_fullscreen;
break;
case 'N':
action = next_video;
break;
case 'P':
// TODO: Add support to play back previous video.
break;
case '.':
// TODO: Add support for next-frame-stepping.
break;
case ',':
// TODO: Add support for previous-frame-stepping.
break;
case '>':
action = increase_playback_rate.bind(this, 1);
break;
case '<':
action = increase_playback_rate.bind(this, -1);
break;
default:
console.info('Unhandled key down event: %s:', decoratedKey, e);
break;
}
if (action) {
e.preventDefault();
action();
}
}, false);
// Add support for controlling the player volume by scrolling over it. Adapted from
// https://github.com/ctd1500/videojs-hotkeys/blob/bb4a158b2e214ccab87c2e7b95f42bc45c6bfd87/videojs.hotkeys.js#L292-L328
(function () {
const volumeStep = 0.05;
const enableVolumeScroll = true;
const enableHoverScroll = true;
const doc = document;
const pEl = document.getElementById('player');
var volumeHover = false;
var volumeSelector = pEl.querySelector('.vjs-volume-menu-button') || pEl.querySelector('.vjs-volume-panel');
if (volumeSelector != null) {
volumeSelector.onmouseover = function () { volumeHover = true; };
volumeSelector.onmouseout = function () { volumeHover = false; };
}
var mouseScroll = function mouseScroll(event) {
var activeEl = doc.activeElement;
if (enableHoverScroll) {
// If we leave this undefined then it can match non-existent elements below
activeEl = 0;
}
// When controls are disabled, hotkeys will be disabled as well
if (player.controls()) {
if (volumeHover) {
if (enableVolumeScroll) {
event = window.event || event;
var delta = Math.max(-1, Math.min(1, (event.wheelDelta || -event.detail)));
event.preventDefault();
if (delta == 1) {
increase_volume(volumeStep);
} else if (delta == -1) {
increase_volume(-volumeStep);
}
}
}
}
};
player.on('mousewheel', mouseScroll);
player.on("DOMMouseScroll", mouseScroll);
}());
// Since videojs-share can sometimes be blocked, we defer it until last
player.share(shareOptions);

View File

@@ -0,0 +1,73 @@
var playlist_data = JSON.parse(document.getElementById('playlist_data').innerHTML);
function add_playlist_video(target) {
var select = target.parentNode.children[0].children[1];
var option = select.children[select.selectedIndex];
var url = '/playlist_ajax?action_add_video=1&redirect=false' +
'&video_id=' + target.getAttribute('data-id') +
'&playlist_id=' + option.getAttribute('data-plid');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
option.innerText = '✓' + option.innerText;
}
}
}
xhr.send('csrf_token=' + playlist_data.csrf_token);
}
function add_playlist_item(target) {
var tile = target.parentNode.parentNode.parentNode.parentNode.parentNode;
tile.style.display = 'none';
var url = '/playlist_ajax?action_add_video=1&redirect=false' +
'&video_id=' + target.getAttribute('data-id') +
'&playlist_id=' + target.getAttribute('data-plid');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
tile.style.display = '';
}
}
}
xhr.send('csrf_token=' + playlist_data.csrf_token);
}
function remove_playlist_item(target) {
var tile = target.parentNode.parentNode.parentNode.parentNode.parentNode;
tile.style.display = 'none';
var url = '/playlist_ajax?action_remove_video=1&redirect=false' +
'&set_video_id=' + target.getAttribute('data-index') +
'&playlist_id=' + target.getAttribute('data-plid');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
tile.style.display = '';
}
}
}
xhr.send('csrf_token=' + playlist_data.csrf_token);
}

File diff suppressed because one or more lines are too long

200
assets/js/sse.js Normal file
View File

@@ -0,0 +1,200 @@
/**
* Copyright (C) 2016 Maxime Petazzoni <maxime.petazzoni@bulix.org>.
* All rights reserved.
*/
var SSE = function (url, options) {
if (!(this instanceof SSE)) {
return new SSE(url, options);
}
this.INITIALIZING = -1;
this.CONNECTING = 0;
this.OPEN = 1;
this.CLOSED = 2;
this.url = url;
options = options || {};
this.headers = options.headers || {};
this.payload = options.payload !== undefined ? options.payload : '';
this.method = options.method || (this.payload && 'POST' || 'GET');
this.FIELD_SEPARATOR = ':';
this.listeners = {};
this.xhr = null;
this.readyState = this.INITIALIZING;
this.progress = 0;
this.chunk = '';
this.addEventListener = function(type, listener) {
if (this.listeners[type] === undefined) {
this.listeners[type] = [];
}
if (this.listeners[type].indexOf(listener) === -1) {
this.listeners[type].push(listener);
}
};
this.removeEventListener = function(type, listener) {
if (this.listeners[type] === undefined) {
return;
}
var filtered = [];
this.listeners[type].forEach(function(element) {
if (element !== listener) {
filtered.push(element);
}
});
if (filtered.length === 0) {
delete this.listeners[type];
} else {
this.listeners[type] = filtered;
}
};
this.dispatchEvent = function(e) {
if (!e) {
return true;
}
e.source = this;
var onHandler = 'on' + e.type;
if (this.hasOwnProperty(onHandler)) {
this[onHandler].call(this, e);
if (e.defaultPrevented) {
return false;
}
}
if (this.listeners[e.type]) {
return this.listeners[e.type].every(function(callback) {
callback(e);
return !e.defaultPrevented;
});
}
return true;
};
this._setReadyState = function (state) {
var event = new CustomEvent('readystatechange');
event.readyState = state;
this.readyState = state;
this.dispatchEvent(event);
};
this._onStreamFailure = function(e) {
this.dispatchEvent(new CustomEvent('error'));
this.close();
}
this._onStreamProgress = function(e) {
if (this.xhr.status !== 200 && this.readyState !== this.CLOSED) {
this._onStreamFailure(e);
return;
}
if (this.readyState == this.CONNECTING) {
this.dispatchEvent(new CustomEvent('open'));
this._setReadyState(this.OPEN);
}
var data = this.xhr.responseText.substring(this.progress);
this.progress += data.length;
data.split(/(\r\n|\r|\n){2}/g).forEach(function(part) {
if (part.trim().length === 0) {
this.dispatchEvent(this._parseEventChunk(this.chunk.trim()));
this.chunk = '';
} else {
this.chunk += part;
}
}.bind(this));
};
this._onStreamLoaded = function(e) {
this._onStreamProgress(e);
// Parse the last chunk.
this.dispatchEvent(this._parseEventChunk(this.chunk));
this.chunk = '';
};
/**
* Parse a received SSE event chunk into a constructed event object.
*/
this._parseEventChunk = function(chunk) {
if (!chunk || chunk.length === 0) {
return null;
}
var e = {'id': null, 'retry': null, 'data': '', 'event': 'message'};
chunk.split(/\n|\r\n|\r/).forEach(function(line) {
line = line.trimRight();
var index = line.indexOf(this.FIELD_SEPARATOR);
if (index <= 0) {
// Line was either empty, or started with a separator and is a comment.
// Either way, ignore.
return;
}
var field = line.substring(0, index);
if (!(field in e)) {
return;
}
var value = line.substring(index + 1).trimLeft();
if (field === 'data') {
e[field] += value;
} else {
e[field] = value;
}
}.bind(this));
var event = new CustomEvent(e.event);
event.data = e.data;
event.id = e.id;
return event;
};
this._checkStreamClosed = function() {
if (this.xhr.readyState === XMLHttpRequest.DONE) {
this._setReadyState(this.CLOSED);
}
};
this.stream = function() {
this._setReadyState(this.CONNECTING);
this.xhr = new XMLHttpRequest();
this.xhr.addEventListener('progress', this._onStreamProgress.bind(this));
this.xhr.addEventListener('load', this._onStreamLoaded.bind(this));
this.xhr.addEventListener('readystatechange', this._checkStreamClosed.bind(this));
this.xhr.addEventListener('error', this._onStreamFailure.bind(this));
this.xhr.addEventListener('abort', this._onStreamFailure.bind(this));
this.xhr.open(this.method, this.url);
for (var header in this.headers) {
this.xhr.setRequestHeader(header, this.headers[header]);
}
this.xhr.send(this.payload);
};
this.close = function() {
if (this.readyState === this.CLOSED) {
return;
}
this.xhr.abort();
this.xhr = null;
this._setReadyState(this.CLOSED);
};
};
// Export our SSE module for npm.js
if (typeof exports !== 'undefined') {
exports.SSE = SSE;
}

View File

@@ -0,0 +1,90 @@
var subscribe_data = JSON.parse(document.getElementById('subscribe_data').innerHTML);
var subscribe_button = document.getElementById('subscribe');
subscribe_button.parentNode['action'] = 'javascript:void(0)';
if (subscribe_button.getAttribute('data-type') === 'subscribe') {
subscribe_button.onclick = subscribe;
} else {
subscribe_button.onclick = unsubscribe;
}
function subscribe(retries = 5) {
if (retries <= 0) {
console.log('Failed to subscribe.');
return;
}
var url = '/subscription_ajax?action_create_subscription_to_channel=1&redirect=false' +
'&c=' + subscribe_data.ucid;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
var fallback = subscribe_button.innerHTML;
subscribe_button.onclick = unsubscribe;
subscribe_button.innerHTML = '<b>' + subscribe_data.unsubscribe_text + ' | ' + subscribe_data.sub_count_text + '</b>';
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
subscribe_button.onclick = subscribe;
subscribe_button.innerHTML = fallback;
}
}
}
xhr.onerror = function () {
console.log('Subscribing failed... ' + retries + '/5');
setTimeout(function () { subscribe(retries - 1) }, 1000);
}
xhr.ontimeout = function () {
console.log('Subscribing failed... ' + retries + '/5');
subscribe(retries - 1);
}
xhr.send('csrf_token=' + subscribe_data.csrf_token);
}
function unsubscribe(retries = 5) {
if (retries <= 0) {
console.log('Failed to subscribe');
return;
}
var url = '/subscription_ajax?action_remove_subscriptions=1&redirect=false' +
'&c=' + subscribe_data.ucid;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
var fallback = subscribe_button.innerHTML;
subscribe_button.onclick = subscribe;
subscribe_button.innerHTML = '<b>' + subscribe_data.subscribe_text + ' | ' + subscribe_data.sub_count_text + '</b>';
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
subscribe_button.onclick = unsubscribe;
subscribe_button.innerHTML = fallback;
}
}
}
xhr.onerror = function () {
console.log('Unsubscribing failed... ' + retries + '/5');
setTimeout(function () { unsubscribe(retries - 1) }, 1000);
}
xhr.ontimeout = function () {
console.log('Unsubscribing failed... ' + retries + '/5');
unsubscribe(retries - 1);
}
xhr.send('csrf_token=' + subscribe_data.csrf_token);
}

79
assets/js/themes.js Normal file
View File

@@ -0,0 +1,79 @@
var toggle_theme = document.getElementById('toggle_theme');
toggle_theme.href = 'javascript:void(0);';
toggle_theme.addEventListener('click', function () {
var dark_mode = document.getElementById('dark_theme').media === 'none';
var url = '/toggle_theme?redirect=false';
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', url, true);
set_mode(dark_mode);
window.localStorage.setItem('dark_mode', dark_mode ? 'dark' : 'light');
xhr.send();
});
window.addEventListener('storage', function (e) {
if (e.key === 'dark_mode') {
update_mode(e.newValue);
}
});
window.addEventListener('load', function () {
window.localStorage.setItem('dark_mode', document.getElementById('dark_mode_pref').textContent);
// Update localStorage if dark mode preference changed on preferences page
update_mode(window.localStorage.dark_mode);
});
var darkScheme = window.matchMedia('(prefers-color-scheme: dark)');
var lightScheme = window.matchMedia('(prefers-color-scheme: light)');
darkScheme.addListener(scheme_switch);
lightScheme.addListener(scheme_switch);
function scheme_switch (e) {
// ignore this method if we have a preference set
if (localStorage.getItem('dark_mode')) {
return;
}
if (e.matches) {
if (e.media.includes("dark")) {
set_mode(true);
} else if (e.media.includes("light")) {
set_mode(false);
}
}
}
function set_mode (bool) {
document.getElementById('dark_theme').media = !bool ? 'none' : '';
document.getElementById('light_theme').media = bool ? 'none' : '';
if (bool) {
toggle_theme.children[0].setAttribute('class', 'icon ion-ios-sunny');
} else {
toggle_theme.children[0].setAttribute('class', 'icon ion-ios-moon');
}
}
function update_mode (mode) {
if (mode === 'true' /* for backwards compatibility */ || mode === 'dark') {
// If preference for dark mode indicated
set_mode(true);
}
else if (mode === 'false' /* for backwards compaibility */ || mode === 'light') {
// If preference for light mode indicated
set_mode(false);
}
else if (document.getElementById('dark_mode_pref').textContent === '' && window.matchMedia('(prefers-color-scheme: dark)').matches) {
// If no preference indicated here and no preference indicated on the preferences page (backend), but the browser tells us that the operating system has a dark theme
set_mode(true);
}
// else do nothing, falling back to the mode defined by the `dark_mode` preference on the preferences page (backend)
}

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
/*! @name videojs-contrib-quality-levels @version 2.0.7 @license Apache-2.0 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("video.js"),require("global/document")):"function"==typeof define&&define.amd?define(["video.js","global/document"],t):e.videojsContribQualityLevels=t(e.videojs,e.document)}(this,function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},i=function(i){function o(){n(this,o);var l=r(this,i.call(this)),s=l;if(e.browser.IS_IE8)for(var u in s=t.createElement("custom"),o.prototype)"constructor"!==u&&(s[u]=o.prototype[u]);return s.levels_=[],s.selectedIndex_=-1,Object.defineProperty(s,"selectedIndex",{get:function(){return s.selectedIndex_}}),Object.defineProperty(s,"length",{get:function(){return s.levels_.length}}),r(l,s)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,i),o.prototype.addQualityLevel=function(r){var i=this.getQualityLevelById(r.id);if(i)return i;var o=this.levels_.length;return i=new function r(i){n(this,r);var o=this;if(e.browser.IS_IE8)for(var l in o=t.createElement("custom"),r.prototype)"constructor"!==l&&(o[l]=r.prototype[l]);return o.id=i.id,o.label=o.id,o.width=i.width,o.height=i.height,o.bitrate=i.bandwidth,o.enabled_=i.enabled,Object.defineProperty(o,"enabled",{get:function(){return o.enabled_()},set:function(e){o.enabled_(e)}}),o}(r),""+o in this||Object.defineProperty(this,o,{get:function(){return this.levels_[o]}}),this.levels_.push(i),this.trigger({qualityLevel:i,type:"addqualitylevel"}),i},o.prototype.removeQualityLevel=function(e){for(var t=null,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},o.prototype.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var r=this[t];if(r.id===e)return r}return null},o.prototype.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},o}(e.EventTarget);for(var o in i.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},i.prototype.allowedEvents_)i.prototype["on"+o]=null;var l=function(t){return n=this,e.mergeOptions({},t),r=n.qualityLevels,o=new i,n.on("dispose",function e(){o.dispose(),n.qualityLevels=r,n.off("dispose",e)}),n.qualityLevels=function(){return o},n.qualityLevels.VERSION="__VERSION__",o;var n,r,o};return(e.registerPlugin||e.plugin)("qualityLevels",l),l.VERSION="__VERSION__",l});
/*! @name videojs-contrib-quality-levels @version 2.0.9 @license Apache-2.0 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("video.js"),require("global/document")):"function"==typeof define&&define.amd?define(["video.js","global/document"],t):e.videojsContribQualityLevels=t(e.videojs,e.document)}(this,function(e,t){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var r=function(r){var i,l;function o(){var i,l=n(n(i=r.call(this)||this));if(e.browser.IS_IE8)for(var s in l=t.createElement("custom"),o.prototype)"constructor"!==s&&(l[s]=o.prototype[s]);return l.levels_=[],l.selectedIndex_=-1,Object.defineProperty(l,"selectedIndex",{get:function(){return l.selectedIndex_}}),Object.defineProperty(l,"length",{get:function(){return l.levels_.length}}),l||n(i)}l=r,(i=o).prototype=Object.create(l.prototype),i.prototype.constructor=i,i.__proto__=l;var s=o.prototype;return s.addQualityLevel=function(n){var r=this.getQualityLevelById(n.id);if(r)return r;var i=this.levels_.length;return r=new function n(r){var i=this;if(e.browser.IS_IE8)for(var l in i=t.createElement("custom"),n.prototype)"constructor"!==l&&(i[l]=n.prototype[l]);return i.id=r.id,i.label=i.id,i.width=r.width,i.height=r.height,i.bitrate=r.bandwidth,i.enabled_=r.enabled,Object.defineProperty(i,"enabled",{get:function(){return i.enabled_()},set:function(e){i.enabled_(e)}}),i}(n),""+i in this||Object.defineProperty(this,i,{get:function(){return this.levels_[i]}}),this.levels_.push(r),this.trigger({qualityLevel:r,type:"addqualitylevel"}),r},s.removeQualityLevel=function(e){for(var t=null,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},s.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var r=this[t];if(r.id===e)return r}return null},s.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},o}(e.EventTarget);for(var i in r.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},r.prototype.allowedEvents_)r.prototype["on"+i]=null;var l=function(t){return n=this,e.mergeOptions({},t),i=n.qualityLevels,l=new r,n.on("dispose",function e(){l.dispose(),n.qualityLevels=i,n.off("dispose",e)}),n.qualityLevels=function(){return l},n.qualityLevels.VERSION="2.0.9",l;var n,i,l};return(e.registerPlugin||e.plugin)("qualityLevels",l),l.VERSION="2.0.9",l});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
/**
* videojs-http-source-selector
* @version 1.1.6
* @copyright 2019 Justin Fujita <Justin@pivotshare.com>
* @license MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("video.js")):"function"==typeof define&&define.amd?define(["video.js"],t):(e=e||self)["videojs-http-source-selector"]=t(e.videojs)}(this,function(r){"use strict";function o(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var e=(r=r&&r.hasOwnProperty("default")?r.default:r).getComponent("MenuItem"),t=r.getComponent("Component"),a=function(n){function e(e,t){return t.selectable=!0,t.multiSelectable=!1,n.call(this,e,t)||this}o(e,n);var t=e.prototype;return t.handleClick=function(){var e=this.options_;console.log("Changing quality to:",e.label),n.prototype.handleClick.call(this);for(var t=this.player().qualityLevels(),o=0;o<t.length;o++)e.index==t.length?t[o].enabled=!0:e.index==o?t[o].enabled=!0:t[o].enabled=!1},t.update=function(){var e=this.player().qualityLevels().selectedIndex;this.selected(this.options_.index==e)},e}(e);t.registerComponent("SourceMenuItem",a);var u=r.getComponent("MenuButton"),n=function(i){function e(e,t){var o;o=i.call(this,e,t)||this,u.apply(s(o),arguments);var n=o.player().qualityLevels();if(t&&t.default)if("low"==t.default)for(var l=0;l<n.length;l++)n[l].enabled=0==l;else if(t.default="high")for(l=0;l<n.length;l++)n[l].enabled=l==n.length-1;return o.player().qualityLevels().on(["change","addqualitylevel"],r.bind(s(o),o.update)),o}o(e,i);var t=e.prototype;return t.createEl=function(){return r.dom.createEl("div",{className:"vjs-http-source-selector vjs-menu-button vjs-menu-button-popup vjs-control vjs-button"})},t.buildCSSClass=function(){return u.prototype.buildCSSClass.call(this)+" vjs-icon-cog"},t.update=function(){return u.prototype.update.call(this)},t.createItems=function(){for(var e=[],t=this.player().qualityLevels(),o=[],n=0;n<t.length;n++){var l=t.length-(n+1),i=l===t.selectedIndex,r=""+l,s=l;t[l].height?(r=t[l].height+"p",s=parseInt(t[l].height,10)):t[l].bitrate&&(r=Math.floor(t[l].bitrate/1e3)+" kbps",s=parseInt(t[l].bitrate,10)),0<=o.indexOf(r)||(o.push(r),e.push(new a(this.player_,{label:r,index:l,selected:i,sortVal:s})))}return 1<t.length&&e.push(new a(this.player_,{label:"Auto",index:t.length,selected:!1,sortVal:99999})),e.sort(function(e,t){return e.options_.sortVal<t.options_.sortVal?1:e.options_.sortVal>t.options_.sortVal?-1:0}),e},e}(u),l={},i=r.registerPlugin||r.plugin,c=function(e){var t=this;this.ready(function(){!function(n,e){if(n.addClass("vjs-http-source-selector"),console.log("videojs-http-source-selector initialized!"),console.log("player.techName_:"+n.techName_),"Html5"!=n.techName_)return;n.on(["loadedmetadata"],function(e){if(n.qualityLevels(),r.log("loadmetadata event"),"undefined"==n.videojs_http_source_selector_initialized||1==n.videojs_http_source_selector_initialized)console.log("player.videojs_http_source_selector_initialized == true");else{console.log("player.videojs_http_source_selector_initialized == false"),n.videojs_http_source_selector_initialized=!0;var t=n.controlBar,o=t.getChild("fullscreenToggle").el();t.el().insertBefore(t.addChild("SourceMenuButton").el(),o)}})}(t,r.mergeOptions(l,e))}),r.registerComponent("SourceMenuButton",n),r.registerComponent("SourceMenuItem",a)};return i("httpSourceSelector",c),c.VERSION="1.1.6",c});

File diff suppressed because one or more lines are too long

2
assets/js/videojs-overlay.min.js vendored Normal file
View File

@@ -0,0 +1,2 @@
/*! @name videojs-overlay @version 2.1.4 @license Apache-2.0 */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("video.js"),require("global/window")):"function"==typeof define&&define.amd?define(["video.js","global/window"],e):t.videojsOverlay=e(t.videojs,t.window)}(this,function(t,e){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var r={align:"top-left",class:"",content:"This overlay will show up while the video is playing",debug:!1,showBackground:!0,attachToControlBar:!1,overlays:[{start:"playing",end:"paused"}]},i=t.getComponent("Component"),o=t.dom||t,s=t.registerPlugin||t.plugin,a=function(t){return"number"==typeof t&&t==t},h=function(t){return"string"==typeof t&&/^\S+$/.test(t)},d=function(r){var i,s;function d(t,e){var i;return i=r.call(this,t,e)||this,["start","end"].forEach(function(t){var e=i.options_[t];if(a(e))i[t+"Event_"]="timeupdate";else if(h(e))i[t+"Event_"]=e;else if("start"===t)throw new Error('invalid "start" option; expected number or string')}),["endListener_","rewindListener_","startListener_"].forEach(function(t){i[t]=function(e){return d.prototype[t].call(n(n(i)),e)}}),"timeupdate"===i.startEvent_&&i.on(t,"timeupdate",i.rewindListener_),i.debug('created, listening to "'+i.startEvent_+'" for "start" and "'+(i.endEvent_||"nothing")+'" for "end"'),i.hide(),i}s=r,(i=d).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var l=d.prototype;return l.createEl=function(){var t=this.options_,n=t.content,r=t.showBackground?"vjs-overlay-background":"vjs-overlay-no-background",i=o.createEl("div",{className:"\n vjs-overlay\n vjs-overlay-"+t.align+"\n "+t.class+"\n "+r+"\n vjs-hidden\n "});return"string"==typeof n?i.innerHTML=n:n instanceof e.DocumentFragment?i.appendChild(n):o.appendContent(i,n),i},l.debug=function(){if(this.options_.debug){for(var e=t.log,n=e,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];e.hasOwnProperty(i[0])&&"function"==typeof e[i[0]]&&(n=e[i.shift()]),n.apply(void 0,["overlay#"+this.id()+": "].concat(i))}},l.hide=function(){return r.prototype.hide.call(this),this.debug("hidden"),this.debug('bound `startListener_` to "'+this.startEvent_+'"'),this.endEvent_&&(this.debug('unbound `endListener_` from "'+this.endEvent_+'"'),this.off(this.player(),this.endEvent_,this.endListener_)),this.on(this.player(),this.startEvent_,this.startListener_),this},l.shouldHide_=function(t,e){var n=this.options_.end;return a(n)?t>=n:n===e},l.show=function(){return r.prototype.show.call(this),this.off(this.player(),this.startEvent_,this.startListener_),this.debug("shown"),this.debug('unbound `startListener_` from "'+this.startEvent_+'"'),this.endEvent_&&(this.debug('bound `endListener_` to "'+this.endEvent_+'"'),this.on(this.player(),this.endEvent_,this.endListener_)),this},l.shouldShow_=function(t,e){var n=this.options_.start,r=this.options_.end;return a(n)?a(r)?t>=n&&t<r:this.hasShownSinceSeek_?Math.floor(t)===n:(this.hasShownSinceSeek_=!0,t>=n):n===e},l.startListener_=function(t){var e=this.player().currentTime();this.shouldShow_(e,t.type)&&this.show()},l.endListener_=function(t){var e=this.player().currentTime();this.shouldHide_(e,t.type)&&this.hide()},l.rewindListener_=function(t){var e=this.player().currentTime(),n=this.previousTime_,r=this.options_.start,i=this.options_.end;e<n&&(this.debug("rewind detected"),a(i)&&!this.shouldShow_(e)?(this.debug("hiding; "+i+" is an integer and overlay should not show at this time"),this.hasShownSinceSeek_=!1,this.hide()):h(i)&&e<r&&(this.debug("hiding; show point ("+r+") is before now ("+e+") and end point ("+i+") is an event"),this.hasShownSinceSeek_=!1,this.hide())),this.previousTime_=e},d}(i);t.registerComponent("Overlay",d);var l=function(e){var n=this,i=t.mergeOptions(r,e);Array.isArray(this.overlays_)&&this.overlays_.forEach(function(t){n.removeChild(t),n.controlBar&&n.controlBar.removeChild(t),t.dispose()});var o=i.overlays;delete i.overlays,this.overlays_=o.map(function(e){var r=t.mergeOptions(i,e),o="string"==typeof r.attachToControlBar||!0===r.attachToControlBar;if(!n.controls()||!n.controlBar)return n.addChild("overlay",r);if(o&&-1!==r.align.indexOf("bottom")){var s=n.controlBar.children()[0];if(void 0!==n.controlBar.getChild(r.attachToControlBar)&&(s=n.controlBar.getChild(r.attachToControlBar)),s){var a=n.controlBar.addChild("overlay",r);return n.controlBar.el().insertBefore(a.el(),s.el()),a}}var h=n.addChild("overlay",r);return n.el().insertBefore(h.el(),n.controlBar.el()),h})};return l.VERSION="2.1.4",s("overlay",l),l});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
/* videojs-hotkeys v0.2.22 - https://github.com/ctd1500/videojs-hotkeys */
!function(e,t){"undefined"!=typeof window&&window.videojs?t(window.videojs):"function"==typeof define&&define.amd?define("videojs-hotkeys",["video.js"],function(e){return t(e.default||e)}):"undefined"!=typeof module&&module.exports&&(module.exports=t(require("video.js")))}(0,function(s){"use strict";"undefined"!=typeof window&&(window.videojs_hotkeys={version:"0.2.22"});(s.registerPlugin||s.plugin)("hotkeys",function(m){var y=this,v=y.el(),f=document,e={volumeStep:.1,seekStep:5,enableMute:!0,enableVolumeScroll:!0,enableHoverScroll:!0,enableFullscreen:!0,enableNumbers:!0,enableJogStyle:!1,alwaysCaptureHotkeys:!1,enableModifiersForNumbers:!0,enableInactiveFocus:!0,skipInitialFocus:!1,playPauseKey:function(e){return 32===e.which||179===e.which},rewindKey:function(e){return 37===e.which||177===e.which},forwardKey:function(e){return 39===e.which||176===e.which},volumeUpKey:function(e){return 38===e.which},volumeDownKey:function(e){return 40===e.which},muteKey:function(e){return 77===e.which},fullscreenKey:function(e){return 70===e.which},customKeys:{}},t=s.mergeOptions||s.util.mergeOptions,d=(m=t(e,m||{})).volumeStep,n=m.seekStep,p=m.enableMute,r=m.enableVolumeScroll,o=m.enableHoverScroll,b=m.enableFullscreen,h=m.enableNumbers,w=m.enableJogStyle,k=m.alwaysCaptureHotkeys,S=m.enableModifiersForNumbers,u=m.enableInactiveFocus,l=m.skipInitialFocus;v.hasAttribute("tabIndex")||v.setAttribute("tabIndex","-1"),v.style.outline="none",!k&&y.autoplay()||l||y.one("play",function(){v.focus()}),u&&y.on("userinactive",function(){var n=function(){clearTimeout(e)},e=setTimeout(function(){y.off("useractive",n);var e=f.activeElement,t=v.querySelector(".vjs-control-bar");e&&e.parentElement==t&&v.focus()},10);y.one("useractive",n)}),y.on("play",function(){var e=v.querySelector(".iframeblocker");e&&""===e.style.display&&(e.style.display="block",e.style.bottom="39px")});var i=!1,c=v.querySelector(".vjs-volume-menu-button")||v.querySelector(".vjs-volume-panel");c.onmouseover=function(){i=!0},c.onmouseout=function(){i=!1};var a=function(e){if(o)var t=0;else t=f.activeElement;if(y.controls()&&(k||t==v||t==v.querySelector(".vjs-tech")||t==v.querySelector(".iframeblocker")||t==v.querySelector(".vjs-control-bar")||i)&&r){e=window.event||e;var n=Math.max(-1,Math.min(1,e.wheelDelta||-e.detail));e.preventDefault(),1==n?y.volume(y.volume()+d):-1==n&&y.volume(y.volume()-d)}},K=function(e,t){return m.playPauseKey(e,t)?1:m.rewindKey(e,t)?2:m.forwardKey(e,t)?3:m.volumeUpKey(e,t)?4:m.volumeDownKey(e,t)?5:m.muteKey(e,t)?6:m.fullscreenKey(e,t)?7:void 0};function q(e){return"function"==typeof n?n(e):n}return y.on("keydown",function(e){var t,n,r=e.which,o=e.preventDefault,u=y.duration();if(y.controls()){var l=f.activeElement;if(k||l==v||l==v.querySelector(".vjs-tech")||l==v.querySelector(".vjs-control-bar")||l==v.querySelector(".iframeblocker"))switch(K(e,y)){case 1:o(),k&&e.stopPropagation(),y.paused()?y.play():y.pause();break;case 2:t=!y.paused(),o(),t&&y.pause(),(n=y.currentTime()-q(e))<=0&&(n=0),y.currentTime(n),t&&y.play();break;case 3:t=!y.paused(),o(),t&&y.pause(),u<=(n=y.currentTime()+q(e))&&(n=t?u-.001:u),y.currentTime(n),t&&y.play();break;case 5:o(),w?(n=y.currentTime()-1,y.currentTime()<=1&&(n=0),y.currentTime(n)):y.volume(y.volume()-d);break;case 4:o(),w?(u<=(n=y.currentTime()+1)&&(n=u),y.currentTime(n)):y.volume(y.volume()+d);break;case 6:p&&y.muted(!y.muted());break;case 7:b&&(y.isFullscreen()?y.exitFullscreen():y.requestFullscreen());break;default:if((47<r&&r<59||95<r&&r<106)&&(S||!(e.metaKey||e.ctrlKey||e.altKey))&&h){var i=48;95<r&&(i=96);var c=r-i;o(),y.currentTime(y.duration()*c*.1)}for(var a in m.customKeys){var s=m.customKeys[a];s&&s.key&&s.handler&&s.key(e)&&(o(),s.handler(y,m,e))}}}}),y.on("dblclick",function(e){if(y.controls()){var t=e.relatedTarget||e.toElement||f.activeElement;t!=v&&t!=v.querySelector(".vjs-tech")&&t!=v.querySelector(".iframeblocker")||b&&(y.isFullscreen()?y.exitFullscreen():y.requestFullscreen())}}),y.on("mousewheel",a),y.on("DOMMouseScroll",a),this})});

View File

@@ -1,48 +1,461 @@
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
String.prototype.supplant = function (o) {
return this.replace(/{([^{}]*)}/g, function (a, b) {
var r = o[b];
return typeof r === 'string' || typeof r === 'number' ? r : a;
});
}
function toggle_parent(target) {
body = target.parentNode.parentNode.children[1];
if (body.style.display === null || body.style.display === "") {
target.innerHTML = "[ + ]";
body.style.display = "none";
} else {
target.innerHTML = "[ - ]";
body.style.display = "";
}
body = target.parentNode.parentNode.children[1];
if (body.style.display === null || body.style.display === '') {
target.innerHTML = '[ + ]';
body.style.display = 'none';
} else {
target.innerHTML = '[ - ]';
body.style.display = '';
}
}
function toggle_comments(target) {
body = target.parentNode.parentNode.parentNode.children[1];
if (body.style.display === null || body.style.display === "") {
target.innerHTML = "[ + ]";
body.style.display = "none";
} else {
target.innerHTML = "[ - ]";
body.style.display = "";
}
function toggle_comments(event) {
var target = event.target;
body = target.parentNode.parentNode.parentNode.children[1];
if (body.style.display === null || body.style.display === '') {
target.innerHTML = '[ + ]';
body.style.display = 'none';
} else {
target.innerHTML = '[ - ]';
body.style.display = '';
}
}
function swap_comments(source) {
comments = document.getElementById("comments");
var fallback = comments.innerHTML;
comments.innerHTML =
'<h3><center class="loading"><i class="icon ion-ios-refresh"></i></center></h3>';
function swap_comments(event) {
var source = event.target.getAttribute('data-comments');
if (source == "youtube") {
get_youtube_comments();
} else if (source == "reddit") {
get_reddit_comments();
}
if (source === 'youtube') {
get_youtube_comments();
} else if (source === 'reddit') {
get_reddit_comments();
}
}
function commaSeparateNumber(val) {
while (/(\d+)(\d{3})/.test(val.toString())) {
val = val.toString().replace(/(\d+)(\d{3})/, "$1" + "," + "$2");
}
return val;
function hide_youtube_replies(event) {
var target = event.target;
sub_text = target.getAttribute('data-inner-text');
inner_text = target.getAttribute('data-sub-text');
body = target.parentNode.parentNode.children[1];
body.style.display = 'none';
target.innerHTML = sub_text;
target.onclick = show_youtube_replies;
target.setAttribute('data-inner-text', inner_text);
target.setAttribute('data-sub-text', sub_text);
}
String.prototype.supplant = function(o) {
return this.replace(/{([^{}]*)}/g, function(a, b) {
var r = o[b];
return typeof r === "string" || typeof r === "number" ? r : a;
});
};
function show_youtube_replies(event) {
var target = event.target;
sub_text = target.getAttribute('data-inner-text');
inner_text = target.getAttribute('data-sub-text');
body = target.parentNode.parentNode.children[1];
body.style.display = '';
target.innerHTML = sub_text;
target.onclick = hide_youtube_replies;
target.setAttribute('data-inner-text', inner_text);
target.setAttribute('data-sub-text', sub_text);
}
var continue_button = document.getElementById('continue');
if (continue_button) {
continue_button.onclick = continue_autoplay;
}
function next_video() {
var url = new URL('https://example.com/watch?v=' + video_data.next_video);
if (video_data.params.autoplay || video_data.params.continue_autoplay) {
url.searchParams.set('autoplay', '1');
}
if (video_data.params.listen !== video_data.preferences.listen) {
url.searchParams.set('listen', video_data.params.listen);
}
if (video_data.params.speed !== video_data.preferences.speed) {
url.searchParams.set('speed', video_data.params.speed);
}
if (video_data.params.local !== video_data.preferences.local) {
url.searchParams.set('local', video_data.params.local);
}
url.searchParams.set('continue', '1');
location.assign(url.pathname + url.search);
}
function continue_autoplay(event) {
if (event.target.checked) {
player.on('ended', function () {
next_video();
});
} else {
player.off('ended');
}
}
function number_with_separator(val) {
while (/(\d+)(\d{3})/.test(val.toString())) {
val = val.toString().replace(/(\d+)(\d{3})/, '$1' + ',' + '$2');
}
return val;
}
function get_playlist(plid, retries) {
if (retries == undefined) retries = 5;
playlist = document.getElementById('playlist');
if (retries <= 0) {
console.log('Failed to pull playlist');
playlist.innerHTML = '';
return;
}
playlist.innerHTML = ' \
<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3> \
<hr>'
if (plid.startsWith('RD')) {
var plid_url = '/api/v1/mixes/' + plid +
'?continuation=' + video_data.id +
'&format=html&hl=' + video_data.preferences.locale;
} else {
var plid_url = '/api/v1/playlists/' + plid +
'?index=' + video_data.index +
'&continuation=' + video_data.id +
'&format=html&hl=' + video_data.preferences.locale;
}
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', plid_url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
playlist.innerHTML = xhr.response.playlistHtml;
if (xhr.response.nextVideo) {
player.on('ended', function () {
var url = new URL('https://example.com/watch?v=' + xhr.response.nextVideo);
if (video_data.params.autoplay || video_data.params.continue_autoplay) {
url.searchParams.set('autoplay', '1');
}
if (video_data.params.listen !== video_data.preferences.listen) {
url.searchParams.set('listen', video_data.params.listen);
}
if (video_data.params.speed !== video_data.preferences.speed) {
url.searchParams.set('speed', video_data.params.speed);
}
if (video_data.params.local !== video_data.preferences.local) {
url.searchParams.set('local', video_data.params.local);
}
url.searchParams.set('list', plid);
if (!plid.startsWith('RD')) {
url.searchParams.set('index', xhr.response.index);
}
location.assign(url.pathname + url.search);
});
}
} else {
playlist.innerHTML = '';
document.getElementById('continue').style.display = '';
}
}
}
xhr.onerror = function () {
playlist = document.getElementById('playlist');
playlist.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3><hr>';
console.log('Pulling playlist timed out... ' + retries + '/5');
setTimeout(function () { get_playlist(plid, retries - 1) }, 1000);
}
xhr.ontimeout = function () {
playlist = document.getElementById('playlist');
playlist.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3><hr>';
console.log('Pulling playlist timed out... ' + retries + '/5');
get_playlist(plid, retries - 1);
}
xhr.send();
}
function get_reddit_comments(retries) {
if (retries == undefined) retries = 5;
comments = document.getElementById('comments');
if (retries <= 0) {
console.log('Failed to pull comments');
comments.innerHTML = '';
return;
}
var fallback = comments.innerHTML;
comments.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
var url = '/api/v1/comments/' + video_data.id +
'?source=reddit&format=html' +
'&hl=' + video_data.preferences.locale;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
comments.innerHTML = ' \
<div> \
<h3> \
<a href="javascript:void(0)">[ - ]</a> \
{title} \
</h3> \
<p> \
<b> \
<a href="javascript:void(0)" data-comments="youtube"> \
{youtubeCommentsText} \
</a> \
</b> \
</p> \
<b> \
<a rel="noopener" target="_blank" href="https://reddit.com{permalink}">{redditPermalinkText}</a> \
</b> \
</div> \
<div>{contentHtml}</div> \
<hr>'.supplant({
title: xhr.response.title,
youtubeCommentsText: video_data.youtube_comments_text,
redditPermalinkText: video_data.reddit_permalink_text,
permalink: xhr.response.permalink,
contentHtml: xhr.response.contentHtml
});
comments.children[0].children[0].children[0].onclick = toggle_comments;
comments.children[0].children[1].children[0].onclick = swap_comments;
} else {
if (video_data.params.comments[1] === 'youtube') {
console.log('Pulling comments failed... ' + retries + '/5');
setTimeout(function () { get_youtube_comments(retries - 1) }, 1000);
} else {
comments.innerHTML = fallback;
}
}
}
}
xhr.onerror = function () {
console.log('Pulling comments failed... ' + retries + '/5');
setInterval(function () { get_reddit_comments(retries - 1) }, 1000);
}
xhr.ontimeout = function () {
console.log('Pulling comments failed... ' + retries + '/5');
get_reddit_comments(retries - 1);
}
xhr.send();
}
function get_youtube_comments(retries) {
if (retries == undefined) retries = 5;
comments = document.getElementById('comments');
if (retries <= 0) {
console.log('Failed to pull comments');
comments.innerHTML = '';
return;
}
var fallback = comments.innerHTML;
comments.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
var url = '/api/v1/comments/' + video_data.id +
'?format=html' +
'&hl=' + video_data.preferences.locale +
'&thin_mode=' + video_data.preferences.thin_mode;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
comments.innerHTML = ' \
<div> \
<h3> \
<a href="javascript:void(0)">[ - ]</a> \
{commentsText} \
</h3> \
<b> \
<a href="javascript:void(0)" data-comments="reddit"> \
{redditComments} \
</a> \
</b> \
</div> \
<div>{contentHtml}</div> \
<hr>'.supplant({
contentHtml: xhr.response.contentHtml,
redditComments: video_data.reddit_comments_text,
commentsText: video_data.comments_text.supplant(
{ commentCount: number_with_separator(xhr.response.commentCount) }
)
});
comments.children[0].children[0].children[0].onclick = toggle_comments;
comments.children[0].children[1].children[0].onclick = swap_comments;
} else {
if (video_data.params.comments[1] === 'youtube') {
setTimeout(function () { get_youtube_comments(retries - 1) }, 1000);
} else {
comments.innerHTML = '';
}
}
}
}
xhr.onerror = function () {
comments.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
console.log('Pulling comments failed... ' + retries + '/5');
setInterval(function () { get_youtube_comments(retries - 1) }, 1000);
}
xhr.ontimeout = function () {
comments.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
console.log('Pulling comments failed... ' + retries + '/5');
get_youtube_comments(retries - 1);
}
xhr.send();
}
function get_youtube_replies(target, load_more) {
var continuation = target.getAttribute('data-continuation');
var body = target.parentNode.parentNode;
var fallback = body.innerHTML;
body.innerHTML =
'<h3 style="text-align:center"><div class="loading"><i class="icon ion-ios-refresh"></i></div></h3>';
var url = '/api/v1/comments/' + video_data.id +
'?format=html' +
'&hl=' + video_data.preferences.locale +
'&thin_mode=' + video_data.preferences.thin_mode +
'&continuation=' + continuation;
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('GET', url, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status == 200) {
if (load_more) {
body = body.parentNode.parentNode;
body.removeChild(body.lastElementChild);
body.innerHTML += xhr.response.contentHtml;
} else {
body.removeChild(body.lastElementChild);
var p = document.createElement('p');
var a = document.createElement('a');
p.appendChild(a);
a.href = 'javascript:void(0)';
a.onclick = hide_youtube_replies;
a.setAttribute('data-sub-text', video_data.hide_replies_text);
a.setAttribute('data-inner-text', video_data.show_replies_text);
a.innerText = video_data.hide_replies_text;
var div = document.createElement('div');
div.innerHTML = xhr.response.contentHtml;
body.appendChild(p);
body.appendChild(div);
}
} else {
body.innerHTML = fallback;
}
}
}
xhr.ontimeout = function () {
console.log('Pulling comments failed.');
body.innerHTML = fallback;
}
xhr.send();
}
if (video_data.play_next) {
player.on('ended', function () {
var url = new URL('https://example.com/watch?v=' + video_data.next_video);
if (video_data.params.autoplay || video_data.params.continue_autoplay) {
url.searchParams.set('autoplay', '1');
}
if (video_data.params.listen !== video_data.preferences.listen) {
url.searchParams.set('listen', video_data.params.listen);
}
if (video_data.params.speed !== video_data.preferences.speed) {
url.searchParams.set('speed', video_data.params.speed);
}
if (video_data.params.local !== video_data.preferences.local) {
url.searchParams.set('local', video_data.params.local);
}
url.searchParams.set('continue', '1');
location.assign(url.pathname + url.search);
});
}
window.addEventListener('load', function (e) {
if (video_data.plid) {
get_playlist(video_data.plid);
}
if (video_data.params.comments[0] === 'youtube') {
get_youtube_comments();
} else if (video_data.params.comments[0] === 'reddit') {
get_reddit_comments();
} else if (video_data.params.comments[1] === 'youtube') {
get_youtube_comments();
} else if (video_data.params.comments[1] === 'reddit') {
get_reddit_comments();
} else {
comments = document.getElementById('comments');
comments.innerHTML = '';
}
});

View File

@@ -0,0 +1,50 @@
var watched_data = JSON.parse(document.getElementById('watched_data').innerHTML);
function mark_watched(target) {
var tile = target.parentNode.parentNode.parentNode.parentNode.parentNode;
tile.style.display = 'none';
var url = '/watch_ajax?action_mark_watched=1&redirect=false' +
'&id=' + target.getAttribute('data-id');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
tile.style.display = '';
}
}
}
xhr.send('csrf_token=' + watched_data.csrf_token);
}
function mark_unwatched(target) {
var tile = target.parentNode.parentNode.parentNode.parentNode.parentNode;
tile.style.display = 'none';
var count = document.getElementById('count')
count.innerText = count.innerText - 1;
var url = '/watch_ajax?action_mark_unwatched=1&redirect=false' +
'&id=' + target.getAttribute('data-id');
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.timeout = 10000;
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status != 200) {
count.innerText = count.innerText - 1 + 2;
tile.style.display = '';
}
}
}
xhr.send('csrf_token=' + watched_data.csrf_token);
}

BIN
assets/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="607.000000pt" height="607.000000pt" viewBox="0 0 607.000000 607.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,607.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2770 5949 c-775 -68 -1523 -436 -2020 -994 -491 -551 -743 -1200
-743 -1915 -1 -466 100 -884 312 -1296 146 -284 307 -502 540 -734 172 -171
264 -247 461 -378 415 -277 905 -452 1404 -501 161 -16 508 -14 666 4 914 105
1715 590 2213 1342 306 462 467 995 467 1553 0 268 -22 448 -85 699 -94 378
-293 778 -541 1091 -156 196 -449 465 -665 611 -405 272 -894 453 -1379 509
-130 15 -502 21 -630 9z m475 -139 c527 -39 1012 -203 1435 -485 176 -117 274
-198 436 -360 315 -313 518 -633 664 -1045 52 -148 112 -399 131 -555 19 -150
17 -533 -4 -684 -102 -730 -489 -1382 -1092 -1836 -332 -250 -716 -425 -1135
-519 -348 -77 -784 -87 -1150 -25 -1214 205 -2177 1157 -2350 2324 -56 377
-30 801 70 1148 151 520 427 950 850 1326 566 502 1368 768 2145 711z"/>
<path d="M2787 4669 c-124 -65 -123 -255 3 -319 86 -44 196 -16 247 62 58 87
26 211 -67 258 -51 26 -132 26 -183 -1z"/>
<path d="M2882 4108 c-12 -16 -63 -166 -102 -303 -30 -104 -101 -350 -165
-565 -20 -69 -58 -199 -85 -290 -26 -91 -64 -221 -85 -290 -20 -69 -58 -199
-85 -290 -26 -91 -64 -221 -85 -290 -20 -69 -57 -195 -81 -280 -59 -207 -93
-299 -115 -310 -10 -6 -35 -10 -56 -10 -73 0 -84 -8 -81 -54 l3 -41 228 -3
228 -2 -3 47 -3 48 -73 3 c-66 3 -74 5 -84 27 -13 28 0 104 37 225 13 41 47
156 75 255 28 99 66 230 85 290 18 61 56 191 85 290 28 99 66 230 85 290 18
61 56 191 85 290 85 297 123 419 131 429 5 5 17 -11 28 -35 10 -24 192 -393
403 -819 211 -426 447 -902 523 -1058 l139 -282 168 0 c92 0 168 4 168 8 0 4
-75 158 -166 342 -588 1183 -969 1958 -1033 2100 -29 63 -69 151 -89 195 -44
95 -58 110 -80 83z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

19
assets/site.webmanifest Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "Invidious",
"short_name": "Invidious",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#575757",
"background_color": "#575757",
"display": "standalone"
}

View File

@@ -1,6 +1,5 @@
crawl_threads: 1
channel_threads: 1
video_threads: 1
feed_threads: 1
db:
user: kemal
password: kemal
@@ -9,4 +8,4 @@ db:
dbname: invidious
full_refresh: false
https_only: false
geo_bypass: true
domain:

View File

@@ -0,0 +1,4 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channels ADD COLUMN subscribed bool;"
psql invidious kemal -c "UPDATE channels SET subscribed = false;"

View File

@@ -0,0 +1,7 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN live_now CASCADE"
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN premiere_timestamp CASCADE"
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN live_now bool"
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz"

View File

@@ -0,0 +1,4 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channels ADD COLUMN deleted bool;"
psql invidious kemal -c "UPDATE channels SET deleted = false;"

View File

@@ -0,0 +1,5 @@
#!/bin/sh
psql invidious kemal < config/sql/session_ids.sql
psql invidious kemal -c "INSERT INTO session_ids (SELECT unnest(id), email, CURRENT_TIMESTAMP FROM users) ON CONFLICT (id) DO NOTHING"
psql invidious kemal -c "ALTER TABLE users DROP COLUMN id"

View File

@@ -0,0 +1,3 @@
#!/bin/sh
psql invidious kemal < config/sql/annotations.sql

View File

@@ -0,0 +1,3 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN views bigint;"

View File

@@ -0,0 +1,4 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN live_now bool;"
psql invidious kemal -c "UPDATE channel_videos SET live_now = false;"

View File

@@ -0,0 +1,3 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE users ADD COLUMN feed_needs_update boolean"

View File

@@ -0,0 +1,3 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz;"

View File

@@ -0,0 +1,5 @@
#!/bin/sh
psql invidious kemal -c "ALTER TABLE channels DROP COLUMN subscribed"
psql invidious kemal -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"
psql invidious kemal -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'"

View File

@@ -0,0 +1,12 @@
-- Table: public.annotations
-- DROP TABLE public.annotations;
CREATE TABLE public.annotations
(
id text NOT NULL,
annotations xml,
CONSTRAINT annotations_id_key UNIQUE (id)
);
GRANT ALL ON TABLE public.annotations TO kemal;

View File

@@ -4,35 +4,27 @@
CREATE TABLE public.channel_videos
(
id text COLLATE pg_catalog."default" NOT NULL,
title text COLLATE pg_catalog."default",
published timestamp with time zone,
updated timestamp with time zone,
ucid text COLLATE pg_catalog."default",
author text COLLATE pg_catalog."default",
CONSTRAINT channel_videos_id_key UNIQUE (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
id text NOT NULL,
title text,
published timestamp with time zone,
updated timestamp with time zone,
ucid text,
author text,
length_seconds integer,
live_now boolean,
premiere_timestamp timestamp with time zone,
views bigint,
CONSTRAINT channel_videos_id_key UNIQUE (id)
);
GRANT ALL ON TABLE public.channel_videos TO kemal;
-- Index: channel_videos_published_idx
-- DROP INDEX public.channel_videos_published_idx;
CREATE INDEX channel_videos_published_idx
ON public.channel_videos USING btree
(published)
TABLESPACE pg_default;
-- Index: channel_videos_ucid_idx
-- Index: public.channel_videos_ucid_idx
-- DROP INDEX public.channel_videos_ucid_idx;
CREATE INDEX channel_videos_ucid_idx
ON public.channel_videos USING hash
(ucid COLLATE pg_catalog."default")
TABLESPACE pg_default;
ON public.channel_videos
USING btree
(ucid COLLATE pg_catalog."default");

View File

@@ -4,23 +4,22 @@
CREATE TABLE public.channels
(
id text COLLATE pg_catalog."default" NOT NULL,
author text COLLATE pg_catalog."default",
updated timestamp with time zone,
CONSTRAINT channels_id_key UNIQUE (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
id text NOT NULL,
author text,
updated timestamp with time zone,
deleted boolean,
subscribed timestamp with time zone,
CONSTRAINT channels_id_key UNIQUE (id)
);
GRANT ALL ON TABLE public.channels TO kemal;
-- Index: channels_id_idx
-- Index: public.channels_id_idx
-- DROP INDEX public.channels_id_idx;
CREATE INDEX channels_id_idx
ON public.channels USING btree
(id COLLATE pg_catalog."default")
TABLESPACE pg_default;
ON public.channels
USING btree
(id COLLATE pg_catalog."default");

22
config/sql/nonces.sql Normal file
View File

@@ -0,0 +1,22 @@
-- Table: public.nonces
-- DROP TABLE public.nonces;
CREATE TABLE public.nonces
(
nonce text,
expire timestamp with time zone,
CONSTRAINT nonces_id_key UNIQUE (nonce)
);
GRANT ALL ON TABLE public.nonces TO kemal;
-- Index: public.nonces_nonce_idx
-- DROP INDEX public.nonces_nonce_idx;
CREATE INDEX nonces_nonce_idx
ON public.nonces
USING btree
(nonce COLLATE pg_catalog."default");

View File

@@ -0,0 +1,19 @@
-- Table: public.playlist_videos
-- DROP TABLE public.playlist_videos;
CREATE TABLE playlist_videos
(
title text,
id text,
author text,
ucid text,
length_seconds integer,
published timestamptz,
plid text references playlists(id),
index int8,
live_now boolean,
PRIMARY KEY (index,plid)
);
GRANT ALL ON TABLE public.playlist_videos TO kemal;

29
config/sql/playlists.sql Normal file
View File

@@ -0,0 +1,29 @@
-- Type: public.privacy
-- DROP TYPE public.privacy;
CREATE TYPE public.privacy AS ENUM
(
'Public',
'Unlisted',
'Private'
);
-- Table: public.playlists
-- DROP TABLE public.playlists;
CREATE TABLE public.playlists
(
title text,
id text primary key,
author text,
description text,
video_count integer,
created timestamptz,
updated timestamptz,
privacy privacy,
index int8[]
);
GRANT ALL ON public.playlists TO kemal;

View File

@@ -0,0 +1,23 @@
-- Table: public.session_ids
-- DROP TABLE public.session_ids;
CREATE TABLE public.session_ids
(
id text NOT NULL,
email text,
issued timestamp with time zone,
CONSTRAINT session_ids_pkey PRIMARY KEY (id)
);
GRANT ALL ON TABLE public.session_ids TO kemal;
-- Index: public.session_ids_id_idx
-- DROP INDEX public.session_ids_id_idx;
CREATE INDEX session_ids_id_idx
ON public.session_ids
USING btree
(id COLLATE pg_catalog."default");

View File

@@ -2,22 +2,28 @@
-- DROP TABLE public.users;
CREATE TABLE public.users
CREATE TABLE public.users
(
id text[] COLLATE pg_catalog."default" NOT NULL,
updated timestamp with time zone,
notifications text[] COLLATE pg_catalog."default",
subscriptions text[] COLLATE pg_catalog."default",
email text COLLATE pg_catalog."default" NOT NULL,
preferences text COLLATE pg_catalog."default",
password text COLLATE pg_catalog."default",
token text COLLATE pg_catalog."default",
watched text[] COLLATE pg_catalog."default",
CONSTRAINT users_email_key UNIQUE (email)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
updated timestamp with time zone,
notifications text[],
subscriptions text[],
email text NOT NULL,
preferences text,
password text,
token text,
watched text[],
feed_needs_update boolean,
CONSTRAINT users_email_key UNIQUE (email)
);
GRANT ALL ON TABLE public.users TO kemal;
-- Index: public.email_unique_idx
-- DROP INDEX public.email_unique_idx;
CREATE UNIQUE INDEX email_unique_idx
ON public.users
USING btree
(lower(email) COLLATE pg_catalog."default");

View File

@@ -4,38 +4,37 @@
CREATE TABLE public.videos
(
id text COLLATE pg_catalog."default" NOT NULL,
info text COLLATE pg_catalog."default",
updated timestamp with time zone,
title text COLLATE pg_catalog."default",
views bigint,
likes integer,
dislikes integer,
wilson_score double precision,
published timestamp with time zone,
description text COLLATE pg_catalog."default",
language text COLLATE pg_catalog."default",
author text COLLATE pg_catalog."default",
ucid text COLLATE pg_catalog."default",
allowed_regions text[] COLLATE pg_catalog."default",
is_family_friendly boolean,
genre text COLLATE pg_catalog."default",
genre_url text COLLATE pg_catalog."default",
license text COLLATE pg_catalog."default",
CONSTRAINT videos_pkey PRIMARY KEY (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
id text NOT NULL,
info text,
updated timestamp with time zone,
title text,
views bigint,
likes integer,
dislikes integer,
wilson_score double precision,
published timestamp with time zone,
description text,
language text,
author text,
ucid text,
allowed_regions text[],
is_family_friendly boolean,
genre text,
genre_url text,
license text,
sub_count_text text,
author_thumbnail text,
CONSTRAINT videos_pkey PRIMARY KEY (id)
);
GRANT ALL ON TABLE public.videos TO kemal;
-- Index: id_idx
-- Index: public.id_idx
-- DROP INDEX public.id_idx;
CREATE UNIQUE INDEX id_idx
ON public.videos USING btree
(id COLLATE pg_catalog."default")
TABLESPACE pg_default;
ON public.videos
USING btree
(id COLLATE pg_catalog."default");

View File

@@ -7,13 +7,29 @@ services:
restart: unless-stopped
volumes:
- postgresdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
invidious:
build:
context: .
dockerfile: docker/Dockerfile
restart: unless-stopped
ports:
- "3000:3000"
- "127.0.0.1:3000:3000"
environment:
# Adapted from ./config/config.yml
INVIDIOUS_CONFIG: |
channel_threads: 1
feed_threads: 1
db:
user: kemal
password: kemal
host: postgres
port: 5432
dbname: invidious
full_refresh: false
https_only: false
domain:
depends_on:
- postgres

View File

@@ -1,15 +1,38 @@
FROM archlinux/base
RUN pacman -Sy --noconfirm shards crystal imagemagick librsvg \
which pkgconf gcc ttf-liberation
# base-devel contains many other basic packages, that are normally assumed to already exist on a clean arch system
ADD . /invidious
FROM alpine:edge AS builder
RUN apk add --no-cache curl crystal shards libc-dev \
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
yaml-static sqlite-static zlib-static openssl-libs-static
WORKDIR /invidious
RUN curl -Lo /etc/apk/keys/omarroth.rsa.pub https://github.com/omarroth/boringssl-alpine/releases/download/1.1.0-r0/omarroth.rsa.pub && \
curl -Lo boringssl-dev.apk https://github.com/omarroth/boringssl-alpine/releases/download/1.1.0-r0/boringssl-dev-1.1.0-r0.apk && \
curl -Lo lsquic.apk https://github.com/omarroth/lsquic-alpine/releases/download/2.6.3-r0/lsquic-2.6.3-r0.apk && \
apk verify --no-cache boringssl-dev.apk lsquic.apk && \
tar -xf boringssl-dev.apk usr/lib/libcrypto.a usr/lib/libssl.a && \
tar -xf lsquic.apk usr/lib/liblsquic.a && \
rm /etc/apk/keys/omarroth.rsa.pub boringssl-dev.apk lsquic.apk
COPY ./shard.yml ./shard.yml
RUN shards update && shards install && \
mv ./usr/lib/* ./lib/lsquic/src/lsquic/ext && \
rm -r ./usr /root/.cache
COPY ./src/ ./src/
# TODO: .git folder is required for building this is destructive.
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
COPY ./.git/ ./.git/
RUN crystal build ./src/invidious.cr \
--static --warnings all --error-on-warnings \
--link-flags "-lxml2 -llzma"
RUN sed -i 's/host: localhost/host: postgres/' config/config.yml && \
shards && \
crystal build src/invidious.cr
FROM alpine:latest
RUN apk add --no-cache librsvg ttf-opensans
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
adduser -u 1000 -S invidious -G invidious
COPY ./assets/ ./assets/
COPY --chown=invidious ./config/config.yml ./config/config.yml
RUN sed -i 's/host: \(127.0.0.1\|localhost\)/host: postgres/' config/config.yml
COPY ./config/sql/ ./config/sql/
COPY ./locales/ ./locales/
COPY --from=builder /invidious/invidious .
USER invidious
CMD [ "/invidious/invidious" ]

View File

@@ -1,8 +1,10 @@
FROM postgres:10
ENV POSTGRES_USER postgres
# Do not require a PostgreSQL superuser password.
# See https://github.com/docker-library/postgres/issues/681.
ENV POSTGRES_HOST_AUTH_METHOD trust
ADD ./setup.sh /setup.sh
ADD ./config/sql /config/sql
ADD ./docker/entrypoint.postgres.sh /entrypoint.sh

View File

@@ -10,7 +10,18 @@ if [ ! -f /var/lib/postgresql/data/setupFinished ]; then
sleep 5
done
>&2 echo "### importing table schemas"
su postgres -c "/setup.sh" && touch /var/lib/postgresql/data/setupFinished
su postgres -c 'createdb invidious'
su postgres -c 'psql -c "CREATE USER kemal WITH PASSWORD '"'kemal'"'"'
su postgres -c 'psql invidious kemal < config/sql/channels.sql'
su postgres -c 'psql invidious kemal < config/sql/videos.sql'
su postgres -c 'psql invidious kemal < config/sql/channel_videos.sql'
su postgres -c 'psql invidious kemal < config/sql/users.sql'
su postgres -c 'psql invidious kemal < config/sql/session_ids.sql'
su postgres -c 'psql invidious kemal < config/sql/nonces.sql'
su postgres -c 'psql invidious kemal < config/sql/annotations.sql'
su postgres -c 'psql invidious kemal < config/sql/playlists.sql'
su postgres -c 'psql invidious kemal < config/sql/playlist_videos.sql'
touch /var/lib/postgresql/data/setupFinished
echo "### invidious database setup finished"
exit
fi

19
invidious.service Normal file
View File

@@ -0,0 +1,19 @@
[Unit]
Description=Invidious (An alternative YouTube front-end)
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=invidious
Group=invidious
WorkingDirectory=/home/invidious/invidious
ExecStart=/home/invidious/invidious/invidious -o invidious.log
Restart=always
[Install]
WantedBy=multi-user.target

1
kubernetes/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/charts/*.tgz

6
kubernetes/Chart.lock Normal file
View File

@@ -0,0 +1,6 @@
dependencies:
- name: postgresql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 8.3.0
digest: sha256:1feec3c396cbf27573dc201831ccd3376a4a6b58b2e7618ce30a89b8f5d707fd
generated: "2020-02-07T13:39:38.624846+01:00"

22
kubernetes/Chart.yaml Normal file
View File

@@ -0,0 +1,22 @@
apiVersion: v2
name: invidious
description: Invidious is an alternative front-end to YouTube
version: 1.0.0
appVersion: 0.20.1
keywords:
- youtube
- proxy
- video
- privacy
home: https://invidio.us/
icon: https://raw.githubusercontent.com/omarroth/invidious/05988c1c49851b7d0094fca16aeaf6382a7f64ab/assets/favicon-32x32.png
sources:
- https://github.com/omarroth/invidious
maintainers:
- name: Leon Klingele
email: mail@leonklingele.de
dependencies:
- name: postgresql
version: ~8.3.0
repository: "https://kubernetes-charts.storage.googleapis.com/"
engine: gotpl

41
kubernetes/README.md Normal file
View File

@@ -0,0 +1,41 @@
# Invidious Helm chart
Easily deploy Invidious to Kubernetes.
## Installing Helm chart
```sh
# Build Helm dependencies
$ helm dep build
# Add PostgreSQL init scripts
$ kubectl create configmap invidious-postgresql-init \
--from-file=../config/sql/channels.sql \
--from-file=../config/sql/videos.sql \
--from-file=../config/sql/channel_videos.sql \
--from-file=../config/sql/users.sql \
--from-file=../config/sql/session_ids.sql \
--from-file=../config/sql/nonces.sql \
--from-file=../config/sql/annotations.sql \
--from-file=../config/sql/playlists.sql \
--from-file=../config/sql/playlist_videos.sql
# Install Helm app to your Kubernetes cluster
$ helm install invidious ./
```
## Upgrading
```sh
# Upgrading is easy, too!
$ helm upgrade invidious ./
```
## Uninstall
```sh
# Get rid of everything (except database)
$ helm delete invidious
# To also delete the database, remove all invidious-postgresql PVCs
```

View File

@@ -0,0 +1,16 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "invidious.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "invidious.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "invidious.fullname" . }}
labels:
app: {{ template "invidious.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
data:
INVIDIOUS_CONFIG: |
{{ toYaml .Values.config | indent 4 }}

View File

@@ -0,0 +1,53 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "invidious.fullname" . }}
labels:
app: {{ template "invidious.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "invidious.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "invidious.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
spec:
securityContext:
runAsUser: {{ .Values.securityContext.runAsUser }}
runAsGroup: {{ .Values.securityContext.runAsGroup }}
fsGroup: {{ .Values.securityContext.fsGroup }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 3000
env:
- name: INVIDIOUS_CONFIG
valueFrom:
configMapKeyRef:
key: INVIDIOUS_CONFIG
name: {{ template "invidious.fullname" . }}
securityContext:
allowPrivilegeEscalation: {{ .Values.securityContext.allowPrivilegeEscalation }}
capabilities:
drop:
- ALL
resources:
{{ toYaml .Values.resources | indent 10 }}
readinessProbe:
httpGet:
port: 3000
path: /
livenessProbe:
httpGet:
port: 3000
path: /
restartPolicy: Always

View File

@@ -0,0 +1,18 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: {{ template "invidious.fullname" . }}
labels:
app: {{ template "invidious.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: {{ .Release.Name }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "invidious.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
targetCPUUtilizationPercentage: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "invidious.fullname" . }}
labels:
app: {{ template "invidious.name" . }}
chart: {{ .Chart.Name }}
release: {{ .Release.Name }}
spec:
ports:
- name: http
port: 3000
targetPort: 3000
selector:
app: {{ template "invidious.name" . }}
release: {{ .Release.Name }}

51
kubernetes/values.yaml Normal file
View File

@@ -0,0 +1,51 @@
name: invidious
image:
repository: omarroth/invidious
tag: latest
pullPolicy: Always
replicaCount: 1
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 16
targetCPUUtilizationPercentage: 50
resources: {}
#requests:
# cpu: 100m
# memory: 64Mi
#limits:
# cpu: 800m
# memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
# See https://github.com/helm/charts/tree/master/stable/postgresql
postgresql:
postgresqlUsername: kemal
postgresqlPassword: kemal
postgresqlDatabase: invidious
initdbUsername: kemal
initdbPassword: kemal
initdbScriptsConfigMap: invidious-postgresql-init
# Adapted from ../config/config.yml
config:
channel_threads: 1
feed_threads: 1
db:
user: kemal
password: kemal
host: invidious-postgresql
port: 5432
dbname: invidious
full_refresh: false
https_only: false
domain:

336
locales/ar.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` المشتركين",
"`x` videos": "`x` الفيديوهات",
"`x` playlists": "`x` قوائم التشغيل",
"LIVE": "مباشر",
"Shared `x` ago": "تم رفع الفيديو منذ `x`",
"Unsubscribe": "إلغاء الإشتراك",
"Subscribe": "إشتراك",
"View channel on YouTube": "زيارة القناة على موقع يوتيوب",
"View playlist on YouTube": "عرض قائمة التشغيل على اليوتيوب",
"newest": "الأجدد",
"oldest": "الأقدم",
"popular": "الأكثر شعبية",
"last": "اخر قوائم التشغيل المعدلة",
"Next page": "الصفحة الثانية",
"Previous page": "الصفحة السابقة",
"Clear watch history?": "مسح السجل ؟",
"New password": "الرقم السرى الجديد",
"New passwords must match": "الأرقام السرية يجب ان تكون متطابقة",
"Cannot change password for Google accounts": "لا يستطيع تغيير الرقم السرى لحساب جوجل",
"Authorize token?": "رمز الإذن ؟",
"Authorize token for `x`?": "تصريح الرمز لـ `x` ؟",
"Yes": "نعم",
"No": "لا",
"Import and Export Data": "استخراج و إضافة البيانات",
"Import": "إضافة",
"Import Invidious data": "إضافة بيانات Invidious",
"Import YouTube subscriptions": "إضافةالإشتراكات من موقع يوتيوب",
"Import FreeTube subscriptions (.db)": "إضافةالمشتركين من FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "إضافة المشتركين من NewPipe (.json)",
"Import NewPipe data (.zip)": "إضافة بيانات NewPipe (.zip)",
"Export": "استخراج",
"Export subscriptions as OPML": "استخراج المشتركين كـ OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "استخراج المشتركين كـ OPML (لـ NewPipe و FreeTube)",
"Export data as JSON": "استخراج البيانات كـ JSON",
"Delete account?": "حذف الحساب ؟",
"History": "السجل",
"An alternative front-end to YouTube": "البديل الكامل لموقع يوتيوب",
"JavaScript license information": "معلومات ترخيص JavaScript",
"source": "المصدر",
"Log in": "تسجيل الدخول",
"Log in/register": "تسجيل الدخول\\إنشاء حساب",
"Log in with Google": "تسجيل الدخول بإستخدام جوجل",
"User ID": "إسم المستخدم",
"Password": "الرقم السرى",
"Time (h:mm:ss):": "(يجب ان يكتب مثل هذا التنسيق) الوقت (h(ساعات):mm(دقائق):ss(ثوانى)):",
"Text CAPTCHA": "CAPTCHA كلامية",
"Image CAPTCHA": "CAPTCHA صورية",
"Sign In": "تسجيل الدخول",
"Register": "انشاء الحساب",
"E-mail": "الإيميل",
"Google verification code": "رمز تحقق جوجل",
"Preferences": "التفضيلات",
"Player preferences": "التفضيلات المشغل",
"Always loop: ": "كرر الفيديو دائما: ",
"Autoplay: ": "تشغيل تلقائى: ",
"Play next by default: ": "شغل الفيديو التالي تلقائيا: ",
"Autoplay next video: ": "شغل الفيديو التالي تلقائيا (في قوائم التشغيل) ",
"Listen by default: ": "تشغيل النسخة السمعية تلقائى: ",
"Proxy videos: ": "عرض الفيديوهات عن طريق البروكسي؟ ",
"Default speed: ": "السرعة الإفتراضية: ",
"Preferred video quality: ": "الجودة المفضلة للفيديوهات: ",
"Player volume: ": "صوت المشغل: ",
"Default comments: ": "إضهار التعليقات الإفتراضية لـ: ",
"youtube": "يوتيوب",
"reddit": "Reddit",
"Default captions: ": "الترجمات الإفتراضية: ",
"Fallback captions: ": "الترجمات المصاحبة: ",
"Show related videos: ": "اعرض الفيديوهات ذات الصلة: ",
"Show annotations by default: ": "اعرض الملاحظات في الفيديو تلقائيا: ",
"Visual preferences": "التفضيلات المرئية",
"Player style: ": "شكل مشغل الفيديوهات: ",
"Dark mode: ": "الوضع الليلى: ",
"Theme: ": "المظهر: ",
"dark": "غامق (اسود)",
"light": "فاتح (ابيض)",
"Thin mode: ": "الوضع الخفيف: ",
"Subscription preferences": "تفضيلات الإشتراك",
"Show annotations by default for subscribed channels: ": "عرض الملاحظات في الفيديوهات تلقائيا في القنوات المشترك بها فقط: ",
"Redirect homepage to feed: ": "إعادة التوجية من الصفحة الرئيسية لصفحة المشتركين (لرؤية اخر فيديوهات المشتركين): ",
"Number of videos shown in feed: ": "عدد الفيديوهات التى ستظهر فى صفحة المشتركين: ",
"Sort videos by: ": "ترتيب الفيديو بـ: ",
"published": "احدث فيديو",
"published - reverse": "احدث فيديو - عكسى",
"alphabetically": "ترتيب ابجدى",
"alphabetically - reverse": "ابجدى - عكسى",
"channel name": "بإسم القناة",
"channel name - reverse": "بإسم القناة - عكسى",
"Only show latest video from channel: ": "فقط إظهر اخر فيديو من القناة: ",
"Only show latest unwatched video from channel: ": "فقط اظهر اخر فيديو لم يتم رؤيتة من القناة: ",
"Only show unwatched: ": "فقط اظهر الذى لم يتم رؤيتة: ",
"Only show notifications (if there are any): ": "إظهار الإشعارات فقط (إذا كان هناك أي): ",
"Enable web notifications": "تفعيل إشعارات المتصفح",
"`x` uploaded a video": "`x` رفع فيديو",
"`x` is live": "`x` فى بث مباشر",
"Data preferences": "إعدادات التفضيلات",
"Clear watch history": "حذف سجل المشاهدة",
"Import/export data": "إضافة\\إستخراج البيانات",
"Change password": "غير الرقم السرى",
"Manage subscriptions": "إدارة المشتركين",
"Manage tokens": "إدارة الرموز",
"Watch history": "سجل المشاهدة",
"Delete account": "حذف الحساب",
"Administrator preferences": "إعدادات المدير",
"Default homepage: ": "الصفحة الرئيسية الافتراضية ",
"Feed menu: ": "قائمة التدفقات: ",
"Top enabled: ": "تفعيل 'الأفضل' ؟ ",
"CAPTCHA enabled: ": "تفعيل الكابتشا: ",
"Login enabled: ": "تفعيل الولوج: ",
"Registration enabled: ": "تفعيل التسجيل: ",
"Report statistics: ": "الإبلاغ عن الإحصائيات: ",
"Save preferences": "حفظ التفضيلات",
"Subscription manager": "مدير الإشتراكات",
"Token manager": "إداره الرمز",
"Token": "الرمز",
"`x` subscriptions": "`x` مشتركين",
"`x` tokens": "`x` رموز",
"Import/export": "إضافة\\إستخراج",
"unsubscribe": "إلغاء الإشتراك",
"revoke": "مسح",
"Subscriptions": "الإشتراكات",
"`x` unseen notifications": "`x` إشعارات لم تشاهدها بعد",
"search": "بحث",
"Log out": "تسجيل الخروج",
"Released under the AGPLv3 by Omar Roth.": "تم الإنشاء تحت AGPLv3 بواسطة عمر روث.",
"Source available here.": "الأكواد متوفرة هنا.",
"View JavaScript license information.": "مشاهدة معلومات حول تراخيص الجافاسكريبت.",
"View privacy policy.": "عرض سياسة الخصوصية.",
"Trending": "الشائع",
"Public": "عام",
"Unlisted": "غير مصنف",
"Private": "خاص",
"View all playlists": "عرض جميع قوائم التشغيل",
"Updated `x` ago": "تم تحديثه منذ `x`",
"Delete playlist `x`?": "حذف قائمه التشغيل `x` ?",
"Delete playlist": "حذف قائمه التغشيل",
"Create playlist": "إنشاء قائمه تشغيل",
"Title": "العنوان",
"Playlist privacy": "إعدادات الخصوصيه",
"Editing playlist `x`": "تعديل قائمه التشفيل `x`",
"Watch on YouTube": "مشاهدة الفيديو على اليوتيوب",
"Hide annotations": "إخفاء الملاحظات فى الفيديو",
"Show annotations": "عرض الملاحظات فى الفيديو",
"Genre: ": "النوع: ",
"License: ": "التراخيص: ",
"Family friendly? ": "محتوى عائلى? ",
"Wilson score: ": "درجة ويلسون: ",
"Engagement: ": "نسبة المشاركة (عدد المشاهدات\\عدد الإعجابات): ",
"Whitelisted regions: ": "الدول المسموح فيها هذا الفيديو: ",
"Blacklisted regions: ": "الدول الحظور فيها هذا الفيديو: ",
"Shared `x`": "شارك منذ `x`",
"`x` views": "`x` مشاهدات",
"Premieres in `x`": "يعرض فى `x`",
"Premieres `x`": "يعرض `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "اهلا! يبدو ان الجافاسكريبت معطلة. اضغط هنا لعرض التعليقات, ضع فى إعتبارك انها ستأخذ وقت اطول للعرض.",
"View YouTube comments": "عرض تعليقات اليوتيوب",
"View more comments on Reddit": "عرض المزيد من التعليقات على\\من موقع Reddit",
"View `x` comments": "عرض `x` تعليقات",
"View Reddit comments": "عرض تعليقات ريدإت Reddit",
"Hide replies": "إخفاء الردود",
"Show replies": "عرض الردود",
"Incorrect password": "الرقم السرى غير صحيح",
"Quota exceeded, try again in a few hours": "تم تجاوز عدد المرات المسموح بها, حاول مرة اخرى بعد عدة ساعات",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "غير قادر على تسجيل الدخول, تأكد من تشغيل المصادقة الثنائية 2FA.",
"Invalid TFA code": "كود مصادقة ثنائية 2FA غير صحيح",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "لم يتم تسجيل الدخول. هذا ربما بسبب ان المصادقة الثنائية 2FA معطلة فى حسابك.",
"Wrong answer": "إجابة خاطئة",
"Erroneous CAPTCHA": "الكابتشا CAPTCHA غير صاحلة",
"CAPTCHA is a required field": "مكان الكابتشا CAPTCHA مطلوب",
"User ID is a required field": "مكان إسم المستخدم مطلوب",
"Password is a required field": "مكان الرقم السرى مطلوب",
"Wrong username or password": "إسم المستخدم او الرقم السرى غير صحيح",
"Please sign in using 'Log in with Google'": "الرجاء تسجيل الدخول 'تسجيل الدخول بواسطة جوجل'",
"Password cannot be empty": "الرقم السرى لايمكن ان يكون فارغ",
"Password cannot be longer than 55 characters": "الرقم السرى لا يتعدى 55 حرف",
"Please log in": "الرجاء تسجيل الدخول",
"Invidious Private Feed for `x`": "صفحة Invidious للمشتركين الخاصة\\مخفية لـ `x`",
"channel:`x`": "قناة:`x`",
"Deleted or invalid channel": "قناة ممسوحة او غير صالحة",
"This channel does not exist.": "القناة غير موجودة.",
"Could not get channel info.": "لم يستطع الحصول على معلومات القناة.",
"Could not fetch comments": "لم يتمكن من إحضار التعليقات",
"View `x` replies": "عرض `x` ردود",
"`x` ago": "`x` منذ",
"Load more": "عرض المزيد",
"`x` points": "`x` نقاط",
"Could not create mix.": "لم يستطع عمل خلط.",
"Empty playlist": "قائمة التشغيل فارغة",
"Not a playlist.": "قائمة التشغيل غير صالحة.",
"Playlist does not exist.": "قائمة التشغيل غير موجودة.",
"Could not pull trending pages.": "لم يستطع عرض الصفحات الراجئة.",
"Hidden field \"challenge\" is a required field": "مكان مخفى \"تحدى\" مكان مطلوب",
"Hidden field \"token\" is a required field": "مكان مخفى \"رمز\" مكان مطلوب",
"Erroneous challenge": "تحدى غير صالح",
"Erroneous token": "روز غير صالح",
"No such user": "مستخدم غير صالح",
"Token is expired, please try again": "الرمز منتهى الصلاحية , الرجاء المحاولة مرة اخرى",
"English": "إنجليزى",
"English (auto-generated)": "إنجليزى (تم إنشائة تلقائى)",
"Afrikaans": "الأفريكانية",
"Albanian": "الألبانية",
"Amharic": "الأمهرية",
"Arabic": "العربية",
"Armenian": "الأرميني",
"Azerbaijani": "أذربيجان",
"Bangla": "البنغالية",
"Basque": "الباسكي",
"Belarusian": "البيلاروسية",
"Bosnian": "البوسنية",
"Bulgarian": "البلغارية",
"Burmese": "البورمية",
"Catalan": "الكاتالونية",
"Cebuano": "السيبيونو",
"Chinese (Simplified)": "الصينية (المبسطة)",
"Chinese (Traditional)": "الصينية (التقليدية)",
"Corsican": "الكورسيكية",
"Croatian": "الكرواتية",
"Czech": "تشيكي",
"Danish": "دانماركي",
"Dutch": "هولندي",
"Esperanto": "الاسبرانتو",
"Estonian": "الإستونية",
"Filipino": "الفلبينية",
"Finnish": "الفنلندية",
"French": "الفرنسية",
"Galician": "الجاليكية",
"Georgian": "الجورجية",
"German": "ألمانية",
"Greek": "الإغريقي",
"Gujarati": "الغوجاراتية",
"Haitian Creole": "الكاثوليكية الهايتية",
"Hausa": "الهوسا",
"Hawaiian": "هاواي",
"Hebrew": "العبرية",
"Hindi": "الهندية",
"Hmong": "همونغ",
"Hungarian": "الهنغارية",
"Icelandic": "أيسلندي",
"Igbo": "الإيبو",
"Indonesian": "الأندونيسية",
"Irish": "الأيرلندية",
"Italian": "الإيطالي",
"Japanese": "اليابانية",
"Javanese": "جاوي",
"Kannada": "الكانادا",
"Kazakh": "الكازاخية",
"Khmer": "الخمير",
"Korean": "الكورية",
"Kurdish": "كردي",
"Kyrgyz": "قيرغيزستان",
"Lao": "لاو",
"Latin": "لاتينية",
"Latvian": "اللاتفية",
"Lithuanian": "اللتوانية",
"Luxembourgish": "اللوكسمبرجية",
"Macedonian": "المقدونية",
"Malagasy": "مدجشقر\\مدغشقر",
"Malay": "الملايو",
"Malayalam": "المالايالامية",
"Maltese": "المالطية",
"Maori": "الماوري",
"Marathi": "المهاراتية",
"Mongolian": "المنغولية",
"Nepali": "النيبالية",
"Norwegian Bokmål": "النرويجية",
"Nyanja": "نيانجا",
"Pashto": "الباشتو",
"Persian": "الفارسية",
"Polish": "البولندي",
"Portuguese": "البرتغالية",
"Punjabi": "البنجابية",
"Romanian": "روماني",
"Russian": "الروسية",
"Samoan": "ساموا",
"Scottish Gaelic": "الغيلية الاسكتلندية",
"Serbian": "صربي",
"Shona": "شونا",
"Sindhi": "السندية",
"Sinhala": "السنهالية",
"Slovak": "السلوفاكية",
"Slovenian": "سلوفيني",
"Somali": "الصومالية",
"Southern Sotho": "جنوب سوثو",
"Spanish": "الأسبانية",
"Spanish (Latin America)": "الأسبانية (أمريكا اللاتينية)",
"Sundanese": "السودانية",
"Swahili": "السواحلية",
"Swedish": "السويدية",
"Tajik": "الطاجيكية",
"Tamil": "التاميل",
"Telugu": "التيلجو",
"Thai": "التايلاندية",
"Turkish": "التركية",
"Ukrainian": "الأوكراني",
"Urdu": "الأردية",
"Uzbek": "الأوزبكي",
"Vietnamese": "الفيتنامية",
"Welsh": "الولزية",
"Western Frisian": "الفريزية الغربية",
"Xhosa": "زوسا",
"Yiddish": "اليديشية",
"Yoruba": "اليوروبا",
"Zulu": "الزولو",
"`x` years": "`x` سنوات",
"`x` months": "`x` شهور",
"`x` weeks": "`x` اسابيع",
"`x` days": "`x` ايام",
"`x` hours": "`x` ساعات",
"`x` minutes": "`x` دقائق",
"`x` seconds": "`x` ثوانى",
"Fallback comments: ": "التعليقات البديلة: ",
"Popular": "الأكثر شعبية",
"Top": "الأفضل",
"About": "حول",
"Rating: ": "التقييم: ",
"Language: ": "اللغة: ",
"View as playlist": "عرض كا قائمة التشغيل",
"Default": "الكل",
"Music": "الاغانى",
"Gaming": "الألعاب",
"News": "الأخبار",
"Movies": "الأفلام",
"Download": "نزّل",
"Download as: ": "نزّله كـ: ",
"%A %B %-d, %Y": "%A %-d %B %Y",
"(edited)": "(تم تعديلة)",
"YouTube comment permalink": "رابط التعليق على اليوتيوب",
"permalink": "الرابط",
"`x` marked it with a ❤": "`x` اعجب بهذا",
"Audio mode": "الوضع الصوتى",
"Video mode": "وضع الفيديو",
"Videos": "الفيديوهات",
"Playlists": "قوائم التشغيل",
"Community": "المجتمع",
"Current version: ": "الإصدار الحالي: "
}

336
locales/de.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` Abonnenten",
"`x` videos": "`x` Videos",
"`x` playlists": "`x` Wiedergabelisten",
"LIVE": "LIVE",
"Shared `x` ago": "Vor `x` geteilt",
"Unsubscribe": "Abbestellen",
"Subscribe": "Abonnieren",
"View channel on YouTube": "Kanal auf YouTube anzeigen",
"View playlist on YouTube": "Wiedergabeliste auf YouTube anzeigen",
"newest": "neueste",
"oldest": "älteste",
"popular": "beliebt",
"last": "letzte",
"Next page": "Nächste Seite",
"Previous page": "Vorherige Seite",
"Clear watch history?": "Verlauf löschen?",
"New password": "Neues Passwort",
"New passwords must match": "Neue Passwörter müssen gleich sein",
"Cannot change password for Google accounts": "Ich kann das Passwort deines Google Kontos nicht ändern",
"Authorize token?": "Token autorisieren?",
"Authorize token for `x`?": "Token für `x` autorisieren?",
"Yes": "Ja",
"No": "Nein",
"Import and Export Data": "Daten importieren und exportieren",
"Import": "Importieren",
"Import Invidious data": "Invidious Daten importieren",
"Import YouTube subscriptions": "YouTube Abonnements importieren",
"Import FreeTube subscriptions (.db)": "FreeTube Abonnements importieren (.db)",
"Import NewPipe subscriptions (.json)": "NewPipe Abonnements importieren (.json)",
"Import NewPipe data (.zip)": "NewPipe Daten importieren (.zip)",
"Export": "Exportieren",
"Export subscriptions as OPML": "Abonnements als OPML exportieren",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Abonnements als OPML exportieren (für NewPipe & FreeTube)",
"Export data as JSON": "Daten als JSON exportieren",
"Delete account?": "Account löschen?",
"History": "Verlauf",
"An alternative front-end to YouTube": "Eine alternative Oberfläche für YouTube",
"JavaScript license information": "JavaScript Lizenzinformationen",
"source": "Quelle",
"Log in": "Einloggen",
"Log in/register": "Einloggen/Registrieren",
"Log in with Google": "Mit Google einloggen",
"User ID": "Benutzer ID",
"Password": "Passwort",
"Time (h:mm:ss):": "Zeit (h:mm:ss):",
"Text CAPTCHA": "Text CAPTCHA",
"Image CAPTCHA": "Bild CAPTCHA",
"Sign In": "Anmelden",
"Register": "Registrieren",
"E-mail": "E-Mail",
"Google verification code": "Google-Bestätigungscode",
"Preferences": "Einstellungen",
"Player preferences": "Wiedergabeeinstellungen",
"Always loop: ": "Immer wiederholen: ",
"Autoplay: ": "Automatisch abspielen: ",
"Play next by default: ": "Immer automatisch nächstes Video spielen: ",
"Autoplay next video: ": "nächstes Video automatisch abspielen: ",
"Listen by default: ": "Nur Ton als Standard: ",
"Proxy videos: ": "Proxy-Videos: ",
"Default speed: ": "Standardgeschwindigkeit: ",
"Preferred video quality: ": "Bevorzugte Videoqualität: ",
"Player volume: ": "Wiedergabelautstärke: ",
"Default comments: ": "Standardkommentare: ",
"youtube": "youtube",
"reddit": "reddit",
"Default captions: ": "Standarduntertitel: ",
"Fallback captions: ": "Ersatzuntertitel: ",
"Show related videos: ": "Ähnliche Videos anzeigen? ",
"Show annotations by default: ": "Standardmäßig Anmerkungen anzeigen? ",
"Visual preferences": "Anzeigeeinstellungen",
"Player style: ": "Abspielgeräterstil: ",
"Dark mode: ": "Nachtmodus: ",
"Theme: ": "Modus: ",
"dark": "Nachtmodus",
"light": "klarer Modus",
"Thin mode: ": "Schlanker Modus: ",
"Subscription preferences": "Abonnementeinstellungen",
"Show annotations by default for subscribed channels: ": "Anmerkungen für abonnierte Kanäle standardmäßig anzeigen? ",
"Redirect homepage to feed: ": "Startseite zu Feed umleiten: ",
"Number of videos shown in feed: ": "Anzahl von Videos die im Feed angezeigt werden: ",
"Sort videos by: ": "Videos sortieren nach: ",
"published": "veröffentlicht",
"published - reverse": "veröffentlicht - invertiert",
"alphabetically": "alphabetisch",
"alphabetically - reverse": "alphabetisch - invertiert",
"channel name": "Kanalname",
"channel name - reverse": "Kanalname - invertiert",
"Only show latest video from channel: ": "Nur neueste Videos des Kanals anzeigen: ",
"Only show latest unwatched video from channel: ": "Nur neueste ungesehene Videos des Kanals anzeigen: ",
"Only show unwatched: ": "Nur ungesehene anzeigen: ",
"Only show notifications (if there are any): ": "Nur Benachrichtigungen anzeigen (wenn es welche gibt): ",
"Enable web notifications": "Webbenachrichtigungen aktivieren",
"`x` uploaded a video": "`x` hat ein Video hochgeladen",
"`x` is live": "`x` ist live",
"Data preferences": "Dateneinstellungen",
"Clear watch history": "Verlauf löschen",
"Import/export data": "Daten im-/exportieren",
"Change password": "Passwort ändern",
"Manage subscriptions": "Abonnements verwalten",
"Manage tokens": "Tokens verwalten",
"Watch history": "Verlauf",
"Delete account": "Account löschen",
"Administrator preferences": "Administrator-Einstellungen",
"Default homepage: ": "Standard-Startseite: ",
"Feed menu: ": "Feed-Menü: ",
"Top enabled: ": "Top aktiviert? ",
"CAPTCHA enabled: ": "CAPTCHA aktiviert? ",
"Login enabled: ": "Login aktiviert? ",
"Registration enabled: ": "Registrierung aktiviert? ",
"Report statistics: ": "Statistiken berichten? ",
"Save preferences": "Einstellungen speichern",
"Subscription manager": "Abonnementverwaltung",
"Token manager": "Tokenverwalter",
"Token": "Token",
"`x` subscriptions": "`x` Abonnements",
"`x` tokens": "`x` Tokens",
"Import/export": "Importieren/Exportieren",
"unsubscribe": "abbestellen",
"revoke": "widerrufen",
"Subscriptions": "Abonnements",
"`x` unseen notifications": "`x` ungesehene Benachrichtigungen",
"search": "Suchen",
"Log out": "Abmelden",
"Released under the AGPLv3 by Omar Roth.": "Veröffentlicht unter AGPLv3 von Omar Roth.",
"Source available here.": "Quellcode verfügbar hier.",
"View JavaScript license information.": "Javascript Lizenzinformationen anzeigen.",
"View privacy policy.": "Datenschutzerklärung einsehen.",
"Trending": "Trending",
"Public": "Öffentlich",
"Unlisted": "Nicht aufgeführt",
"Private": "Privat",
"View all playlists": "Alle Wiedergabelisten anzeigen",
"Updated `x` ago": "Aktualisiert `x` vor",
"Delete playlist `x`?": "Wiedergabeliste löschen `x`?",
"Delete playlist": "Wiedergabeliste löschen",
"Create playlist": "Wiedergabeliste erstellen",
"Title": "Titel",
"Playlist privacy": "Vertrauliche Wiedergabeliste",
"Editing playlist `x`": "Wiedergabeliste bearbeiten `x`",
"Watch on YouTube": "Video auf YouTube ansehen",
"Hide annotations": "Anmerkungen ausblenden",
"Show annotations": "Anmerkungen anzeigen",
"Genre: ": "Genre: ",
"License: ": "Lizenz: ",
"Family friendly? ": "Familienfreundlich? ",
"Wilson score: ": "Wilson-Score: ",
"Engagement: ": "Engagement: ",
"Whitelisted regions: ": "Erlaubte Regionen: ",
"Blacklisted regions: ": "Unerlaubte Regionen: ",
"Shared `x`": "Geteilt `x`",
"`x` views": "`x` Aufrufe",
"Premieres in `x`": "Zuerst gesehen in `x`",
"Premieres `x`": "Erster Start `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hallo! Anscheinend haben Sie JavaScript deaktiviert. Klicken Sie hier um Kommentare anzuzeigen, beachten sie dass es etwas länger dauern kann um sie zu laden.",
"View YouTube comments": "YouTube Kommentare anzeigen",
"View more comments on Reddit": "Mehr Kommentare auf Reddit anzeigen",
"View `x` comments": "`x` Kommentare anzeigen",
"View Reddit comments": "Reddit Kommentare anzeigen",
"Hide replies": "Antworten verstecken",
"Show replies": "Antworten anzeigen",
"Incorrect password": "Falsches Passwort",
"Quota exceeded, try again in a few hours": "Kontingent überschritten, versuche es in ein paar Stunden erneut",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Login nicht möglich, stellen Sie sicher dass two-factor Authentifikation (Authentifizierung oder SMS) aktiviert ist.",
"Invalid TFA code": "Ungültiger TFA Code",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Login fehlgeschlagen. Das kann daran liegen dass two-factor Authentifizierung in ihrem Account nicht aktiviert ist.",
"Wrong answer": "Ungültige Antwort",
"Erroneous CAPTCHA": "Ungültiges CAPTCHA",
"CAPTCHA is a required field": "CAPTCHA ist eine erforderliche Eingabe",
"User ID is a required field": "Benutzer ID ist eine erforderliche Eingabe",
"Password is a required field": "Passwort ist eine erforderliche Eingabe",
"Wrong username or password": "Ungültiger Benutzername oder Passwort",
"Please sign in using 'Log in with Google'": "Bitte melden sie sich mit 'Mit Google anmelden' an",
"Password cannot be empty": "Passwort darf nicht leer sein",
"Password cannot be longer than 55 characters": "Passwort darf nicht länger als 55 Zeichen sein",
"Please log in": "Bitte anmelden",
"Invidious Private Feed for `x`": "Invidious Persönlicher Feed für `x`",
"channel:`x`": "Kanal:`x`",
"Deleted or invalid channel": "Gelöschter oder ungültiger Kanal",
"This channel does not exist.": "Dieser Kanal existiert nicht.",
"Could not get channel info.": "Kanalinformationen konnten nicht geladen werden.",
"Could not fetch comments": "Kommentare konnten nicht geladen werden",
"View `x` replies": "Zeige `x` Antworten",
"`x` ago": "vor `x`",
"Load more": "Mehr laden",
"`x` points": "`x` Punkte",
"Could not create mix.": "Mix konnte nicht erstellt werden.",
"Empty playlist": "Playlist ist leer",
"Not a playlist.": "Ungültige Playlist.",
"Playlist does not exist.": "Playlist existiert nicht.",
"Could not pull trending pages.": "Trending Seiten konnten nicht geladen werden.",
"Hidden field \"challenge\" is a required field": "Verstecktes Feld \"challenge\" ist eine erforderliche Eingabe",
"Hidden field \"token\" is a required field": "Verstecktes Feld \"token\" ist eine erforderliche Eingabe",
"Erroneous challenge": "Ungültiger Test",
"Erroneous token": "Ungültiger Token",
"No such user": "Ungültiger Benutzer",
"Token is expired, please try again": "Token ist abgelaufen, bitte erneut versuchen",
"English": "Englisch",
"English (auto-generated)": "Englisch (automatisch erzeugt)",
"Afrikaans": "Afrikaans",
"Albanian": "Albanisch",
"Amharic": "Amharisch",
"Arabic": "Arabisch",
"Armenian": "Armenisch",
"Azerbaijani": "Aserbaidschanisch",
"Bangla": "Bengalisch",
"Basque": "Baskisch",
"Belarusian": "Weißrussisch",
"Bosnian": "Bosnisch",
"Bulgarian": "Bulgarisch",
"Burmese": "Burmesisch",
"Catalan": "Katalanisch",
"Cebuano": "Cebuano",
"Chinese (Simplified)": "Chinesisch (vereinfacht)",
"Chinese (Traditional)": "Chinesisch (traditionell)",
"Corsican": "Korsisch",
"Croatian": "Kroatisch",
"Czech": "Tschechisch",
"Danish": "Dänisch",
"Dutch": "Niederländisch",
"Esperanto": "Esperanto",
"Estonian": "Estnisch",
"Filipino": "Philippinisch",
"Finnish": "Finnisch",
"French": "Französisch",
"Galician": "Galizisch",
"Georgian": "Georgisch",
"German": "Deutsch",
"Greek": "Griechisch",
"Gujarati": "Gujarati",
"Haitian Creole": "Haitianisches Kreolisch",
"Hausa": "Hausa",
"Hawaiian": "Hawaiianisch",
"Hebrew": "Hebräisch",
"Hindi": "Hindi",
"Hmong": "Hmong",
"Hungarian": "Ungarisch",
"Icelandic": "Isländisch",
"Igbo": "Igbo",
"Indonesian": "Indonesisch",
"Irish": "Irisch",
"Italian": "Italienisch",
"Japanese": "Japanisch",
"Javanese": "Javanisch",
"Kannada": "Kannada",
"Kazakh": "Kasachisch",
"Khmer": "Khmer",
"Korean": "Koreanisch",
"Kurdish": "Kurdisch",
"Kyrgyz": "Kirgisisch",
"Lao": "Laotisch",
"Latin": "Lateinisch",
"Latvian": "Lettisch",
"Lithuanian": "Litauisch",
"Luxembourgish": "Luxemburgisch",
"Macedonian": "Mazedonisch",
"Malagasy": "Madagassisch",
"Malay": "Malaiisch",
"Malayalam": "Malayalam",
"Maltese": "Maltesisch",
"Maori": "Maori",
"Marathi": "Marathi",
"Mongolian": "Mongolisch",
"Nepali": "Nepalesisch",
"Norwegian Bokmål": "Norwegisch",
"Nyanja": "Nyanja",
"Pashto": "Paschtunisch",
"Persian": "Persisch",
"Polish": "Polnisch",
"Portuguese": "Portugiesisch",
"Punjabi": "Pandschabi",
"Romanian": "Rumänisch",
"Russian": "Russisch",
"Samoan": "Samoanisch",
"Scottish Gaelic": "Schottisches Gälisch",
"Serbian": "Serbisch",
"Shona": "Schona",
"Sindhi": "Sindhi",
"Sinhala": "Singhalesisch",
"Slovak": "Slowakisch",
"Slovenian": "Slowenisch",
"Somali": "Somali",
"Southern Sotho": "Südliches Sotho",
"Spanish": "Spanisch",
"Spanish (Latin America)": "Spanisch (Lateinamerika)",
"Sundanese": "Sundanesisch",
"Swahili": "Suaheli",
"Swedish": "Schwedisch",
"Tajik": "Tadschikisch",
"Tamil": "Tamilisch",
"Telugu": "Telugu",
"Thai": "Thailändisch",
"Turkish": "Türkisch",
"Ukrainian": "Ukrainisch",
"Urdu": "Urdu",
"Uzbek": "Usbekisch",
"Vietnamese": "Vietnamesisch",
"Welsh": "Walisisch",
"Western Frisian": "Westfriesisch",
"Xhosa": "Xhosa",
"Yiddish": "Jiddisch",
"Yoruba": "Joruba",
"Zulu": "Zulu",
"`x` years": "`x` Jahre",
"`x` months": "`x` Monate",
"`x` weeks": "`x` Wochen",
"`x` days": "`x` Tage",
"`x` hours": "`x` Stunden",
"`x` minutes": "`x` Minuten",
"`x` seconds": "`x` Sekunden",
"Fallback comments: ": "Alternative Kommentare: ",
"Popular": "Populär",
"Top": "Top",
"About": "Über",
"Rating: ": "Bewertung: ",
"Language: ": "Sprache: ",
"View as playlist": "Als Wiedergabeliste anzeigen",
"Default": "Standard",
"Music": "Musik",
"Gaming": "Videospiele",
"News": "Neuigkeiten",
"Movies": "Filme",
"Download": "Herunterladen",
"Download as: ": "Herunterladen als: ",
"%A %B %-d, %Y": "%A %B %-d, %Y",
"(edited)": "(editiert)",
"YouTube comment permalink": "YouTube-Kommentar Permalink",
"permalink": "Permalink",
"`x` marked it with a ❤": "`x` markierte es mit einem ❤",
"Audio mode": "Audiomodus",
"Video mode": "Videomodus",
"Videos": "Videos",
"Playlists": "Wiedergabelisten",
"Community": "Gemeinschaft",
"Current version: ": "Aktuelle Version: "
}

381
locales/el.json Normal file
View File

@@ -0,0 +1,381 @@
{
"`x` subscribers": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` συνδρομητής",
"": "`x` συνδρομητές"
},
"`x` videos": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` βίντεο",
"": "`x` βίντεο"
},
"`x` playlists": "",
"LIVE": "ΖΩΝΤΑΝΑ",
"Shared `x` ago": "Μοιράστηκε πριν `x`",
"Unsubscribe": "Απεγγραφή",
"Subscribe": "Εγγραφή",
"View channel on YouTube": "Προβολή καναλιού στο YouTube",
"View playlist on YouTube": "",
"newest": "νεότερα",
"oldest": "παλιότερα",
"popular": "δημοφιλή",
"last": "τελευταία",
"Next page": "Επόμενη σελίδα",
"Previous page": "Προηγούμενη σελίδα",
"Clear watch history?": "Διαγραφή ιστορικού προβολής;",
"New password": "Νέος κωδικός πρόσβασης",
"New passwords must match": "Οι νέοι κωδικοί πρόσβασης πρέπει να ταιριάζουν",
"Cannot change password for Google accounts": "Δεν επιτρέπεται η αλλαγή κωδικού πρόσβασης λογαριασμών Google",
"Authorize token?": "Εξουσιοδότηση διασύνδεσης;",
"Authorize token for `x`?": "Εξουσιοδότηση διασύνδεσης με `x`;",
"Yes": "Ναι",
"No": "Όχι",
"Import and Export Data": "Εισαγωγή και Εξαγωγή Δεδομένων",
"Import": "Εισαγωγή",
"Import Invidious data": "Εισαγωγή δεδομένων Invidious",
"Import YouTube subscriptions": "Εισαγωγή συνδρομών YouTube",
"Import FreeTube subscriptions (.db)": "Εισαγωγή συνδρομών FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "Εισαγωγή συνδρομών NewPipe (.json)",
"Import NewPipe data (.zip)": "Εισαγωγή δεδομένων NewPipe (.zip)",
"Export": "Εξαγωγή",
"Export subscriptions as OPML": "Εξαγωγή συνδρομών ως OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Εξαγωγή συνδρομών ως OPML (για NewPipe & FreeTube)",
"Export data as JSON": "Εξαγωγή δεδομένων ως JSON",
"Delete account?": "Διαγραφή λογαριασμού;",
"History": "Ιστορικό",
"An alternative front-end to YouTube": "Μία εναλλακτική πλατφόρμα για το YouTube",
"JavaScript license information": "Πληροφορίες άδειας JavaScript",
"source": "πηγή",
"Log in": "Σύνδεση",
"Log in/register": "Σύνδεση/εγγραφή",
"Log in with Google": "Σύνδεση με Google",
"User ID": "Ταυτότητα χρήστη",
"Password": "Κωδικός πρόσβασης",
"Time (h:mm:ss):": "Ώρα (ω:λλ:δδ):",
"Text CAPTCHA": "Κείμενο CAPTCHA",
"Image CAPTCHA": "Εικόνα CAPTCHA",
"Sign In": "Σύνδεση",
"Register": "Εγγραφή",
"E-mail": "E-mail",
"Google verification code": "Κωδικός επαλήθευσης Google",
"Preferences": "Προτιμήσεις",
"Player preferences": "Προτιμήσεις αναπαραγωγής",
"Always loop: ": "Αυτόματη επανάληψη: ",
"Autoplay: ": "Αυτόματη αναπαραγωγή: ",
"Play next by default: ": "Αναπαραγωγή επόμενου: ",
"Autoplay next video: ": "Αυτόματη αναπαραγωγή επόμενου: ",
"Listen by default: ": "Φόρτωση μόνο ήχου: ",
"Proxy videos: ": "Αναπαραγωγή με διακομιστή μεσολάβησης (proxy): ",
"Default speed: ": "Προεπιλεγμένη ταχύτητα: ",
"Preferred video quality: ": "Προτιμώμενη ανάλυση: ",
"Player volume: ": "Ένταση αναπαραγωγής: ",
"Default comments: ": "Προεπιλεγμένα σχόλια: ",
"youtube": "youtube",
"reddit": "reddit",
"Default captions: ": "Προεπιλεγμένοι υπότιτλοι: ",
"Fallback captions: ": "Εναλλακτικοί υπότιτλοι: ",
"Show related videos: ": "Προβολή σχετικών βίντεο; ",
"Show annotations by default: ": "Αυτόματη προβολή σημειώσεων; :",
"Visual preferences": "Προτιμήσεις εμφάνισης",
"Player style: ": "",
"Dark mode: ": "Σκοτεινή λειτουργία: ",
"Theme: ": "",
"dark": "",
"light": "",
"Thin mode: ": "Ελαφριά λειτουργία: ",
"Subscription preferences": "Προτιμήσεις συνδρομών",
"Show annotations by default for subscribed channels: ": "Προβολή σημειώσεων μόνο για κανάλια στα οποία είστε συνδρομητής; ",
"Redirect homepage to feed: ": "Ανακατεύθυνση αρχικής στη ροή συνδρομών: ",
"Number of videos shown in feed: ": "Αριθμός βίντεο ανά σελίδα ροής συνδρομών: ",
"Sort videos by: ": "Ταξινόμηση ανά: ",
"published": "ημερομηνία δημοσίευσης",
"published - reverse": "ημερομηνία δημοσίευσης - ανάποδα",
"alphabetically": "αλφαβητικά",
"alphabetically - reverse": "αλφαβητικά - ανάποδα",
"channel name": "όνομα καναλιού",
"channel name - reverse": "όνομα καναλιού - ανάποδα",
"Only show latest video from channel: ": "Προβολή μόνο του τελευταίου βίντεο του καναλιού: ",
"Only show latest unwatched video from channel: ": "Προβολή μόνο του τελευταίου μη-προβεβλημένου βίντεο του καναλιού: ",
"Only show unwatched: ": "Προβολή μόνο μη-προβεβλημένων: ",
"Only show notifications (if there are any): ": "Προβολή μόνο ειδοποιήσεων (αν υπάρχουν): ",
"Enable web notifications": "",
"`x` uploaded a video": "",
"`x` is live": "",
"Data preferences": "Προτιμήσεις δεδομένων",
"Clear watch history": "Εκκαθάριση ιστορικού προβολής",
"Import/export data": "Εισαγωγή/εξαγωγή δεδομένων",
"Change password": "Αλλαγή κωδικού πρόσβασης",
"Manage subscriptions": "Διαχείριση συνδρομών",
"Manage tokens": "Διαχείριση διασυνδέσεων",
"Watch history": "Ιστορικό προβολής",
"Delete account": "Διαγραφή λογαριασμού",
"Administrator preferences": "Προτιμήσεις διαχειριστή",
"Default homepage: ": "Προεπιλεγμένη αρχική: ",
"Feed menu: ": "Μενού ροής συνδρομών: ",
"Top enabled: ": "Ενεργοποίηση κορυφαίων; ",
"CAPTCHA enabled: ": "Ενεργοποίηση CAPTCHA; ",
"Login enabled: ": "Ενεργοποίηση σύνδεσης; ",
"Registration enabled: ": "Ενεργοποίηση εγγραφής; ",
"Report statistics: ": "Αναφορά στατιστικών; ",
"Save preferences": "Αποθήκευση προτιμήσεων",
"Subscription manager": "Διαχειριστής συνδρομών",
"Token manager": "Διαχειριστής διασυνδέσεων",
"Token": "Διασύνδεση",
"`x` subscriptions": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` συνδρομή",
"": "`x` συνδρομές"
},
"`x` tokens": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` διασύνδεση",
"": "`x` διασυνδέσεις"
},
"Import/export": "Εισαγωγή/εξαγωγή",
"unsubscribe": "κατάργηση συνδρομής",
"revoke": "ανάκληση",
"Subscriptions": "Συνδρομές",
"`x` unseen notifications": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` καινούρια ειδοποίηση",
"": "`x` καινούριες ειδοποιήσεις"
},
"search": "αναζήτηση",
"Log out": "Αποσύνδεση",
"Released under the AGPLv3 by Omar Roth.": "Κυκλοφορεί υπό την άδεια AGPLv3 από τον Omar Roth.",
"Source available here.": "Προβολή πηγαίου κώδικα εδώ.",
"View JavaScript license information.": "Προβολή πληροφοριών άδειας JavaScript.",
"View privacy policy.": "Προβολή πολιτικής απορρήτου.",
"Trending": "Τάσεις",
"Public": "",
"Unlisted": "Κρυφό",
"Private": "",
"View all playlists": "",
"Updated `x` ago": "",
"Delete playlist `x`?": "",
"Delete playlist": "",
"Create playlist": "",
"Title": "",
"Playlist privacy": "",
"Editing playlist `x`": "",
"Watch on YouTube": "Προβολή στο YouTube",
"Hide annotations": "Απόκρυψη σημειώσεων",
"Show annotations": "Προβολή σημειώσεων",
"Genre: ": "Είδος: ",
"License: ": "Άδεια: ",
"Family friendly? ": "Φιλικό προς την οικογένεια; ",
"Wilson score: ": "Wilson score: ",
"Engagement: ": "Ενδιαφέρον: ",
"Whitelisted regions: ": "Επιτρεπτές περιοχές: ",
"Blacklisted regions: ": "Μη-επιτρεπτές περιοχές: ",
"Shared `x`": "Μοιράστηκε το `x`",
"`x` views": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` προβολή",
"": "`x` προβολές"
},
"Premieres in `x`": "Πρώτη προβολή σε `x`",
"Premieres `x`": "",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Γεια! Φαίνεται πως έχετε απενεργοποιήσει το JavaScript. Πατήστε εδώ για προβολή σχολίων, αλλά έχετε υπ'όψιν σας πως ίσως φορτώσουν πιο αργά. ",
"View YouTube comments": "Προβολή σχολίων από το YouTube",
"View more comments on Reddit": "Προβολή περισσότερων σχολίων στο Reddit",
"View `x` comments": "Προβολή `x` σχολίων",
"View Reddit comments": "Προβολή σχολίων από το Reddit",
"Hide replies": "Απόκρυψη απαντήσεων",
"Show replies": "Προβολή απαντήσεων",
"Incorrect password": "Λανθασμένος κωδικός πρόσβασης",
"Quota exceeded, try again in a few hours": "Έχετε υπερβεί το όριο προσπαθειών, δοκιμάστε ξανα σε λίγες ώρες",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Αδυναμία σύνδεσης, βεβαιωθείτε πως ο έλεγχος ταυτότητας δύο παραγόντων (με Authenticator ή SMS) είναι ενεργοποιημένος.",
"Invalid TFA code": "Μη έγκυρος κωδικός ελέγχου ταυτότητας δύο παραγόντων",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Αποτυχία σύνδεσης. Ίσως ευθύνεται η έλλειψη ελέγχου ταυτότητας δύο παραγόντων για το λογαριασμό σας.",
"Wrong answer": "Λανθασμένη απάντηση",
"Erroneous CAPTCHA": "Λανθασμένο CAPTCHA",
"CAPTCHA is a required field": "Το CAPTCHA είναι απαιτούμενο πεδίο",
"User ID is a required field": "Η ταυτότητα χρήστη είναι απαιτούμενο πεδίο",
"Password is a required field": "Ο κωδικός πρόσβασης είναι απαιτούμενο πεδίο",
"Wrong username or password": "Λανθασμένο όνομα χρήστη ή κωδικός πρόσβασης",
"Please sign in using 'Log in with Google'": "Συνδεθείτε με την επιλογή 'Σύνδεση με Google'",
"Password cannot be empty": "Ο κωδικός πρόσβασης δεν γίνεται να είναι κενός",
"Password cannot be longer than 55 characters": "Ο κωδικός πρόσβασης δεν γίνεται να υπερβαίνει τους 55 χαρακτήρες",
"Please log in": "Συνδεθείτε",
"Invidious Private Feed for `x`": "Ροή RSS του Invidious για το χρήστη `x`",
"channel:`x`": "κανάλι:`x`",
"Deleted or invalid channel": "Διαγραμμένο ή μη έγκυρο κανάλι",
"This channel does not exist.": "Αυτό το κανάλι δεν υπάρχει.",
"Could not get channel info.": "Αδύναμια εύρεσης πληροφοριών καναλιού.",
"Could not fetch comments": "Αδυναμία λήψης σχολίων",
"View `x` replies": {
"([^.,0-9]|^)1([^.,0-9]|$)": "Προβολή `x` απάντησης",
"": "Προβολή `x` απαντήσεων"
},
"`x` ago": "Πριν `x`",
"Load more": "Φόρτωση περισσότερων",
"`x` points": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` βαθμός",
"": "`x` βαθμοί"
},
"Could not create mix.": "Αδυναμία δημιουργίας μίξης.",
"Empty playlist": "Κενή λίστα αναπαραγωγής",
"Not a playlist.": "Μη έγκυρη λίστα αναπαραγωγής",
"Playlist does not exist.": "Μη υπαρκτή λίστα αναπαραγωγής.",
"Could not pull trending pages.": "Αδυναμία λήψης σελίδας τάσεων.",
"Hidden field \"challenge\" is a required field": "Το Κρυφό πεδίο \"δοκιμασία\" είναι απαραίτητο",
"Hidden field \"token\" is a required field": "Το κρυφό πεδίο \"αναγνωριστικό διασύνδεσης\" είναι απαραίτητο",
"Erroneous challenge": "Λανθασμένη δοκιμασία",
"Erroneous token": "Λανθασμένο αναγνωριστικό διασύνδεσης",
"No such user": "Μη υπαρκτός χρήστης",
"Token is expired, please try again": "Το αναγνωριστικό διασύνδεσης έχει λήξει, παρακαλώ ξαναπροσπαθήστε",
"English": "Αγγλικά",
"English (auto-generated)": "Αγγλικά (αυτόματα)",
"Afrikaans": "Αφρικάανς",
"Albanian": "Αλβανικά",
"Amharic": "Αμχαρικά",
"Arabic": "Αραβικά",
"Armenian": "Αρμένικα",
"Azerbaijani": "Αζερικά",
"Bangla": "Μπενγκάλι",
"Basque": "Βασκικά",
"Belarusian": "Λευκορωσικά",
"Bosnian": "Βοσνιακά",
"Bulgarian": "Βουλγάρικα",
"Burmese": "Βιρμανικά",
"Catalan": "Καταλανικά",
"Cebuano": "Κεμπουάνο",
"Chinese (Simplified)": "Κινέζικα (Απλοποιημένα)",
"Chinese (Traditional)": "Κινέζικα (Παραδοσιακά)",
"Corsican": "Κορσικανικά",
"Croatian": "Κροατικά",
"Czech": "Τσέχικα",
"Danish": "Δανέζικα",
"Dutch": "Ολλανδικά",
"Esperanto": "Εσπεράντο",
"Estonian": "Εσθονικά",
"Filipino": "Φιλιππινέζικα",
"Finnish": "Φινλανδικά",
"French": "Γαλλικά",
"Galician": "Γαλικιακά",
"Georgian": "Γεωργιανά",
"German": "Γερμανικά",
"Greek": "Ελληνικά",
"Gujarati": "Γκουτζαρατικά",
"Haitian Creole": "Κρεόλ Αϊτής",
"Hausa": "Χάουσα",
"Hawaiian": "Χαβανέζικα",
"Hebrew": "Εβραϊκά",
"Hindi": "Χίντι",
"Hmong": "Χμονγκ",
"Hungarian": "Ουγγαρέζικα",
"Icelandic": "Ισλανδικά",
"Igbo": "Ιγκμπό",
"Indonesian": "Ινδονησιακά",
"Irish": "Ιρλανδικά",
"Italian": "Ιταλικά",
"Japanese": "Ιαπωνικά",
"Javanese": "Ιαβανέζικα",
"Kannada": "Κανάντα",
"Kazakh": "Καζακικά",
"Khmer": "Χμερ",
"Korean": "Κορεάτικα",
"Kurdish": "Κούρδικα",
"Kyrgyz": "Κιργιστανικά",
"Lao": "Lao",
"Latin": "Λατινικά",
"Latvian": "Λετονικά",
"Lithuanian": "Λιθουανικά",
"Luxembourgish": "Λουξεμβουργιανά",
"Macedonian": "Μακεδονικά",
"Malagasy": "Μαλαγασικά",
"Malay": "Μαλαισιανά",
"Malayalam": "Μαλαγιαλάμ",
"Maltese": "Μαλτέζικα",
"Maori": "Μαορί",
"Marathi": "Μαράτι",
"Mongolian": "Μογγολικά",
"Nepali": "Νεπαλικά",
"Norwegian Bokmål": "Νορβηγικά Μποκμάλ",
"Nyanja": "Νιάντζα",
"Pashto": "Αφγανικά",
"Persian": "Περσικά",
"Polish": "Πολωνικά",
"Portuguese": "Πορτογαλικά",
"Punjabi": "Παντζάμπι",
"Romanian": "Ρουμανικά",
"Russian": "Ρώσικα",
"Samoan": "Σαμόα",
"Scottish Gaelic": "Σκωτικά Γαελικά",
"Serbian": "Σέρβικα",
"Shona": "Σόνα",
"Sindhi": "Σίντι",
"Sinhala": "Σιναλεζικά",
"Slovak": "Σλοβακικά",
"Slovenian": "ΣΛοβενικά",
"Somali": "Σομαλικά",
"Southern Sotho": "Νότια Σούτου",
"Spanish": "Ισπανικά",
"Spanish (Latin America)": "Ισπανικά (Λατινική Αμερική)",
"Sundanese": "Σουντανέζικα",
"Swahili": "Σουαχίλι",
"Swedish": "Σουηδικά",
"Tajik": "Τατζικικά",
"Tamil": "Ταμίλ",
"Telugu": "Τελούγκου",
"Thai": "Ταϊλανδικά",
"Turkish": "Τούρκικα",
"Ukrainian": "Ουκρανικά",
"Urdu": "Ουρντού",
"Uzbek": "Ουζμπεκικά",
"Vietnamese": "Βιετναμέζικα",
"Welsh": "Ουαλικά",
"Western Frisian": "Δυτική Φριζική",
"Xhosa": "Xhosa",
"Yiddish": "Γίντις",
"Yoruba": "Γιορούμπα",
"Zulu": "Ζουλού",
"`x` years": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` χρόνο",
"": "`x` χρόνια"
},
"`x` months": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` μήνα",
"": "`x` μήνες"
},
"`x` weeks": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` εβδομάδα",
"": "`x` εβδομάδες"
},
"`x` days": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` ημέρα",
"": "`x` ημέρες"
},
"`x` hours": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` ώρα",
"": "`x` ώρες"
},
"`x` minutes": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` λεπτό",
"": "`x` λεπτά"
},
"`x` seconds": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` δευτερόλεπτο",
"": "`x` δευτερόλεπτα"
},
"Fallback comments: ": "Εναλλακτικά σχόλια: ",
"Popular": "Δημοφιλή",
"Top": "Κορυφαία",
"About": "Σχετικά",
"Rating: ": "Aξιολόγηση: ",
"Language: ": "Γλώσσα: ",
"View as playlist": "Προβολή ως λίστα αναπαραγωγής",
"Default": "Προεπιλογή",
"Music": "Μουσική",
"Gaming": "Παιχνίδια",
"News": "Ειδήσεις",
"Movies": "Ταινίες",
"Download": "Λήψη",
"Download as: ": "Λήψη ως: ",
"%A %B %-d, %Y": "%A %B %-d, %Y",
"(edited)": "(τροποποιημένο)",
"YouTube comment permalink": "Σύνδεσμος YouTube σχολίου",
"permalink": "",
"`x` marked it with a ❤": "Ο χρηστης `x` έβαλε ❤",
"Audio mode": "Λειτουργία ήχου",
"Video mode": "Λειτουργία βίντεο",
"Videos": "Βίντεο",
"Playlists": "Λίστες Αναπαραγωγής",
"Community": "",
"Current version: ": "Τρέχουσα έκδοση: "
}

387
locales/en-US.json Normal file
View File

@@ -0,0 +1,387 @@
{
"`x` subscribers": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscriber",
"": "`x` subscribers"
},
"`x` videos": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` video",
"": "`x` videos"
},
"`x` playlists": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` playlist",
"": "`x` playlists"
},
"LIVE": "LIVE",
"Shared `x` ago": "Shared `x` ago",
"Unsubscribe": "Unsubscribe",
"Subscribe": "Subscribe",
"View channel on YouTube": "View channel on YouTube",
"View playlist on YouTube": "View playlist on YouTube",
"newest": "newest",
"oldest": "oldest",
"popular": "popular",
"last": "last",
"Next page": "Next page",
"Previous page": "Previous page",
"Clear watch history?": "Clear watch history?",
"New password": "New password",
"New passwords must match": "New passwords must match",
"Cannot change password for Google accounts": "Cannot change password for Google accounts",
"Authorize token?": "Authorize token?",
"Authorize token for `x`?": "Authorize token for `x`?",
"Yes": "Yes",
"No": "No",
"Import and Export Data": "Import and Export Data",
"Import": "Import",
"Import Invidious data": "Import Invidious data",
"Import YouTube subscriptions": "Import YouTube subscriptions",
"Import FreeTube subscriptions (.db)": "Import FreeTube subscriptions (.db)",
"Import NewPipe subscriptions (.json)": "Import NewPipe subscriptions (.json)",
"Import NewPipe data (.zip)": "Import NewPipe data (.zip)",
"Export": "Export",
"Export subscriptions as OPML": "Export subscriptions as OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Export subscriptions as OPML (for NewPipe & FreeTube)",
"Export data as JSON": "Export data as JSON",
"Delete account?": "Delete account?",
"History": "History",
"An alternative front-end to YouTube": "An alternative front-end to YouTube",
"JavaScript license information": "JavaScript license information",
"source": "source",
"Log in": "Log in",
"Log in/register": "Log in/register",
"Log in with Google": "Log in with Google",
"User ID": "User ID",
"Password": "Password",
"Time (h:mm:ss):": "Time (h:mm:ss):",
"Text CAPTCHA": "Text CAPTCHA",
"Image CAPTCHA": "Image CAPTCHA",
"Sign In": "Sign In",
"Register": "Register",
"E-mail": "E-mail",
"Google verification code": "Google verification code",
"Preferences": "Preferences",
"Player preferences": "Player preferences",
"Always loop: ": "Always loop: ",
"Autoplay: ": "Autoplay: ",
"Play next by default: ": "Play next by default: ",
"Autoplay next video: ": "Autoplay next video: ",
"Listen by default: ": "Listen by default: ",
"Proxy videos: ": "Proxy videos: ",
"Default speed: ": "Default speed: ",
"Preferred video quality: ": "Preferred video quality: ",
"Player volume: ": "Player volume: ",
"Default comments: ": "Default comments: ",
"youtube": "youtube",
"reddit": "reddit",
"Default captions: ": "Default captions: ",
"Fallback captions: ": "Fallback captions: ",
"Show related videos: ": "Show related videos: ",
"Show annotations by default: ": "Show annotations by default: ",
"Visual preferences": "Visual preferences",
"Player style: ": "Player style: ",
"Dark mode: ": "Dark mode: ",
"Theme: ": "Theme: ",
"dark": "dark",
"light": "light",
"Thin mode: ": "Thin mode: ",
"Subscription preferences": "Subscription preferences",
"Show annotations by default for subscribed channels: ": "Show annotations by default for subscribed channels? ",
"Redirect homepage to feed: ": "Redirect homepage to feed: ",
"Number of videos shown in feed: ": "Number of videos shown in feed: ",
"Sort videos by: ": "Sort videos by: ",
"published": "published",
"published - reverse": "published - reverse",
"alphabetically": "alphabetically",
"alphabetically - reverse": "alphabetically - reverse",
"channel name": "channel name",
"channel name - reverse": "channel name - reverse",
"Only show latest video from channel: ": "Only show latest video from channel: ",
"Only show latest unwatched video from channel: ": "Only show latest unwatched video from channel: ",
"Only show unwatched: ": "Only show unwatched: ",
"Only show notifications (if there are any): ": "Only show notifications (if there are any): ",
"Enable web notifications": "Enable web notifications",
"`x` uploaded a video": "`x` uploaded a video",
"`x` is live": "`x` is live",
"Data preferences": "Data preferences",
"Clear watch history": "Clear watch history",
"Import/export data": "Import/export data",
"Change password": "Change password",
"Manage subscriptions": "Manage subscriptions",
"Manage tokens": "Manage tokens",
"Watch history": "Watch history",
"Delete account": "Delete account",
"Administrator preferences": "Administrator preferences",
"Default homepage: ": "Default homepage: ",
"Feed menu: ": "Feed menu: ",
"Top enabled: ": "Top enabled: ",
"CAPTCHA enabled: ": "CAPTCHA enabled: ",
"Login enabled: ": "Login enabled: ",
"Registration enabled: ": "Registration enabled: ",
"Report statistics: ": "Report statistics: ",
"Save preferences": "Save preferences",
"Subscription manager": "Subscription manager",
"Token manager": "Token manager",
"Token": "Token",
"`x` subscriptions": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscription",
"": "`x` subscriptions"
},
"`x` tokens": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` token",
"": "`x` tokens"
},
"Import/export": "Import/export",
"unsubscribe": "unsubscribe",
"revoke": "revoke",
"Subscriptions": "Subscriptions",
"`x` unseen notifications": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` unseen notification",
"": "`x` unseen notifications"
},
"search": "search",
"Log out": "Log out",
"Released under the AGPLv3 by Omar Roth.": "Released under the AGPLv3 by Omar Roth.",
"Source available here.": "Source available here.",
"View JavaScript license information.": "View JavaScript license information.",
"View privacy policy.": "View privacy policy.",
"Trending": "Trending",
"Public": "Public",
"Unlisted": "Unlisted",
"Private": "Private",
"View all playlists": "View all playlists",
"Updated `x` ago": "Updated `x` ago",
"Delete playlist `x`?": "Delete playlist `x`?",
"Delete playlist": "Delete playlist",
"Create playlist": "Create playlist",
"Title": "Title",
"Playlist privacy": "Playlist privacy",
"Editing playlist `x`": "Editing playlist `x`",
"Watch on YouTube": "Watch on YouTube",
"Hide annotations": "Hide annotations",
"Show annotations": "Show annotations",
"Genre: ": "Genre: ",
"License: ": "License: ",
"Family friendly? ": "Family friendly? ",
"Wilson score: ": "Wilson score: ",
"Engagement: ": "Engagement: ",
"Whitelisted regions: ": "Whitelisted regions: ",
"Blacklisted regions: ": "Blacklisted regions: ",
"Shared `x`": "Shared `x`",
"`x` views": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` view",
"": "`x` views"
},
"Premieres in `x`": "Premieres in `x`",
"Premieres `x`": "Premieres `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.",
"View YouTube comments": "View YouTube comments",
"View more comments on Reddit": "View more comments on Reddit",
"View `x` comments": {
"([^.,0-9]|^)1([^.,0-9]|$)": "View `x` comment",
"": "View `x` comments"
},
"View Reddit comments": "View Reddit comments",
"Hide replies": "Hide replies",
"Show replies": "Show replies",
"Incorrect password": "Incorrect password",
"Quota exceeded, try again in a few hours": "Quota exceeded, try again in a few hours",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.",
"Invalid TFA code": "Invalid TFA code",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Login failed. This may be because two-factor authentication is not turned on for your account.",
"Wrong answer": "Wrong answer",
"Erroneous CAPTCHA": "Erroneous CAPTCHA",
"CAPTCHA is a required field": "CAPTCHA is a required field",
"User ID is a required field": "User ID is a required field",
"Password is a required field": "Password is a required field",
"Wrong username or password": "Wrong username or password",
"Please sign in using 'Log in with Google'": "Please sign in using 'Log in with Google'",
"Password cannot be empty": "Password cannot be empty",
"Password cannot be longer than 55 characters": "Password cannot be longer than 55 characters",
"Please log in": "Please log in",
"Invidious Private Feed for `x`": "Invidious Private Feed for `x`",
"channel:`x`": "channel:`x`",
"Deleted or invalid channel": "Deleted or invalid channel",
"This channel does not exist.": "This channel does not exist.",
"Could not get channel info.": "Could not get channel info.",
"Could not fetch comments": "Could not fetch comments",
"View `x` replies": {
"([^.,0-9]|^)1([^.,0-9]|$)": "View `x` reply",
"": "View `x` replies"
},
"`x` ago": "`x` ago",
"Load more": "Load more",
"`x` points": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` point",
"": "`x` points"
},
"Could not create mix.": "Could not create mix.",
"Empty playlist": "Empty playlist",
"Not a playlist.": "Not a playlist.",
"Playlist does not exist.": "Playlist does not exist.",
"Could not pull trending pages.": "Could not pull trending pages.",
"Hidden field \"challenge\" is a required field": "Hidden field \"challenge\" is a required field",
"Hidden field \"token\" is a required field": "Hidden field \"token\" is a required field",
"Erroneous challenge": "Erroneous challenge",
"Erroneous token": "Erroneous token",
"No such user": "No such user",
"Token is expired, please try again": "Token is expired, please try again",
"English": "English",
"English (auto-generated)": "English (auto-generated)",
"Afrikaans": "Afrikaans",
"Albanian": "Albanian",
"Amharic": "Amharic",
"Arabic": "Arabic",
"Armenian": "Armenian",
"Azerbaijani": "Azerbaijani",
"Bangla": "Bangla",
"Basque": "Basque",
"Belarusian": "Belarusian",
"Bosnian": "Bosnian",
"Bulgarian": "Bulgarian",
"Burmese": "Burmese",
"Catalan": "Catalan",
"Cebuano": "Cebuano",
"Chinese (Simplified)": "Chinese (Simplified)",
"Chinese (Traditional)": "Chinese (Traditional)",
"Corsican": "Corsican",
"Croatian": "Croatian",
"Czech": "Czech",
"Danish": "Danish",
"Dutch": "Dutch",
"Esperanto": "Esperanto",
"Estonian": "Estonian",
"Filipino": "Filipino",
"Finnish": "Finnish",
"French": "French",
"Galician": "Galician",
"Georgian": "Georgian",
"German": "German",
"Greek": "Greek",
"Gujarati": "Gujarati",
"Haitian Creole": "Haitian Creole",
"Hausa": "Hausa",
"Hawaiian": "Hawaiian",
"Hebrew": "Hebrew",
"Hindi": "Hindi",
"Hmong": "Hmong",
"Hungarian": "Hungarian",
"Icelandic": "Icelandic",
"Igbo": "Igbo",
"Indonesian": "Indonesian",
"Irish": "Irish",
"Italian": "Italian",
"Japanese": "Japanese",
"Javanese": "Javanese",
"Kannada": "Kannada",
"Kazakh": "Kazakh",
"Khmer": "Khmer",
"Korean": "Korean",
"Kurdish": "Kurdish",
"Kyrgyz": "Kyrgyz",
"Lao": "Lao",
"Latin": "Latin",
"Latvian": "Latvian",
"Lithuanian": "Lithuanian",
"Luxembourgish": "Luxembourgish",
"Macedonian": "Macedonian",
"Malagasy": "Malagasy",
"Malay": "Malay",
"Malayalam": "Malayalam",
"Maltese": "Maltese",
"Maori": "Maori",
"Marathi": "Marathi",
"Mongolian": "Mongolian",
"Nepali": "Nepali",
"Norwegian Bokmål": "Norwegian Bokmål",
"Nyanja": "Nyanja",
"Pashto": "Pashto",
"Persian": "Persian",
"Polish": "Polish",
"Portuguese": "Portuguese",
"Punjabi": "Punjabi",
"Romanian": "Romanian",
"Russian": "Russian",
"Samoan": "Samoan",
"Scottish Gaelic": "Scottish Gaelic",
"Serbian": "Serbian",
"Shona": "Shona",
"Sindhi": "Sindhi",
"Sinhala": "Sinhala",
"Slovak": "Slovak",
"Slovenian": "Slovenian",
"Somali": "Somali",
"Southern Sotho": "Southern Sotho",
"Spanish": "Spanish",
"Spanish (Latin America)": "Spanish (Latin America)",
"Sundanese": "Sundanese",
"Swahili": "Swahili",
"Swedish": "Swedish",
"Tajik": "Tajik",
"Tamil": "Tamil",
"Telugu": "Telugu",
"Thai": "Thai",
"Turkish": "Turkish",
"Ukrainian": "Ukrainian",
"Urdu": "Urdu",
"Uzbek": "Uzbek",
"Vietnamese": "Vietnamese",
"Welsh": "Welsh",
"Western Frisian": "Western Frisian",
"Xhosa": "Xhosa",
"Yiddish": "Yiddish",
"Yoruba": "Yoruba",
"Zulu": "Zulu",
"`x` years": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` year",
"": "`x` years"
},
"`x` months": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` month",
"": "`x` months"
},
"`x` weeks": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` week",
"": "`x` weeks"
},
"`x` days": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` day",
"": "`x` days"
},
"`x` hours": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` hour",
"": "`x` hours"
},
"`x` minutes": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` minute",
"": "`x` minutes"
},
"`x` seconds": {
"([^.,0-9]|^)1([^.,0-9]|$)": "`x` second",
"": "`x` seconds"
},
"Fallback comments: ": "Fallback comments: ",
"Popular": "Popular",
"Top": "Top",
"About": "About",
"Rating: ": "Rating: ",
"Language: ": "Language: ",
"View as playlist": "View as playlist",
"Default": "Default",
"Music": "Music",
"Gaming": "Gaming",
"News": "News",
"Movies": "Movies",
"Download": "Download",
"Download as: ": "Download as: ",
"%A %B %-d, %Y": "%A %B %-d, %Y",
"(edited)": "(edited)",
"YouTube comment permalink": "YouTube comment permalink",
"permalink": "permalink",
"`x` marked it with a ❤": "`x` marked it with a ❤",
"Audio mode": "Audio mode",
"Video mode": "Video mode",
"Videos": "Videos",
"Playlists": "Playlists",
"Community": "Community",
"Current version: ": "Current version: "
}

336
locales/eo.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` abonantoj",
"`x` videos": "`x` filmetoj",
"`x` playlists": "`x` ludlistoj",
"LIVE": "NUNA",
"Shared `x` ago": "Konigita antaŭ `x`",
"Unsubscribe": "Malaboni",
"Subscribe": "Aboni",
"View channel on YouTube": "Vidi kanalon en JuTubo",
"View playlist on YouTube": "Vidi ludliston en JuTubo",
"newest": "pli novaj",
"oldest": "pli malnovaj",
"popular": "popularaj",
"last": "lasta",
"Next page": "Sekva paĝo",
"Previous page": "Antaŭa paĝo",
"Clear watch history?": "Ĉu forigi vidohistorion?",
"New password": "Nova pasvorto",
"New passwords must match": "Novaj pasvortoj devas kongrui",
"Cannot change password for Google accounts": "Ne eblas ŝanĝi pasvorton por kontoj de Google",
"Authorize token?": "Ĉu rajtigi ĵetonon?",
"Authorize token for `x`?": "Ĉu rajtigi ĵetonon por `x`?",
"Yes": "Jes",
"No": "Ne",
"Import and Export Data": "Importi kaj Eksporti Datumojn",
"Import": "Importi",
"Import Invidious data": "Importi datumojn de Invidious",
"Import YouTube subscriptions": "Importi abonojn de JuTubo",
"Import FreeTube subscriptions (.db)": "Importi abonojn de FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "Importi abonojn de NewPipe (.json)",
"Import NewPipe data (.zip)": "Importi datumojn de NewPipe (.zip)",
"Export": "Eksporti",
"Export subscriptions as OPML": "Eksporti abonojn kiel OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Eksporti abonojn kiel OPML (por NewPipe kaj FreeTube)",
"Export data as JSON": "Eksporti datumojn kiel JSON",
"Delete account?": "Ĉu forigi konton?",
"History": "Historio",
"An alternative front-end to YouTube": "Alternativa fasado al JuTubo",
"JavaScript license information": "Ĝavoskripta licenca informo",
"source": "fonto",
"Log in": "Ensaluti",
"Log in/register": "Ensaluti/Registriĝi",
"Log in with Google": "Ensaluti al Google",
"User ID": "Uzula identigilo",
"Password": "Pasvorto",
"Time (h:mm:ss):": "Horo (h:mm:ss):",
"Text CAPTCHA": "Teksta CAPTCHA",
"Image CAPTCHA": "Bilda CAPTCHA",
"Sign In": "Ensaluti",
"Register": "Registriĝi",
"E-mail": "Retpoŝto",
"Google verification code": "Kontrolkodo de Google",
"Preferences": "Agordoj",
"Player preferences": "Spektilaj agordoj",
"Always loop: ": "Ĉiam ripeti: ",
"Autoplay: ": "Aŭtomate ludi: ",
"Play next by default: ": "Ludi sekvan defaŭlte: ",
"Autoplay next video: ": "Aŭtomate ludi sekvan filmeton: ",
"Listen by default: ": "Aŭskulti defaŭlte: ",
"Proxy videos: ": "Ĉu uzi prokuran servilon por filmetojn? ",
"Default speed: ": "Defaŭlta rapido: ",
"Preferred video quality: ": "Preferita filmetkvalito: ",
"Player volume: ": "Ludila sonforteco: ",
"Default comments: ": "Defaŭltaj komentoj: ",
"youtube": "JuTubo",
"reddit": "Reddit",
"Default captions: ": "Defaŭltaj subtekstoj: ",
"Fallback captions: ": "Retrodefaŭltaj subtekstoj: ",
"Show related videos: ": "Ĉu montri rilatajn filmetojn? ",
"Show annotations by default: ": "Ĉu montri prinotojn defaŭlte? ",
"Visual preferences": "Vidaj preferoj",
"Player style: ": "Ludila stilo: ",
"Dark mode: ": "Malhela reĝimo: ",
"Theme: ": "Etoso: ",
"dark": "malhela",
"light": "hela",
"Thin mode: ": "Maldika reĝimo: ",
"Subscription preferences": "Abonaj agordoj",
"Show annotations by default for subscribed channels: ": "Ĉu montri prinotojn defaŭlte por abonitaj kanaloj? ",
"Redirect homepage to feed: ": "Alidirekti hejmpâgon al fluo: ",
"Number of videos shown in feed: ": "Nombro da filmetoj montritaj en fluo: ",
"Sort videos by: ": "Ordi filmetojn per: ",
"published": "publikigo",
"published - reverse": "publitigo - renverse",
"alphabetically": "alfabete",
"alphabetically - reverse": "alfabete - renverse",
"channel name": "kanala nombro",
"channel name - reverse": "kanala nombro - renverse",
"Only show latest video from channel: ": "Nur montri pli novan filmeton el kanalo: ",
"Only show latest unwatched video from channel: ": "Nur montri pli novan malviditan filmeton el kanalo: ",
"Only show unwatched: ": "Nur montri malviditajn: ",
"Only show notifications (if there are any): ": "Nur montri sciigojn (se estas): ",
"Enable web notifications": "Ebligi retejajn sciigojn",
"`x` uploaded a video": "`x` alŝutis filmeton",
"`x` is live": "`x` estas nuna",
"Data preferences": "Datumagordoj",
"Clear watch history": "Forigi vidohistorion",
"Import/export data": "Importi/Eksporti datumojn",
"Change password": "Ŝanĝi pasvorton",
"Manage subscriptions": "Administri abonojn",
"Manage tokens": "Administri ĵetonojn",
"Watch history": "Vidohistorio",
"Delete account": "Forigi konton",
"Administrator preferences": "Agordoj de administranto",
"Default homepage: ": "Defaŭlta hejmpaĝo: ",
"Feed menu: ": "Flua menuo: ",
"Top enabled: ": "Ĉu pli bonaj ŝaltitaj? ",
"CAPTCHA enabled: ": "Ĉu CAPTCHA ŝaltita? ",
"Login enabled: ": "Ĉu ensaluto aktivita? ",
"Registration enabled: ": "Ĉu registriĝo aktivita? ",
"Report statistics: ": "Ĉu raporti statistikojn? ",
"Save preferences": "Konservi agordojn",
"Subscription manager": "Administrilo de abonoj",
"Token manager": "Ĵetona administrilo",
"Token": "Ĵetono",
"`x` subscriptions": "`x` abonoj",
"`x` tokens": "`x` ĵetonoj",
"Import/export": "Importi/Eksporti",
"unsubscribe": "malaboni",
"revoke": "senvalidigi",
"Subscriptions": "Abonoj",
"`x` unseen notifications": "`x` neviditaj sciigoj",
"search": "serĉi",
"Log out": "Elsaluti",
"Released under the AGPLv3 by Omar Roth.": "Eldonita sub la AGPLv3 de Omar Roth.",
"Source available here.": "Fonto havebla ĉi tie.",
"View JavaScript license information.": "Vidi Ĝavoskriptan licencan informon.",
"View privacy policy.": "Vidi regularon pri privateco.",
"Trending": "Tendencoj",
"Public": "Publika",
"Unlisted": "Ne listigita",
"Private": "Privata",
"View all playlists": "Vidi ĉiujn ludlistojn",
"Updated `x` ago": "Ĝisdatigita antaŭ `x`",
"Delete playlist `x`?": "Ĉu forigi ludliston `x`?",
"Delete playlist": "Forigi ludliston",
"Create playlist": "Krei ludliston",
"Title": "Titolo",
"Playlist privacy": "Privateco de ludlisto",
"Editing playlist `x`": "Redaktante ludlisto `x`",
"Watch on YouTube": "Vidi filmeton en JuTubo",
"Hide annotations": "Kaŝi prinotojn",
"Show annotations": "Montri prinotojn",
"Genre: ": "Ĝenro: ",
"License: ": "Licenco: ",
"Family friendly? ": "Ĉu familie amika? ",
"Wilson score: ": "Poentaro de Wilson: ",
"Engagement: ": "Intereso: ",
"Whitelisted regions: ": "Regionoj listigitaj en blanka listo: ",
"Blacklisted regions: ": "Regionoj listigitaj en nigra listo: ",
"Shared `x`": "Konigita `x`",
"`x` views": "`x` spektaĵoj",
"Premieres in `x`": "Premieras en `x`",
"Premieres `x`": "Premieras `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Saluton! Ŝajnas, ke vi havas Ĝavoskripton malebligitan. Klaku ĉi tie por vidi komentojn, memoru, ke la ŝargado povus daŭri iom pli.",
"View YouTube comments": "Vidi komentojn de JuTubo",
"View more comments on Reddit": "Vidi pli komentoj en Reddit",
"View `x` comments": "Vidi `x` komentojn",
"View Reddit comments": "Vidi komentojn de Reddit",
"Hide replies": "Kaŝi respondojn",
"Show replies": "Montri respondojn",
"Incorrect password": "Malbona pasvorto",
"Quota exceeded, try again in a few hours": "Kvoto transpasita, provu denove post iuj horoj",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Ne povas ensaluti, certigu, ke dufaktora aŭtentigo (Authenticator aŭ SMS) estas ebligita.",
"Invalid TFA code": "Nevalida TFA-kodo",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Ensalutado fiaskis. Eble ĉar la dufaktora aŭtentigo estas malebligita en via konto.",
"Wrong answer": "Nevalida respondo",
"Erroneous CAPTCHA": "Nevalida CAPTCHA",
"CAPTCHA is a required field": "CAPTCHA estas deviga kampo",
"User ID is a required field": "Uzula identigilo estas deviga kampo",
"Password is a required field": "Pasvorto estas deviga kampo",
"Wrong username or password": "Nevalida uzantnomo aŭ pasvorto",
"Please sign in using 'Log in with Google'": "Bonvolu ensaluti per 'Ensaluti per Google'",
"Password cannot be empty": "Pasvorto ne povas esti malplena",
"Password cannot be longer than 55 characters": "Pasvorto ne povas esti pli longa ol 55 signoj",
"Please log in": "Bonvolu ensaluti",
"Invidious Private Feed for `x`": "Privata Fluo de Invidious por `x`",
"channel:`x`": "kanalo:`x`",
"Deleted or invalid channel": "Forigita aŭ nevalida kanalo",
"This channel does not exist.": "Ĉi tiu kanalo ne ekzistas.",
"Could not get channel info.": "Ne povis havigi kanalan informon.",
"Could not fetch comments": "Ne povis venigi komentojn",
"View `x` replies": "Vidi `x` respondojn",
"`x` ago": "antaŭ `x`",
"Load more": "Ŝarĝi pli",
"`x` points": "`x` poentoj",
"Could not create mix.": "Ne povis krei mikson.",
"Empty playlist": "Ludlisto estas malplena",
"Not a playlist.": "Nevalida ludlisto.",
"Playlist does not exist.": "Ludlisto ne ekzistas.",
"Could not pull trending pages.": "Ne povis venigi tendencajn paĝojn.",
"Hidden field \"challenge\" is a required field": "Kaŝita kampo \"challenge\" estas deviga kampo",
"Hidden field \"token\" is a required field": "Kaŝita kampo \"token\" estas deviga kampo",
"Erroneous challenge": "Nevalida defio",
"Erroneous token": "Nevalida ĵetono",
"No such user": "Nevalida uzanto",
"Token is expired, please try again": "Ĵetono senvalidiĝis, bonvolu provi denove",
"English": "Angla",
"English (auto-generated)": "Angla (aŭtomate generita)",
"Afrikaans": "Afrikansa",
"Albanian": "Albana",
"Amharic": "Amhara",
"Arabic": "Araba",
"Armenian": "Armena",
"Azerbaijani": "Azerbajĝana",
"Bangla": "Bengala",
"Basque": "Eŭska",
"Belarusian": "Belorusa",
"Bosnian": "Bosna",
"Bulgarian": "Bulgara",
"Burmese": "Birma",
"Catalan": "Kataluna",
"Cebuano": "Cebua",
"Chinese (Simplified)": "Ĉina (simpligita)",
"Chinese (Traditional)": "Ĉina (tradicia)",
"Corsican": "Korsika",
"Croatian": "Kroata",
"Czech": "Ĉeĥa",
"Danish": "Dana",
"Dutch": "Nederlanda",
"Esperanto": "Esperanto",
"Estonian": "Estona",
"Filipino": "Filipina",
"Finnish": "Finna",
"French": "Franca",
"Galician": "Galega",
"Georgian": "Kartvela",
"German": "Germana",
"Greek": "Greka",
"Gujarati": "Guĝarata",
"Haitian Creole": "Haitia kreola",
"Hausa": "Haŭsa",
"Hawaiian": "Havaja",
"Hebrew": "Hebrea",
"Hindi": "Hindia",
"Hmong": "Miaa",
"Hungarian": "Hungara",
"Icelandic": "Islanda",
"Igbo": "Igba",
"Indonesian": "Indonezia",
"Irish": "Irlanda",
"Italian": "Itala",
"Japanese": "Japana",
"Javanese": "Java",
"Kannada": "Kanara",
"Kazakh": "Kazaĥa",
"Khmer": "Kmera",
"Korean": "Korea",
"Kurdish": "Kurda",
"Kyrgyz": "Kirgiza",
"Lao": "Laosa",
"Latin": "Latina",
"Latvian": "Latva",
"Lithuanian": "Litova",
"Luxembourgish": "Luksemburga",
"Macedonian": "Makedona",
"Malagasy": "Malagasa",
"Malay": "Malaja",
"Malayalam": "Malajala",
"Maltese": "Malta",
"Maori": "Maoria",
"Marathi": "Marata",
"Mongolian": "Mongola",
"Nepali": "Nepala",
"Norwegian Bokmål": "Norvega",
"Nyanja": "Njanĝa",
"Pashto": "Paŝtuna",
"Persian": "Persa",
"Polish": "Pola",
"Portuguese": "Portugala",
"Punjabi": "Panĝaba",
"Romanian": "Rumana",
"Russian": "Rusa",
"Samoan": "Samoa",
"Scottish Gaelic": "Skotgaela",
"Serbian": "Serba",
"Shona": "Ŝona",
"Sindhi": "Sinda",
"Sinhala": "Sinhala",
"Slovak": "Slovaka",
"Slovenian": "Slovena",
"Somali": "Somala",
"Southern Sotho": "Sota",
"Spanish": "Hispana",
"Spanish (Latin America)": "Hispana (Latinameriko)",
"Sundanese": "Sunda",
"Swahili": "Svahila",
"Swedish": "Sveda",
"Tajik": "Taĝika",
"Tamil": "Tamila",
"Telugu": "Telugua",
"Thai": "Taja",
"Turkish": "Turka",
"Ukrainian": "Ukraina",
"Urdu": "Urduo",
"Uzbek": "Uzbeka",
"Vietnamese": "Vjetnama",
"Welsh": "Kimra",
"Western Frisian": "Okcidentfrisa",
"Xhosa": "Kosa",
"Yiddish": "Jida",
"Yoruba": "Joruba",
"Zulu": "Zulua",
"`x` years": "`x` jaroj",
"`x` months": "`x` monatoj",
"`x` weeks": "`x` semajnoj",
"`x` days": "`x` tagoj",
"`x` hours": "`x` horoj",
"`x` minutes": "`x` minutoj",
"`x` seconds": "`x` sekundoj",
"Fallback comments: ": "Retrodefaŭltaj komentoj: ",
"Popular": "Popularaj",
"Top": "Supraj",
"About": "Pri",
"Rating: ": "Takso: ",
"Language: ": "Lingvo: ",
"View as playlist": "Vidi kiel ludlisto",
"Default": "Defaŭlte",
"Music": "Musiko",
"Gaming": "Komputiloludoj",
"News": "Novaĵoj",
"Movies": "Filmoj",
"Download": "Elŝuti",
"Download as: ": "Elŝuti kiel: ",
"%A %B %-d, %Y": "%A %-d de %B %Y",
"(edited)": "(redaktita)",
"YouTube comment permalink": "Fiksligilo de la komento en JuTubo",
"permalink": "konstanta ligilo",
"`x` marked it with a ❤": "`x` markis ĝin per ❤",
"Audio mode": "Aŭda reĝimo",
"Video mode": "Videa reĝimo",
"Videos": "Filmetoj",
"Playlists": "Ludlistoj",
"Community": "Komunumo",
"Current version: ": "Nuna versio: "
}

336
locales/es.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` suscriptores",
"`x` videos": "`x` vídeos",
"`x` playlists": "`x` listas de reproducción",
"LIVE": "DIRECTO",
"Shared `x` ago": "Compartido hace `x`",
"Unsubscribe": "Desuscribirse",
"Subscribe": "Suscribirse",
"View channel on YouTube": "Ver el canal en YouTube",
"View playlist on YouTube": "Ver lista de reproducción en YouTube",
"newest": "más nuevos",
"oldest": "más viejos",
"popular": "populares",
"last": "último",
"Next page": "Página siguiente",
"Previous page": "Página anterior",
"Clear watch history?": "¿Quiere borrar el historial de reproducción?",
"New password": "Nueva contraseña",
"New passwords must match": "Las nuevas contraseñas deben coincidir",
"Cannot change password for Google accounts": "No se puede cambiar la contraseña de la cuenta de Google",
"Authorize token?": "¿Autorizar el token?",
"Authorize token for `x`?": "¿Autorizar el token para `x`?",
"Yes": "Sí",
"No": "No",
"Import and Export Data": "Importación y exportación de datos",
"Import": "Importar",
"Import Invidious data": "Importar datos de Invidious",
"Import YouTube subscriptions": "Importar suscripciones de YouTube",
"Import FreeTube subscriptions (.db)": "Importar suscripciones de FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "Importar suscripciones de NewPipe (.json)",
"Import NewPipe data (.zip)": "Importar datos de NewPipe (.zip)",
"Export": "Exportar",
"Export subscriptions as OPML": "Exportar suscripciones como OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Exportar suscripciones como OPML (para NewPipe y FreeTube)",
"Export data as JSON": "Exportar datos como JSON",
"Delete account?": "¿Quiere borrar la cuenta?",
"History": "Historial",
"An alternative front-end to YouTube": "Una interfaz alternativa para YouTube",
"JavaScript license information": "Información de licencia de JavaScript",
"source": "código fuente",
"Log in": "Iniciar sesión",
"Log in/register": "Iniciar sesión/Registrarse",
"Log in with Google": "Iniciar sesión en Google",
"User ID": "Nombre",
"Password": "Contraseña",
"Time (h:mm:ss):": "Hora (h:mm:ss):",
"Text CAPTCHA": "CAPTCHA en texto",
"Image CAPTCHA": "CAPTCHA en imagen",
"Sign In": "Iniciar sesión",
"Register": "Registrarse",
"E-mail": "Correo",
"Google verification code": "Código de verificación de Google",
"Preferences": "Preferencias",
"Player preferences": "Preferencias del reproductor",
"Always loop: ": "Repetir siempre: ",
"Autoplay: ": "Reproducción automática: ",
"Play next by default: ": "Reproducir siguiente por defecto: ",
"Autoplay next video: ": "Reproducir automáticamente el vídeo siguiente: ",
"Listen by default: ": "Activar el sonido por defecto: ",
"Proxy videos: ": "¿Usar un proxy para los vídeos? ",
"Default speed: ": "Velocidad por defecto: ",
"Preferred video quality: ": "Calidad de vídeo preferida: ",
"Player volume: ": "Volumen del reproductor: ",
"Default comments: ": "Comentarios por defecto: ",
"youtube": "YouTube",
"reddit": "Reddit",
"Default captions: ": "Subtítulos por defecto: ",
"Fallback captions: ": "Subtítulos alternativos: ",
"Show related videos: ": "¿Mostrar vídeos relacionados? ",
"Show annotations by default: ": "¿Mostrar anotaciones por defecto? ",
"Visual preferences": "Preferencias visuales",
"Player style: ": "Estilo de reproductor: ",
"Dark mode: ": "Modo oscuro: ",
"Theme: ": "Tema: ",
"dark": "oscuro",
"light": "claro",
"Thin mode: ": "Modo compacto: ",
"Subscription preferences": "Preferencias de la suscripción",
"Show annotations by default for subscribed channels: ": "¿Mostrar anotaciones por defecto para los canales suscritos? ",
"Redirect homepage to feed: ": "Redirigir la página de inicio a la fuente: ",
"Number of videos shown in feed: ": "Número de vídeos mostrados en la fuente: ",
"Sort videos by: ": "Ordenar los vídeos por: ",
"published": "fecha de publicación",
"published - reverse": "fecha de publicación: orden inverso",
"alphabetically": "alfabéticamente",
"alphabetically - reverse": "alfabéticamente: orden inverso",
"channel name": "nombre del canal",
"channel name - reverse": "nombre del canal: orden inverso",
"Only show latest video from channel: ": "Mostrar solo el último vídeo del canal: ",
"Only show latest unwatched video from channel: ": "Mostrar solo el último vídeo sin ver del canal: ",
"Only show unwatched: ": "Mostrar solo los no vistos: ",
"Only show notifications (if there are any): ": "Mostrar solo notificaciones (si hay alguna): ",
"Enable web notifications": "Habilitar notificaciones web",
"`x` uploaded a video": "`x` subió un video",
"`x` is live": "`x` esta en vivo",
"Data preferences": "Preferencias de los datos",
"Clear watch history": "Borrar el historial de reproducción",
"Import/export data": "Importar/Exportar datos",
"Change password": "Cambiar contraseña",
"Manage subscriptions": "Gestionar las suscripciones",
"Manage tokens": "Gestionar tokens",
"Watch history": "Historial de reproducción",
"Delete account": "Borrar cuenta",
"Administrator preferences": "Preferencias de administrador",
"Default homepage: ": "Página de inicio por defecto: ",
"Feed menu: ": "Menú de fuentes: ",
"Top enabled: ": "¿Habilitar los destacados? ",
"CAPTCHA enabled: ": "¿Habilitar los CAPTCHA? ",
"Login enabled: ": "¿Habilitar el inicio de sesión? ",
"Registration enabled: ": "¿Habilitar el registro? ",
"Report statistics: ": "¿Enviar estadísticas? ",
"Save preferences": "Guardar las preferencias",
"Subscription manager": "Gestor de suscripciones",
"Token manager": "Gestor de tokens",
"Token": "Token",
"`x` subscriptions": "`x` suscripciones",
"`x` tokens": "`x` tokens",
"Import/export": "Importar/Exportar",
"unsubscribe": "Desuscribirse",
"revoke": "revocar",
"Subscriptions": "Suscripciones",
"`x` unseen notifications": "`x` notificaciones sin ver",
"search": "buscar",
"Log out": "Cerrar la sesión",
"Released under the AGPLv3 by Omar Roth.": "Publicado bajo licencia AGPLv3 por Omar Roth.",
"Source available here.": "Código fuente disponible aquí.",
"View JavaScript license information.": "Ver información de licencia de JavaScript.",
"View privacy policy.": "Ver la política de privacidad.",
"Trending": "Tendencias",
"Public": "Público",
"Unlisted": "No listado",
"Private": "Privado",
"View all playlists": "Ver todas las listas de reproducción",
"Updated `x` ago": "Actualizado hace `x`",
"Delete playlist `x`?": "¿Eliminar la lista de reproducción `x`?",
"Delete playlist": "Eliminar lista de reproducción",
"Create playlist": "Crear lista de reproducción",
"Title": "Título",
"Playlist privacy": "Privacidad de la lista de reproducción",
"Editing playlist `x`": "Editando la lista de reproducción 'x'",
"Watch on YouTube": "Ver el vídeo en Youtube",
"Hide annotations": "Ocultar anotaciones",
"Show annotations": "Mostrar anotaciones",
"Genre: ": "Género: ",
"License: ": "Licencia: ",
"Family friendly? ": "¿Filtrar contenidos? ",
"Wilson score: ": "Puntuación Wilson: ",
"Engagement: ": "Compromiso: ",
"Whitelisted regions: ": "Regiones permitidas: ",
"Blacklisted regions: ": "Regiones bloqueadas: ",
"Shared `x`": "Compartido `x`",
"`x` views": "`x` visualizaciones",
"Premieres in `x`": "Se estrena en `x`",
"Premieres `x`": "Estrenos `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "¡Hola! Parece que tiene JavaScript desactivado. Haga clic aquí para ver los comentarios, pero tenga en cuenta que pueden tardar un poco más en cargarse.",
"View YouTube comments": "Ver los comentarios de YouTube",
"View more comments on Reddit": "Ver más comentarios en Reddit",
"View `x` comments": "Ver `x` comentarios",
"View Reddit comments": "Ver los comentarios de Reddit",
"Hide replies": "Ocultar las respuestas",
"Show replies": "Mostrar las respuestas",
"Incorrect password": "Contraseña incorrecta",
"Quota exceeded, try again in a few hours": "Cuota excedida, pruebe otra vez en unas horas",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "No se puede iniciar sesión, asegúrese de que la autentificación de dos factores (autentificador o SMS) esté habilitada.",
"Invalid TFA code": "Código TFA no válido",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Error de inicio de sesion. Puede deberse a que la autentificación de dos factores no está habilitada en su cuenta.",
"Wrong answer": "Respuesta no válida",
"Erroneous CAPTCHA": "CAPTCHA no válido",
"CAPTCHA is a required field": "El CAPTCHA es un campo obligatorio",
"User ID is a required field": "El nombre es un campo obligatorio",
"Password is a required field": "La contraseña es un campo obligatorio",
"Wrong username or password": "Nombre o contraseña incorrecto",
"Please sign in using 'Log in with Google'": "Inicie sesión con «Iniciar sesión con Google»",
"Password cannot be empty": "La contraseña no puede estar en blanco",
"Password cannot be longer than 55 characters": "La contraseña no puede tener más de 55 caracteres",
"Please log in": "Inicie sesión, por favor",
"Invidious Private Feed for `x`": "Fuente privada de Invidious para `x`",
"channel:`x`": "canal: `x`",
"Deleted or invalid channel": "El canal no es válido o ha sido borrado",
"This channel does not exist.": "El canal no existe.",
"Could not get channel info.": "No se ha podido obtener información del canal.",
"Could not fetch comments": "No se han podido recuperar los comentarios",
"View `x` replies": "Ver `x` respuestas",
"`x` ago": "hace `x`",
"Load more": "Cargar más",
"`x` points": "`x` puntos",
"Could not create mix.": "No se ha podido crear la mezcla.",
"Empty playlist": "La lista de reproducción está vacía",
"Not a playlist.": "Lista de reproducción no válida.",
"Playlist does not exist.": "La lista de reproducción no existe.",
"Could not pull trending pages.": "No se han podido obtener las páginas de tendencias.",
"Hidden field \"challenge\" is a required field": "El campo oculto «desafío» es un campo obligatorio",
"Hidden field \"token\" is a required field": "El campo oculto «símbolo» es un campo obligatorio",
"Erroneous challenge": "Desafío no válido",
"Erroneous token": "Símbolo no válido",
"No such user": "Usuario no válido",
"Token is expired, please try again": "El símbolo ha caducado, inténtelo de nuevo",
"English": "Inglés",
"English (auto-generated)": "Inglés (autogenerado)",
"Afrikaans": "Afrikáans",
"Albanian": "Albanés",
"Amharic": "Amárico",
"Arabic": "Árabe",
"Armenian": "Armenio",
"Azerbaijani": "Azerbaiyano",
"Bangla": "Bengalí",
"Basque": "Euskera",
"Belarusian": "Bielorruso",
"Bosnian": "Bosnio",
"Bulgarian": "Búlgaro",
"Burmese": "Birmano",
"Catalan": "Catalán",
"Cebuano": "Cebuano",
"Chinese (Simplified)": "Chino (simplificado)",
"Chinese (Traditional)": "Chino (tradicional)",
"Corsican": "Corso",
"Croatian": "Croata",
"Czech": "Checo",
"Danish": "Danés",
"Dutch": "Holandés",
"Esperanto": "Esperanto",
"Estonian": "Estonio",
"Filipino": "Filipino",
"Finnish": "Finés",
"French": "Francés",
"Galician": "Gallego",
"Georgian": "Georgiano",
"German": "Alemán",
"Greek": "Griego",
"Gujarati": "Guyaratí",
"Haitian Creole": "Criollo haitiano",
"Hausa": "Hausa",
"Hawaiian": "Hawaiano",
"Hebrew": "Hebreo",
"Hindi": "Hindi",
"Hmong": "Hmong",
"Hungarian": "Húngaro",
"Icelandic": "Islandés",
"Igbo": "Igbo",
"Indonesian": "Indonesio",
"Irish": "Irlandés",
"Italian": "Italiano",
"Japanese": "Japonés",
"Javanese": "Javanés",
"Kannada": "Canarés",
"Kazakh": "Kazajo",
"Khmer": "Camboyano",
"Korean": "Coreano",
"Kurdish": "Kurdo",
"Kyrgyz": "Kirguís",
"Lao": "Laosiano",
"Latin": "Latín",
"Latvian": "Letón",
"Lithuanian": "Lituano",
"Luxembourgish": "Luxemburgués",
"Macedonian": "Macedonio",
"Malagasy": "Malgache",
"Malay": "Malayo",
"Malayalam": "Malabar",
"Maltese": "Maltés",
"Maori": "Maorí",
"Marathi": "Maratí",
"Mongolian": "Mongol",
"Nepali": "Nepalí",
"Norwegian Bokmål": "Noruego",
"Nyanja": "Chichewa",
"Pashto": "Pastún",
"Persian": "Persa",
"Polish": "Polaco",
"Portuguese": "Portugués",
"Punjabi": "Panyabí",
"Romanian": "Rumano",
"Russian": "Ruso",
"Samoan": "Samoano",
"Scottish Gaelic": "Gaélico escocés",
"Serbian": "Serbio",
"Shona": "Shona",
"Sindhi": "Sindi",
"Sinhala": "Cingalés",
"Slovak": "Eslovaco",
"Slovenian": "Esloveno",
"Somali": "Somalí",
"Southern Sotho": "Sesoto",
"Spanish": "Español",
"Spanish (Latin America)": "Español (Hispanoamérica)",
"Sundanese": "Sondanés",
"Swahili": "Suajili",
"Swedish": "Sueco",
"Tajik": "Tayiko",
"Tamil": "Tamil",
"Telugu": "Telugu",
"Thai": "Tailandés",
"Turkish": "Turco",
"Ukrainian": "Ucraniano",
"Urdu": "Urdu",
"Uzbek": "Uzbeko",
"Vietnamese": "Vietnamita",
"Welsh": "Galés",
"Western Frisian": "Frisón",
"Xhosa": "Xhosa",
"Yiddish": "Yidis",
"Yoruba": "Yoruba",
"Zulu": "Zulú",
"`x` years": "`x` años",
"`x` months": "`x` meses",
"`x` weeks": "`x` semanas",
"`x` days": "`x` días",
"`x` hours": "`x` horas",
"`x` minutes": "`x` minutos",
"`x` seconds": "`x` segundos",
"Fallback comments: ": "Comentarios alternativos: ",
"Popular": "Populares",
"Top": "Destacados",
"About": "Acerca de",
"Rating: ": "Valoración: ",
"Language: ": "Idioma: ",
"View as playlist": "Ver como lista de reproducción",
"Default": "Por defecto",
"Music": "Música",
"Gaming": "Videojuegos",
"News": "Noticias",
"Movies": "Películas",
"Download": "Descargar",
"Download as: ": "Descargar como: ",
"%A %B %-d, %Y": "%A %B %-d, %Y",
"(edited)": "(editado)",
"YouTube comment permalink": "Enlace permanente de YouTube del comentario",
"permalink": "permalink",
"`x` marked it with a ❤": "`x` lo ha marcado con un ❤",
"Audio mode": "Modo de audio",
"Video mode": "Modo de vídeo",
"Videos": "Vídeos",
"Playlists": "Listas de reproducción",
"Community": "Comunidad",
"Current version: ": "Versión actual: "
}

336
locales/eu.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` harpidedun",
"`x` videos": "`x` bideo",
"`x` playlists": "`x` erreprodukzio-zerrenda",
"LIVE": "ZUZENEAN",
"Shared `x` ago": "Duela `x` partekatua",
"Unsubscribe": "Harpidetza kendu",
"Subscribe": "Harpidetu",
"View channel on YouTube": "Ikusi kanala YouTuben",
"View playlist on YouTube": "Ikusi erreprodukzio-zerrenda YouTuben",
"newest": "berrienak",
"oldest": "zaharrenak",
"popular": "ospetsuenak",
"last": "azkena",
"Next page": "Hurrengo orria",
"Previous page": "Aurreko orria",
"Clear watch history?": "Garbitu ikusitakoen historia?",
"New password": "Pasahitz berria",
"New passwords must match": "Pasahitza berriek bat egin behar dute",
"Cannot change password for Google accounts": "Ezin da pasahitza aldatu Google kontuetan",
"Authorize token?": "Baimendu tokena?",
"Authorize token for `x`?": "",
"Yes": "Bai",
"No": "Ez",
"Import and Export Data": "Datuak inportatu eta esportatu",
"Import": "Inportatu",
"Import Invidious data": "Inportatu Invidiouseko datuak",
"Import YouTube subscriptions": "Inportatu YouTubeko harpidetzak",
"Import FreeTube subscriptions (.db)": "Inportatu FreeTubeko harpidetzak (.db)",
"Import NewPipe subscriptions (.json)": "Inportatu NewPipeko harpidetzak (.json)",
"Import NewPipe data (.zip)": "Inportatu NewPipeko datuak (.zip)",
"Export": "Esportatu",
"Export subscriptions as OPML": "Esportatu harpidetzak OPML bezala",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Esportatu harpidetzak OPML bezala (NewPipe eta FreeTuberako)",
"Export data as JSON": "Esportatu datuak JSON bezala",
"Delete account?": "Kontua ezabatu?",
"History": "Historia",
"An alternative front-end to YouTube": "YouTuberako interfaze alternatibo bat",
"JavaScript license information": "JavaScript lizentzia informazioa",
"source": "iturburua",
"Log in": "Saioa hasi",
"Log in/register": "Hasi saioa / Eman izena",
"Log in with Google": "Hasi saioa Googlekin",
"User ID": "Erabiltzaile IDa",
"Password": "Pasahitza",
"Time (h:mm:ss):": "Denbora (h:mm:ss):",
"Text CAPTCHA": "CAPTCHA testua",
"Image CAPTCHA": "CAPTCHA irudia",
"Sign In": "Hasi saioa",
"Register": "Eman izena",
"E-mail": "E-posta",
"Google verification code": "",
"Preferences": "Hobespenak",
"Player preferences": "Erreproduzigailuaren hobespenak",
"Always loop: ": "",
"Autoplay: ": "Automatikoki erreproduzitu: ",
"Play next by default: ": "",
"Autoplay next video: ": "Erreproduzitu automatikoki hurrengo bideoa: ",
"Listen by default: ": "",
"Proxy videos: ": "",
"Default speed: ": "",
"Preferred video quality: ": "Hobetsitako bideoaren kalitatea: ",
"Player volume: ": "Erreproduzigailuaren bolumena: ",
"Default comments: ": "Lehenetsitako iruzkinak: ",
"youtube": "youtube",
"reddit": "reddit",
"Default captions: ": "Lehenetsitako azpitituluak: ",
"Fallback captions: ": "",
"Show related videos: ": "Erakutsi erlazionatutako bideoak: ",
"Show annotations by default: ": "Erakutsi oharrak modu lehenetsian: ",
"Visual preferences": "Hobespen bisualak",
"Player style: ": "Erreproduzigailu mota: ",
"Dark mode: ": "Gai iluna: ",
"Theme: ": "Gaia: ",
"dark": "iluna",
"light": "argia",
"Thin mode: ": "",
"Subscription preferences": "Harpidetzen hobespenak",
"Show annotations by default for subscribed channels: ": "",
"Redirect homepage to feed: ": "",
"Number of videos shown in feed: ": "",
"Sort videos by: ": "",
"published": "",
"published - reverse": "",
"alphabetically": "",
"alphabetically - reverse": "",
"channel name": "",
"channel name - reverse": "",
"Only show latest video from channel: ": "",
"Only show latest unwatched video from channel: ": "",
"Only show unwatched: ": "",
"Only show notifications (if there are any): ": "",
"Enable web notifications": "",
"`x` uploaded a video": "",
"`x` is live": "",
"Data preferences": "",
"Clear watch history": "",
"Import/export data": "",
"Change password": "",
"Manage subscriptions": "",
"Manage tokens": "",
"Watch history": "",
"Delete account": "",
"Administrator preferences": "",
"Default homepage: ": "",
"Feed menu: ": "",
"Top enabled: ": "",
"CAPTCHA enabled: ": "",
"Login enabled: ": "",
"Registration enabled: ": "",
"Report statistics: ": "",
"Save preferences": "",
"Subscription manager": "",
"Token manager": "",
"Token": "",
"`x` subscriptions": "",
"`x` tokens": "",
"Import/export": "",
"unsubscribe": "",
"revoke": "",
"Subscriptions": "",
"`x` unseen notifications": "",
"search": "",
"Log out": "",
"Released under the AGPLv3 by Omar Roth.": "",
"Source available here.": "",
"View JavaScript license information.": "",
"View privacy policy.": "",
"Trending": "",
"Public": "",
"Unlisted": "",
"Private": "",
"View all playlists": "",
"Updated `x` ago": "",
"Delete playlist `x`?": "",
"Delete playlist": "",
"Create playlist": "",
"Title": "",
"Playlist privacy": "",
"Editing playlist `x`": "",
"Watch on YouTube": "",
"Hide annotations": "",
"Show annotations": "",
"Genre: ": "",
"License: ": "",
"Family friendly? ": "",
"Wilson score: ": "",
"Engagement: ": "",
"Whitelisted regions: ": "",
"Blacklisted regions: ": "",
"Shared `x`": "",
"`x` views": "",
"Premieres in `x`": "",
"Premieres `x`": "",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "",
"View YouTube comments": "",
"View more comments on Reddit": "",
"View `x` comments": "",
"View Reddit comments": "",
"Hide replies": "",
"Show replies": "",
"Incorrect password": "",
"Quota exceeded, try again in a few hours": "",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "",
"Invalid TFA code": "",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "",
"Wrong answer": "",
"Erroneous CAPTCHA": "",
"CAPTCHA is a required field": "",
"User ID is a required field": "",
"Password is a required field": "",
"Wrong username or password": "",
"Please sign in using 'Log in with Google'": "",
"Password cannot be empty": "",
"Password cannot be longer than 55 characters": "",
"Please log in": "",
"Invidious Private Feed for `x`": "",
"channel:`x`": "",
"Deleted or invalid channel": "",
"This channel does not exist.": "",
"Could not get channel info.": "",
"Could not fetch comments": "",
"View `x` replies": "",
"`x` ago": "",
"Load more": "",
"`x` points": "",
"Could not create mix.": "",
"Empty playlist": "",
"Not a playlist.": "",
"Playlist does not exist.": "",
"Could not pull trending pages.": "",
"Hidden field \"challenge\" is a required field": "",
"Hidden field \"token\" is a required field": "",
"Erroneous challenge": "",
"Erroneous token": "",
"No such user": "",
"Token is expired, please try again": "",
"English": "",
"English (auto-generated)": "",
"Afrikaans": "",
"Albanian": "",
"Amharic": "",
"Arabic": "",
"Armenian": "",
"Azerbaijani": "",
"Bangla": "",
"Basque": "",
"Belarusian": "",
"Bosnian": "",
"Bulgarian": "",
"Burmese": "",
"Catalan": "",
"Cebuano": "",
"Chinese (Simplified)": "",
"Chinese (Traditional)": "",
"Corsican": "",
"Croatian": "",
"Czech": "",
"Danish": "",
"Dutch": "",
"Esperanto": "",
"Estonian": "",
"Filipino": "",
"Finnish": "",
"French": "",
"Galician": "",
"Georgian": "",
"German": "",
"Greek": "",
"Gujarati": "",
"Haitian Creole": "",
"Hausa": "",
"Hawaiian": "",
"Hebrew": "",
"Hindi": "",
"Hmong": "",
"Hungarian": "",
"Icelandic": "",
"Igbo": "",
"Indonesian": "",
"Irish": "",
"Italian": "",
"Japanese": "",
"Javanese": "",
"Kannada": "",
"Kazakh": "",
"Khmer": "",
"Korean": "",
"Kurdish": "",
"Kyrgyz": "",
"Lao": "",
"Latin": "",
"Latvian": "",
"Lithuanian": "",
"Luxembourgish": "",
"Macedonian": "",
"Malagasy": "",
"Malay": "",
"Malayalam": "",
"Maltese": "",
"Maori": "",
"Marathi": "",
"Mongolian": "",
"Nepali": "",
"Norwegian Bokmål": "",
"Nyanja": "",
"Pashto": "",
"Persian": "",
"Polish": "",
"Portuguese": "",
"Punjabi": "",
"Romanian": "",
"Russian": "",
"Samoan": "",
"Scottish Gaelic": "",
"Serbian": "",
"Shona": "",
"Sindhi": "",
"Sinhala": "",
"Slovak": "",
"Slovenian": "",
"Somali": "",
"Southern Sotho": "",
"Spanish": "",
"Spanish (Latin America)": "",
"Sundanese": "",
"Swahili": "",
"Swedish": "",
"Tajik": "",
"Tamil": "",
"Telugu": "",
"Thai": "",
"Turkish": "",
"Ukrainian": "",
"Urdu": "",
"Uzbek": "",
"Vietnamese": "",
"Welsh": "",
"Western Frisian": "",
"Xhosa": "",
"Yiddish": "",
"Yoruba": "",
"Zulu": "",
"`x` years": "",
"`x` months": "",
"`x` weeks": "",
"`x` days": "",
"`x` hours": "",
"`x` minutes": "",
"`x` seconds": "",
"Fallback comments: ": "",
"Popular": "",
"Top": "",
"About": "",
"Rating: ": "",
"Language: ": "",
"View as playlist": "",
"Default": "",
"Music": "",
"Gaming": "",
"News": "",
"Movies": "",
"Download": "",
"Download as: ": "",
"%A %B %-d, %Y": "",
"(edited)": "",
"YouTube comment permalink": "",
"permalink": "",
"`x` marked it with a ❤": "",
"Audio mode": "",
"Video mode": "",
"Videos": "",
"Playlists": "",
"Community": "",
"Current version: ": ""
}

336
locales/fr.json Normal file
View File

@@ -0,0 +1,336 @@
{
"`x` subscribers": "`x` abonnés",
"`x` videos": "`x` vidéos",
"`x` playlists": "`x` listes de lecture",
"LIVE": "EN DIRECT",
"Shared `x` ago": "Ajoutée il y a `x`",
"Unsubscribe": "Se désabonner",
"Subscribe": "S'abonner",
"View channel on YouTube": "Voir la chaîne sur YouTube",
"View playlist on YouTube": "Voir la liste de lecture sur YouTube",
"newest": "Date d'ajout (la plus récente)",
"oldest": "Date d'ajout (la plus ancienne)",
"popular": "Les plus populaires",
"last": "Dernières",
"Next page": "Page suivante",
"Previous page": "Page précédente",
"Clear watch history?": "Êtes-vous sûr de vouloir supprimer l'historique des vidéos regardées ?",
"New password": "Nouveau mot de passe",
"New passwords must match": "Les champs \"Nouveau mot de passe\" doivent être identiques",
"Cannot change password for Google accounts": "Le mot de passe d'un compte Google ne peut pas être changé depuis Invidious",
"Authorize token?": "Autoriser le token ?",
"Authorize token for `x`?": "Autoriser le token pour `x` ?",
"Yes": "Oui",
"No": "Non",
"Import and Export Data": "Importer et exporter des données",
"Import": "Importer",
"Import Invidious data": "Importer des données Invidious",
"Import YouTube subscriptions": "Importer des abonnements YouTube",
"Import FreeTube subscriptions (.db)": "Importer des abonnements FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "Importer des abonnements NewPipe (.json)",
"Import NewPipe data (.zip)": "Importer des données NewPipe (.zip)",
"Export": "Exporter",
"Export subscriptions as OPML": "Exporter les abonnements au format OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Exporter les abonnements au format OPML (pour NewPipe & FreeTube)",
"Export data as JSON": "Exporter les données au format JSON",
"Delete account?": "Êtes-vous sûr de vouloir supprimer votre compte ?",
"History": "Historique",
"An alternative front-end to YouTube": "Un front-end alternatif à YouTube",
"JavaScript license information": "Informations sur les licences JavaScript",
"source": "source",
"Log in": "Se connecter",
"Log in/register": "Se connecter/Créer un compte",
"Log in with Google": "Se connecter avec Google",
"User ID": "Identifiant utilisateur",
"Password": "Mot de passe",
"Time (h:mm:ss):": "Heure (h:mm:ss) :",
"Text CAPTCHA": "CAPTCHA Texte",
"Image CAPTCHA": "CAPTCHA Image",
"Sign In": "Se connecter",
"Register": "S'inscrire",
"E-mail": "E-mail",
"Google verification code": "Code de vérification Google",
"Preferences": "Préférences",
"Player preferences": "Préférences du lecteur",
"Always loop: ": "Lire en boucle : ",
"Autoplay: ": "Lancer la lecture automatiquement : ",
"Play next by default: ": "Lire les vidéos suivantes par défaut : ",
"Autoplay next video: ": "Lancer la lecture automatiquement pour la vidéo suivant la vidéo regardée : ",
"Listen by default: ": "Audio uniquement : ",
"Proxy videos: ": "Charger les vidéos à travers un proxy : ",
"Default speed: ": "Vitesse par défaut : ",
"Preferred video quality: ": "Qualité vidéo souhaitée : ",
"Player volume: ": "Volume du lecteur : ",
"Default comments: ": "Source des commentaires : ",
"youtube": "YouTube",
"reddit": "Reddit",
"Default captions: ": "Sous-titres par défaut : ",
"Fallback captions: ": "Sous-titres alternatifs : ",
"Show related videos: ": "Voir les vidéos liées : ",
"Show annotations by default: ": "Afficher les annotations par défaut : ",
"Visual preferences": "Préférences du site",
"Player style: ": "Style du lecteur : ",
"Dark mode: ": "Mode sombre : ",
"Theme: ": "Thème : ",
"dark": "sombre",
"light": "clair",
"Thin mode: ": "Mode léger : ",
"Subscription preferences": "Préférences de la page d'abonnements",
"Show annotations by default for subscribed channels: ": "Afficher les annotations par défaut sur les chaînes auxquelles vous êtes abonnés : ",
"Redirect homepage to feed: ": "Rediriger la page d'accueil vers la page d'abonnements : ",
"Number of videos shown in feed: ": "Nombre de vidéos affichées dans la page d'abonnements : ",
"Sort videos by: ": "Trier les vidéos par : ",
"published": "date de publication",
"published - reverse": "date de publication - inversé",
"alphabetically": "alphabétiquement",
"alphabetically - reverse": "alphabétiquement - inversé",
"channel name": "nom de la chaîne",
"channel name - reverse": "nom de la chaîne - inversé",
"Only show latest video from channel: ": "Afficher uniquement la dernière vidéo des chaînes auxquelles vous êtes abonnés : ",
"Only show latest unwatched video from channel: ": "Afficher uniquement la dernière vidéo des chaînes auxquelles vous êtes abonnés qui n'a pas été regardée : ",
"Only show unwatched: ": "Afficher uniquement les vidéos qui n'ont pas été regardées : ",
"Only show notifications (if there are any): ": "Afficher uniquement les notifications (s'il y en a) : ",
"Enable web notifications": "Activer les notifications web",
"`x` uploaded a video": "`x` a partagé(e) une vidéo",
"`x` is live": "`x` est en direct",
"Data preferences": "Préférences liées aux données",
"Clear watch history": "Supprimer l'historique des vidéos regardées",
"Import/export data": "Importer/exporter les données",
"Change password": "Modifier le mot de passe",
"Manage subscriptions": "Gérer les abonnements",
"Manage tokens": "Gérer les tokens",
"Watch history": "Historique de visionnage",
"Delete account": "Supprimer votre compte",
"Administrator preferences": "Préferences d'Administration",
"Default homepage: ": "Page d'accueil par défaut : ",
"Feed menu: ": "Préferences des abonnements : ",
"Top enabled: ": "Top activé : ",
"CAPTCHA enabled: ": "CAPTCHA activé : ",
"Login enabled: ": "Connexion activé : ",
"Registration enabled: ": "Inscription activée : ",
"Report statistics: ": "Télémétrie activé : ",
"Save preferences": "Enregistrer les préférences",
"Subscription manager": "Gestionnaire d'abonnement",
"Token manager": "Gestionnaire de tokens",
"Token": "Token",
"`x` subscriptions": "`x` abonnements",
"`x` tokens": "`x` tokens",
"Import/export": "Importer/Exporter",
"unsubscribe": "se désabonner",
"revoke": "révoquer",
"Subscriptions": "Abonnements",
"`x` unseen notifications": "`x` notifications non vues",
"search": "rechercher",
"Log out": "Déconnexion",
"Released under the AGPLv3 by Omar Roth.": "Publié sous licence AGPLv3 par Omar Roth.",
"Source available here.": "Code source disponible ici.",
"View JavaScript license information.": "Informations des licences JavaScript.",
"View privacy policy.": "Politique de confidentialité.",
"Trending": "Tendances",
"Public": "Publique",
"Unlisted": "Non répertoriée",
"Private": "Privée",
"View all playlists": "Voir toutes vos playlists",
"Updated `x` ago": "Dernière mise à jour il y a `x`",
"Delete playlist `x`?": "Êtes-vous sûr de vouloir supprimer la liste de lecture ?",
"Delete playlist": "Supprimer la liste de lecture",
"Create playlist": "Créer une liste de lecture",
"Title": "Titre",
"Playlist privacy": "Paramètres de confidentialité de la liste de lecture",
"Editing playlist `x`": "Liste de lecture modifier le `x`",
"Watch on YouTube": "Voir la vidéo sur Youtube",
"Hide annotations": "Masquer les annotations",
"Show annotations": "Afficher les annotations",
"Genre: ": "Genre : ",
"License: ": "Licence : ",
"Family friendly? ": "Vidéo tout public ? ",
"Wilson score: ": "Score de Wilson : ",
"Engagement: ": "Pourcentage de spectateur aillant appuyé sur \"J'aime\" ou \"J'aime Pas\" : ",
"Whitelisted regions: ": "Régions sur liste blanche : ",
"Blacklisted regions: ": "Régions sur liste noire : ",
"Shared `x`": "Ajoutée le `x`",
"`x` views": "`x` vues",
"Premieres in `x`": "Première dans `x`",
"Premieres `x`": "Première le `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Il semblerait que JavaScript soit désactivé. Cliquez ici pour voir les commentaires, mais gardez à l'esprit que le chargement peut prendre plus de temps.",
"View YouTube comments": "Voir les commentaires YouTube",
"View more comments on Reddit": "Voir plus de commentaires sur Reddit",
"View `x` comments": "Voir `x` commentaires",
"View Reddit comments": "Voir les commentaires Reddit",
"Hide replies": "Masquer les réponses",
"Show replies": "Afficher les réponses",
"Incorrect password": "Mot de passe incorrect",
"Quota exceeded, try again in a few hours": "Nombre de tentatives de connexion dépassé, réessayez dans quelques heures",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Impossible de se connecter, si après plusieurs tentative vous ne parvenez toujours pas à vous connecter, assurez-vous que l'authentification à deux facteurs (Authenticator ou SMS) est activée.",
"Invalid TFA code": "Code d'authentification à deux facteurs invalide",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "La connexion a échoué. Cela peut être dû au fait que l'authentification à deux facteurs n'est pas activée sur votre compte.",
"Wrong answer": "Réponse invalide",
"Erroneous CAPTCHA": "CAPTCHA invalide",
"CAPTCHA is a required field": "Veuillez entrer un CAPTCHA",
"User ID is a required field": "Veuillez entrer un Identifiant Utilisateur",
"Password is a required field": "Veuillez entrer un Mot de passe",
"Wrong username or password": "Nom d'utilisateur ou mot de passe invalide",
"Please sign in using 'Log in with Google'": "Veuillez vous connecter en utilisant \"Se connecter avec Google\"",
"Password cannot be empty": "Le mot de passe ne peut pas être vide",
"Password cannot be longer than 55 characters": "Le mot de passe ne doit pas comporter plus de 55 caractères",
"Please log in": "Veuillez vous connecter",
"Invidious Private Feed for `x`": "Flux RSS privé pour `x`",
"channel:`x`": "chaîne:`x`",
"Deleted or invalid channel": "Chaîne supprimée ou invalide",
"This channel does not exist.": "Cette chaine n'existe pas.",
"Could not get channel info.": "Impossible de charger les informations de cette chaîne.",
"Could not fetch comments": "Impossible de charger les commentaires",
"View `x` replies": "Voir `x` réponses",
"`x` ago": "il y a `x`",
"Load more": "Voir plus",
"`x` points": "`x` points",
"Could not create mix.": "Impossible de charger cette liste de lecture.",
"Empty playlist": "La liste de lecture est vide",
"Not a playlist.": "La liste de lecture est invalide.",
"Playlist does not exist.": "La liste de lecture n'existe pas.",
"Could not pull trending pages.": "Impossible de charger les pages de tendances.",
"Hidden field \"challenge\" is a required field": "Le champ masqué \"challenge\" est un champ obligatoire",
"Hidden field \"token\" is a required field": "Le champ caché \"token\" est requis",
"Erroneous challenge": "Challenge invalide",
"Erroneous token": "Token invalide",
"No such user": "Cet utilisateur n'existe pas",
"Token is expired, please try again": "Le token est expiré, veuillez réessayer",
"English": "Anglais",
"English (auto-generated)": "Anglais (générés automatiquement)",
"Afrikaans": "Afrikaans",
"Albanian": "Albanais",
"Amharic": "Amharique",
"Arabic": "Arabe",
"Armenian": "Arménien",
"Azerbaijani": "Azerbaïdjanais",
"Bangla": "Bangla",
"Basque": "Basque",
"Belarusian": "Belarusian",
"Bosnian": "Bosnian",
"Bulgarian": "Bulgarian",
"Burmese": "Birman",
"Catalan": "Catalan",
"Cebuano": "Cebuano",
"Chinese (Simplified)": "Chinois (Simplifié)",
"Chinese (Traditional)": "Chinois (Traditionnel)",
"Corsican": "Corse",
"Croatian": "Croate",
"Czech": "Tchèque",
"Danish": "Danois",
"Dutch": "Hollandais",
"Esperanto": "Espéranto",
"Estonian": "Estonien",
"Filipino": "Philippin",
"Finnish": "Finlandais",
"French": "Français",
"Galician": "Galicien",
"Georgian": "Géorgien",
"German": "Allemand",
"Greek": "Grec",
"Gujarati": "Gujarati",
"Haitian Creole": "Créole Haïtien",
"Hausa": "Haoussa",
"Hawaiian": "Hawaïen",
"Hebrew": "Hébraïque",
"Hindi": "Hindi",
"Hmong": "Hmong",
"Hungarian": "Hongrois",
"Icelandic": "Islandais",
"Igbo": "Igbo",
"Indonesian": "Indonésien",
"Irish": "Irlandais",
"Italian": "Italien",
"Japanese": "Japonais",
"Javanese": "Javanais",
"Kannada": "Kannada",
"Kazakh": "Kazakh",
"Khmer": "Khmer",
"Korean": "Coréen",
"Kurdish": "Kurde",
"Kyrgyz": "Kirghize",
"Lao": "Lao",
"Latin": "Latin",
"Latvian": "Letton",
"Lithuanian": "Lituanien",
"Luxembourgish": "Luxembourgeois",
"Macedonian": "Macédonien",
"Malagasy": "Malgache",
"Malay": "Malais",
"Malayalam": "Malayalam",
"Maltese": "Maltais",
"Maori": "Maori",
"Marathi": "Marathi",
"Mongolian": "Mongol",
"Nepali": "Népalais",
"Norwegian Bokmål": "Norvégien",
"Nyanja": "Nyanja",
"Pashto": "Pachtou",
"Persian": "Persan",
"Polish": "Polonais",
"Portuguese": "Portugais",
"Punjabi": "Punjabi",
"Romanian": "Roumain",
"Russian": "Russe",
"Samoan": "Samoan",
"Scottish Gaelic": "Eaélique Ècossais",
"Serbian": "Serbe",
"Shona": "Shona",
"Sindhi": "Sindhi",
"Sinhala": "Cinghalais",
"Slovak": "Slovaque",
"Slovenian": "Slovène",
"Somali": "Somalien",
"Southern Sotho": "Sotho du Sud",
"Spanish": "Espagnol",
"Spanish (Latin America)": "Espagnol (Amérique latine)",
"Sundanese": "Sundanais",
"Swahili": "Swahili",
"Swedish": "Suédois",
"Tajik": "Tajik",
"Tamil": "Tamil",
"Telugu": "Telugu",
"Thai": "Thaï",
"Turkish": "Turc",
"Ukrainian": "Ukrainien",
"Urdu": "Ourdou",
"Uzbek": "Ouzbek",
"Vietnamese": "Vietnamien",
"Welsh": "Gallois",
"Western Frisian": "Frison occidental",
"Xhosa": "Xhosa",
"Yiddish": "Yiddish",
"Yoruba": "Yoruba",
"Zulu": "Zoulou",
"`x` years": "`x` ans",
"`x` months": "`x` mois",
"`x` weeks": "`x` semaines",
"`x` days": "`x` jours",
"`x` hours": "`x` heures",
"`x` minutes": "`x` minutes",
"`x` seconds": "`x` secondes",
"Fallback comments: ": "Commentaires alternatifs : ",
"Popular": "Populaire",
"Top": "Top",
"About": "À propos",
"Rating: ": "Évaluation : ",
"Language: ": "Langue : ",
"View as playlist": "Voir en tant que liste de lecture",
"Default": "Défaut",
"Music": "Musique",
"Gaming": "Jeux Vidéo",
"News": "Actualités",
"Movies": "Films",
"Download": "Télécharger",
"Download as: ": "Télécharger en : ",
"%A %B %-d, %Y": "%A %-d %B %Y",
"(edited)": "(modifié)",
"YouTube comment permalink": "Lien permanent vers le commentaire sur YouTube",
"permalink": "Lien permanent",
"`x` marked it with a ❤": "`x` l'a marqué d'un ❤",
"Audio mode": "Mode audio",
"Video mode": "Mode vidéo",
"Videos": "Vidéos",
"Playlists": "Listes de lecture",
"Community": "Communauté",
"Current version: ": "Version actuelle : "
}

335
locales/hu-HU.json Normal file
View File

@@ -0,0 +1,335 @@
{
"`x` subscribers": "`x` feliratkozó",
"`x` videos": "`x` videó",
"`x` playlists": "`x` playlist",
"LIVE": "ÉLŐ",
"Shared `x` ago": "`x` óta megosztva",
"Unsubscribe": "Leiratkozás",
"Subscribe": "Feliratkozás",
"View channel on YouTube": "Csatokrna megtekintése a YouTube-on",
"View playlist on YouTube": "Playlist megtekintése a YouTube-on",
"newest": "legújabb",
"oldest": "legrégibb",
"popular": "népszerű",
"last": "utolsó",
"Next page": "Következő oldal",
"Previous page": "Előző oldal",
"Clear watch history?": "Megtekintési napló törlése?",
"New password": "Új jelszó",
"New passwords must match": "Az új jelszavaknak egyezniük kell",
"Cannot change password for Google accounts": "Google fiók jelszavát nem lehet cserélni",
"Authorize token?": "Token felhatalmazása?",
"Authorize token for `x`?": "Token felhatalmazása `x`-ra?",
"Yes": "Igen",
"No": "Nem",
"Import and Export Data": "Adatok importálása és exportálása",
"Import": "Importálás",
"Import Invidious data": "Invidious adatainak importálása",
"Import YouTube subscriptions": "YouTube feliratkozások importálása",
"Import FreeTube subscriptions (.db)": "FreeTube feliratkozások importálása (.db)",
"Import NewPipe subscriptions (.json)": "NewPipe feliratkozások importálása (.json)",
"Import NewPipe data (.zip)": "NewPipe adatainak importálása (.zip)",
"Export": "Exportálás",
"Export subscriptions as OPML": "Feliratkozások exportálása OPML-ként",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Feliratkozások exportálása OPML-ként (NewPipe és FreeTube számára)",
"Export data as JSON": "Adat exportálása JSON-ként",
"Delete account?": "Fiók törlése?",
"History": "Megtekintési napló",
"An alternative front-end to YouTube": "Alternatív YouTube front-end",
"JavaScript license information": "JavaScript licensz információ",
"source": "forrás",
"Log in": "Bejelentkezés",
"Log in/register": "Bejelentkezés/Regisztráció",
"Log in with Google": "Bejelentkezés Google fiókkal",
"User ID": "Felhasználó-ID",
"Password": "Jelszó",
"Time (h:mm:ss):": "Idő (h:mm:ss):",
"Text CAPTCHA": "Szöveg-CAPTCHA",
"Image CAPTCHA": "Kép-CAPTCHA",
"Sign In": "Bejelentkezés",
"Register": "Regisztráció",
"E-mail": "E-mail",
"Google verification code": "Google verifikációs kód",
"Preferences": "Beállítások",
"Player preferences": "Lejátszó beállítások",
"Always loop: ": "Mindig loop-ol: ",
"Autoplay: ": "Automatikus lejátszás: ",
"Play next by default: ": "Következő lejátszása alapértelmezésben: ",
"Autoplay next video: ": "Következő automatikus lejátszása: ",
"Listen by default: ": "Hallgatás alapértelmezésben: ",
"Proxy videos: ": "Proxy videók: ",
"Default speed: ": "Alapértelmezett sebesség: ",
"Preferred video quality: ": "Kívánt video minőség: ",
"Player volume: ": "Hangerő: ",
"Default comments: ": "Alapértelmezett kommentek: ",
"youtube": "YouTube",
"reddit": "Reddit",
"Default captions: ": "Alapértelmezett feliratok: ",
"Fallback captions: ": "Másodlagos feliratok: ",
"Show related videos: ": "Kapcsolódó videók mutatása: ",
"Show annotations by default: ": "Annotációk mutatása alapértelmetésben: ",
"Visual preferences": "Vizuális preferenciák",
"Player style: ": "Lejátszó stílusa: ",
"Dark mode: ": "Sötét mód: ",
"Theme: ": "Téma: ",
"dark": "Sötét",
"light": "Világos",
"Thin mode: ": "Vékony mód: ",
"Subscription preferences": "Feliratkozási beállítások",
"Show annotations by default for subscribed channels: ": "Annotációk mutatása alapértelmezésben feliratkozott csatornák esetében: ",
"Redirect homepage to feed: ": "Kezdő oldal átirányitása a feed-re: ",
"Number of videos shown in feed: ": "Feed-ben mutatott videók száma: ",
"Sort videos by: ": "Videók sorrendje: ",
"published": "közzétéve",
"published - reverse": "közzétéve (ford.)",
"alphabetically": "ABC sorrend",
"alphabetically - reverse": "ABC sorrend (ford.)",
"channel name": "csatorna neve",
"channel name - reverse": "csatorna neve (ford.)",
"Only show latest video from channel: ": "Csak a legutolsó videó mutatása a csatornából: ",
"Only show latest unwatched video from channel: ": "Csak a legutolsó nem megtekintett videó mutatása a csatornából: ",
"Only show unwatched: ": "Csak a nem megtekintettek mutatása: ",
"Only show notifications (if there are any): ": "Csak értesítések mutatása (ha van): ",
"Enable web notifications": "Web értesítések bekapcsolása",
"`x` uploaded a video": "`x` feltöltött egy videót",
"`x` is live": "`x` élő",
"Data preferences": "Adat beállítások",
"Clear watch history": "Megtekintési napló törlése",
"Import/export data": "Adat Import/Export",
"Change password": "Jelszócsere",
"Manage subscriptions": "Feliratkozások kezelése",
"Manage tokens": "Tokenek kezelése",
"Watch history": "Megtekintési napló",
"Delete account": "Fiók törlése",
"Administrator preferences": "Adminisztrátor beállítások",
"Default homepage: ": "Alapértelmezett honlap: ",
"Feed menu: ": "Feed menü: ",
"Top enabled: ": "Top lista engedélyezve: ",
"CAPTCHA enabled: ": "CAPTCHA engedélyezve: ",
"Login enabled: ": "Bejelentkezés engedélyezve: ",
"Registration enabled: ": "Registztráció engedélyezve: ",
"Report statistics: ": "Statisztikák gyűjtése: ",
"Save preferences": "Beállítások mentése",
"Subscription manager": "Feliratkozás kezelő",
"Token manager": "Token kezelő",
"Token": "Token",
"`x` subscriptions": "`x` feliratkozás",
"`x` tokens": "`x` token",
"Import/export": "Import/export",
"unsubscribe": "leiratkozás",
"revoke": "visszavonás",
"Subscriptions": "Feliratkozások",
"`x` unseen notifications": "`x` kimaradt érdesítés",
"search": "keresés",
"Log out": "Kijelentkezés",
"Released under the AGPLv3 by Omar Roth.": "Omar Roth által release-elve AGPLv3 licensz alatt.",
"Source available here.": "Forrás elérhető itt.",
"View JavaScript license information.": "JavaScript licensz inforkációk megtekintése.",
"View privacy policy.": "Adatvédelem irányelv megtekintése.",
"Trending": "Trending",
"Public": "Nyilvános",
"Unlisted": "Nem nyilvános",
"Private": "Privát",
"View all playlists": "Minden playlist megtekintése",
"Updated `x` ago": "Frissitve `x`",
"Delete playlist `x`?": "`x` playlist törlése?",
"Delete playlist": "Playlist törlése",
"Create playlist": "Playlist létrehozása",
"Title": "Címe",
"Playlist privacy": "Playlist láthatósága",
"Editing playlist `x`": "`x` playlist szerkesztése",
"Watch on YouTube": "Megtekintés a YouTube-on",
"Hide annotations": "Annotációk elrejtése",
"Show annotations": "Annotációk mutatása",
"Genre: ": "Zsáner: ",
"License: ": "Licensz: ",
"Family friendly? ": "Családbarát? ",
"Wilson score: ": "Wilson-ponstszém: ",
"Engagement: ": "Engagement: ",
"Whitelisted regions: ": "Engedélyezett régiók: ",
"Blacklisted regions: ": "Tiltott régiók: ",
"Shared `x`": "Megosztva `x`",
"`x` views": "`x` megtekintés",
"Premieres in `x`": "Premier `x`",
"Premieres `x`": "Premier `x`",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.",
"View YouTube comments": "YouTube kommentek megtekintése",
"View more comments on Reddit": "További Reddit kommentek megtekintése",
"View `x` comments": "`x` komment megtekintése",
"View Reddit comments": "Reddit kommentek megtekintése",
"Hide replies": "Válaszok elrejtése",
"Show replies": "Válaszok mutatása",
"Incorrect password": "Helytelen jelszó",
"Quota exceeded, try again in a few hours": "Kvóta túllépve, próbálkozz pár órával később",
"Unable to log in, make sure two-factor authentication (Authenticator or SMS) is turned on.": "Sikertelen belépés, győződj meg róla hogy a 2FA (Authenticator vagy SMS) engedélyezve van.",
"Login failed. This may be because two-factor authentication is not turned on for your account.": "Sikertelen belépés, győződj meg róla hogy a 2FA (Authenticator vagy SMS) engedélyezve van.",
"Wrong answer": "Rossz válasz",
"Erroneous CAPTCHA": "Hibás CAPTCHA",
"CAPTCHA is a required field": "A CAPTCHA kötelező",
"User ID is a required field": "A felhasználó-ID kötelező",
"Password is a required field": "A jelszó kötelező",
"Wrong username or password": "Rossz felhasználónév vagy jelszó",
"Please sign in using 'Log in with Google'": "Kérem, jelentkezzen be a \"Bejelentkezés Google-el\"",
"Password cannot be empty": "A jelszó nem lehet üres",
"Password cannot be longer than 55 characters": "A jelszó nem lehet hosszabb 55 betűnél",
"Please log in": "Kérem lépjen be",
"Invidious Private Feed for `x`": "`x` Invidious privát feed-je",
"channel:`x`": "`x` csatorna",
"Deleted or invalid channel": "Törölt vagy nemlétező csatorna",
"This channel does not exist.": "Ez a csatorna nem létezik.",
"Could not get channel info.": "Nem megszerezhető a csatorna információ.",
"Could not fetch comments": "Nem megszerezhetőek a kommentek",
"View `x` replies": "`x` válasz megtekintése",
"`x` ago": "`x` óta",
"Load more": "További betöltése",
"`x` points": "`x` pont",
"Could not create mix.": "Nem tudok mix-et készíteni.",
"Empty playlist": "Üres playlist",
"Not a playlist.": "Nem playlist.",
"Playlist does not exist.": "Nem létező playlist.",
"Could not pull trending pages.": "Nem tudom letölteni a trendek adatait.",
"Hidden field \"challenge\" is a required field": "A rejtett \"challenge\" mező kötelező",
"Hidden field \"token\" is a required field": "A rejtett \"token\" mező kötelező",
"Erroneous challenge": "Hibás challenge",
"Erroneous token": "Hibás token",
"No such user": "Nincs ilyen felhasználó",
"Token is expired, please try again": "Lejárt token, kérem próbáld újra",
"English": "",
"English (auto-generated)": "English (auto-genererat)",
"Afrikaans": "",
"Albanian": "",
"Amharic": "",
"Arabic": "",
"Armenian": "",
"Azerbaijani": "",
"Bangla": "",
"Basque": "",
"Belarusian": "",
"Bosnian": "",
"Bulgarian": "",
"Burmese": "",
"Catalan": "",
"Cebuano": "",
"Chinese (Simplified)": "",
"Chinese (Traditional)": "",
"Corsican": "",
"Croatian": "",
"Czech": "",
"Danish": "",
"Dutch": "",
"Esperanto": "",
"Estonian": "",
"Filipino": "",
"Finnish": "",
"French": "",
"Galician": "",
"Georgian": "",
"German": "",
"Greek": "",
"Gujarati": "",
"Haitian Creole": "",
"Hausa": "",
"Hawaiian": "",
"Hebrew": "",
"Hindi": "",
"Hmong": "",
"Hungarian": "",
"Icelandic": "",
"Igbo": "",
"Indonesian": "",
"Irish": "",
"Italian": "",
"Japanese": "",
"Javanese": "",
"Kannada": "",
"Kazakh": "",
"Khmer": "",
"Korean": "",
"Kurdish": "",
"Kyrgyz": "",
"Lao": "",
"Latin": "",
"Latvian": "",
"Lithuanian": "",
"Luxembourgish": "",
"Macedonian": "",
"Malagasy": "",
"Malay": "",
"Malayalam": "",
"Maltese": "",
"Maori": "",
"Marathi": "",
"Mongolian": "",
"Nepali": "",
"Norwegian Bokmål": "",
"Nyanja": "",
"Pashto": "",
"Persian": "",
"Polish": "",
"Portuguese": "",
"Punjabi": "",
"Romanian": "",
"Russian": "",
"Samoan": "",
"Scottish Gaelic": "",
"Serbian": "",
"Shona": "",
"Sindhi": "",
"Sinhala": "",
"Slovak": "",
"Slovenian": "",
"Somali": "",
"Southern Sotho": "",
"Spanish": "",
"Spanish (Latin America)": "",
"Sundanese": "",
"Swahili": "",
"Swedish": "",
"Tajik": "",
"Tamil": "",
"Telugu": "",
"Thai": "",
"Turkish": "",
"Ukrainian": "",
"Urdu": "",
"Uzbek": "",
"Vietnamese": "",
"Welsh": "",
"Western Frisian": "",
"Xhosa": "",
"Yiddish": "",
"Yoruba": "",
"Zulu": "",
"`x` years": "`x` év",
"`x` months": "`x` hónap",
"`x` weeks": "`x` hét",
"`x` days": "`x` nap",
"`x` hours": "`x` óra",
"`x` minutes": "`x` perc",
"`x` seconds": "`x` másodperc",
"Fallback comments: ": "Másodlagos kommentek: ",
"Popular": "Népszerű",
"Top": "Top",
"About": "Leírás",
"Rating: ": "Besorolás: ",
"Language: ": "Nyelv: ",
"View as playlist": "Megtekintés playlist-ként",
"Default": "Alapértelmezett",
"Music": "Zene",
"Gaming": "Játékok",
"News": "Hírek",
"Movies": "Filmek",
"Download": "Letöltés",
"Download as: ": "Letöltés mint: ",
"%A %B %-d, %Y": "",
"(edited)": "(szerkesztve)",
"YouTube comment permalink": "YouTube komment permalink",
"permalink": "permalink",
"`x` marked it with a ❤": "`x` jelölte ❤-vel",
"Audio mode": "Audio mód",
"Video mode": "Video mód",
"Videos": "Videók",
"Playlists": "Playlistek",
"Community": "Közösség",
"Current version: ": "Jelenlegi verzió: "
}

Some files were not shown because too many files have changed in this diff Show More