Pitchfork rating plugin for beets
Project description
Pitchfork Plugin for Beets
Plugin for Beets that adds ratings from Pitchfork.
Installation
pip install beets-pitchfork
To install bleeding edge instead, use:
pip install git+git://github.com/fortes/beets-pitchfork.git@master
Configuration
Make sure to add pitchfork
to your plugins
setting in config.yaml
. In the unlikely event you don't have any other plugins, just add a new line like:
plugins: pitchfork
If you'd like to automatically fetch reviews on import, add the following (default is False
):
pitchfork:
auto: true
Use
Fetch album ratings via:
beet pitchfork [options] [QUERY...]
-f
/--force
: Force updating even if review already exists
Use pitchfork_score
in your queries. You can find this year's highly rated albums in your library like so:
beet ls -a pitchfork_score:8..10 year:2018
The following fields are available via this plugin:
pitchfork_bnm
: Whether the album was designated Best New Musicpitchfork_description
: Review summarypitchfork_score
: Numeric scorepitchfork_url
: Link to the actual review
Changelog
0.0.6
: Don't crash on server errors0.0.5
: Upload to pypi asbeets-pitchfork
0.0.4
: Enable auto-fetching review on import0.0.3
: Addpitchfork_bnm
, move back topitchfork
library0.0.2
: Usepitchfork_api
dependency0.0.1
: First release
Possible future work
- Allow manual specification for artist / album query in order to alleviate failures
- Consider some method of re-trying search if no result found
- Use pre-scraped database to avoid spamming Pitchfork servers
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file beets-pitchfork-0.0.6.tar.gz
.
File metadata
- Download URL: beets-pitchfork-0.0.6.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d21176bae5d1e9a665ccd48a75aa63a8785eb2af7b39c2104a7f76621b11c5a |
|
MD5 | 3fecd129cd358386736afd9c93c23c41 |
|
BLAKE2b-256 | b25d9381c09c6f7e4076ebdb1547961255ad85205f42d350767611363af299e9 |
File details
Details for the file beets_pitchfork-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: beets_pitchfork-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8d4cc60ab922b5f21c44a4bd44e6e0cd80c078d19b640c679cad8978902c7e |
|
MD5 | 509c93c078c9e89ad3a4d3b92f4605bc |
|
BLAKE2b-256 | be698c1a3f1c1172f3128f6a1b8187d8d56716cfe0b0f50373f4ba382c9616de |