diff options
author | Thanos Apollo <[email protected]> | 2023-08-03 23:56:54 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-03 23:56:54 +0300 |
commit | 08d4332d2ca9048f122fe8ac41f51301cd651da0 (patch) | |
tree | e7104c192c8ab05dac6dba5e2adc7e0aae384680 | |
parent | c523227cf09a00bb8c342b3102140ec2fa82a6dd (diff) |
yeetube-play-url: put last played url to a var
-rw-r--r-- | yeetube.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -148,6 +148,7 @@ It's recommended you keep it as the default value." (defun yeetube-play-url (url) "Open URL using yeetube-player." (when (string-prefix-p "http" url) + (setq yeetube-last-played url) (if (string-match "mpv" yeetube-player) (shell-command (format "pkill -9 -f mpv")) (shell-command (format "pkill -9 -f %s" (shell-quote-argument yeetube-player)))) |