mirror of
https://github.com/iptv-org/iptv
synced 2026-11-03 15:54:23 -05:00
Updated Playlist.save() method
This commit is contained in:
1 parent
fc71d0e6ff
commit
5a43ff660d
5 files changed
+8
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user