From d9bfc97b599af4e4e96ae403df8287a533223e32 Mon Sep 17 00:00:00 2001 From: Felix Kaaman Date: Fri, 21 Feb 2020 23:24:55 +0200 Subject: 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. --- Cargo.lock | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 8d57a14..fe0ea26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1141,6 +1141,12 @@ dependencies = [ "quick-error", ] +[[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" @@ -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", -- cgit v1.2.3-70-g09d2