mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 06:53:27 +01:00
Use beets API key for lastimport plugin.
This commit is contained in:
parent
19a5d8c45f
commit
0f155ce3b9
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ def fetch_tracks(user, page, limit):
|
|||
}
|
||||
]
|
||||
"""
|
||||
network = pylast.LastFMNetwork(api_key=config['lastfm']['api_key'])
|
||||
network = pylast.LastFMNetwork(api_key=plugins.LASTFM_KEY)
|
||||
user_obj = CustomUser(user, network)
|
||||
results, total_pages =\
|
||||
user_obj.get_top_tracks_by_page(limit=limit, page=page)
|
||||
|
|
|
|||
Loading…
Reference in a new issue