Giter Club home page Giter Club logo

beets-pitchfork's Introduction

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

beets-pitchfork's People

Contributors

fortes avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

beets-pitchfork's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

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.