-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME_FIRST
34 lines (29 loc) · 1.76 KB
/
README_FIRST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Author: Barret E (2021-25) <[email protected]>
https://github.com/archusXIV/mpv-playlists-manager/blob/main/mpm
mpm version 2.2-4
Dependencies: ffmpeg, jq, mpv, vim (any terminal text editor), yt-dlp.
Optionals but recommanded: (
dialog, fzf, mpvc, ncmpvc (may use socat), GNU parallel,
ranger (terminal file manager), ueberzug/ffmpegthumbnailer,
w3m, ytfzf.
)
Youtube-dl is for now kind of unmaintained so install yt-dlp
https://github.com/yt-dlp/yt-dlp/releases
sudo pacman -S yt-dlp (it's just the continuation of youtube-dl).
This script rips video urls from Youtube and so on.
In our case we use ".m3u" files to store urls in and then be able
to watch from the site itself or download videos or just the audio.
Converting .webm files is done using ffmpeg directly or through the parallel program.
We can save, remove or edit playlists, mpmrc (the mpm configuration file).
The installation script will create two configuration files (mpmrc,themerc)
as ~/.config/mpm/{mpmrc,themerc}, so please edit those files first and make sure
the directory structure is ok for you.
Changelog:
------------------------------- !!! ADDED CHANGES IN MPMRC CONFIG FILE !!! -------------------------------
version 2.2-4 - Refactored _SearchYoutubeWithFzf function to take into account the number of queries
defined as the ytdlPreset_NR array in the user configuration file.
version 2.2-4 - We don't need wmctrl anymore, the window size is expressed as columns and lines.
PLEASE EDIT YOUR MPMRC FILE AND CHANGE IT IF YOU LIKE.
version 2.2-4 - Added a red prompt when in the [E]dit titles option the user deleted lines instead of editing.
version 2.2-3 - Fixed bug in _ChooseFromPlay function when testing user input.
version 2.2-3 - Simplified some code here and there