diff options
author | Thanos Apollo <[email protected]> | 2023-08-19 05:06:29 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-19 05:06:29 +0300 |
commit | f01b5a9c45177ef339fb75561e9b22114056885e (patch) | |
tree | 7ce78e34d80ffb2c01042404d938873f48e650a9 | |
parent | 08c47c85286634eaaa784f537f2447575cfe8d1c (diff) |
Update README
-rw-r--r-- | README.md | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -39,11 +39,29 @@ git clone https://git.sr.ht/~thanosapollo/yeetube.el ### Dependencies - [mpv](https://mpv.io/): default multimedia player - [yt-dlp](https://github.com/yt-dlp/yt-dlp): download functionality -- socat: control mpv *e.g pause/play* *Debian/Ubuntu* ``` shell -sudo apt install mpv yt-dlp socat +sudo apt install mpv yt-dlp +``` + +### Configuration +#### Media Player +Changing `yeetube-player` example: + +``` emacs-lisp +(setq yeetube-player 'vlc) +``` + +You can also use [mpv.el](https://github.com/kljohann/mpv.el) or other +similar packages with yeetube by simple redefining `yeetube-play-url` +to something like this: + +``` emacs-lisp + (defun yeetube-play-url (url) + "Open URL using mpv-play-url." + (when (string-prefix-p "http" url) + (mpv-play-url url))) ``` ## Contributing |