Re: no inputstream?

2008-05-16 Thread max
On May 15, 10:31 pm, castironpi <[EMAIL PROTECTED]> wrote: > On May 15, 6:49 pm, castironpi <[EMAIL PROTECTED]> wrote: > > > > > On May 15, 6:42 pm, John Krukoff <[EMAIL PROTECTED]> wrote: > > > > On Thu, 2008-05-15 at 17:32 -0600, John Krukoff wrote: > > > > On Thu, 2008-05-15 at 17:11 -0600, John

Re: no inputstream?

2008-05-15 Thread castironpi
On May 15, 6:49 pm, castironpi <[EMAIL PROTECTED]> wrote: > On May 15, 6:42 pm, John Krukoff <[EMAIL PROTECTED]> wrote: > > > > > > > On Thu, 2008-05-15 at 17:32 -0600, John Krukoff wrote: > > > On Thu, 2008-05-15 at 17:11 -0600, John Krukoff wrote: > > > > On Thu, 2008-05-15 at 15:35 -0700, max wr

Re: no inputstream?

2008-05-15 Thread castironpi
On May 15, 6:42 pm, John Krukoff <[EMAIL PROTECTED]> wrote: > On Thu, 2008-05-15 at 17:32 -0600, John Krukoff wrote: > > On Thu, 2008-05-15 at 17:11 -0600, John Krukoff wrote: > > > On Thu, 2008-05-15 at 15:35 -0700, max wrote: > > > > On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > > > > > O

Re: no inputstream?

2008-05-15 Thread John Krukoff
On Thu, 2008-05-15 at 17:42 -0600, John Krukoff wrote: > On Thu, 2008-05-15 at 17:32 -0600, John Krukoff wrote: > > On Thu, 2008-05-15 at 17:11 -0600, John Krukoff wrote: > > > On Thu, 2008-05-15 at 15:35 -0700, max wrote: > > > > On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > > > > > On Ma

Re: no inputstream?

2008-05-15 Thread John Krukoff
On Thu, 2008-05-15 at 17:32 -0600, John Krukoff wrote: > On Thu, 2008-05-15 at 17:11 -0600, John Krukoff wrote: > > On Thu, 2008-05-15 at 15:35 -0700, max wrote: > > > On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > > > > On May 15, 9:00 pm, max <[EMAIL PROTECTED]> wrote: > > > > > > > > > y

Re: no inputstream?

2008-05-15 Thread John Krukoff
On Thu, 2008-05-15 at 17:11 -0600, John Krukoff wrote: > On Thu, 2008-05-15 at 15:35 -0700, max wrote: > > On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > > > On May 15, 9:00 pm, max <[EMAIL PROTECTED]> wrote: > > > > > > > you're right, my java implementation does indeed parse for Id3v2 > >

Re: no inputstream?

2008-05-15 Thread John Krukoff
On Thu, 2008-05-15 at 15:35 -0700, max wrote: > On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > > On May 15, 9:00 pm, max <[EMAIL PROTECTED]> wrote: > > > > > you're right, my java implementation does indeed parse for Id3v2 > > > (sorry for the confusion). i'm using the getrawid3v2() method

Re: no inputstream?

2008-05-15 Thread max
On May 15, 6:18 pm, MRAB <[EMAIL PROTECTED]> wrote: > On May 15, 9:00 pm, max <[EMAIL PROTECTED]> wrote: > > > you're right, my java implementation does indeed parse for Id3v2 > > (sorry for the confusion).  i'm using the getrawid3v2() method of this > > bitstream class (http://www.javazoom.net/jav

Re: no inputstream?

2008-05-15 Thread MRAB
On May 15, 9:00 pm, max <[EMAIL PROTECTED]> wrote: > you're right, my java implementation does indeed parse for Id3v2 > (sorry for the confusion). i'm using the getrawid3v2() method of this > bitstream class (http://www.javazoom.net/javalayer/docs/docs0.4/ > javazoom/jl/decoder/Bitstream.html) to

Re: no inputstream?

2008-05-15 Thread max
you're right, my java implementation does indeed parse for Id3v2 (sorry for the confusion). i'm using the getrawid3v2() method of this bitstream class (http://www.javazoom.net/javalayer/docs/docs0.4/ javazoom/jl/decoder/Bitstream.html) to return an inputstream that then i buffer and parse. apolog

Re: no inputstream?

2008-05-15 Thread Hrvoje Niksic
"John Krukoff" <[EMAIL PROTECTED]> writes: > I'd love to know how Java handles all that automatically through a > generic stream interface, though. It could be that their stream interface supports seek(), and that seek()ing on HTTP connection sends the appropriate range request and, if it fails,

RE: no inputstream?

2008-05-15 Thread John Krukoff
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python- > [EMAIL PROTECTED] On Behalf Of max > Sent: Thursday, May 15, 2008 8:02 AM > To: python-list@python.org > Subject: Re: no inputstream? > > On May 15, 9:51 am, castironpi <[EMAIL PROTECTED]> wrote

Re: no inputstream?

2008-05-15 Thread castironpi
On May 15, 9:02 am, max <[EMAIL PROTECTED]> wrote: > On May 15, 9:51 am, castironpi <[EMAIL PROTECTED]> wrote: > > > > > > > On May 15, 8:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > > On Thu, 15 May 2008 06:08:35 -0700, max wrote: > > > > i currently have locations of the mp3s

Re: no inputstream?

2008-05-15 Thread max
On May 15, 9:51 am, castironpi <[EMAIL PROTECTED]> wrote: > On May 15, 8:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > On Thu, 15 May 2008 06:08:35 -0700, max wrote: > > > i currently have locations of the mp3s in question as strings, which > > > works for parsing local files, bu

Re: no inputstream?

2008-05-15 Thread castironpi
On May 15, 8:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Thu, 15 May 2008 06:08:35 -0700, max wrote: > > 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

Re: no inputstream?

2008-05-15 Thread Marc 'BlackJack' Rintsch
On Thu, 15 May 2008 06:08:35 -0700, max wrote: > 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

no inputstream?

2008-05-15 Thread 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 troub