@christianriedl/media 1.0.281 → 1.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/components/BookPlace.vue +4 -1
- package/src/components/BookSearchLine.vue +2 -2
- package/src/views/BooksPage.vue +4 -4
- package/src/views/DocumentsPage.vue +10 -4
- package/src/views/MusicPage.vue +2 -2
- package/src/views/OnlineRadiosPage.vue +3 -3
- package/src/views/OnlineTVsPage.vue +3 -3
- package/src/views/PhotosGridPage.vue +2 -2
- package/src/views/PhotosPage.vue +3 -3
- package/src/views/RecordedVideosPage.vue +3 -3
- package/src/views/VideoPage.vue +4 -2
- package/src/views/VideosPage.vue +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christianriedl/media",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.282",
|
|
4
4
|
"description": "RIC media interfaces",
|
|
5
5
|
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"author": "Christian Riedl",
|
|
19
19
|
"license": "ISC",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@christianriedl/utils": "^1.0.
|
|
22
|
-
"@christianriedl/rest": "^1.0.
|
|
23
|
-
"@christianriedl/epg": "^1.0.
|
|
21
|
+
"@christianriedl/utils": "^1.0.171",
|
|
22
|
+
"@christianriedl/rest": "^1.0.90",
|
|
23
|
+
"@christianriedl/epg": "^1.0.44",
|
|
24
24
|
"buffer": "^6.0.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
</script>
|
|
59
59
|
|
|
60
60
|
<template>
|
|
61
|
-
<v-row density="compact" :class="[place.color,'place']" :style="heightStyle" >
|
|
61
|
+
<v-row density="compact" :class="[place.color,'place']" :style="heightStyle" gap="0" >
|
|
62
62
|
<v-col v-if="place.vorne" cols="12" @click="selectVorne">
|
|
63
63
|
<p :class="vorne" v-html="textVorne"></p>
|
|
64
64
|
</v-col>
|
|
@@ -70,6 +70,9 @@
|
|
|
70
70
|
</template>
|
|
71
71
|
|
|
72
72
|
<style scoped>
|
|
73
|
+
p {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
73
76
|
.place {
|
|
74
77
|
border-style: solid;
|
|
75
78
|
border-color: black;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<v-row v-if="props.ismobile" density="compact" class="align-center" :class="classObject" @click="onSelect">
|
|
18
|
+
<v-row v-if="props.ismobile" density="compact" class="align-center" :class="classObject" @click="onSelect" gap="0">
|
|
19
19
|
<v-col cols="12" >
|
|
20
20
|
<p class="font-weight-bold">{{book.givenName + ' ' + book.surName}}</p>
|
|
21
21
|
</v-col>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<p>{{book.title}}</p>
|
|
24
24
|
</v-col>
|
|
25
25
|
</v-row>
|
|
26
|
-
<v-row v-else density="compact" class="align-center" :class="classObject" @click="onSelect" >
|
|
26
|
+
<v-row v-else density="compact" class="align-center" :class="classObject" @click="onSelect" gap="0">
|
|
27
27
|
<v-col cols="4" >
|
|
28
28
|
<p class="font-weight-bold">{{book.givenName + ' ' + book.surName}}</p>
|
|
29
29
|
</v-col>
|
package/src/views/BooksPage.vue
CHANGED
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
<v-btn prepend-icon="$gps" class="bg-office" @click="places">Wo</v-btn>
|
|
435
435
|
</v-col>
|
|
436
436
|
</v-row>
|
|
437
|
-
<v-row v-if="isMobile" density="compact" class="bg-office align-center" >
|
|
437
|
+
<v-row v-if="isMobile" density="compact" class="bg-office align-center" gap="0" >
|
|
438
438
|
<v-col cols="6">
|
|
439
439
|
<v-combobox v-model="selectedAuthor" :items="authors" item-value="id" item-title="sN" hide-details density="compact" single-line @update:modelValue="authorNameChanged"></v-combobox>
|
|
440
440
|
</v-col>
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
<v-text-field v-model="currentAuthor.givenName" hide-details density="compact" @update:modelValue="fieldChanged" @update:focused="givenNameFocused"></v-text-field>
|
|
443
443
|
</v-col>
|
|
444
444
|
</v-row>
|
|
445
|
-
<v-row v-else density="compact" class="bg-office align-center">
|
|
445
|
+
<v-row v-else density="compact" class="bg-office align-center" gap="0">
|
|
446
446
|
<v-col cols="2">
|
|
447
447
|
<v-combobox v-model="selectedAuthor" :items="authors" item-value="id" item-title="sN" hide-details density="compact" single-line @update:modelValue="authorNameChanged"></v-combobox>
|
|
448
448
|
</v-col>
|
|
@@ -471,11 +471,11 @@
|
|
|
471
471
|
</v-col>
|
|
472
472
|
</v-row>
|
|
473
473
|
<v-divider></v-divider>
|
|
474
|
-
<v-row v-if="isMobile" density="compact" class="bg-office align-center" >
|
|
474
|
+
<v-row v-if="isMobile" density="compact" class="bg-office align-center" gap="0" >
|
|
475
475
|
<v-col cols="9">TITEL</v-col>
|
|
476
476
|
<v-col cols="3">JAHR</v-col>
|
|
477
477
|
</v-row>
|
|
478
|
-
<v-row v-else density="compact" class="bg-office align-center">
|
|
478
|
+
<v-row v-else density="compact" class="bg-office align-center" gap="0">
|
|
479
479
|
<v-col cols="6">
|
|
480
480
|
<v-btn v-if="sortedByYear" class="bg-office" @click="sortByTitle" icon="$down"></v-btn>
|
|
481
481
|
TITEL
|
|
@@ -217,13 +217,13 @@
|
|
|
217
217
|
<v-card class="bg-office">
|
|
218
218
|
<v-card-title>{{path}}</v-card-title>
|
|
219
219
|
<v-container v-if="isMobile" fluid>
|
|
220
|
-
<v-row v-for="dir in directoryNames" :key="dir">
|
|
220
|
+
<v-row v-for="dir in directoryNames" :key="dir" density="compact" class="align-center">
|
|
221
221
|
<v-col cols="10"><p class="font-weight-medium" @click.stop="onSelect(dir)">{{dir}}</p></v-col>
|
|
222
222
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$share" class="bg-office" density="compact" variant="flat" @click.stop="shareDir(dir)"></v-btn></v-col>
|
|
223
223
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$delete" class="bg-office" density="compact" variant="flat" @click.stop="deleteDirOrFile(dir)"></v-btn></v-col>
|
|
224
224
|
<v-divider />
|
|
225
225
|
</v-row>
|
|
226
|
-
<v-row v-for="file in fileNames" :key="file" class="text-decoration-underline text-primary">
|
|
226
|
+
<v-row v-for="file in fileNames" :key="file" density="compact" class="text-decoration-underline text-primary align-center">
|
|
227
227
|
<v-col cols="9"><p class="font-weight-medium text-decoration-underline text-primary" @click.stop="download(file)">{{file}}</p></v-col>
|
|
228
228
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$send" class="bg-office" density="compact" variant="flat" @click.stop="sendFile(file)"></v-btn></v-col>
|
|
229
229
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$share" class="bg-office" density="compact" variant="flat" @click.stop="shareFile(file)"></v-btn></v-col>
|
|
@@ -250,13 +250,13 @@
|
|
|
250
250
|
</v-col>
|
|
251
251
|
</v-row>
|
|
252
252
|
<file-upload v-if="uploadVisible" :isdocument="true" :directory="path" @done="uploadDone"></file-upload>
|
|
253
|
-
<v-row v-for="dir in directoryInfos" :key="dir.name">
|
|
253
|
+
<v-row v-for="dir in directoryInfos" :key="dir.name" density="compact" class="align-center">
|
|
254
254
|
<v-col cols="10"><p class="font-weight-medium" @click.stop="onSelect(dir.name)">{{dir.name}}<span>{{info(dir)}}</span></p></v-col>
|
|
255
255
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$share" class="bg-office" density="compact" variant="flat" @click.stop="shareDir(dir.name)"></v-btn></v-col>
|
|
256
256
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$delete" class="bg-office" density="compact" variant="flat" @click.stop="deleteDirOrFile(dir.name)"></v-btn></v-col>
|
|
257
257
|
<v-divider />
|
|
258
258
|
</v-row>
|
|
259
|
-
<v-row v-for="file in fileInfos" :key="file.name" class="text-decoration-underline text-primary">
|
|
259
|
+
<v-row v-for="file in fileInfos" :key="file.name" density="compact" class="text-decoration-underline text-primary align-center">
|
|
260
260
|
<v-col cols="8"><p class="font-weight-medium text-decoration-underline text-primary" @click.stop="download(file.name, file.folder)">{{file.name}}<span>{{info(file)}}</span></p></v-col>
|
|
261
261
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$brain" :class="vectorStoreClass(file.name)" density="compact" variant="flat" @click.stop="vectorStore(file.name)"></v-btn></v-col>
|
|
262
262
|
<v-col cols="1"><v-btn v-if="isAdmin" icon="$send" class="bg-office" density="compact" variant="flat" @click.stop="sendFile(file.name, file.folder)"></v-btn></v-col>
|
|
@@ -276,3 +276,9 @@
|
|
|
276
276
|
</v-dialog>
|
|
277
277
|
</template>
|
|
278
278
|
|
|
279
|
+
<style scoped>
|
|
280
|
+
.v-row--density-compact {
|
|
281
|
+
--v-col-gap-x: 0px;
|
|
282
|
+
--v-col-gap-y: 0px;
|
|
283
|
+
}
|
|
284
|
+
</style>
|
package/src/views/MusicPage.vue
CHANGED
|
@@ -350,10 +350,10 @@
|
|
|
350
350
|
<v-progress-linear v-if="playingTrack" v-model="positionLength" color="blue" height="25"><strong>{{positionText}}</strong></v-progress-linear>
|
|
351
351
|
</v-card>
|
|
352
352
|
<file-upload v-if="uploadVisible" accept="audio/mpeg, audio/flac"></file-upload>
|
|
353
|
-
<v-card :height="listHeight" class="overflow-y-auto bg-media">
|
|
353
|
+
<v-card :height="listHeight" density="compact" class="overflow-y-auto bg-media">
|
|
354
354
|
<v-list lines="two" class="bg-media">
|
|
355
355
|
<v-list-item-group v-model="itemIndex">
|
|
356
|
-
<v-list-item v-for="(item,index) in items" :key="item.dlnaid" :title="item.title" :subtitle="item.subTitle"
|
|
356
|
+
<v-list-item v-for="(item,index) in items" :key="item.dlnaid" density="compact" :title="item.title" :subtitle="item.subTitle"
|
|
357
357
|
active-color="blue" :active="index == playIndex" @click="listItem(item)">
|
|
358
358
|
<template v-slot:prepend>
|
|
359
359
|
<v-avatar rounded="0" size="x-large" v-if="item.thumbnailUrl">
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
</v-btn>
|
|
106
106
|
</v-card-actions>
|
|
107
107
|
</v-card>
|
|
108
|
-
<v-card :max-height="listHeight" class="overflow-y-auto bg-media">
|
|
109
|
-
<v-list lines="two" class="bg-media">
|
|
108
|
+
<v-card :max-height="listHeight" density="compact" class="overflow-y-auto bg-media">
|
|
109
|
+
<v-list lines="two" density="compact" class="bg-media">
|
|
110
110
|
<v-list-item-group v-model="itemIndex" color="primary">
|
|
111
|
-
<v-list-item v-for="(item,index) in items" :key="item.dlnaid" :title="item.title"
|
|
111
|
+
<v-list-item v-for="(item,index) in items" :key="item.dlnaid" :title="item.title" density="compact"
|
|
112
112
|
active-color="blue" :active="index == playIndex"
|
|
113
113
|
:subtitle="item.subTitle" @click="listItem(item)">
|
|
114
114
|
<template v-slot:prepend>
|
|
@@ -184,10 +184,10 @@
|
|
|
184
184
|
</v-btn>
|
|
185
185
|
</v-card-actions>
|
|
186
186
|
</v-card>
|
|
187
|
-
<v-card :max-height="listHeight" class="overflow-y-auto bg-media">
|
|
188
|
-
<v-list lines="two" class="bg-media">
|
|
187
|
+
<v-card :max-height="listHeight" density="compact" class="overflow-y-auto bg-media">
|
|
188
|
+
<v-list lines="two" density="compact" class="bg-media">
|
|
189
189
|
<v-list-item-group v-model="itemIndex" color="primary">
|
|
190
|
-
<v-list-item v-for="item in items" :key="item.dlnaid" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
190
|
+
<v-list-item v-for="item in items" :key="item.dlnaid" density="compact" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
191
191
|
<template v-slot:prepend>
|
|
192
192
|
<v-avatar rounded="0" size="x-large" v-if="item.thumbnailUrl">
|
|
193
193
|
<v-img :src="item.thumbnailUrl" :cover="false"></v-img>
|
|
@@ -254,8 +254,8 @@
|
|
|
254
254
|
</v-card-actions>
|
|
255
255
|
</v-card>
|
|
256
256
|
<file-upload v-if="uploadVisible" accept="image/jpeg"></file-upload>
|
|
257
|
-
<v-card :height="listHeight" class="overflow-y-auto bg-media" >
|
|
258
|
-
<v-list v-if="showAlbums" class="bg-media">
|
|
257
|
+
<v-card :height="listHeight" density="compact" class="overflow-y-auto bg-media" >
|
|
258
|
+
<v-list v-if="showAlbums" density="compact" class="bg-media">
|
|
259
259
|
<v-list-item v-for="item in items" :key="item.dlnaid" :title="item.info" density="compact" @click.stop="showFolder(item)">
|
|
260
260
|
<template v-slot:append>
|
|
261
261
|
<v-btn color="grey" variant="tonal" icon="$share" @click.stop.prevent="onShare(item)"></v-btn>
|
package/src/views/PhotosPage.vue
CHANGED
|
@@ -222,12 +222,12 @@
|
|
|
222
222
|
</v-card-actions>
|
|
223
223
|
</v-card>
|
|
224
224
|
<file-upload v-if="uploadVisible" accept="image/jpeg"></file-upload>
|
|
225
|
-
<v-card :max-height="listHeight" class="overflow-y-auto bg-media" ref="scrollElement" v-scroll.self="onScroll">
|
|
226
|
-
<v-list v-if="!grouped">
|
|
225
|
+
<v-card :max-height="listHeight" class="overflow-y-auto bg-media" ref="scrollElement" density="compact" v-scroll.self="onScroll">
|
|
226
|
+
<v-list v-if="!grouped" density="compact" >
|
|
227
227
|
<v-list-item v-for="item in items" :key="item.dlnaid" :title="item.info" density="compact" @click.stop="showFolder(item)">
|
|
228
228
|
</v-list-item>
|
|
229
229
|
</v-list>
|
|
230
|
-
<v-list v-else v-model:opened="open">
|
|
230
|
+
<v-list v-else v-model:opened="open" density="compact" >
|
|
231
231
|
<v-list-group v-for="item in items" :key="item.dlnaid" :value="item.name" @click.stop="listExpand(item)">
|
|
232
232
|
<template v-slot:activator="{ props }">
|
|
233
233
|
<v-list-item v-bind="props" :title="item.info" :value="item.info" density="compact"></v-list-item>
|
|
@@ -181,10 +181,10 @@
|
|
|
181
181
|
</v-btn>
|
|
182
182
|
</v-card-actions>
|
|
183
183
|
</v-card>
|
|
184
|
-
<v-card :max-height="listHeight" class="overflow-y-auto bg-media">
|
|
185
|
-
<v-list lines="two" class="bg-media">
|
|
184
|
+
<v-card :max-height="listHeight" density="compact" class="overflow-y-auto bg-media">
|
|
185
|
+
<v-list lines="two" density="compact" class="bg-media">
|
|
186
186
|
<v-list-item-group v-model="itemIndex" color="primary">
|
|
187
|
-
<v-list-item v-for="item in items" :key="item.dlnaid" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
187
|
+
<v-list-item v-for="item in items" :key="item.dlnaid" density="compact" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
188
188
|
<template v-if="item.url" v-slot:append>
|
|
189
189
|
<v-btn :disabled="!item.description" color="grey" variant="tonal" icon="$info" @click.stop.prevent="onInfo(item)"></v-btn>
|
|
190
190
|
<v-btn color="grey" variant="tonal" icon="$share" @click.stop.prevent="onShare(item)"></v-btn>
|
package/src/views/VideoPage.vue
CHANGED
|
@@ -62,6 +62,8 @@
|
|
|
62
62
|
</script>
|
|
63
63
|
|
|
64
64
|
<template>
|
|
65
|
-
<
|
|
66
|
-
|
|
65
|
+
<div class="bg-grey-darken-3">
|
|
66
|
+
<video v-if="ready" ref="videoElement" controls autoplay :src="url" :width="width" :height="height" @error="onError">
|
|
67
|
+
</video>
|
|
68
|
+
</div>
|
|
67
69
|
</template>
|
package/src/views/VideosPage.vue
CHANGED
|
@@ -308,11 +308,11 @@
|
|
|
308
308
|
</v-card-actions>
|
|
309
309
|
</v-card>
|
|
310
310
|
<file-upload v-if="uploadVisible" accept="video/mp4"></file-upload>
|
|
311
|
-
<v-card :max-height="listHeight" class="overflow-y-auto bg-media">
|
|
311
|
+
<v-card :max-height="listHeight" density="compact" class="overflow-y-auto bg-media">
|
|
312
312
|
<v-card-subtitle v-if="testRunning">{{testText}}</v-card-subtitle>
|
|
313
|
-
<v-list lines="two" class="bg-media">
|
|
313
|
+
<v-list lines="two" density="compact" class="bg-media">
|
|
314
314
|
<v-list-item-group v-model="itemIndex">
|
|
315
|
-
<v-list-item v-for="item in items" :key="item.dlnaid" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
315
|
+
<v-list-item v-for="item in items" :key="item.dlnaid" density="compact" :title="item.title" :subtitle="item.subTitle" @click="listItem(item)">
|
|
316
316
|
<template v-slot:prepend>
|
|
317
317
|
<v-avatar rounded="0" size="x-large" v-if="item.thumbnailUrl">
|
|
318
318
|
<v-img :src="item.thumbnailUrl"></v-img>
|