import fore.apikeys
import fore.mixer
import fore.database
import pyechonest.track

for file in fore.database.get_many_mp3(status='all'):
	print("Name: {} Length: {}".format(file.filename, file.track_details['length']))
	track.track_from_filename('audio/'+file.filename, force_upload=True)


import fore.apikeys
import fore.mixer
import fore.database
import pyechonest.track

for file in fore.database.get_many_mp3(status='all'):
	print("Name: {} Length: {}".format(file.filename, file.track_details['length']))
	track = track.track_from_filename('audio/'+file.filename, force_upload=True)
	print(track.id)


Print out the new track id.
Print out the new track id.

  import fore.apikeys
  import fore.mixer
  import fore.database
  import pyechonest.track
  
  for file in fore.database.get_many_mp3(status='all'):
  	print("Name: {} Length: {}".format(file.filename, file.track_details['length']))
- 	track.track_from_filename('audio/'+file.filename, force_upload=True)
+ 	track = track.track_from_filename('audio/'+file.filename, force_upload=True)
+ 	print(track.id)
  
  
Print out the new track id.
## Code Before:
import fore.apikeys
import fore.mixer
import fore.database
import pyechonest.track

for file in fore.database.get_many_mp3(status='all'):
	print("Name: {} Length: {}".format(file.filename, file.track_details['length']))
	track.track_from_filename('audio/'+file.filename, force_upload=True)


## Instruction:
Print out the new track id.
## Code After:
import fore.apikeys
import fore.mixer
import fore.database
import pyechonest.track

for file in fore.database.get_many_mp3(status='all'):
	print("Name: {} Length: {}".format(file.filename, file.track_details['length']))
	track = track.track_from_filename('audio/'+file.filename, force_upload=True)
	print(track.id)

