Linux 使用命令行从 txt 文件中使用 mpv 播放一组视频
grep -oP 'http(s)?://\S+' a.txt | mpv --playlist=-
grep -oP 'http(s)?://\S+' a.txt | while read -r url; do mpv "$url" || continue; done
# 从第 100 行起播放内容
tail -n +100 a.txt | grep -oP 'http(s)?://\S+' | while read -r url; do mpv "$url" || continue; done