Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify fails to get song info #4619

Closed
UtkarshVerma opened this issue Jan 3, 2023 · 5 comments
Closed

Spotify fails to get song info #4619

UtkarshVerma opened this issue Jan 3, 2023 · 5 comments
Labels
needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature."

Comments

@UtkarshVerma
Copy link

Problem

Running this command in verbose (-vv) mode:

$ beet -vv spotify "in the lonely hour"
user configuration: /home/subaru/.config/beets/config.yaml
data directory: /home/subaru/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/subaru/.cache/beets/library.db
library directory: /home/subaru/musics
Sending event: library_opened
spotify: Your beets query returned no items, skipping Spotify.
spotify: No Spotify tracks found from beets query
Sending event: cli_exit

Led to this problem:
Spotify search fails for me.

Setup

  • OS: Arch Linux
  • Python version: v3.10.9
  • beets version: git master (1.6.1)
  • Turning off plugins made problem go away (yes/no): no

My configuration (output of beet config) is:

include:
  - secrets.yaml  # has my OAuth credentials

plugins:
  - discogs
  - spotify
  - fromfilename
  - fetchart
  - embedart
  - lyrics
  - lastgenre
  - mpdstats
  - duplicates
  - scrub
directory: ~/musics
library: ~/.cache/beets/library.db

discogs:
  source_weight: 0.0

fromfilename:
  source_weight: 0.0

lyrics:
  sources:
    - lyricwiki
    - lyrics.com
    - musixmatch

musicbrainz:
  enabled: no

import:
  move: yes
@jackwilsdon
Copy link
Member

Do you have "in the lonely hour" in your library? It seems like beets couldn't find it. Try running beet ls "in the lonely hour" and see if you get any output.

@jackwilsdon jackwilsdon added the needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." label Jan 3, 2023
@UtkarshVerma
Copy link
Author

Okay, I seem to have misunderstood the functionality. Could you please let me know how I can do the following?

Please let me know how I should approach this. Thanks

@sampsyo
Copy link
Member

sampsyo commented Jan 6, 2023

Could you perhaps file a bug with full details (including a verbose log) showing the import where you can't match that song?

@UtkarshVerma
Copy link
Author

It works fine. The docs were not clear about it. I thought "beet spotify " would search using Spotify API about the song. However, it simply returns the Spotify URL of songs in the library.

@jackwilsdon
Copy link
Member

jackwilsdon commented Jan 9, 2023

You can use beet spotifysync to sync metadata, but it seems like that might only sync popularity and audio features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature."
Projects
None yet
Development

No branches or pull requests

3 participants