Switch from Github to GitLab

This commit is contained in:
Jonas Frei 2017-07-14 01:21:09 +02:00
parent c808c2171c
commit 6133122536
3 changed files with 5 additions and 7 deletions

View File

@ -4,8 +4,8 @@ version = "1.1.4"
authors = ["Jonas Frei <freijon@gmail.com>"] authors = ["Jonas Frei <freijon@gmail.com>"]
description = "A small library which provides bindings to control existing mpv instances through sockets." description = "A small library which provides bindings to control existing mpv instances through sockets."
license = "GPL-3.0" license = "GPL-3.0"
homepage = "https://github.com/freijon/mpvipc" homepage = "https://gitlab.com/mpv-ipc/mpvipc"
repository = "https://github.com/freijon/mpvipc" repository = "https://gitlab.com/mpv-ipc/mpvipc"
documentation = "https://docs.rs/mpvipc/" documentation = "https://docs.rs/mpvipc/"

View File

@ -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 ## Bugs / Ideas
Check out the [Issue Tracker](https://github.com/freijon/mpvipc/issues) Check out the [Issue Tracker](https://gitlab.com/mpv-ipc/mpvipc/issues)

View File

@ -153,9 +153,7 @@ impl Display for ErrorCode {
match *self { match *self {
ErrorCode::ConnectError(ref msg) => f.write_str(&format!("ConnectError: {}", msg)), ErrorCode::ConnectError(ref msg) => f.write_str(&format!("ConnectError: {}", msg)),
ErrorCode::JsonParseError(ref msg) => f.write_str(&format!("JsonParseError: {}", msg)), ErrorCode::JsonParseError(ref msg) => f.write_str(&format!("JsonParseError: {}", msg)),
ErrorCode::MpvError(ref msg) => { ErrorCode::MpvError(ref msg) => f.write_str(&format!("MpvError: {}", msg)),
f.write_str(&format!("mpv returned an error value: {}", msg))
}
ErrorCode::JsonContainsUnexptectedType => { ErrorCode::JsonContainsUnexptectedType => {
f.write_str("Mpv sent a value with an unexpected type") f.write_str("Mpv sent a value with an unexpected type")
} }