@christianriedl/media 1.0.177 → 1.0.178
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
CHANGED
package/src/views/BooksPage.vue
CHANGED
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
allBooks.value = await getAuthorBooksFromAI (author.surName, author.givenName, author.id);
|
|
120
120
|
lastAllBooksId.value = author.id;
|
|
121
121
|
}
|
|
122
|
+
currentBook.value = { id: 0, authorId: 0, title: ""};
|
|
122
123
|
newBook = reactive<IBook>({ id: 0, authorId: author.id, title: "", rating: 0 });
|
|
123
124
|
showAddBookLine.value = true;
|
|
124
125
|
}
|
|
@@ -296,7 +297,7 @@
|
|
|
296
297
|
},
|
|
297
298
|
"strict": true
|
|
298
299
|
}
|
|
299
|
-
const prompt = `Alle
|
|
300
|
+
const prompt = `Alle Buchtitel in Deutsch mit Erscheinungsjahr von ${givenName} ${surName}`;
|
|
300
301
|
const result = await openAI.completeJson(prompt, schema) as any;
|
|
301
302
|
if (result && result.werke) {
|
|
302
303
|
const books: IBook[] = [];
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
function showMap(ev: Event) {
|
|
162
162
|
const current = items[index.value];
|
|
163
|
-
|
|
163
|
+
router.options.history.replace(`/photoalbum?id=${folderId}&start=${current.dlnaid}`);
|
|
164
164
|
router.push({
|
|
165
165
|
path: 'map', query: {
|
|
166
166
|
lat: `${gpsLat[0]} ${gpsLat[1]}`,
|