blob: 0138ea29d94ee245224a4448453fbfbfac41b154 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* This file is a part of RSPlayer
* Licensed under the GPL-3.0 License
* Copyright (C) 2026 Salmonik @ salmonik@tuta.io
* https://codeberg.org/salmonik/RSPlayer
*/
mod audio;
mod cli;
mod config;
mod ctl;
mod daemon;
mod database;
mod mpris;
mod notification;
mod playback;
mod queue;
mod scrobbler;
mod state;
use clap::Parser;
use cli::Cli;
pub use rsp::debug_eprintln;
fn main() {
let cli = Cli::parse();
if let Err(e) = cli.run() {
eprintln!("Error: {}", e);
std::process::exit(1);
}
}
|