Do a daily update of channels
This commit is contained in:
parent
cc8605b1cd
commit
9f28312766
5
iptv
5
iptv
@ -59,6 +59,11 @@ if [ ! -z "$m3u" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $(find "$channels_file" -mtime +1) ]]; then
|
||||||
|
printf "Doing a daily update of channels..\n"
|
||||||
|
save_channels
|
||||||
|
fi
|
||||||
|
|
||||||
selected=$(cat "$channels_file" | sed 's/ [^ ]*$//' | fzf)
|
selected=$(cat "$channels_file" | sed 's/ [^ ]*$//' | fzf)
|
||||||
|
|
||||||
if [ ! -n "$selected" ]; then
|
if [ ! -n "$selected" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user