Updated Playlist.save() method

This commit is contained in:
Aleksandr Statciuk 2021-08-02 19:07:10 +03:00
parent 27136370aa
commit 1c05547389
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