update flake

This commit is contained in:
Denis Lehmann 2021-04-17 09:20:31 +02:00
parent 2955c2cfe1
commit 3011036748
3 changed files with 86 additions and 35 deletions

View file

@ -26,12 +26,26 @@ If you have a recent *Nix* version and *flakes* are enabled, you can execute the
#+end_example
If you are not running the [[https://nixos.org/][Nix]] package manager, you should definitely try it out.
Anyway, this is just a shell script so clone the repo, make sure the dependencies listed below are fulfilled and there you go.
#+begin_example sh
./tyt --help
#+end_example
** Dependencies
If you are running tyt as *Nix flake* you don't have to care about dependencies.
A mpv version with scripts is used by default, this enables *MPRIS support* while playback and *skipping sponsored seqments* of videos.
These are the dependencies of the script:
- [[https://stedolan.github.io/jq/][jq]]
- [[https://mpv.io/][mpv]]
- [[https://ytdl-org.github.io/youtube-dl/][youtube-dl]]
If you are not running Nix, make sure those are available on your system and hope that everything works.
** Usage
#+begin_example text
@ -60,14 +74,6 @@ Anyway, this is just a shell script so clone the repo, make sure the dependencie
** Script
*** Dependencies
The dependencies of the script are:
- [[https://stedolan.github.io/jq/][jq]]
- [[https://mpv.io/][mpv]]
- [[https://ytdl-org.github.io/youtube-dl/][youtube-dl]]
Please make sure those are available on your system.
On the start of the script, it is checked if the dependencies are fulfilled.
#+begin_src bash