diff --git a/ui/app/assets/css/style.css b/ui/app/assets/css/style.css
index fbcee187..abe48056 100644
--- a/ui/app/assets/css/style.css
+++ b/ui/app/assets/css/style.css
@@ -45,12 +45,6 @@ hr {
white-space: nowrap;
}
-.user-hint {
- user-select: none;
- cursor: help;
- border-bottom: 1px dotted;
-}
-
.has-tooltip {
cursor: help;
border-bottom: 1px dotted;
diff --git a/ui/app/components/FloatingImage.vue b/ui/app/components/FloatingImage.vue
deleted file mode 100644
index bd311c45..00000000
--- a/ui/app/components/FloatingImage.vue
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
-
- {{ error_msg }}
-
-
-
-
-
-
-
- {{ props.title }}
-
-
-
pImg(e)" :src="url" :alt="props.title" @error="clearCache"
- :crossorigin="props.privacy ? 'anonymous' : 'use-credentials'"
- :referrerpolicy="props.privacy ? 'no-referrer' : 'origin'" />
-
-
-
-
-
-
-
-
-
diff --git a/ui/app/components/History.vue b/ui/app/components/History.vue
index 7e97625f..a83fa427 100644
--- a/ui/app/components/History.vue
+++ b/ui/app/components/History.vue
@@ -114,17 +114,32 @@
-
-
+
+
{{ formatTime(item.extras.duration) }}
+
+
+
-
-
-
- {{ item.title }}
-
-
+
+
+
+
+ {{ item.title }}
+
+
+
+ {{ item.title }}
+ {{ item.preset }}
+
+
+
+ {{ item.description }}
+
+
@@ -143,17 +158,17 @@
{{ setStatus(item) }}
|
-
|
-
+ v-if="'not_live' === item.status && (item.live_in || item.extras?.release_in)">
+
|
- {{ item.file_size ? formatBytes(item.file_size) : '-' }}
+ {{ item.file_size ? formatBytes(item.file_size) : 'N/A' }}
|
@@ -240,17 +255,33 @@
@@ -477,7 +509,7 @@ import moment from 'moment'
import { useStorage, useIntersectionObserver } from '@vueuse/core'
import type { StoreItem } from '~/types/store'
import { useConfirm } from '~/composables/useConfirm'
-import { deepIncludes } from '~/utils'
+import { deepIncludes, getPath, getImage } from '~/utils'
const emitter = defineEmits<{
(e: 'getInfo', url: string, preset: string, cli: string): void
@@ -504,6 +536,7 @@ const display_style = useStorage<'grid' | 'list'>('display_style', 'grid')
const bg_enable = useStorage('random_bg', true)
const bg_opacity = useStorage('random_bg_opacity', 0.95)
const thumbnail_ratio = useStorage<'is-16by9' | 'is-3by1'>('thumbnail_ratio', 'is-3by1')
+const show_popover = useStorage('show_popover', true)
const selectedElms = ref([])
const masterSelectAll = ref(false)
@@ -979,24 +1012,4 @@ const is_queued = (item: StoreItem) => {
}
return item.live_in || item.extras?.live_in || item.extras?.release_in ? 'fa-spin fa-spin-10' : ''
}
-
-const makePath = (item: StoreItem) => {
- if (!item?.filename) {
- return ''
- }
- const real_path = eTrim(item.download_dir, '/') + '/' + sTrim(item.filename, '/')
- return stripPath(config.app.download_path, real_path)
-}
-
-const getImage = (item: StoreItem): string => {
- if (item.sidecar?.image && item.sidecar.image.length > 0) {
- return uri('/api/download/' + encodeURIComponent(stripPath(config.app.download_path, item.sidecar.image[0]?.file || '')))
- }
-
- if (!item?.extras?.thumbnail) {
- return '/images/placeholder.png'
- }
-
- return uri('/api/thumbnail?id=' + item._id + '&url=' + encodePath(item.extras.thumbnail))
-}
diff --git a/ui/app/components/Queue.vue b/ui/app/components/Queue.vue
index 1fd6beb8..adc84d61 100644
--- a/ui/app/components/Queue.vue
+++ b/ui/app/components/Queue.vue
@@ -73,18 +73,31 @@
{{ formatTime(item.extras.duration) }}
+
+
+
-
-
-
- {{ item.title }}
-
-
+
+
+
+
+ {{ item.title }}
+
+
+
+ {{ item.title }}
+ {{ item.preset }}
+
+
+
+ {{ item.description }}
+
+
-
+
{{ item.title }}
@@ -162,17 +175,30 @@
v-for="item in filteredItems" :key="item._id">
|