From 6133122536cadbff3a300c11c287d2b0f61ba087 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Fri, 14 Jul 2017 01:21:09 +0200 Subject: [PATCH] Switch from Github to GitLab --- Cargo.toml | 4 ++-- README.md | 4 ++-- src/lib.rs | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f1c342f..3a3af32 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,8 @@ version = "1.1.4" authors = ["Jonas Frei "] description = "A small library which provides bindings to control existing mpv instances through sockets." license = "GPL-3.0" -homepage = "https://github.com/freijon/mpvipc" -repository = "https://github.com/freijon/mpvipc" +homepage = "https://gitlab.com/mpv-ipc/mpvipc" +repository = "https://gitlab.com/mpv-ipc/mpvipc" documentation = "https://docs.rs/mpvipc/" diff --git a/README.md b/README.md index af5072b..f55160f 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ fn main() { } ``` -For a more extensive example and proof of concept, see project [mpvc](https://github.com/freijon/mpvc-rs). +For a more extensive example and proof of concept, see project [mpvc](https://gitlab.com/mpv-ipc/mpvc-rs). ## Bugs / Ideas -Check out the [Issue Tracker](https://github.com/freijon/mpvipc/issues) \ No newline at end of file +Check out the [Issue Tracker](https://gitlab.com/mpv-ipc/mpvipc/issues) \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 170dd86..a70143f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -153,9 +153,7 @@ impl Display for ErrorCode { match *self { ErrorCode::ConnectError(ref msg) => f.write_str(&format!("ConnectError: {}", msg)), ErrorCode::JsonParseError(ref msg) => f.write_str(&format!("JsonParseError: {}", msg)), - ErrorCode::MpvError(ref msg) => { - f.write_str(&format!("mpv returned an error value: {}", msg)) - } + ErrorCode::MpvError(ref msg) => f.write_str(&format!("MpvError: {}", msg)), ErrorCode::JsonContainsUnexptectedType => { f.write_str("Mpv sent a value with an unexpected type") }