Re: queue generation

From: Stefan Kaczmarek <stefan_at_thezonie.org>
Date: Thu, 31 May 2007 12:08:25 -0700

So I guess this relates to that question R had about not seeing any
transfers happen when he created a new account.

So there's not like a default queue that starts when someone creates
an account? So it does nothing? Aces.

So I should be seeing this "status" when I do this:

http://129.47.9.160/queue.php?account=thezonie

? Cuz I dont.

Yes, there is a way for the webpage to tell the app to re-get the
downloading hashes when they click the generate queue button. I can
just tell the app to refresh the user's queue.

Ok, that's done.

Oh Christ, don't return this when I click the button:

{"queue":
[{"hash":"0000000000000000000000000000000000000000","position":"1","lock
":"0","system":"0","title":"Please wait while queue is being
generated","filename":"","size":"0","rating":"0","votes":"0"}],"status":
"GENERATING"}

It fucks up the app. Just return a freakin' empty queue with no
hashes and the status thingy. (I see the "status" now, but i don't
see it when it isn't generating.)

So, is the app supposed to keep trying to get hashes then when you're
in this "generating" mode? How long does it take?

And when did this change occur?

- Z

On May 31, 2007, at 11:15 AM, Dylan Douglas wrote:

> Z-
>
> I've added a new field to the JSON returned from the queue.php call.
> It's "status", which can be "GENERATING" or "READY".
>
> If you get a "GENERATING" you should display some sort of message that
> says their "queue isn't ready yet, try in a minute." Maybe a pop-
> up or
> something that stupid people will notice and not go back to their
> account page and click generate again.
>
> Also, is there a way for the webpage to tell the app to update its
> downloading hashes when someone clicks the generate queue button?
>
> -D
>
> -----
> Dylan Douglas
> MediaDefender
>
>
>
> <winmail.dat>
Received on Fri Sep 14 2007 - 10:55:57 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:46 BST