Coder Social home page Coder Social logo

beets-mpd-utils's Introduction

My Projects

Software

πŸ•Έ: web πŸ¦€: Rust 🐍: Python

  • πŸ•ΈπŸ¦€Solar-Time Machine: A web app to tell time using the location of the sun (🚧 under construction)
  • 🐍beets-mpd-utils: Beets plugins to interface with MPD
  • πŸ¦€rust_slvs: Rust wrapper for SolveSpace's geometric constraint solver library
  • πŸ•ΈπŸ¦€Syzygy: A constraint-based vector graphics editor (🚧 under construction)
  • πŸ•ΈOver Yonder: A geography game, powered by React and D3.js
  • πŸ•ΈSpeed Snek: A game, written in TypeScript

Hardware

Other

beets-mpd-utils's People

Contributors

thekakkun avatar

Stargazers

 avatar

Watchers

 avatar  avatar

beets-mpd-utils's Issues

Crashing

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.

Rating in tracker plugin?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.