bum: fix for python3-mpd2 v3
This commit is contained in:
parent
efdf3c1332
commit
bc9abe5420
|
@ -0,0 +1,17 @@
|
|||
based on https://github.com/dylanaraps/bum/pull/24
|
||||
--- a/bum/__main__.py
|
||||
+++ b/bum/__main__.py
|
||||
@@ -62,11 +62,8 @@ def main():
|
||||
while True:
|
||||
song.get_art(args.cache_dir, args.size, client)
|
||||
display.launch(disp, args.cache_dir / "current.jpg")
|
||||
- client.send_idle()
|
||||
-
|
||||
- if client.fetch_idle(["player"]):
|
||||
- print("album: Received player event from mpd. Swapping cover art.")
|
||||
- continue
|
||||
+ client.idle("player")
|
||||
+ print("album: Received player event from mpd. Swapping cover art.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'bum'
|
||||
pkgname=bum
|
||||
version=0.1.3
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=python3-module
|
||||
pycompile_module="bum"
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-mpd2 python3-musicbrainzngs python3-mpv"
|
||||
depends="python3-mpd2 python3-musicbrainzngs python3-mpv"
|
||||
short_desc="Daemon that downloads and displays album arts via MPD events"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/dylanaraps/bum"
|
||||
distfiles="https://github.com/dylanaraps/bum/archive/${version}.tar.gz"
|
||||
checksum=512b64d2fbd0d96b1c242f5e2b916c126671bd16dfbb5c71d164a39b5ebeeebe
|
||||
make_check=no # no tests, but check fails with a non-zero exit code
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
|
|
Loading…
Reference in New Issue