M
max
hey folks,
coming from java, new to python. i'm trying to port a java app to
python that writes an inputstream to a buffer, then parses the buffer
(specifically, i'm getting ID3 tags from mp3s online). i understand
that this java approach to the task may not apply to python, but i'm
having trouble finding a working approach in python.
i currently have locations of the mp3s in question as strings, which
works for parsing local files, but gives me a "No such file or
directory" error when it tries to process URLs. it seems terribly
inefficient to download each mp3 just to get at that small tag data,
and i assume there's a way to do this with file() or open() or
something, i just can't get it to work.
anyone know how i can fix this? thanks in advance for any help!
best,
max
coming from java, new to python. i'm trying to port a java app to
python that writes an inputstream to a buffer, then parses the buffer
(specifically, i'm getting ID3 tags from mp3s online). i understand
that this java approach to the task may not apply to python, but i'm
having trouble finding a working approach in python.
i currently have locations of the mp3s in question as strings, which
works for parsing local files, but gives me a "No such file or
directory" error when it tries to process URLs. it seems terribly
inefficient to download each mp3 just to get at that small tag data,
and i assume there's a way to do this with file() or open() or
something, i just can't get it to work.
anyone know how i can fix this? thanks in advance for any help!
best,
max