Skip to main content

Pitchfork Plugin for Beets

build status

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 Music
  • pitchfork_description: Review summary
  • pitchfork_score: Numeric score
  • pitchfork_url: Link to the actual review

Changelog

  • 0.0.6: Don't crash on server errors
  • 0.0.5: Upload to pypi as beets-pitchfork
  • 0.0.4: Enable auto-fetching review on import
  • 0.0.3: Add pitchfork_bnm, move back to pitchfork library
  • 0.0.2: Use pitchfork_api dependency
  • 0.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

Release files for beets-pitchfork 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beets-pitchfork 0.0.6
File Size Uploaded
beets-pitchfork-0.0.6.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beets-pitchfork 0.0.6
File Interpreter ABI Platform
beets_pitchfork-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / beets-pitchfork-0.0.6.tar.gz

Download URL beets-pitchfork-0.0.6.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0d21176bae5d1e9a665ccd48a75aa63a8785eb2af7b39c2104a7f76621b11c5a
BLAKE2b-256 checksum
How to use checksums
b25d9381c09c6f7e4076ebdb1547961255ad85205f42d350767611363af299e9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / beets_pitchfork-0.0.6-py3-none-any.whl

Download URL beets_pitchfork-0.0.6-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc8d4cc60ab922b5f21c44a4bd44e6e0cd80c078d19b640c679cad8978902c7e
BLAKE2b-256 checksum
How to use checksums
be698c1a3f1c1172f3128f6a1b8187d8d56716cfe0b0f50373f4ba382c9616de
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page