Quantcast
Channel: The Echo Nest Developer Forum
Viewing all articles
Browse latest Browse all 1582

Upload timeouts (how to avoid)

$
0
0

Hi,

I often get timeout errors because it can take more than 60 seconds to upload a track. This is from the python line:

song = track.track_from_filename(song_path)

(this is using pychonest's track)

How can I avoid these timeouts and let it run for however long necessary? I am looping over several songs to get the attributes of each of them.

Do you suggest using:

song = echonest.remix.audio.LocalAudioFile(song_path)

instead? Although I believe they are the same...

Thanks


Viewing all articles
Browse latest Browse all 1582

Trending Articles