commit a6da4d0a6841543a1f5f9ca2de2d1d0b32124dfa parent d8f5abf6675bc04c80e9b87717958243476d5f57 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sun, 16 Aug 2020 12:23:45 +0200 youtube-mpv-player: simplify link archive format Former-commit-id: c724a14c8364d0c255d924341888b13d3e78877d Diffstat:
M | scripts/youtube-mpv-player | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/youtube-mpv-player b/scripts/youtube-mpv-player @@ -12,8 +12,8 @@ fi #link archive arc(){ -title=$(youtube-dl --ignore-config --get-title --get-duration --get-description "$1" 2>/dev/null) -printf "%b\n" "0a\n▪▪▪►Link► $1\n▪▪▪►Description► $title\n\n.\nw" >> $HOME/.cache/mpv/linkarchive + title=$(youtube-dl --ignore-config --get-title "$1" 2>/dev/null) + printf "%b\n" "$title\t$1" >> "$HOME/.cache/mpv/linkarchive" } arc "$1" & exit 0