Skip to content

Instantly share code, notes, and snippets.

@roc
Created June 21, 2012 18:11
Show Gist options
  • Save roc/2967490 to your computer and use it in GitHub Desktop.
Save roc/2967490 to your computer and use it in GitHub Desktop.
Artist Song Dick Docs
/**
* Artist Song Dick Docs
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
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
{"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