diff --git a/scripts/commands/playlist/edit.ts b/scripts/commands/playlist/edit.ts index 1e70c76d18..6b3c66a566 100644 --- a/scripts/commands/playlist/edit.ts +++ b/scripts/commands/playlist/edit.ts @@ -69,8 +69,8 @@ export default async function main(filepath: string) { } streamsWithoutId.forEach((stream: Stream) => { - if (stream.channel === '-') { - stream.channel = '' + if (stream.tvgId === '-') { + stream.tvgId = '' } }) }