aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-19 05:06:29 +0300
committerThanos Apollo <[email protected]>2023-08-19 05:06:29 +0300
commitf01b5a9c45177ef339fb75561e9b22114056885e (patch)
tree7ce78e34d80ffb2c01042404d938873f48e650a9 /README.md
parent08c47c85286634eaaa784f537f2447575cfe8d1c (diff)
Update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 20 insertions, 2 deletions
diff --git a/README.md b/README.md
index 727b7fb..1135992 100644
--- a/README.md
+++ b/README.md
@@ -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