Updated Playlist.save() method

This commit is contained in:
Aleksandr Statciuk
2021-08-02 19:07:10 +03:00
parent fc71d0e6ff
commit 5a43ff660d
5 changed files with 8 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ async function sortChannels(playlist) {
if (JSON.stringify(playlist.channels) !== JSON.stringify(channels)) {
log.print('updated')
playlist.channels = channels
playlist.updated = true
}
return playlist