Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ncspot for openSUSE:Factory checked in at 2023-05-16 14:16:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ncspot (Old) and /work/SRC/openSUSE:Factory/.ncspot.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ncspot" Tue May 16 14:16:25 2023 rev:12 rq:1087287 version:0.13.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ncspot/ncspot.changes 2023-04-15 22:34:24.517974640 +0200 +++ /work/SRC/openSUSE:Factory/.ncspot.new.1533/ncspot.changes 2023-05-16 14:27:23.499730049 +0200 @@ -1,0 +2,22 @@ +Mon May 15 17:47:34 UTC 2023 - Jan-Luca Kiok <[email protected]> + +- Lock vendored dependencies + +------------------------------------------------------------------- +Thu May 11 20:55:38 UTC 2023 - Jan-Luca Kiok <[email protected]> + +- Lock cargo installation + +------------------------------------------------------------------- +Sun May 7 15:56:35 UTC 2023 - Jan-Luca Kiok <[email protected]> + +- Update to version 0.13.2 + Maintenance + * Use notify-rust with zbus instead of dbus and add + ncurses_backend feature flag + * Fix: gracefully handle invalid/not available DBus setups + causing crashes + * Update Nerdfont glyphs + * Dependency updates + +------------------------------------------------------------------- Old: ---- ncspot-0.13.1.tar.gz New: ---- ncspot-0.13.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ncspot.spec ++++++ --- /var/tmp/diff_new_pack.iG62D5/_old 2023-05-16 14:27:24.887737986 +0200 +++ /var/tmp/diff_new_pack.iG62D5/_new 2023-05-16 14:27:24.891738009 +0200 @@ -18,7 +18,7 @@ Name: ncspot -Version: 0.13.1 +Version: 0.13.2 Release: 0 Summary: Ncurses Spotify client License: BSD-2-Clause @@ -52,7 +52,7 @@ cargo build --release --locked %{?_smp_mflags} %install -cargo install --no-track --root=%{buildroot}%{_prefix} --path . +cargo install --locked --no-track --root=%{buildroot}%{_prefix} --path . install -Dm 0644 misc/ncspot.desktop %{buildroot}/%{_datadir}/applications/ncspot.desktop %suse_update_desktop_file ncspot ++++++ _service ++++++ --- /var/tmp/diff_new_pack.iG62D5/_old 2023-05-16 14:27:24.919738169 +0200 +++ /var/tmp/diff_new_pack.iG62D5/_new 2023-05-16 14:27:24.923738192 +0200 @@ -1,6 +1,6 @@ <services> <service name="cargo_vendor" mode="disabled"> - <param name="srcdir">ncspot-0.13.1</param> + <param name="srcdir">ncspot-0.13.2</param> </service> </services> ++++++ ncspot-0.13.1.tar.gz -> ncspot-0.13.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/Cargo.lock new/ncspot-0.13.2/Cargo.lock --- old/ncspot-0.13.1/Cargo.lock 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/Cargo.lock 2023-05-04 23:48:25.000000000 +0200 @@ -74,9 +74,9 @@ [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" dependencies = [ "memchr", ] @@ -114,42 +114,51 @@ [[package]] name = "anstream" -version = "0.2.6" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" +checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" dependencies = [ "anstyle", "anstyle-parse", + "anstyle-query", "anstyle-wincon", - "concolor-override", - "concolor-query", + "colorchoice", "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "0.3.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" +checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" [[package]] name = "anstyle-parse" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" +checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" dependencies = [ "utf8parse", ] [[package]] +name = "anstyle-query" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] name = "anstyle-wincon" -version = "0.2.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" +checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" dependencies = [ "anstyle", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] @@ -163,6 +172,72 @@ ] [[package]] +name = "async-channel" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +dependencies = [ + "concurrent-queue", + "event-listener", + "futures-core", +] + +[[package]] +name = "async-executor" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fa3dc5f2a8564f07759c008b9109dc0d39de92a88d5588b8a5036d286383afb" +dependencies = [ + "async-lock", + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "slab", +] + +[[package]] +name = "async-fs" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +dependencies = [ + "async-lock", + "autocfg", + "blocking", + "futures-lite", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock", + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-lite", + "log", + "parking", + "polling", + "rustix", + "slab", + "socket2", + "waker-fn", +] + +[[package]] +name = "async-lock" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" +dependencies = [ + "event-listener", +] + +[[package]] name = "async-recursion" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -174,6 +249,12 @@ ] [[package]] +name = "async-task" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" + +[[package]] name = "async-trait" version = "0.1.68" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -185,6 +266,12 @@ ] [[package]] +name = "atomic-waker" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" + +[[package]] name = "autocfg" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -268,6 +355,21 @@ ] [[package]] +name = "blocking" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77231a1c8f801696fc0123ec6150ce92cffb8e164a02afb9c8ddee0e9b65ad65" +dependencies = [ + "async-channel", + "async-lock", + "async-task", + "atomic-waker", + "fastrand", + "futures-lite", + "log", +] + +[[package]] name = "bumpalo" version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -360,18 +462,18 @@ [[package]] name = "clap" -version = "4.2.1" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046ae530c528f252094e4a77886ee1374437744b2bff1497aa898bbddbbb29b3" +checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.2.1" +version = "4.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "223163f58c9a40c3b0a43e1c4b50a9ce09f007ea2cb1ec258a687945b4b7929f" +checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" dependencies = [ "anstream", "anstyle", @@ -382,9 +484,9 @@ [[package]] name = "clap_complete" -version = "4.2.0" +version = "4.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c22dcfb410883764b29953103d9ef7bb8fe21b3fa1158bc99986c2067294bd" +checksum = "1a19591b2ab0e3c04b588a0e04ddde7b9eaa423646d1b4a8092879216bf47473" dependencies = [ "clap", ] @@ -438,6 +540,12 @@ ] [[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] name = "combine" version = "4.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -448,18 +556,12 @@ ] [[package]] -name = "concolor-override" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" - -[[package]] -name = "concolor-query" -version = "0.3.3" +name = "concurrent-queue" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" +checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" dependencies = [ - "windows-sys 0.45.0", + "crossbeam-utils", ] [[package]] @@ -620,6 +722,7 @@ "libc", "log", "maplit", + "ncurses", "pancurses", "signal-hook", "term_size", @@ -776,17 +879,6 @@ ] [[package]] -name = "dbus" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" -dependencies = [ - "libc", - "libdbus-sys", - "winapi", -] - -[[package]] name = "derivative" version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1097,6 +1189,21 @@ checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" [[package]] +name = "futures-lite" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite", + "waker-fn", +] + +[[package]] name = "futures-macro" version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1524,18 +1631,9 @@ [[package]] name = "libc" -version = "0.2.141" +version = "0.2.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" - -[[package]] -name = "libdbus-sys" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f8d7ae751e1cb825c840ae5e682f59b098cdfd213c350ac268b61449a5f58a0" -dependencies = [ - "pkg-config", -] +checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" [[package]] name = "libloading" @@ -1872,7 +1970,7 @@ [[package]] name = "ncspot" -version = "0.13.1" +version = "0.13.2" dependencies = [ "chrono", "clap", @@ -2035,10 +2133,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bfa211d18e360f08e36c364308f394b5eb23a6629150690e109a916dc6f610e" dependencies = [ - "dbus", "log", "mac-notification-sys", + "serde", "tauri-winrt-notification", + "zbus", ] [[package]] @@ -2390,6 +2489,12 @@ ] [[package]] +name = "parking" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" + +[[package]] name = "parking_lot" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2521,6 +2626,22 @@ ] [[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg", + "bitflags", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite", + "windows-sys 0.48.0", +] + +[[package]] name = "portaudio-rs" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2699,9 +2820,9 @@ [[package]] name = "regex" -version = "1.7.3" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d" +checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" dependencies = [ "aho-corasick", "memchr", @@ -2710,15 +2831,15 @@ [[package]] name = "regex-syntax" -version = "0.6.29" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" [[package]] name = "reqwest" -version = "0.11.16" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b71749df584b7f4cac2c426c127a7c785a5106cc98f7a8feb044115f0fa254" +checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" dependencies = [ "base64 0.21.0", "bytes", @@ -3386,9 +3507,9 @@ [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" dependencies = [ "autocfg", "bytes", @@ -3400,14 +3521,14 @@ "socket2", "tokio-macros", "tracing", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", @@ -3426,9 +3547,9 @@ [[package]] name = "tokio-stream" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fb52b74f05dbf495a8fba459fdc331812b96aa086d9eb78101fa0d4569c3313" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", "pin-project-lite", @@ -3438,9 +3559,9 @@ [[package]] name = "tokio-util" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" +checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" dependencies = [ "bytes", "futures-core", @@ -3666,6 +3787,12 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] +name = "waker-fn" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" + +[[package]] name = "walkdir" version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -4174,7 +4301,12 @@ checksum = "3dc29e76f558b2cb94190e8605ecfe77dd40f5df8c072951714b4b71a97f5848" dependencies = [ "async-broadcast", + "async-executor", + "async-fs", + "async-io", + "async-lock", "async-recursion", + "async-task", "async-trait", "byteorder", "derivative", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/Cargo.toml new/ncspot-0.13.2/Cargo.toml --- old/ncspot-0.13.1/Cargo.toml 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/Cargo.toml 2023-05-04 23:48:25.000000000 +0200 @@ -8,7 +8,7 @@ name = "ncspot" readme = "README.md" repository = "https://github.com/hrkfdn/ncspot" -version = "0.13.1" +version = "0.13.2" [badges] maintenance = {status = "actively-developed"} @@ -21,7 +21,7 @@ [dependencies] chrono = "0.4" -clap = "4.1.7" +clap = "4.2.7" clipboard = {version = "0.5", optional = true} crossbeam-channel = "0.5" zbus = {version = "3.11.1", default-features = false, features = ["tokio"], optional = true} @@ -29,7 +29,7 @@ futures = "0.3" ioctl-rs = {version = "0.2", optional = true} lazy_static = "1.3.0" -libc = "0.2.131" +libc = "0.2.142" librespot-core = "0.4.2" librespot-playback = "0.4.2" librespot-protocol = "0.4.2" @@ -46,8 +46,8 @@ strum = "0.24.1" strum_macros = "0.24.3" tokio = {version = "1", features = ["rt-multi-thread", "sync", "time", "net"]} -tokio-util = {version = "0.7.4", features = ["codec"]} -tokio-stream = {version = "0.1.11", features = ["sync"]} +tokio-util = {version = "0.7.8", features = ["codec"]} +tokio-stream = {version = "0.1.14", features = ["sync"]} toml = "0.7" unicode-width = "0.1.9" url = "2.2" @@ -71,8 +71,8 @@ [dependencies.notify-rust] default-features = false version = "4" -# Use dbus, which we already depend on, instead of zbus. -features = ["d"] +# Use zbus, which we already depend on, instead of dbus. +features = ["z"] optional = true [features] @@ -80,6 +80,7 @@ cover = ["ioctl-rs"] # Support displaying the album cover default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "termion_backend"] mpris = ["zbus"] # Allow ncspot to be controlled via MPRIS API +ncurses_backend = ["cursive/ncurses-backend"] notify = ["notify-rust"] # Show what's playing via a notification pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"] portaudio_backend = ["librespot-playback/portaudio-backend"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/main.rs new/ncspot-0.13.2/src/main.rs --- old/ncspot-0.13.1/src/main.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/main.rs 2023-05-04 23:48:25.000000000 +0200 @@ -365,7 +365,7 @@ spotify.update_status(state.clone()); #[cfg(feature = "mpris")] - mpris_manager.update()?; + mpris_manager.update(); #[cfg(unix)] ipc.publish(&state, queue.get_current()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/album.rs new/ncspot-0.13.2/src/model/album.rs --- old/ncspot-0.13.1/src/model/album.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/album.rs 2023-05-04 23:48:25.000000000 +0200 @@ -176,7 +176,7 @@ fn display_right(&self, library: &Library) -> String { let saved = if library.is_saved_album(self) { if library.cfg.values().use_nerdfont.unwrap_or(false) { - "\u{f62b} " + "\u{f012c} " } else { "â " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/artist.rs new/ncspot-0.13.2/src/model/artist.rs --- old/ncspot-0.13.1/src/model/artist.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/artist.rs 2023-05-04 23:48:25.000000000 +0200 @@ -101,7 +101,7 @@ fn display_right(&self, library: &Library) -> String { let followed = if library.is_followed_artist(self) { if library.cfg.values().use_nerdfont.unwrap_or(false) { - "\u{f62b} " + "\u{f012c} " } else { "â " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/playable.rs new/ncspot-0.13.2/src/model/playable.rs --- old/ncspot-0.13.1/src/model/playable.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/playable.rs 2023-05-04 23:48:25.000000000 +0200 @@ -58,7 +58,7 @@ Playable::Track(track) => Playable::Track(track), }) { if library.cfg.values().use_nerdfont.unwrap_or_default() { - "\u{f62b}" + "\u{f012c}" } else { "â" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/playlist.rs new/ncspot-0.13.2/src/model/playlist.rs --- old/ncspot-0.13.1/src/model/playlist.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/playlist.rs 2023-05-04 23:48:25.000000000 +0200 @@ -197,7 +197,7 @@ fn display_right(&self, library: &Library) -> String { let saved = if library.is_saved_playlist(self) { if library.cfg.values().use_nerdfont.unwrap_or(false) { - "\u{f62b} " + "\u{f012c} " } else { "â " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/show.rs new/ncspot-0.13.2/src/model/show.rs --- old/ncspot-0.13.1/src/model/show.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/show.rs 2023-05-04 23:48:25.000000000 +0200 @@ -83,7 +83,7 @@ fn display_right(&self, library: &Library) -> String { let saved = if library.is_saved_show(self) { if library.cfg.values().use_nerdfont.unwrap_or(false) { - "\u{f62b} " + "\u{f012c} " } else { "â " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/model/track.rs new/ncspot-0.13.2/src/model/track.rs --- old/ncspot-0.13.1/src/model/track.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/model/track.rs 2023-05-04 23:48:25.000000000 +0200 @@ -227,7 +227,7 @@ } else { let saved = if library.is_saved_track(&Playable::Track(self.clone())) { if library.cfg.values().use_nerdfont.unwrap_or(false) { - "\u{f62b}" + "\u{f012c}" } else { "â" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/mpris.rs new/ncspot-0.13.2/src/mpris.rs --- old/ncspot-0.13.1/src/mpris.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/mpris.rs 2023-05-04 23:48:25.000000000 +0200 @@ -484,7 +484,12 @@ let (tx, rx) = mpsc::unbounded_channel::<()>(); - ASYNC_RUNTIME.spawn(Self::serve(UnboundedReceiverStream::new(rx), root, player)); + ASYNC_RUNTIME.spawn(async { + let result = Self::serve(UnboundedReceiverStream::new(rx), root, player).await; + if let Err(e) = result { + log::error!("MPRIS error: {e}"); + } + }); MprisManager { tx } } @@ -518,7 +523,9 @@ } } - pub fn update(&self) -> Result<(), String> { - self.tx.send(()).map_err(|e| e.to_string()) + pub fn update(&self) { + if let Err(e) = self.tx.send(()) { + log::warn!("Could not update MPRIS state: {e}"); + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/src/ui/statusbar.rs new/ncspot-0.13.2/src/ui/statusbar.rs --- old/ncspot-0.13.1/src/ui/statusbar.rs 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/src/ui/statusbar.rs 2023-05-04 23:48:25.000000000 +0200 @@ -125,7 +125,7 @@ let updating = if !*self.library.is_done.read().unwrap() { if self.use_nerdfont() { - "\u{f9e5} " + "\u{f04e6} " } else { "[U] " } @@ -136,8 +136,8 @@ let repeat = if self.use_nerdfont() { match self.queue.get_repeat() { RepeatSetting::None => "", - RepeatSetting::RepeatPlaylist => "\u{f955} ", - RepeatSetting::RepeatTrack => "\u{f957} ", + RepeatSetting::RepeatPlaylist => "\u{f0456} ", + RepeatSetting::RepeatTrack => "\u{f0458} ", } } else { match self.queue.get_repeat() { @@ -149,7 +149,7 @@ let shuffle = if self.queue.get_shuffle() { if self.use_nerdfont() { - "\u{f99c} " + "\u{f049d} " } else { "[Z] " } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ncspot-0.13.1/xtask/Cargo.toml new/ncspot-0.13.2/xtask/Cargo.toml --- old/ncspot-0.13.1/xtask/Cargo.toml 2023-04-05 13:36:57.000000000 +0200 +++ new/ncspot-0.13.2/xtask/Cargo.toml 2023-05-04 23:48:25.000000000 +0200 @@ -7,8 +7,8 @@ [dependencies] clap_mangen = "0.2.8" -clap_complete = "4.1.4" -clap = "4.1.6" +clap_complete = "4.2.1" +clap = "4.2.7" [dependencies.ncspot] default-features = false ++++++ vendor.tar.zst ++++++ Binary files /var/tmp/diff_new_pack.iG62D5/_old and /var/tmp/diff_new_pack.iG62D5/_new differ
