aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube-mpv.el
diff options
context:
space:
mode:
Diffstat (limited to 'yeetube-mpv.el')
-rw-r--r--yeetube-mpv.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/yeetube-mpv.el b/yeetube-mpv.el
index 6c59552..22c78ae 100644
--- a/yeetube-mpv.el
+++ b/yeetube-mpv.el
@@ -50,11 +50,14 @@
(start-process-shell-command
"yeetube" nil command))))
-(defun yeetube-mpv-play-url (url)
- "Start yeetube process to play URL using mpv."
+(defun yeetube-mpv-play (input)
+ "Start yeetube process to play INPUT using mpv.
+
+This function is not specific to just playing urls. Feel free to use
+to play local files."
(yeetube-mpv-process
(concat yeetube-mpv-path " "
- (shell-quote-argument url)
+ (shell-quote-argument input)
(when yeetube-mpv-disable-video " --no-video")))
(message "yeetube: starting mpv process"))