diff options
Diffstat (limited to 'iptv.sh')
| -rwxr-xr-x | iptv.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -277,7 +277,12 @@ make_playlist () { group=$(categorize_by_channel_name "$channelname") - echo "#EXTINF:-1 tvg-id=\"$channelcode\" tvg-name=\"$channelname\" tvg-logo=\"${logos[$channelcode]-}\" group-name=\"$group\",$channelname" >> "$output_file" + printf '#EXTINF:-1 tvg-id="%s" tvg-name="%s" tvg-logo="%s" group-name="%s",%s\n' \ + "$channelcode" \ + "$channelname" \ + "${logos[$channelcode]-}" \ + "$group" \ + "$channelname" >> "$output_file" echo "$udpxy_endpoint/udp/$host" >> "$output_file" fi done |
