1
This commit is contained in:
parent
371c966be8
commit
75ad107517
4 changed files with 8 additions and 8 deletions
|
@ -16,8 +16,8 @@ pub use playbin_song::Song as PlaybinSong;
|
||||||
|
|
||||||
pub mod subsonic;
|
pub mod subsonic;
|
||||||
|
|
||||||
pub mod playbin2;
|
pub mod playbin;
|
||||||
pub type Playbin = playbin2::Playbin<PlaybinSong>;
|
pub type Playbin = playbin::Playbin<PlaybinSong>;
|
||||||
|
|
||||||
mod signal;
|
mod signal;
|
||||||
pub use signal::{Signal, SignalEmitter, SignalHandler};
|
pub use signal::{Signal, SignalEmitter, SignalHandler};
|
||||||
|
|
|
@ -98,3 +98,9 @@ impl Song {
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl crate::playbin::PlaybinEntry for Song {
|
||||||
|
fn url(&self) -> url::Url {
|
||||||
|
self.stream_url()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -7,12 +7,6 @@ mod imp {
|
||||||
use std::cell::{Cell, RefCell};
|
use std::cell::{Cell, RefCell};
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
impl crate::playbin2::PlaybinEntry for PlaybinSong {
|
|
||||||
fn url(&self) -> url::Url {
|
|
||||||
self.stream_url()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(gtk::CompositeTemplate, glib::Properties, Default)]
|
#[derive(gtk::CompositeTemplate, glib::Properties, Default)]
|
||||||
#[template(resource = "/eu/callcc/audrey/window.ui")]
|
#[template(resource = "/eu/callcc/audrey/window.ui")]
|
||||||
#[properties(wrapper_type = super::Window)]
|
#[properties(wrapper_type = super::Window)]
|
||||||
|
|
Loading…
Reference in a new issue