aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube-mpv.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-17 09:34:40 +0300
committerThanos Apollo <[email protected]>2023-10-17 09:34:40 +0300
commitf0dfd5508df5d33cbbc801a6e5a56b73b5aa3d7d (patch)
tree4244d6bbe7e8fb2eaa59a559311242bfe9c4d21b /yeetube-mpv.el
parent0a2719e72a8bb09d104044f0cf0c9ebf9485647b (diff)
parent1b4a3c46643cf08cf867d632078eaff446f2dd0c (diff)
Merge version 2.0.7 branch to 'master'2.0.7
- Add yeetube-replay (replay entry stored in yeetube-history) - Fix title issues & separate unicode character replacements into yeetube--title-replacements - Improve messages, for future debugging & aesthetics - Redo storing of content info and retrieval, using keywords This version marks yeetube.el in maintenance mode. I have no further plans for further feature additions. However, feel free to discuss with me any changes you'd like to see.
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"))