Livie is Video in Emacs

Jesús 525e9fb02d minor fix kbd 2 vuotta sitten
.gitignore be65320ce6 Change API 3 vuotta sitten
LICENSE.md 7e4a223d1c initial import 5 vuotta sitten
README.md 525e9fb02d minor fix kbd 2 vuotta sitten
livie-channel.el 6d12908ab8 Pretty code 3 vuotta sitten
livie-playlist.el 6d12908ab8 Pretty code 3 vuotta sitten
livie.el afcec267a3 change Invidious API 3 vuotta sitten
screenshot.png e5ab4fa1eb Remove python dependencie and integrate Invidious API 3 vuotta sitten

README.md

Livie is Video in Emacs

screenshot

Livie allows the user to search youtube.com and play the video from mpv.

Requirements

  • hypervideo
  • curl
  • mpv

sudo pacman -S mpv curl hypervideo

Installation

Open init.el write the following:

(push (concat user-emacs-directory "path/to/livie") load-path)
(let* ((file-name-handler-alist nil))
  (require 'livie))

Installation in emacs-personal

Create new dir:

mkdir ~/.emacs.d/private/

Clone repo:

git clone https://git.sr.ht/~heckyel/livie ~/.emacs.d/private/livie

Open settings.el write the following:

(push (concat user-emacs-directory "private/livie") load-path)
(let* ((file-name-handler-alist nil))
  (require 'livie))

Usage

Just run M-x livie and enter a search query. Puts it in livie-mode. Some of the ways you can interact with the buffer are shown below.

key binding description
n next-line Move cursor to next line
p previous-line Move cursor to previous line
q livie-quit Close *livie* buffer
s livie-search Make a new search
> livie-search-next-page Go to next page
< livie-search-previous-page Go to previous page
t livie-search-type Change the type of results (videos, playlists, etc.).
S livie-sort-videos Sort videos on the current buffer.
Y livie-yank-channel-feed Copy the channel RSS feed for the current entry
RET livie-open-entry Open entry
y livie-watch-this-video Play video