diff --git a/src/Pages/AddOrEditPlaylist.vue b/src/Pages/AddOrEditPlaylist.vue index d3108a970e2202d961b29ef3faad289a0731a881..70029aa1ad2192d091a7037c1735e4cf968e16f0 100644 --- a/src/Pages/AddOrEditPlaylist.vue +++ b/src/Pages/AddOrEditPlaylist.vue @@ -78,11 +78,11 @@ <template #cell(source)="data"> <span v-if="data.item.file"> <span class="tw-font-bold">{{ - getFileTitleForPlaylist(data.item.file.showName, data.item.file.id) + getFileTitleForPlaylist(data.item.file.show, data.item.file.id) }}</span ><br /> <span class="tw-text-gray-700" - >(file://{{ data.item.file.showName }}/{{ data.item.file.id }})</span + >(file://{{ data.item.file.show }}/{{ data.item.file.id }})</span > </span> @@ -189,7 +189,7 @@ <b-dropdown-item v-for="(file, index) in files" :key="index" - @click="addPlaylistItemFile(file.showName, file.id)" + @click="addPlaylistItemFile(file.show, file.id)" > {{ file.id }}: {{ file.metadata.title ? file.metadata.title : '' }} ({{ formatSeconds(file.duration) @@ -465,7 +465,7 @@ export default { const entry = {} if (playlist.entries[i].file) { entry.file = {} - entry.file.showName = playlist.entries[i].file.showName + entry.file.show = playlist.entries[i].file.show entry.file.id = playlist.entries[i].file.id } else { entry.uri = playlist.entries[i].uri