This is the youtube Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 08:07:57 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
youtube
Play youtube urls with or without video using mpv
Mihai Olteanu <mihai_olteanu@fastmail.fm>
GPLv3
0.1
alexandria
(system).
bordeaux-threads
(system).
yason
(system).
cl-ppcre
(system).
package.lisp
(file).
youtube.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
youtube/youtube.lisp
package.lisp
(file).
youtube
(system).
duration
(function).
percent-pos
(function).
play
(function).
play/pause
(function).
quit
(function).
replay
(function).
seek
(function).
switch-to-browser
(function).
time-pos
(function).
turn-video-on
(function).
*playing-url*
(special variable).
*socket*
(special variable).
clear-playing-url
(function).
get-property
(function).
pause
(function).
paused-p
(function).
playing-url
(function).
running-p
(function).
send-command
(function).
set-playing-url
(function).
set-property
(function).
url-from-string
(function).
youtube-url-p
(function).
Packages are listed by definition order.
youtube
common-lisp
.
duration
(function).
percent-pos
(function).
play
(function).
play/pause
(function).
quit
(function).
replay
(function).
seek
(function).
switch-to-browser
(function).
time-pos
(function).
turn-video-on
(function).
*playing-url*
(special variable).
*socket*
(special variable).
clear-playing-url
(function).
get-property
(function).
pause
(function).
paused-p
(function).
playing-url
(function).
running-p
(function).
send-command
(function).
set-playing-url
(function).
set-property
(function).
url-from-string
(function).
youtube-url-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Current playing song duration, in MM:SS format, as string.
Current playing song position, in percent.
Play the youtube url through mpv. If video is T, open the video with mpv player, if not, run mpv in the background. If position is specified, in seconds, start playback from there.
Toggle playing status
Stop the playback.
Rewind the song at the beginning, effectively replaying it.
Forward or backward play by seconds, if the seconds is negative.
Pause the player and open the youtube page of the current playing song in the user default browser. If from-beginning is T, start playing from the beginning, otherwise continue from where the player was.
Current playing song position, in seconds, as string.
Quit mpv and restart it in video mode, locally (i.e. not in the browser)
Pause the player
Check if mpv is paused.
Check if mpv player has been started, regardles if it’s paused or actually playing.
Use youtube-dl to search for a youtube url based on the input string. The –get-url option returns a nasty url. –get-thumbnail returns a url that contains the url id we’re interested it.
Decide if the string is a youtube url and return it back if it is.
Jump to: | C D F G P Q R S T U Y |
---|
Jump to: | C D F G P Q R S T U Y |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F P S Y |
---|
Jump to: | F P S Y |
---|