mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 18:10:04 -04:00
Updated Playlist.save() method
This commit is contained in:
parent
27136370aa
commit
1c05547389
5 changed files with 8 additions and 4 deletions
|
@ -51,6 +51,7 @@ async function removeDuplicates(playlist) {
|
|||
if (playlist.channels.length !== channels.length) {
|
||||
log.print('updated')
|
||||
playlist.channels = channels
|
||||
playlist.updated = true
|
||||
}
|
||||
|
||||
return playlist
|
||||
|
@ -74,6 +75,7 @@ async function removeUnsortedDuplicates(playlist) {
|
|||
if (channels.length !== playlist.channels.length) {
|
||||
log.print('updated')
|
||||
playlist.channels = channels
|
||||
playlist.updated = true
|
||||
}
|
||||
|
||||
return playlist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue