new_track_data.py File Reference

Go to the source code of this file.

Namespaces

 new_track_data
 

Functions

def new_track_data.url_call (url)
 
def new_track_data.get_trackid_from_text_search (title, artistname='')
 
def new_track_data.get_preview_from_trackid (trackid)
 
def new_track_data.download_file (file_url, file_name)
 

Variables

 new_track_data.ECHO_NEST_API_KEY
 
string new_track_data.DIGITAL7_API_KEY = '7dbpa63h3y3d'
 
string new_track_data.API_KEY = "bd1cb09de31188b43aa46f39b8e40614"
 
string new_track_data.API_SECRET = "d2537b0ce8bc859a6068833c5e2a72a7"
 
string new_track_data.username = "QMYading"
 
 new_track_data.password_hash = pylast.md5("123456")
 
 new_track_data.network
 
list new_track_data.tag_classification = ["wake me up"]
 
 new_track_data.track = network.track
 
 new_track_data.tags = network.search_for_tag(tags_name)
 
 new_track_data.tags_search = tags.get_next_page()
 
string new_track_data.tag_file_name = tags_name+"_tags_results.txt"
 
 new_track_data.tag_data = open(tag_file_name, 'wb')
 
 new_track_data.tag_object = network.get_tag(each_letter)
 
 new_track_data.tracks_results = tag_object.get_top_tracks()
 
string new_track_data.track_file_name = str(each_letter)+"_results.txt"
 
 new_track_data.tag_track_file = open(track_file_name,'wb')
 
string new_track_data.artist_file_name = str(each_letter)+"_artist.txt"
 
string new_track_data.title_file_name = str(each_letter)+"_title.txt"
 
 new_track_data.newdata = open(track_file_name)
 
 new_track_data.artist_data = open(artist_file_name,'wb')
 
 new_track_data.title_data = open(title_file_name,'wb')
 
 new_track_data.artist
 
 new_track_data.title = title.strip()
 
 new_track_data.tracktitle
 
 new_track_data.trackid
 
 new_track_data.audio_url = get_preview_from_trackid(trackid)
 
string new_track_data.file_name = tracktitle+u'.wav'
 
string new_track_data.path_name = './'
 
 new_track_data.mp3 = download_file(audio_url, path_name)
 
string new_track_data.parent_path = '../'