thekakkun / beets-mpd-utils Goto Github PK
View Code? Open in Web Editor NEWBeets plugins for interfacing with MPD
License: MIT License
Beets plugins for interfacing with MPD
License: MIT License
Hi, thanks for sharing this. It's a very useful extension.
I am having trouble getting it to work :/
I followed the install instructions, i.e, beets is on version 1.6.1
, python on 3.11.5
, running on archlinux.
Traceback (most recent call last):
File "/home/clu/.python/bin/beet", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/clu/.python/lib/python3.11/site-packages/beets/ui/__init__.py", line 1782, in main
_raw_main(args)
File "/home/clu/.python/lib/python3.11/site-packages/beets/ui/__init__.py", line 1769, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/home/clu/.python/lib/python3.11/site-packages/beetsplug/mpd_tracker.py", line 56, in _func
asyncio.run(self.run(lib))
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/clu/.python/lib/python3.11/site-packages/beetsplug/mpd_tracker.py", line 77, in run
self.set_skipped(lib, song)
File "/home/clu/.python/lib/python3.11/site-packages/beetsplug/mpd_tracker.py", line 121, in set_skipped
item["skip_count"] = item.get("skip_count", 0) + 1
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
Exception ignored in: <function StreamWriter.__del__ at 0x7fd184cc1620>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/streams.py", line 396, in __del__
File "/usr/lib/python3.11/asyncio/streams.py", line 344, in close
File "/usr/lib/python3.11/asyncio/selector_events.py", line 860, in close
File "/usr/lib/python3.11/asyncio/base_events.py", line 761, in call_soon
File "/usr/lib/python3.11/asyncio/base_events.py", line 519, in _check_closed
RuntimeError: Event loop is closed
If you have any ideas I am all ears! Thanks for your time.
Hi,
Would you be open to adding a rating
key to the tracker plugin, like the mpdstats plugin does? mpdstats bases the rating off of play_count and skip_count. That's a useful attribute to have, imo.
I would use mpdstats, but I much prefer how your plugin allows for configuring play_count and skip_count.
Just an idea!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.