Permalink
Browse files

removed obselete stuff

  • Loading branch information...
1 parent c2388f7 commit a63009b1688625b083ccc762bdb07cfeeed417c5 @edsu committed Apr 3, 2013
Showing with 5,646 additions and 133,684 deletions.
  1. +5,638 −26,498 aoty.json
  2. +0 −5,639 aoty_cmp.csv
  3. +0 −73,296 aoty_cmp.json
  4. +0 −24 aoty_csv.py
  5. +0 −28,192 aoty_dedupe.json
  6. +0 −31 dedupe.py
  7. +1 −1 test.py
  8. +7 −3 totals.py
View
View
View
View
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# potentially useful for dumping the data for a spreadsheet
-
-import csv
-import json
-
-writer = csv.writer(open('aoty_cmp.csv', 'w'))
-writer.writerow(["Artist", "Album", "Listed", "Spotify URL",
- "Spotify Streamable", "Rdio URL", "Rdio Streamable"])
-
-for a in json.loads(open('aoty_cmp.json').read()):
- if not a.has_key('spotify') or not a.has_key('rdio'):
- continue
- row = [a['artist'].encode('utf-8'),
- a['album'].encode('utf-8'),
- a['listed'],
- a['spotify']['url'],
- a['spotify']['can_stream'],
- a['rdio']['url'],
- a['rdio']['can_stream']]
- writer.writerow(row)
-
-
Oops, something went wrong. Retry.

0 comments on commit a63009b

Please sign in to comment.