https://github.com/edsu/aotycmp
hack to see what well reviewed albums-of-the-year are available on Spotify and Rdio
https://github.com/edsu/aotycmp
Last synced: about 1 year ago
JSON representation
hack to see what well reviewed albums-of-the-year are available on Spotify and Rdio
- Host: GitHub
- URL: https://github.com/edsu/aotycmp
- Owner: edsu
- Created: 2011-08-06T17:42:02.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-04-04T17:18:09.000Z (about 13 years ago)
- Last Synced: 2024-10-12T13:16:47.885Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 6.29 MB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
aotycmp
=======
aotycmp is a hack to see what albums on Alf Eaton's `Albums of the Year (AOTY) `_ list of lists can be streamed from `Spotify `_ and `Rdio `_.
If you just want to see the current results take a look at the line-oriented
aoty.json file.
The steps for reproducing the results can be done using the following steps:
pip install -r requirements.pip
cp config.py.orig config.py
# add rdio keys to config.py
./aoty.py | ./compare.py > aoty.json
If you would like to add LastFM information to the json you will need to get
an LastFM access key and add it to your config.py, then:
cat aoty.json | ./lastfm.py > aoty-lastfm.json
Maybe I should have dumped the crawled data into CouchDB instead of chaining
JSON dumps together like this. Could be more fun right? It would make it
easier to not repeat spotify and rdio API lookups.
If you have your own list of albums, and you want to see if they are available
on spotify and rdio, you should be able to format your list like
aoty_dedupe.json and point aoty_cmp.py at it.
Alf says, it might be easier to scrape the content using this URL in the future:
http://apps.hubmed.org/aoty/?_start=0&_limit=1000&_format=xml