Skip to content

Commit

Permalink
Fix playback error on some channels
Browse files Browse the repository at this point in the history
* channel name containing the symbol '
  • Loading branch information
sunsettrack4 authored Dec 16, 2018
1 parent 3d241de commit 0e61ef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ztvh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clear
echo " "
echo "ZattooUNLIMITED for VLC and tvheadend "
echo "(c) 2017-2018 Jan-Luca Neumann I + "
echo "Script v0.4.9 2018/12/09 | Zattoo v2.12.9 I I + "
echo "Script v0.5.0 2018/12/16 | Zattoo v2.12.9 I I + "
echo " I I + "
echo " II "
echo "ZZZZZZZZZ AA TTTTTTTTTT TTTTTTTTTT 888888 888888 "
Expand Down Expand Up @@ -1511,7 +1511,7 @@ bash workfile
sed 's/#EXTM3U/#\!\/bin\/bash/g' ~/ztvh/channels.m3u > workfile
sed -i '/#EXTINF/{s/.*", /ch_name=\$(echo "/g;s/.*/&")/g;}' workfile
sed -i '/pipe:\/\//{s/.*chpipe\//sed -i "s\/CHANNEL_NAME\/\$ch_name\/g" ~\/ztvh\/chpipe\//g;}' workfile
sed -i -e '/ch_name=/s/\//\\&/g' -e '/ch_name=/s/\&/\\\&/g' workfile
sed -i -e '/ch_name=/s/\//\\&/g' -e '/ch_name=/s/\&/\\\&/g' -e "/ch_name=/s/'/´/g" workfile
bash workfile

if grep -q "chpipe 4" ~/ztvh/user/options 2> /dev/null
Expand Down Expand Up @@ -2313,7 +2313,7 @@ clear

echo "ZattooUNLIMITED for VLC and tvheadend"
echo "(c) 2017-2018 Jan-Luca Neumann"
echo "Script v0.4.9 | Zattoo v2.12.9"
echo "Script v0.5.0 | Zattoo v2.12.9"
echo ""
echo "=== GRABBER STARTUP ==="
echo ""
Expand Down

0 comments on commit 0e61ef7

Please sign in to comment.