freetube/static/locales
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
..
ar.yaml Translated using Weblate (Arabic) 2021-06-03 04:33:44 +02:00
as.yaml Translated using Weblate (Assamese) 2020-11-13 23:28:50 +01:00
bg.yaml Translated using Weblate (Bulgarian) 2021-05-31 23:33:41 +02:00
bn.yaml Translated using Weblate (Bengali) 2021-05-10 16:33:22 +02:00
bs.yaml Translated using Weblate (Bosnian) 2021-01-06 13:29:18 +01:00
ca.yaml Translated using Weblate (Catalan) 2021-06-03 04:33:45 +02:00
cs.yaml Translated using Weblate (Czech) 2021-06-09 18:34:10 +02:00
da.yaml Translated using Weblate (Danish) 2021-02-03 15:42:11 +01:00
de-DE.yaml Translated using Weblate (German) 2021-05-31 14:33:53 +02:00
el.yaml Translated using Weblate (Greek) 2021-04-30 01:32:13 +02:00
en-US.yaml Add support for External Players (closes #418) (#1271) 2021-06-13 17:31:43 +02:00
en_GB.yaml Add support for External Players (closes #418) (#1271) 2021-06-13 17:31:43 +02:00
eo.yaml Translated using Weblate (Esperanto) 2021-03-27 04:29:48 +01:00
es-MX.yaml Translated using Weblate (Spanish (Mexico)) 2021-03-27 04:29:44 +01:00
es.yaml Translated using Weblate (Spanish) 2021-06-02 21:34:02 +02:00
es_AR.yaml Translated using Weblate (Spanish (Argentina)) 2021-03-27 04:29:47 +01:00
et.yaml Translated using Weblate (Estonian) 2021-06-04 15:34:19 +02:00
eu.yaml Translated using Weblate (Basque) 2021-04-16 12:26:58 +02:00
fi.yaml Translated using Weblate (Finnish) 2021-05-10 16:33:22 +02:00
fil.yaml Translated using Weblate (Filipino) 2020-09-20 02:39:56 +02:00
fr-FR.yaml Translated using Weblate (French) 2021-05-29 23:33:11 +02:00
gl.yaml Translated using Weblate (Galician) 2020-12-27 22:29:13 +01:00
he.yaml Translated using Weblate (Hebrew) 2021-05-26 23:33:55 +02:00
hi.yaml Translated using Weblate (Hindi) 2021-03-27 04:29:51 +01:00
hr.yaml Translated using Weblate (Croatian) 2021-05-31 14:33:54 +02:00
hu.yaml Translated using Weblate (Hungarian) 2021-05-30 04:34:59 +02:00
id.yaml Translated using Weblate (Indonesian) 2021-06-03 21:34:43 +02:00
is.yaml Translated using Weblate (Icelandic) 2021-05-29 23:33:13 +02:00
it.yaml Translated using Weblate (Italian) 2021-03-27 04:29:46 +01:00
ja.yaml Translated using Weblate (Japanese) 2021-05-20 13:33:54 +02:00
ko.yaml Translated using Weblate (Korean) 2021-03-14 03:02:54 +01:00
ku.yaml Translated using Weblate (Kurdish) 2021-01-16 14:15:40 +01:00
la.yaml Translated using Weblate (Latin) 2021-05-19 19:33:44 +02:00
nb_NO.yaml Translated using Weblate (Norwegian Bokmål) 2021-06-06 16:33:58 +02:00
nl.yaml Translated using Weblate (Dutch) 2021-06-10 20:33:32 +02:00
nn.yaml Translated using Weblate (Norwegian Nynorsk) 2021-06-10 22:35:28 +02:00
pl.yaml Translated using Weblate (Polish) 2021-06-01 23:34:11 +02:00
pt-BR.yaml Translated using Weblate (Portuguese (Brazil)) 2021-06-02 21:34:01 +02:00
pt-PT.yaml Translated using Weblate (Portuguese (Portugal)) 2021-05-11 00:33:01 +02:00
pt.yaml Translated using Weblate (Portuguese) 2021-03-27 04:29:48 +01:00
ro.yaml Translated using Weblate (Romanian) 2021-04-10 05:27:00 +02:00
ru.yaml Translated using Weblate (Russian) 2021-05-30 08:33:29 +02:00
sat.yaml Translated using Weblate (Santali) 2021-05-11 08:33:02 +02:00
si.yaml Translated using Weblate (Sinhala) 2020-12-16 11:29:09 +01:00
sk.yaml Translated using Weblate (Slovak) 2021-05-19 22:34:58 +02:00
sl.yaml Translated using Weblate (Slovenian) 2021-03-20 16:18:18 +01:00
sr.yaml Translated using Weblate (Serbian) 2021-05-04 02:36:32 +02:00
sv.yaml Translated using Weblate (Swedish) 2021-06-02 09:33:32 +02:00
tr.yaml Translated using Weblate (Turkish) 2021-05-29 23:33:12 +02:00
uk.yaml Translated using Weblate (Ukrainian) 2021-06-06 00:33:39 +02:00
vi.yaml Translated using Weblate (Vietnamese) 2020-10-10 20:26:52 +02:00
zh-CN.yaml Translated using Weblate (Chinese (Simplified)) 2021-04-03 20:26:57 +02:00
zh-TW.yaml Translated using Weblate (Chinese (Traditional)) 2021-06-01 05:33:56 +02:00