mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Merge pull request #55677 from Dev-next-gen/fix/edit-keep-titles
fix: keep stream titles when playlist:edit saves the file
This commit is contained in:
2 files changed
+14
-1
No files matched your search
@@ -189,7 +189,7 @@ function getFeedChoises(feeds: Collection<sdk.Models.Feed>): Choice[] {
|
||||
|
||||
function save(filepath: string) {
|
||||
if (!storage.existsSync(filepath)) return
|
||||
const playlist = new Playlist(parsedStreams)
|
||||
const playlist = new Playlist(parsedStreams, { public: false, raw: true })
|
||||
storage.saveSync(filepath, playlist.toString())
|
||||
logger.info(`\nFile '${filepath}' successfully saved`)
|
||||
}
|
||||
Reference in new issue
Block a user