diff options
| author | Felix Kaaman <tmtu@tmtu.ee> | 2020-02-21 23:24:55 +0200 |
|---|---|---|
| committer | Felix Kaaman <tmtu@tmtu.ee> | 2020-02-21 23:29:22 +0200 |
| commit | d9bfc97b599af4e4e96ae403df8287a533223e32 (patch) | |
| tree | fc2102295e2b3f0fd5db6f4d2ed811a6a0e87ffd /Cargo.lock | |
| parent | 8e708b65365aeb0591aee39d2ffb7c59239ffc3f (diff) | |
| download | pokebot-d9bfc97b599af4e4e96ae403df8287a533223e32.tar.gz pokebot-d9bfc97b599af4e4e96ae403df8287a533223e32.zip | |
Add seeking to audio player
Adds a new "!seek" command which takes in a string that will be parsed
by humantime in addition to a '+' or '-' character that can be prefixed
to determine if it is a relative seek. Without any prefix characters the
seek will be absolute.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1142,6 +1142,12 @@ dependencies = [ ] [[package]] +name = "humantime" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9b6c53306532d3c8e8087b44e6580e10db51a023cf9b433cea2ac38066b92da" + +[[package]] name = "hyper" version = "0.12.35" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1334,7 +1340,7 @@ dependencies = [ "chrono", "flate2", "fnv", - "humantime", + "humantime 1.3.0", "libc", "log", "log-mdc", @@ -1784,6 +1790,7 @@ dependencies = [ "gstreamer", "gstreamer-app", "gstreamer-audio", + "humantime 2.0.0", "log", "log4rs", "rand 0.7.3", |
