From fcf6964d7dc3d911c51ae3d492f8752b3d3726c7 Mon Sep 17 00:00:00 2001 From: fidoriel <49869342+fidoriel@users.noreply.github.com> Date: Sun, 19 Mar 2023 21:41:49 +0000 Subject: [PATCH 1/7] hlsurl --- client/players/LocalAudioPlayer.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/players/LocalAudioPlayer.js b/client/players/LocalAudioPlayer.js index 87b3c1d7..77dbb474 100644 --- a/client/players/LocalAudioPlayer.js +++ b/client/players/LocalAudioPlayer.js @@ -28,6 +28,11 @@ export default class LocalAudioPlayer extends EventEmitter { return this.audioTracks[this.currentTrackIndex] || {} } + get hslContentUrl() { + // the hls stream playlist is the same for all tracks + return this.audioTracks[0].relativeContentUrl + } + initialize() { if (document.getElementById('audio-player')) { document.getElementById('audio-player').remove() @@ -132,7 +137,7 @@ export default class LocalAudioPlayer extends EventEmitter { if (!Hls.isSupported()) { console.warn('HLS is not supported - fallback to using audio element') this.usingNativeplayer = true - this.player.src = this.currentTrack.relativeContentUrl + this.player.src = this.hslContentUrl this.player.currentTime = this.startTime return } @@ -148,7 +153,7 @@ export default class LocalAudioPlayer extends EventEmitter { this.hlsInstance.attachMedia(this.player) this.hlsInstance.on(Hls.Events.MEDIA_ATTACHED, () => { - this.hlsInstance.loadSource(this.currentTrack.relativeContentUrl) + this.hlsInstance.loadSource(this.hslContentUrl) this.hlsInstance.on(Hls.Events.MANIFEST_PARSED, () => { console.log('[HLS] Manifest Parsed') From e81238038e7a6514d37567ab8ee1cb69ed5ea9fa Mon Sep 17 00:00:00 2001 From: fidoriel <49869342+fidoriel@users.noreply.github.com> Date: Sun, 19 Mar 2023 22:26:36 +0000 Subject: [PATCH 2/7] m3u8url --- client/players/LocalAudioPlayer.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/client/players/LocalAudioPlayer.js b/client/players/LocalAudioPlayer.js index 77dbb474..5a76bc5b 100644 --- a/client/players/LocalAudioPlayer.js +++ b/client/players/LocalAudioPlayer.js @@ -28,11 +28,6 @@ export default class LocalAudioPlayer extends EventEmitter { return this.audioTracks[this.currentTrackIndex] || {} } - get hslContentUrl() { - // the hls stream playlist is the same for all tracks - return this.audioTracks[0].relativeContentUrl - } - initialize() { if (document.getElementById('audio-player')) { document.getElementById('audio-player').remove() @@ -132,12 +127,13 @@ export default class LocalAudioPlayer extends EventEmitter { setHlsStream() { this.trackStartTime = 0 + let m3u8Url = this.audioTracks[0].relativeContentUrl // iOS does not support Media Elements but allows for HLS in the native audio player if (!Hls.isSupported()) { console.warn('HLS is not supported - fallback to using audio element') this.usingNativeplayer = true - this.player.src = this.hslContentUrl + this.player.src = m3u8Url this.player.currentTime = this.startTime return } @@ -153,7 +149,7 @@ export default class LocalAudioPlayer extends EventEmitter { this.hlsInstance.attachMedia(this.player) this.hlsInstance.on(Hls.Events.MEDIA_ATTACHED, () => { - this.hlsInstance.loadSource(this.hslContentUrl) + this.hlsInstance.loadSource(m3u8Url) this.hlsInstance.on(Hls.Events.MANIFEST_PARSED, () => { console.log('[HLS] Manifest Parsed') From 136c347586c6c60b36f83b24eb6d745d2dcfbbe5 Mon Sep 17 00:00:00 2001 From: burghy86 Date: Mon, 20 Mar 2023 12:20:02 +0100 Subject: [PATCH 3/7] Update it.json fix new line --- client/strings/it.json | 44 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/client/strings/it.json b/client/strings/it.json index f7d1bda4..04c8c1f8 100644 --- a/client/strings/it.json +++ b/client/strings/it.json @@ -20,8 +20,8 @@ "ButtonCreate": "Crea", "ButtonCreateBackup": "Crea un Backup", "ButtonDelete": "Elimina", - "ButtonDownloadQueue": "Queue", - "ButtonEdit": "Edit", + "ButtonDownloadQueue": "Coda", + "ButtonEdit": "Modifica", "ButtonEditChapters": "Modifica Capitoli", "ButtonEditPodcast": "Modifica Podcast", "ButtonForceReScan": "Forza Re-Scan", @@ -167,7 +167,7 @@ "LabelAddToPlaylistBatch": "Aggiungi {0} file alla Playlist", "LabelAll": "Tutti", "LabelAllUsers": "Tutti gli Utenti", - "LabelAlreadyInYourLibrary": "Already in your library", + "LabelAlreadyInYourLibrary": "Già esistente nella libreria", "LabelAppend": "Appese", "LabelAuthor": "Autore", "LabelAuthorFirstLast": "Autore (Per Nome)", @@ -238,7 +238,7 @@ "LabelInProgress": "In Corso", "LabelInterval": "Intervallo", "LabelIntervalCustomDailyWeekly": "Personalizza giorni/settimane", - "LabelIntervalEvery12Hours": "EOgni 12 Ore", + "LabelIntervalEvery12Hours": "Ogni 12 Ore", "LabelIntervalEvery15Minutes": "Ogni 15 Minuti", "LabelIntervalEvery2Hours": "Ogni 2 Ore", "LabelIntervalEvery30Minutes": "Ogni 30 Minuti", @@ -278,8 +278,8 @@ "LabelNewestAuthors": "Autori Recenti", "LabelNewestEpisodes": "Episodi Recenti", "LabelNewPassword": "Nuova Password", - "LabelNextBackupDate": "Next backup date", - "LabelNextScheduledRun": "Next scheduled run", + "LabelNextBackupDate": "Data Prossimo Backup", + "LabelNextScheduledRun": "Data prossima esecuzione schedulata", "LabelNotes": "Note", "LabelNotFinished": "Da Completare", "LabelNotificationAppriseURL": "Apprendi URL(s)", @@ -295,7 +295,7 @@ "LabelNumberOfBooks": "Numero di libri", "LabelNumberOfEpisodes": "# degli episodi", "LabelOpenRSSFeed": "Apri RSS Feed", - "LabelOverwrite": "Overwrite", + "LabelOverwrite": "Sovrascrivi", "LabelPassword": "Password", "LabelPath": "Percorso", "LabelPermissionsAccessAllLibraries": "Può accedere a tutte le librerie", @@ -310,9 +310,9 @@ "LabelPlayMethod": "Metodo di riproduzione", "LabelPodcast": "Podcast", "LabelPodcasts": "Podcasts", - "LabelPodcastType": "Podcast Type", + "LabelPodcastType": "Timo di Podcast", "LabelPrefixesToIgnore": "Suffissi da ignorare (specificando maiuscole e minuscole)", - "LabelPreventIndexing": "Prevent your feed from being indexed by iTunes and Google podcast directories", + "LabelPreventIndexing": "Impedisci che il tuo feed venga indicizzato da iTunes e dalle directory dei podcast di Google", "LabelProgress": "Cominciati", "LabelProvider": "Provider", "LabelPubDate": "Data Pubblicazione", @@ -320,14 +320,14 @@ "LabelPublishYear": "Anno Pubblicazione", "LabelRecentlyAdded": "Aggiunti Recentemente", "LabelRecentSeries": "Serie Recenti", - "LabelRecommended": "Recommended", + "LabelRecommended": "Raccomandati", "LabelRegion": "Regione", "LabelReleaseDate": "Data Release", - "LabelRemoveCover": "Remove cover", - "LabelRSSFeedCustomOwnerEmail": "Custom owner Email", - "LabelRSSFeedCustomOwnerName": "Custom owner Name", + "LabelRemoveCover": "Rimuovi cover", + "LabelRSSFeedCustomOwnerEmail": "Email del proprietario personalizzato", + "LabelRSSFeedCustomOwnerName": "Nome del proprietario personalizzato", "LabelRSSFeedOpen": "RSS Feed Aperto", - "LabelRSSFeedPreventIndexing": "Prevent Indexing", + "LabelRSSFeedPreventIndexing": "Impedisci l'indicizzazione", "LabelRSSFeedSlug": "RSS Feed Slug", "LabelRSSFeedURL": "RSS Feed URL", "LabelSearchTerm": "Ricerca", @@ -372,7 +372,7 @@ "LabelSettingsStoreCoversWithItemHelp": "Di default, le immagini di copertina sono salvate dentro /metadata/items, abilitando questa opzione le copertine saranno archiviate nella cartella della libreria corrispondente. Verrà conservato solo un file denominato \"cover\"", "LabelSettingsStoreMetadataWithItem": "Archivia i metadata con il file", "LabelSettingsStoreMetadataWithItemHelp": "Di default, i metadati sono salvati dentro /metadata/items, abilitando questa opzione si memorizzeranno i metadata nella cartella della libreria. I file avranno estensione .abs", - "LabelSettingsTimeFormat": "Time Format", + "LabelSettingsTimeFormat": "Formato Ora", "LabelShowAll": "Mostra Tutto", "LabelSize": "Dimensione", "LabelSleepTimer": "Sleep timer", @@ -400,7 +400,7 @@ "LabelTag": "Tag", "LabelTags": "Tags", "LabelTagsAccessibleToUser": "Tags permessi agli Utenti", - "LabelTasks": "Tasks Running", + "LabelTasks": "Processi in esecuzione", "LabelTimeListened": "Tempo di Ascolto", "LabelTimeListenedToday": "Tempo di Ascolto Oggi", "LabelTimeRemaining": "{0} rimanente", @@ -502,8 +502,8 @@ "MessageNoCollections": "Nessuna Raccolta", "MessageNoCoversFound": "Nessuna Cover Trovata", "MessageNoDescription": "Nessuna descrizione", - "MessageNoDownloadsInProgress": "No downloads currently in progress", - "MessageNoDownloadsQueued": "No downloads queued", + "MessageNoDownloadsInProgress": "Nessun download attualmente in corso", + "MessageNoDownloadsQueued": "Nessuna coda di download", "MessageNoEpisodeMatchesFound": "Nessun episodio corrispondente trovato", "MessageNoEpisodes": "Nessun Episodio", "MessageNoFoldersAvailable": "Nessuna Cartella disponibile", @@ -520,7 +520,7 @@ "MessageNoSearchResultsFor": "Nessun risultato per \"{0}\"", "MessageNoSeries": "Nessuna Serie", "MessageNoTags": "No Tags", - "MessageNoTasksRunning": "No Tasks Running", + "MessageNoTasksRunning": "Nessun processo in esecuzione", "MessageNotYetImplemented": "Non Ancora Implementato", "MessageNoUpdateNecessary": "Nessun aggiornamento necessario", "MessageNoUpdatesWereNecessary": "Nessun aggiornamento necessario", @@ -566,7 +566,7 @@ "PlaceholderNewFolderPath": "Nuovo percorso Cartella", "PlaceholderNewPlaylist": "Nome nuova playlist", "PlaceholderSearch": "Cerca..", - "PlaceholderSearchEpisode": "Search episode..", + "PlaceholderSearchEpisode": "Cerca Episodio..", "ToastAccountUpdateFailed": "Aggiornamento Account Fallito", "ToastAccountUpdateSuccess": "Account Aggiornato", "ToastAuthorImageRemoveFailed": "Rimozione immagine autore Fallita", @@ -627,7 +627,7 @@ "ToastRemoveItemFromCollectionSuccess": "Oggetto rimosso dalla Raccolta", "ToastRSSFeedCloseFailed": "Errore chiusura RSS feed", "ToastRSSFeedCloseSuccess": "RSS feed chiuso", - "ToastSeriesUpdateFailed": "Aggiornaemnto Serie Fallito", + "ToastSeriesUpdateFailed": "Aggiornaento Serie Fallito", "ToastSeriesUpdateSuccess": "Serie Aggornate", "ToastSessionDeleteFailed": "Errore eliminazione sessione", "ToastSessionDeleteSuccess": "Sessione cancellata", @@ -636,4 +636,4 @@ "ToastSocketFailedToConnect": "Socket non riesce a connettersi", "ToastUserDeleteFailed": "Errore eliminazione utente", "ToastUserDeleteSuccess": "Utente eliminato" -} \ No newline at end of file +} From 808690c1373e64f332fd7cbb5c47c9488890b4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Mon, 20 Mar 2023 21:28:15 +0100 Subject: [PATCH 4/7] truncate long title in stream container --- client/components/app/StreamContainer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/components/app/StreamContainer.vue b/client/components/app/StreamContainer.vue index 27e79d8f..470106ba 100644 --- a/client/components/app/StreamContainer.vue +++ b/client/components/app/StreamContainer.vue @@ -1,12 +1,12 @@