mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Update gtk-rs crates
This commit is contained in:
parent
3a27113bda
commit
ff17549b8b
39 changed files with 324 additions and 313 deletions
|
|
@ -5,10 +5,10 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
fragile = "1.0.0"
|
||||
gio = "0.14.0"
|
||||
glib = "0.14.0"
|
||||
gstreamer = "0.17.0"
|
||||
gstreamer-player = "0.17.0"
|
||||
gio = "0.15.10"
|
||||
glib = "0.15.10"
|
||||
gstreamer = "0.18.7"
|
||||
gstreamer-player = "0.18.0"
|
||||
log = { version = "0.4.14", features = ["std"] }
|
||||
musicus_database = { version = "0.1.0", path = "../database" }
|
||||
musicus_import = { version = "0.1.0", path = "../import" }
|
||||
|
|
@ -16,4 +16,4 @@ thiserror = "1.0.23"
|
|||
tokio = { version = "1.4.0", features = ["sync"] }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
mpris-player = "0.6.0"
|
||||
mpris-player = "0.6.1"
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ impl Player {
|
|||
let uri = glib::filename_to_uri(&path, None)
|
||||
.map_err(|_| Error::Other(format!("Failed to create URI from path: {}", path)))?;
|
||||
|
||||
self.player.set_uri(&uri);
|
||||
self.player.set_uri(Some(&uri));
|
||||
|
||||
if self.is_playing() {
|
||||
self.player.play();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue