Created
June 21, 2012 18:11
-
-
Save roc/2967490 to your computer and use it in GitHub Desktop.
Artist Song Dick Docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Artist Song Dick Docs | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if group: | |
artist_songs['artist_id'] = delist(group[0]['docs'].get('s_artistID')) | |
artist_songs['artist_id']['count'] = group['count'] | |
artist_songs['artist_id']['start'] = group['start'] | |
song_list = [] | |
for doc in group['docs']: | |
#artist_id = doc['s_artistID'][0] | |
#artist_id = delist(doc['s_artistID']) | |
thingID = doc['thingID'] | |
song_id_doc_map[thingID] = doc | |
just_fetched[artist_id] += [thingID] | |
song_list += doc | |
artist_songs['artist_id'] = song_list | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment