Mercurial > beefweb_mpris
changeset 1:a5ee18c79a04
license
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 04 Apr 2026 12:34:46 -0400 |
| parents | d60ab8a4442f |
| children | 594c0f9d7972 |
| files | .hgignore src/beefweb.rs src/main.rs src/player.rs |
| diffstat | 4 files changed, 43 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sat Apr 04 12:32:50 2026 -0400 +++ b/.hgignore Sat Apr 04 12:34:46 2026 -0400 @@ -1,2 +1,2 @@ -syntax: regex +syntax: regexp ^target/
--- a/src/beefweb.rs Sat Apr 04 12:32:50 2026 -0400 +++ b/src/beefweb.rs Sat Apr 04 12:34:46 2026 -0400 @@ -1,6 +1,5 @@ /* - * Tiny layer for interfacing with beefweb. Does basically the - * bare minimum, and does not expose the whole API. + * Beefweb <-> mpris "compatibility" layer. * * Copyright (C) 2026 Paper *
--- a/src/main.rs Sat Apr 04 12:32:50 2026 -0400 +++ b/src/main.rs Sat Apr 04 12:34:46 2026 -0400 @@ -1,3 +1,24 @@ +/* + * Tiny layer for interfacing with beefweb. Does basically the + * bare minimum, and does not expose the whole API. + * + * Copyright (C) 2026 Paper + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see + * <https://www.gnu.org/licenses/>. +*/ + mod player; mod beefweb;
--- a/src/player.rs Sat Apr 04 12:32:50 2026 -0400 +++ b/src/player.rs Sat Apr 04 12:34:46 2026 -0400 @@ -1,3 +1,23 @@ +/* + * Beefweb <-> mpris "compatibility" layer. + * + * Copyright (C) 2026 Paper + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see + * <https://www.gnu.org/licenses/>. +*/ + use crate::beefweb; use zbus::fdo;
