use official client ID/secret, remove usage from docs

This commit is contained in:
Rahul Ahuja 2019-01-21 08:32:57 -08:00
parent cb8b0874d4
commit b50e148bec
2 changed files with 4 additions and 17 deletions

View file

@ -38,8 +38,8 @@ class SpotifyPlugin(BeetsPlugin):
'track_field': 'title',
'region_filter': None,
'regex': [],
'client_id': 'N3dliiOOTBEEFqCH5NDDUmF5Eo8bl7AN',
'client_secret': '6DRS7k66h4643yQEbepPxOuxeVW0yZpk',
'client_id': '4e414367a1d14c75a5c5129a627fcab8',
'client_secret': 'f82bdc09b2254f1a8286815d02fd46dc',
'tokenfile': 'spotify_token.json',
'source_weight': 0.5,
}

View file

@ -22,19 +22,8 @@ Why Use This Plugin?
Basic Usage
-----------
First, register a `Spotify application`_ to use with beets and add your Client ID
and Client Secret to your :doc:`configuration file </reference/config>` under a
``spotify`` section::
spotify:
client_id: N3dliiOOTBEEFqCH5NDDUmF5Eo8bl7AN
client_secret: 6DRS7k66h4643yQEbepPxOuxeVW0yZpk
.. _Spotify application: https://developer.spotify.com/documentation/general/guides/app-settings/
Then, enable the ``spotify`` plugin (see :ref:`using-plugins`) and use the ``spotify``
command with a beets query::
First, enable the ``spotify`` plugin (see :ref:`using-plugins`).
Then, use the ``spotify`` command with a beets query::
beet spotify [OPTIONS...] QUERY
@ -97,8 +86,6 @@ in config.yaml under the ``spotify:`` section:
Here's an example::
spotify:
client_id: N3dliiOOTBEEFqCH5NDDUmF5Eo8bl7AN
client_secret: 6DRS7k66h4643yQEbepPxOuxeVW0yZpk
source_weight: 0.7
mode: open
region_filter: US