diff --git a/CHANGELOG.md b/CHANGELOG.md index e79cd08..6ed4dc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 3.3.0 - Breaking the Loop - 2024-10-18 + +### Changed +- ⚡ Speed up the loading time of subscriptions +[#178](https://git.crystalyx.net/Xefir/repod/issues/178) reported by @MikeAndrews + +### Fixed +- 🐛 Prevent Firefox for going nuts when having Plasma Integration addon installed +[#164](https://git.crystalyx.net/Xefir/repod/issues/164) reported by @cichy1173, @Share1440 and @mark.collins + ## 3.3.0 - Into The Jet Lag - 2024-10-18 ### Changed diff --git a/README.md b/README.md index c04d3e6..e2da4d1 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) inst Either from the official Nextcloud [app store](https://apps.nextcloud.com/apps/repod) or by downloading the [latest release](https://git.crystalyx.net/Xefir/repod/releases/latest) and extracting it into your Nextcloud `apps/` directory. +## Known issues + +- Conflict with Plasma Integration Firefox addon ([#164](https://git.crystalyx.net/Xefir/repod/issues/164)) + ## Credits - [GPodder Sync](https://github.com/thrillfall/nextcloud-gpodder) for the database API diff --git a/appinfo/info.xml b/appinfo/info.xml index 5934d07..02d89b5 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -14,7 +14,7 @@ ## Requirements You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!]]> - 3.3.0 + 3.3.1 agpl Michel Roux RePod diff --git a/l10n/de.js b/l10n/de.js index 9195be0..637ecc2 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -43,6 +43,7 @@ OC.L10N.register( "Missing required app" : "Benötigte App fehlt", "Install GPodder Sync" : "Installiere GPodder Sync", "Pin some subscriptions to see their latest updates" : "Pinne einige Abonnements, um ihre neuesten Updates zu sehen", - "No favorites" : "Keine Favoriten" + "No favorites" : "Keine Favoriten", + "A browser extension conflict with RePod" : "Ein Browser-Erweiterungskonflikt mit RePod" }, ""); diff --git a/l10n/de.json b/l10n/de.json index e534d91..f50ee64 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -41,6 +41,7 @@ "Missing required app" : "Benötigte App fehlt", "Install GPodder Sync" : "Installiere GPodder Sync", "Pin some subscriptions to see their latest updates" : "Pinne einige Abonnements, um ihre neuesten Updates zu sehen", - "No favorites" : "Keine Favoriten" + "No favorites" : "Keine Favoriten", + "A browser extension conflict with RePod" : "Ein Browser-Erweiterungskonflikt mit RePod" },"pluralForm" :"" } \ No newline at end of file diff --git a/l10n/fr.js b/l10n/fr.js index caa37f3..f5e32cf 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -43,6 +43,7 @@ OC.L10N.register( "Missing required app" : "Une application requise est manquante", "Install GPodder Sync" : "Installer GPodder Sync", "Pin some subscriptions to see their latest updates" : "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles ici", - "No favorites" : "Aucun favoris" + "No favorites" : "Aucun favoris", + "A browser extension conflict with RePod" : "Une extension de votre navigateur entre en conflit avec RePod" }, ""); diff --git a/l10n/fr.json b/l10n/fr.json index 473a567..f35548b 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -41,6 +41,7 @@ "Missing required app" : "Une application requise est manquante", "Install GPodder Sync" : "Installer GPodder Sync", "Pin some subscriptions to see their latest updates" : "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles ici", - "No favorites" : "Aucun favoris" + "No favorites" : "Aucun favoris", + "A browser extension conflict with RePod" : "Une extension de votre navigateur entre en conflit avec RePod" },"pluralForm" :"" } \ No newline at end of file diff --git a/src/store/player.ts b/src/store/player.ts index ade7c45..300793c 100644 --- a/src/store/player.ts +++ b/src/store/player.ts @@ -3,6 +3,8 @@ import axios from '@nextcloud/axios' import { defineStore } from 'pinia' import { formatEpisodeTimestamp } from '../utils/time.ts' import { generateUrl } from '@nextcloud/router' +import { showError } from '../utils/toast.ts' +import { t } from '@nextcloud/l10n' const audio = new Audio() @@ -13,6 +15,7 @@ export const usePlayer = defineStore('player', { episode: null as EpisodeInterface | null, loaded: false, paused: true, + playCount: 0, podcastUrl: null as string | null, volume: 1, rate: 1, @@ -29,6 +32,11 @@ export const usePlayer = defineStore('player', { audio.onseeked = () => (this.currentTime = audio.currentTime) audio.ontimeupdate = () => (this.currentTime = audio.currentTime) audio.onvolumechange = () => (this.volume = audio.volume) + + setInterval(this.loop, 4000) + }, + loop() { + this.playCount = 0 }, async load(episode: EpisodeInterface | null, podcastUrl?: string) { this.episode = episode @@ -69,9 +77,14 @@ export const usePlayer = defineStore('player', { this.time() }, play() { - audio.play() - this.paused = false - this.started = audio.currentTime + this.playCount++ + if (this.playCount > 10) { + showError(t('repod', 'A browser extension conflict with RePod')) + } else { + audio.play() + this.paused = false + this.started = audio.currentTime + } }, seek(currentTime: number) { audio.currentTime = currentTime diff --git a/translationfiles/de/repod.po b/translationfiles/de/repod.po index eda19f9..406f527 100644 --- a/translationfiles/de/repod.po +++ b/translationfiles/de/repod.po @@ -168,3 +168,6 @@ msgstr "Pinne einige Abonnements, um ihre neuesten Updates zu sehen" msgid "No favorites" msgstr "Keine Favoriten" + +msgid "A browser extension conflict with RePod" +msgstr "Ein Browser-Erweiterungskonflikt mit RePod" diff --git a/translationfiles/fr/repod.po b/translationfiles/fr/repod.po index c1f6005..362bcff 100644 --- a/translationfiles/fr/repod.po +++ b/translationfiles/fr/repod.po @@ -172,3 +172,6 @@ msgstr "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles msgid "No favorites" msgstr "Aucun favoris" + +msgid "A browser extension conflict with RePod" +msgstr "Une extension de votre navigateur entre en conflit avec RePod" diff --git a/translationfiles/templates/repod.pot b/translationfiles/templates/repod.pot index 6c79b29..a4c68e1 100644 --- a/translationfiles/templates/repod.pot +++ b/translationfiles/templates/repod.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Nextcloud 3.14159\n" "Report-Msgid-Bugs-To: translations\\@example.com\n" -"POT-Creation-Date: 2024-09-15 13:40+0000\n" +"POT-Creation-Date: 2024-10-23 22:22+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: /app/lib/Controller/OpmlController.php:44 +#: /app/lib/Controller/OpmlController.php:46 msgid "RePod Subscriptions" msgstr "" @@ -218,3 +218,7 @@ msgstr "" #: /app/specialVueFakeDummyForL10nScript.js:52 msgid "No favorites" msgstr "" + +#: /app/src/store/player.ts:82 +msgid "A browser extension conflict with RePod" +msgstr ""