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

Upload timeouts (how to avoid)

$
0
0

Ah. Lightbulb moment, maybe. We just need to replace the "track" in the EchoNest database with a new entry!

import pyechonest.track

for filename in troublesome_files:

    track.track_from_filename('audio/'+file.filename, force_upload=True)

Tracks will have new id's representing non-PENDING database entries.


Viewing all articles
Browse latest Browse all 1582

Trending Articles