Mind that return False is the same as return "False", in fact you must return a dict() a string, a helper, a stream or anything else will be serialized with str()
On Apr 2, 1:17 am, Thadeus Burgess <[email protected]> wrote: > I have a controller as follows > > def stream(): > id = request.args(0) > record = db.items[id] > > if record: > return response.stream(record.filepath) > else: > return False > > When playing in Totem Media Player, the files play, but when > attempting to seek ahead in the song it receives this error. > > "http://127.0.0.1:8000/muzik/default/stream/228": failed to seek; > server does not accept Range HTTP header > > However, when playing the same file in VLC, I am able to seek. > > Any help to make it work for Totem? > > Totem: 0 > VLC: 100 + 1 > > -Thadeus -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

