mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
player: Implement playback
This commit is contained in:
parent
9489aaf2ee
commit
c378305465
6 changed files with 335 additions and 31 deletions
|
|
@ -18,10 +18,12 @@ use self::{application::MusicusApplication, window::MusicusWindow};
|
|||
|
||||
use config::{GETTEXT_PACKAGE, LOCALEDIR, PKGDATADIR};
|
||||
use gettextrs::{bind_textdomain_codeset, bindtextdomain, textdomain};
|
||||
use gstreamer_player::gst;
|
||||
use gtk::{gio, glib, prelude::*};
|
||||
|
||||
fn main() -> glib::ExitCode {
|
||||
tracing_subscriber::fmt::init();
|
||||
gst::init().expect("Failed to initialize GStreamer!");
|
||||
|
||||
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR).expect("Unable to bind the text domain");
|
||||
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue