update README

This commit is contained in:
Denis Lehmann 2021-10-15 20:58:13 +02:00
parent 4bd4a018fd
commit 4b8d5b2819

View file

@ -18,7 +18,7 @@
If *strm* is configured to use the =media= directory, you can play the shortfilm e.g. with the following command:
: strm daily dweebs
: $ strm daily dweebs
Every argument which is not assigned to an flag is interpreted as part of the query.
The query arguments are interpreted as [[https://en.wikipedia.org/wiki/Glob_(programming)][glob patterns]], additionally surrounded by wildcards (=*=).
@ -28,9 +28,9 @@
The shortfilm from the example above could have also been played with one of the following commands:
: strm dweebs daily
: strm movies dwee
: strm d d 17
: $ strm dweebs daily
: $ strm movies dwee
: $ strm d d 17
It is possible that multiple files are matched by one of the commands.
All files are then played in the order of the configured media directories, followed by lexicographical order of the filepath.
@ -74,7 +74,7 @@
This project is also a [[https://nixos.wiki/wiki/Flakes][Nix flake]].
You can execute it with the following command if you have a recent version of [[https://nixos.org/][Nix]] installed and flakes are enabled:
: nix run github:Deleh/strm -- --help
: $ nix run github:Deleh/strm -- --help
If you use it this way, mpv is started with *MPRIS* support by default.