Update create-database.js

This commit is contained in:
Aleksandr Statciuk 2022-02-05 07:25:56 +03:00
parent fa4bad3dca
commit 46deb7f004
8 changed files with 34 additions and 27 deletions

View file

@ -50,7 +50,7 @@ async function saveToDatabase() {
for (const item of chunk) {
const stream = store.create()
stream.set('id', { id: item.tvg.id })
stream.set('display_name', { display_name: item.name })
stream.set('title', { title: item.name })
stream.set('filepath', { filepath: item.filepath })
stream.set('resolution', { title: item.name })
stream.set('status', { title: item.name })