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

song.get_tracks always returns empty list #16

Open
slychief opened this issue Mar 3, 2013 · 2 comments
Open

song.get_tracks always returns empty list #16

slychief opened this issue Mar 3, 2013 · 2 comments

Comments

@slychief
Copy link

slychief commented Mar 3, 2013

Hi!

I tried with various settings but always receive the same empty result.

ss_results = song.search(artist='radiohead', title='karma police', buckets=['id:7digital', 'tracks'])
slow_show = ss_results[0]
ss_tracks = slow_show.get_tracks('7digital')
print ss_tracks

[]

Also using direct access with song-id does not work. Either the data is not sent by the server or the data is not parsed by the pyechonet library.

Alex

@ddesroches
Copy link
Member

There is no "7digital" id space anymore. Use "7digital-US" for tracks in the US region. There are also "UK" and "AU" regions. e.g. The Pyechonest call equates to this URL:

http://developer.echonest.com/api/v4/song/search?api_key=FILDTEOIK2HBORODV&artist=radiohead&title=karma%20police&bucket=id:7digital-US&bucket=tracks

@slychief
Copy link
Author

slychief commented Mar 5, 2013

Thanks, this works!

How does the new partitioning of the 7digital space relate to the 7digital-ids provided in the Million Song Dataset?

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