-
{{ itemTitle }} download_done
+
{{ itemTitle }} download_done
{{ authorName }}
{{ itemDuration }}
-
{{ streamIsPlaying ? 'pause' : 'play_arrow' }}
+
{{ streamIsPlaying ? 'pause' : 'play_arrow' }}
@@ -38,13 +38,13 @@
- audio_file
- {{ downloadItem || pendingDownload ? 'downloading' : 'download' }}
- download_done
+ audio_file
+ {{ downloadItem || pendingDownload ? 'downloading' : 'download' }}
+ download_done
diff --git a/components/ui/Dropdown.vue b/components/ui/Dropdown.vue
index f5975941..a4c5ffa3 100644
--- a/components/ui/Dropdown.vue
+++ b/components/ui/Dropdown.vue
@@ -6,7 +6,7 @@
{{ selectedText || placeholder || '' }}
- expand_more
+ arrow_drop_down
@@ -86,4 +86,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/components/ui/DropdownMenu.vue b/components/ui/DropdownMenu.vue
index 00954186..096f44fb 100644
--- a/components/ui/DropdownMenu.vue
+++ b/components/ui/DropdownMenu.vue
@@ -9,14 +9,14 @@
- {{ item.icon }}
+ {{ item.icon }}
{{ item.text }}
- {{ item.icon }}
+ {{ item.icon }}
{{ item.text }}
@@ -102,4 +102,4 @@ export default {
}
}
}
-
\ No newline at end of file
+
diff --git a/components/ui/IconBtn.vue b/components/ui/IconBtn.vue
index 47df2a6a..a967f98b 100644
--- a/components/ui/IconBtn.vue
+++ b/components/ui/IconBtn.vue
@@ -5,7 +5,7 @@
-
{{ icon }}
+
{{ icon }}
diff --git a/components/ui/Menu.vue b/components/ui/Menu.vue
index 26f5a708..9d9bd6af 100644
--- a/components/ui/Menu.vue
+++ b/components/ui/Menu.vue
@@ -5,7 +5,7 @@
{{ label }}
- person
+ person
@@ -58,4 +58,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/components/ui/MultiSelect.vue b/components/ui/MultiSelect.vue
index 432d082a..03222f68 100644
--- a/components/ui/MultiSelect.vue
+++ b/components/ui/MultiSelect.vue
@@ -6,8 +6,8 @@
- edit
- close
+ edit
+ close
{{ item }}
@@ -22,7 +22,7 @@
{{ item }}
- checkmark
+ checkmark
@@ -258,4 +258,4 @@ input:read-only {
color: #aaa;
background-color: #444;
}
-
\ No newline at end of file
+
diff --git a/components/ui/TextInput.vue b/components/ui/TextInput.vue
index 0e193ba7..942a97e5 100644
--- a/components/ui/TextInput.vue
+++ b/components/ui/TextInput.vue
@@ -2,13 +2,13 @@
- {{ prependIcon }}
+ {{ prependIcon }}
- close
+ close
- {{ appendIcon }}
+ {{ appendIcon }}
@@ -91,4 +91,4 @@ input[type='time']::-webkit-calendar-picker-indicator {
html[data-theme='light'] input[type='time']::-webkit-calendar-picker-indicator {
filter: unset;
}
-
\ No newline at end of file
+
diff --git a/components/widgets/ConnectionIndicator.vue b/components/widgets/ConnectionIndicator.vue
index cefe3379..24911433 100644
--- a/components/widgets/ConnectionIndicator.vue
+++ b/components/widgets/ConnectionIndicator.vue
@@ -1,6 +1,6 @@
- {{ icon }}
+ {{ icon }}
@@ -79,4 +79,4 @@ export default {
mounted() {},
beforeDestroy() {}
}
-
\ No newline at end of file
+
diff --git a/pages/account.vue b/pages/account.vue
index 83a3573b..eb686e8e 100644
--- a/pages/account.vue
+++ b/pages/account.vue
@@ -4,7 +4,7 @@
-
{{ $strings.ButtonSwitchServerUser }}logout
+
{{ $strings.ButtonSwitchServerUser }}logout
{{ $strings.MessageReportBugsAndContribute }} GitHub
diff --git a/pages/bookshelf/add-podcast.vue b/pages/bookshelf/add-podcast.vue
index 712edd8e..a611c8ec 100644
--- a/pages/bookshelf/add-podcast.vue
+++ b/pages/bookshelf/add-podcast.vue
@@ -35,7 +35,7 @@
-
arrow_back
+
arrow_back
{{ $strings.ButtonBack }}
diff --git a/pages/bookshelf/index.vue b/pages/bookshelf/index.vue
index c41ddfc6..add53443 100644
--- a/pages/bookshelf/index.vue
+++ b/pages/bookshelf/index.vue
@@ -22,7 +22,7 @@
-
cloud_off
+
cloud_off
{{ $strings.MessageAudiobookshelfServerNotConnected }}
@@ -341,4 +341,4 @@ export default {
this.removeListeners()
}
}
-
\ No newline at end of file
+
diff --git a/pages/collection/_id.vue b/pages/collection/_id.vue
index 964faa19..c06cf5ab 100644
--- a/pages/collection/_id.vue
+++ b/pages/collection/_id.vue
@@ -13,7 +13,7 @@
- {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
+ {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
{{ playerIsPlaying ? $strings.ButtonPause : $strings.ButtonPlay }}
@@ -139,4 +139,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/pages/connect.vue b/pages/connect.vue
index ec1b2426..b20c5f69 100644
--- a/pages/connect.vue
+++ b/pages/connect.vue
@@ -2,7 +2,7 @@
- arrow_back
+ arrow_back

diff --git a/pages/downloading.vue b/pages/downloading.vue
index c793533b..248499e8 100644
--- a/pages/downloading.vue
+++ b/pages/downloading.vue
@@ -7,7 +7,7 @@
- check_circle_outline
+ check_circle
{{ Math.round(itemPart.progress) }}%
diff --git a/pages/downloads.vue b/pages/downloads.vue
index 42bd1f9d..be7b4eef 100644
--- a/pages/downloads.vue
+++ b/pages/downloads.vue
@@ -16,16 +16,14 @@
{{ $bytesPretty(mediaItem.size) }}
- chevron_right
+ chevron_right
-
- {{ $strings.LabelTotalSize }}: {{ $bytesPretty(localLibraryItems.reduce((acc, item) => acc + item.size, 0)) }}
-
+
{{ $strings.LabelTotalSize }}: {{ $bytesPretty(localLibraryItems.reduce((acc, item) => acc + item.size, 0)) }}
diff --git a/pages/item/_id/_episode/index.vue b/pages/item/_id/_episode/index.vue
index be3ec3c6..662b8735 100644
--- a/pages/item/_id/_episode/index.vue
+++ b/pages/item/_id/_episode/index.vue
@@ -30,14 +30,14 @@
- {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
+ {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
{{ playerIsPlaying ? $strings.ButtonPause : localEpisodeId ? $strings.ButtonPlay : $strings.ButtonStream }}
- {{ (downloadItem || startingDownload) ? 'downloading' : 'download' }}
+ {{ downloadItem || startingDownload ? 'downloading' : 'download' }}
- more_vert
+ more_vert
@@ -324,14 +324,16 @@ export default {
return timeParts.reduce((acc, part, index) => acc * 60 + part, 0)
}
- return description.replace(timeMarkerLinkRegex, (match, href, displayTime) => {
- const time = displayTime.match(timeMarkerRegex)[0]
- const seekTimeInSeconds = convertToSeconds(time)
- return `
${displayTime}`
- }).replace(timeMarkerRegex, (match) => {
- const seekTimeInSeconds = convertToSeconds(match)
- return `
${match}`
- })
+ return description
+ .replace(timeMarkerLinkRegex, (match, href, displayTime) => {
+ const time = displayTime.match(timeMarkerRegex)[0]
+ const seekTimeInSeconds = convertToSeconds(time)
+ return `
${displayTime}`
+ })
+ .replace(timeMarkerRegex, (match) => {
+ const seekTimeInSeconds = convertToSeconds(match)
+ return `
${match}`
+ })
},
async deleteLocalEpisode() {
await this.$hapticsImpact()
@@ -612,7 +614,7 @@ export default {
},
beforeDestroy() {
this.$eventBus.$off('new-local-library-item', this.newLocalLibraryItem)
- document.querySelectorAll('.time-marker').forEach(marker => {
+ document.querySelectorAll('.time-marker').forEach((marker) => {
marker.removeEventListener('click', this.clickPlaybackTime)
})
}
diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue
index b6d76e10..9cd04fac 100644
--- a/pages/item/_id/index.vue
+++ b/pages/item/_id/index.vue
@@ -51,22 +51,22 @@
- {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
+ {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
{{ playerIsPlaying ? $strings.ButtonPause : isPodcast ? $strings.ButtonNextEpisode : hasLocal ? $strings.ButtonPlay : $strings.ButtonStream }}
- auto_stories
+ auto_stories
{{ $strings.ButtonRead }} {{ ebookFormat }}
- {{ downloadItem || startingDownload ? 'downloading' : 'download' }}
+ {{ downloadItem || startingDownload ? 'downloading' : 'download' }}
- more_vert
+ more_vert
- error
+ error
{{ $strings.LabelMissing }}
@@ -140,7 +140,7 @@
{{ showFullDescription ? $strings.ButtonReadLess : $strings.ButtonReadMore }}
- {{ showFullDescription ? 'expand_less' : 'expand_more' }}
+ {{ showFullDescription ? 'arrow_drop_down' : 'arrow_drop_up' }}
diff --git a/pages/localMedia/folders/_id.vue b/pages/localMedia/folders/_id.vue
index 3c722b6c..8e31b742 100644
--- a/pages/localMedia/folders/_id.vue
+++ b/pages/localMedia/folders/_id.vue
@@ -4,7 +4,7 @@
{{ $strings.LabelFolder }}: {{ folderName }}
-
more_vert
+
more_vert
{{ $strings.LabelMediaType }}: {{ mediaType }}
@@ -22,7 +22,7 @@
{{ getLocalLibraryItemSubText(localLibraryItem) }}
- arrow_right
+ arrow_right
@@ -159,4 +159,4 @@ export default {
height: calc(100vh - 310px);
max-height: calc(100vh - 310px);
}
-
\ No newline at end of file
+
diff --git a/pages/localMedia/folders/index.vue b/pages/localMedia/folders/index.vue
index b63f25f1..7b25ddbc 100644
--- a/pages/localMedia/folders/index.vue
+++ b/pages/localMedia/folders/index.vue
@@ -4,17 +4,17 @@
{{ $strings.HeaderLocalFolders }}
-
+
@@ -263,7 +261,7 @@ export default {
return this.$store.state.playerIsStartingPlayback
},
totalAudioSize() {
- return this.audioTracks.reduce((acc, item) => item.metadata ? acc + item.metadata.size : acc, 0)
+ return this.audioTracks.reduce((acc, item) => (item.metadata ? acc + item.metadata.size : acc), 0)
},
totalEpisodesSize() {
return this.episodes.reduce((acc, item) => acc + item.size, 0)
@@ -353,7 +351,7 @@ export default {
} else if (action == 'play-episode') {
this.playEpisode()
}
- this.showDialog = false;
+ this.showDialog = false
},
getLocalFileForTrack(localFileId) {
return this.localFiles.find((lf) => lf.id == localFileId)
diff --git a/pages/media/_id/history.vue b/pages/media/_id/history.vue
index fb38c67a..82a19eac 100644
--- a/pages/media/_id/history.vue
+++ b/pages/media/_id/history.vue
@@ -10,11 +10,11 @@
{{ name }}
{{ $formatDate(evt.timestamp, 'HH:mm') }}
-
{{ getEventIcon(evt.name) }}
+
{{ getEventIcon(evt.name) }}
{{ evt.name }}
-
cloud_done
-
error_outline
+
cloud_done
+
error_outline
+{{ evt.num }}
diff --git a/pages/playlist/_id.vue b/pages/playlist/_id.vue
index 25096407..ca68c184 100644
--- a/pages/playlist/_id.vue
+++ b/pages/playlist/_id.vue
@@ -11,7 +11,7 @@
- {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
+ {{ playerIsPlaying ? 'pause' : 'play_arrow' }}
{{ playerIsPlaying ? $strings.ButtonPause : $strings.ButtonPlay }}
@@ -173,4 +173,4 @@ export default {
this.$socket.$off('playlist_removed', this.playlistRemoved)
}
}
-
\ No newline at end of file
+
diff --git a/pages/settings.vue b/pages/settings.vue
index 09b3216b..20133483 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -44,13 +44,13 @@