Commit Graph

1300 Commits

Author SHA1 Message Date
kuhaku 903e1a37e7
feat(external-player): add cmd argument mapping for VLC player (#1409)
Signed-off-by: Randshot <randshot@norealm.xyz>
2021-06-15 21:54:10 +02:00
Dragibus Noir 5ec5ef300f
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-15 13:34:02 +02:00
Jeff Huang 6f582cb9b5
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2021-06-15 06:34:18 +02:00
Dragibus Noir 85a7e99862
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-15 03:35:59 +02:00
qwerty287 53988a2164
Translated using Weblate (German)
Currently translated at 96.5% (472 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2021-06-14 22:34:09 +02:00
zmni 92dadefbbd
Translated using Weblate (Indonesian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2021-06-14 17:35:32 +02:00
Karl Tammik 925ba901b1
Translated using Weblate (Estonian)
Currently translated at 94.6% (463 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-06-14 13:34:20 +02:00
Ihor Hordiichuk 535ac31ab4
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2021-06-14 02:39:20 +02:00
ovari b8e11d0700
Translated using Weblate (Hungarian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2021-06-14 02:39:19 +02:00
Allan Nordhøy 38299707b4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (477 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-06-14 02:39:18 +02:00
Grzegorz Wójcicki 5ecebfbaaa
Translated using Weblate (Polish)
Currently translated at 99.5% (487 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2021-06-14 02:39:16 +02:00
Dragibus Noir 69237c0f34
Translated using Weblate (French)
Currently translated at 96.7% (473 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-14 02:39:15 +02:00
kuhaku 52fa523df1
Add support for External Players (closes #418) (#1271)
* feat: add support for opening videos/playlists in external players (like mpv) #418

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: move external player settings into own section
feat: add warnings for when the external player doesn't support the current action (e.g. reversing playlists)
feat: add toggle in settings for ignoring unsupported action warnings

Signed-off-by: Randshot <randshot@norealm.xyz>

* improvement: do not append start offset argument when the watch progress is 0

Signed-off-by: Randshot <randshot@norealm.xyz>

* fix: fix undefined showToast error when clicking on the external player playlist button

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: add icon button for external player to watch-video-info (below video player) component
improvement: refactor the code for opening the external player into a separate function in utils.js

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: add support for ytdl protocol urls (supportsYtdlProtocol)
chore: fix lint error

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: add support for passing default playback rate to external player
improvement: add warning message for when the external player does not support starting playback at
             a given offset
chore: rename reverse, shuffle, and loopPlaylist fields for consistency

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: add setting for custom external player command line arguments

Signed-off-by: Randshot <randshot@norealm.xyz>

* chore: fix lint error

Signed-off-by: Randshot <randshot@norealm.xyz>

* improvement(watch-video-info.js): change the default for playlistId back to null (consistent with other occurrences)
improvement(utils.js/openInExternalPlayer): also check for empty playlistId string
fix(watch-video-info.js): fix merge error

Signed-off-by: Randshot <randshot@norealm.xyz>

* improvement(components/ft-list-video): check whether watch history is turned on, before adding a video to it
fix(store/utils): fix playlistReverse typo, causing `undefined` being set as a command line argument
fix(store/utils): check for 'string' type, instead of `null` and `undefined`
fix(views/Watch): fix getPlaylistIndex returning an incorrect index, when reverse was turned on
chore(locales/en-US): fix thumbnail and suppress typo
chore(locales/en_GB): fix thumbnail and suppress typo

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat: pause player when opening video in external player

Signed-off-by: Randshot <randshot@norealm.xyz>

* feat(externalPlayer): refactor externalPlayerCmdArguments into a separate static file `static/external-player-map.json`
chore(components/ft-list-video): fix lint error

Signed-off-by: Randshot <randshot@norealm.xyz>

* Revert "feat: pause player when opening video in external player"

This reverts commit 28b4713334bf941be9e403abf517bb4b89beb04f.

* feat: pause the app's player when opening video in external player

* This commit addresses above requested changes.

improvement(components/external-player-settings): move `externalPlayer` check to `ft-flex-box`
improvement(components/external-player-settings): use `update*` methods, instead of `handle*`

improvement(store/utils): move child_process invocation to `main/index.js` via IPC call to renderer
improvement(store/utils): use `dispatch` for calling actions
improvement(store/utils): get external player related settings directly in the action

improvement(renderer/App): move `checkExternalPlayer` call down into `usingElectron` if statement
fix(renderer/App): fix lint error

improvement(components/ft-list-playlist): remove unnecessary payload fields
fix(components/ft-list-playlist): fix typo in component name

improvement(components/ft-list-video): remove unnecessary payload fields

improvement(components/watch-video-info): remove unnecessary payload fields
improvement(views/Settings): add `usingElectron` condition

Signed-off-by: Randshot <randshot@norealm.xyz>

* fix(store/utils): fix toast message error

Signed-off-by: Randshot <randshot@norealm.xyz>

* fix(store/utils): fix a few code mess-ups

Co-authored-by: Svallinn <41585298+Svallinn@users.noreply.github.com>
2021-06-13 17:31:43 +02:00
Sandyran 8784a041f5
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-06-10 22:35:28 +02:00
Dennis ten Hoove bd063a9d51
Translated using Weblate (Dutch)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2021-06-10 20:33:32 +02:00
alium 958e59631b
Translated using Weblate (Czech)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2021-06-09 18:34:10 +02:00
Sandyran 8de473cf2b
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-06-06 16:33:59 +02:00
Allan Nordhøy 7a1f51fe46
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-06-06 16:33:58 +02:00
Sandyran 2edaa219f6
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-06-06 00:33:40 +02:00
Ihor Hordiichuk 27d38782ca
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2021-06-06 00:33:39 +02:00
Sandyran d74d5d5e26
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-06-06 00:33:39 +02:00
Karl Tammik 503b6c2124
Translated using Weblate (Estonian)
Currently translated at 92.0% (431 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-06-04 15:34:19 +02:00
zmni c27c7bf2b2
Translated using Weblate (Indonesian)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2021-06-03 21:34:43 +02:00
Sandyran c09ed62734
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-06-03 04:33:45 +02:00
retiolus 244bbe7f30
Translated using Weblate (Catalan)
Currently translated at 26.7% (125 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/
2021-06-03 04:33:45 +02:00
Rex_sa 7ccd25b64d
Translated using Weblate (Arabic)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2021-06-03 04:33:44 +02:00
Sandyran 7994070b13
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (466 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-06-03 04:33:44 +02:00
Jacque Fresco cf895aa7ee
Translated using Weblate (Indonesian)
Currently translated at 99.5% (466 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2021-06-03 02:31:33 +02:00
The Cats 1a035feec0
Translated using Weblate (Spanish)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2021-06-02 21:34:02 +02:00
The Cats dd803b5a17
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2021-06-02 21:34:01 +02:00
Michael 8979cf2d84
Translated using Weblate (Swedish)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2021-06-02 09:33:32 +02:00
Michael 0829501bfa
Translated using Weblate (Swedish)
Currently translated at 93.5% (438 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2021-06-02 07:34:53 +02:00
Michal L 026086c5bf
Translated using Weblate (Polish)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2021-06-01 23:34:11 +02:00
Jeff Huang 6aebfb8666
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2021-06-01 05:33:56 +02:00
Rusi Dimitrov a50bbdc684
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-05-31 23:33:41 +02:00
Rusi Dimitrov 1364132c32
Translated using Weblate (Bulgarian)
Currently translated at 99.5% (466 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-05-31 21:33:30 +02:00
мачко c7a77d0267
Translated using Weblate (Bulgarian)
Currently translated at 99.1% (464 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-05-31 14:33:54 +02:00
Milo Ivir 63747acd04
Translated using Weblate (Croatian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2021-05-31 14:33:54 +02:00
Luca Hohmann 71829c6895
Translated using Weblate (German)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2021-05-31 14:33:53 +02:00
My Random Thoughts a2df781f76
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2021-05-30 13:34:02 +02:00
vokaliz 1a7fd82a0c
Translated using Weblate (Russian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2021-05-30 08:33:29 +02:00
Allan Nordhøy 7cb9602aa0
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (466 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-05-30 06:34:09 +02:00
Sandyran 9b53e72501
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-05-30 04:35:00 +02:00
Ihor Hordiichuk 6fc9a17c39
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2021-05-30 04:35:00 +02:00
ovari 6623eef363
Translated using Weblate (Hungarian)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2021-05-30 04:34:59 +02:00
Dennis ten Hoove 2fb8129bc2
Translated using Weblate (Dutch)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2021-05-30 04:34:59 +02:00
Sandyran eb5229fbf5
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (466 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-05-30 04:34:58 +02:00
Grzegorz Wójcicki c3249c8218
Translated using Weblate (Polish)
Currently translated at 99.7% (467 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2021-05-30 04:34:57 +02:00
Sveinn í Felli 87a8fd39a0
Translated using Weblate (Icelandic)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-05-29 23:33:13 +02:00
Oğuz Ersen 770bc9c381
Translated using Weblate (Turkish)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2021-05-29 23:33:12 +02:00