From 0a96382588b3b294b8ded10bd0d4bac9ec0f04cd Mon Sep 17 00:00:00 2001 From: "E.S. Rosenberg a.k.a. Keeper of the Keys" Date: Wed, 22 May 2024 00:40:50 +0300 Subject: [PATCH 1/3] Bump gpodder-core to 4.16.0 which includes the download folder settings. --- gpodder-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpodder-core b/gpodder-core index 54e2da5..d231ae0 160000 --- a/gpodder-core +++ b/gpodder-core @@ -1 +1 @@ -Subproject commit 54e2da51725c3ac58dc308e6984a7b31a2fb46e4 +Subproject commit d231ae043589f402370f2909b73e978da1a73660 From b92a14399175f2d26959a2bd6a180ce69db00e72 Mon Sep 17 00:00:00 2001 From: "E.S. Rosenberg a.k.a. Keeper of the Keys" Date: Wed, 22 May 2024 00:41:45 +0300 Subject: [PATCH 2/3] Add ability to set any path for use as downloads location. If the path is not writable it will be ignored in favour of the default path. --- qml/SettingsPage.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml index aa67294..2bdfd2d 100644 --- a/qml/SettingsPage.qml +++ b/qml/SettingsPage.qml @@ -44,12 +44,16 @@ Page { py.getConfig('ui.qml.playback_speed.maximumValue', function (value) { speed_max.text = value; }); + py.getConfig('fs.downloads', function (value) { + downloads_folder.text = value; + }); } else if (status === PageStatus.Deactivating) { py.setConfig('plugins.youtube.api_key_v3', youtube_api_key_v3.text); py.setConfig('limit.episodes', parseInt(limit_episodes.value)); py.setConfig('ui.qml.playback_speed.stepSize', parseFloat(speed_increment.value)); py.setConfig('ui.qml.playback_speed.minimumValue', parseFloat(speed_min.text)); py.setConfig('ui.qml.playback_speed.maximumValue', parseFloat(speed_max.text)); + py.setConfig('fs.downloads', downloads_folder.text); youtube_api_key_v3.focus = false; } } @@ -146,6 +150,16 @@ Page { top: 5 } } + + TextField { + id: downloads_folder + label: qsTr("Path for storing podcast data - requires restart") + placeholderText: label + width: parent.width + inputMethodHints: Qt.ImhNoPredictiveText + EnterKey.iconSource: (text.length > 0) ? "image://theme/icon-m-enter-accept" : "image://theme/icon-m-enter-close" + EnterKey.onClicked: focus = false + } } } } From edc58733fcee22e4f549b23653daf54978d4827b Mon Sep 17 00:00:00 2001 From: "E.S. Rosenberg a.k.a. Keeper of the Keys" Date: Wed, 22 May 2024 00:43:22 +0300 Subject: [PATCH 3/3] SDK updated translation files. --- .../harbour-org.gpodder.sailfish-bg.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-de.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-es.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-it.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-pl.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-ru.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-sv.ts | 23 +++++++++++-------- .../harbour-org.gpodder.sailfish-zh_CN.ts | 23 +++++++++++-------- translations/harbour-org.gpodder.sailfish.ts | 23 +++++++++++-------- 9 files changed, 126 insertions(+), 81 deletions(-) diff --git a/translations/harbour-org.gpodder.sailfish-bg.ts b/translations/harbour-org.gpodder.sailfish-bg.ts index 46775f3..12133a0 100644 --- a/translations/harbour-org.gpodder.sailfish-bg.ts +++ b/translations/harbour-org.gpodder.sailfish-bg.ts @@ -508,50 +508,55 @@ SettingsPage - + About Относно - + Settings Настройки - + YouTube YouTube - + API Key (v3) API ключ (v3) - + Limits Ограничения - + Maximum episodes per feed Максимален брой епизоди за RSS емисия - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-de.ts b/translations/harbour-org.gpodder.sailfish-de.ts index 7784373..09df3c8 100644 --- a/translations/harbour-org.gpodder.sailfish-de.ts +++ b/translations/harbour-org.gpodder.sailfish-de.ts @@ -507,50 +507,55 @@ SettingsPage - + About Über - + Settings Einstellungen - + YouTube YouTube - + API Key (v3) API Schlüssel (v3) - + Limits Grenzen - + Maximum episodes per feed Maximale Anzahl Episoden pro Feed - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-es.ts b/translations/harbour-org.gpodder.sailfish-es.ts index 7a2f122..e7a0497 100644 --- a/translations/harbour-org.gpodder.sailfish-es.ts +++ b/translations/harbour-org.gpodder.sailfish-es.ts @@ -507,50 +507,55 @@ SettingsPage - + About Acerca de - + Settings Ajustes - + YouTube YouTube - + API Key (v3) Clave API (v3) - + Limits Límites - + Maximum episodes per feed Núm. máximo de episodios por canal - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-it.ts b/translations/harbour-org.gpodder.sailfish-it.ts index 809c612..ecbad1c 100644 --- a/translations/harbour-org.gpodder.sailfish-it.ts +++ b/translations/harbour-org.gpodder.sailfish-it.ts @@ -507,50 +507,55 @@ SettingsPage - + About Info - + Settings Impostazioni - + YouTube YouTube - + API Key (v3) API Key (v3) - + Limits Limiti - + Maximum episodes per feed Massimo episodi per feed - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-pl.ts b/translations/harbour-org.gpodder.sailfish-pl.ts index a2bdd6f..a156113 100644 --- a/translations/harbour-org.gpodder.sailfish-pl.ts +++ b/translations/harbour-org.gpodder.sailfish-pl.ts @@ -507,50 +507,55 @@ SettingsPage - + About O gPodder - + Settings Ustawienia - + YouTube YouTube - + API Key (v3) Klucz API (v3) - + Limits Limity - + Maximum episodes per feed Maksymalna liczba odcinków na kanał - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-ru.ts b/translations/harbour-org.gpodder.sailfish-ru.ts index f0445a5..d2aa0a2 100644 --- a/translations/harbour-org.gpodder.sailfish-ru.ts +++ b/translations/harbour-org.gpodder.sailfish-ru.ts @@ -507,50 +507,55 @@ SettingsPage - + About О программе - + Settings Настройка - + YouTube YouTube - + API Key (v3) Ключ API (версия 3) - + Limits Ограничения - + Maximum episodes per feed Максимальное число выпусков - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-sv.ts b/translations/harbour-org.gpodder.sailfish-sv.ts index d3470da..e5bea42 100644 --- a/translations/harbour-org.gpodder.sailfish-sv.ts +++ b/translations/harbour-org.gpodder.sailfish-sv.ts @@ -507,50 +507,55 @@ SettingsPage - + About Om - + Settings Inställningar - + YouTube YouTube - + API Key (v3) API-nyckel (v3) - + Limits Begränsningar - + Maximum episodes per feed Max antal avsnitt per flöde - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish-zh_CN.ts b/translations/harbour-org.gpodder.sailfish-zh_CN.ts index 1ee25ba..360ab71 100644 --- a/translations/harbour-org.gpodder.sailfish-zh_CN.ts +++ b/translations/harbour-org.gpodder.sailfish-zh_CN.ts @@ -507,50 +507,55 @@ SettingsPage - + About 关于 - + Settings 设置 - + YouTube YouTube - + API Key (v3) API 密钥(v3) - + Limits 限制 - + Maximum episodes per feed 每个订阅流的最大剧集 - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog diff --git a/translations/harbour-org.gpodder.sailfish.ts b/translations/harbour-org.gpodder.sailfish.ts index 2789923..33b682d 100644 --- a/translations/harbour-org.gpodder.sailfish.ts +++ b/translations/harbour-org.gpodder.sailfish.ts @@ -507,50 +507,55 @@ SettingsPage - + About - + Settings - + YouTube - + API Key (v3) - + Limits - + Maximum episodes per feed - + Speed increments - + Playback speed - lower limit - + Playback speed - upper limit + + + Path for storing podcast data - requires restart + + SleepTimerDialog