fix: extra break line to display the channel name

This commit is contained in:
northmaster 2023-04-13 11:58:56 -03:00
parent e3a4420385
commit 60e02f176f

2
iptv
View File

@ -86,7 +86,7 @@ selected_channel_line=$(cat "$channels_file" | grep -F "$selected_channel")
selected_channel_url=$(echo "$selected_channel_line" | grep -oE 'url:(.*)' | sed 's/url://' | tr -d '\r')
selected_channel_name=$(echo "$selected_channel_line" | sed 's/\(.*\) url:.*/\1/')
printf "Playing %s" "$selected_channel_name"
printf "Playing %s \n" "$selected_channel_name"
if [ -f "$player_pid_file" ]; then
player_pid=$(cat "$player_pid_file")