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

Echonest and Million Song Dataset - out of synch? #17

Open
slychief opened this issue Mar 5, 2013 · 1 comment
Open

Echonest and Million Song Dataset - out of synch? #17

slychief opened this issue Mar 5, 2013 · 1 comment

Comments

@slychief
Copy link

slychief commented Mar 5, 2013

Hi!

Using your pyechonest library to access your API it frequently happens that song-ids provided by MSD result in empty responses.

s = song.Song('SOMNXCC12AB0187BE7', buckets=['tracks', 'id:7digital-US'])

Traceback (most recent call last):
File "...", line 153, in
s = song.Song('SOMNXCC12AB0187BE7', buckets=['tracks', 'id:7digital-US'])
File "...\pyechonest-7.1.0-py2.7.egg\pyechonest\song.py", line 72, in init
super(Song, self).init(id, buckets, **kwargs)
File "...\pyechonest-7.1.0-py2.7.egg\pyechonest\proxies.py", line 173, in init
kwargs.update(profile.get('songs')[0])
IndexError: list index out of range

  • Does this error indicate that there was no song entity retrieved or is it a bug?
  • This behaviour is similar using the track class. Does a 'list index out of range' always translate to 'no results found'?
@ddesroches
Copy link
Member

slychief,

The SO (song) ids in the MSD are from a prior snapshot of Echo Nest data. We are looking at how best to update this to freshen the data. Sorry I can't be more specific at this time, but we recognize it is an issue.

~David
Lead Audio Engineer
The Echo Nest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants