abba23 / beets-popularity Goto Github PK
View Code? Open in Web Editor NEWBeets plugin to fetch and store popularity values as flexible item attributes
License: MIT License
Beets plugin to fetch and store popularity values as flexible item attributes
License: MIT License
I recently tried to install beets-popularity with the command:
pip3 install beets-popularity
which gave me some "bdist_wheel" errrors, but ran through and and at the end it said:
Successfully installed beets-popularity [...]
I then uninstalled the package and some dependencies with pip-autoremoveautoremove beets-popularity
which uninstalled the following:
munkres 1.0.12
jellyfish 0.5.6
PyYAML 3.12
musicbrainzngs 0.6
I then uninstalled all the other dependencies except beets itself
Then I installed the python wheel package with pip3 install wheel
which was obviously missing (see bdist_wheel error above)
After that the installation of beets-popularity went through well but I could not execute
beet popularity
because it says
error: unknown command 'popularity'
Installing it via the python3 setup.py install
command goes through without error too...
What am I doing wrong?
Note: I am a noob about python and pip...
Until an authorization procedure is added, all API requests will fail and print "popularity: Bad status code in response from Spotify API".
When an item is imported as a singleton beets-popularity won't be able to retrieve the popularity because it searches the api also with the album tag. And since the album tag of singletons is null or takes the value from what was it before (for me it's the value "Singles") it won't find anything on Deezer.
Could you please remove the album variable when searching for popularity for a singleton?
Or even better:
you could add a switch (maybe configurable in the beets config.yaml) that decides whether to
I installed this on a Mint18 box and it will not work. I also tried on a ubuntu server and got the same errors.
beets version 1.4.5
Python version 3.5.2
plugins: acousticbrainz, chroma, convert, discogs, embedart, fetchart, follow, ftintitle, inline, lastgenre, popularity, replaygain, rewrite, scrub
ERROR:
Traceback (most recent call last):
File "/usr/local/bin/beet", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/beets/ui/init.py", line 1256, in main
_raw_main(args)
File "/usr/local/lib/python3.5/dist-packages/beets/ui/init.py", line 1243, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/local/lib/python3.5/dist-packages/beetsplug/popularity.py", line 43, in _command
self._set_popularity(item, opts.nowrite)
File "/usr/local/lib/python3.5/dist-packages/beetsplug/popularity.py", line 62, in _set_popularity
response_json = json.loads(response.content)
File "/usr/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
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.