GitLaboratory / demovibes

Automatically exported from code.google.com/p/demovibes
0 stars 0 forks source link

Need rewrite of queue system #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, the magic happens in the Queue model's save() function. We need to 
move that to two seperate functions, queue_song and play_song (names are 
examples), and they do all the logic.

Reason : Better control, and allow for pre-caching of history, queue and 
now_playing templates. Right now events generation and logic is done before 
the queue object is saved. Generating a cache of the queue doesn't help if 
the new data isn't in the queue yet.

Original issue reported on code.google.com by TheTerra...@gmail.com on 11 Oct 2009 at 3:24

GoogleCodeExporter commented 9 years ago
Refactored stuff a bit in r34 to prepare for this one. Caching now_playing 
might be 
harder than anticipated.

Original comment by TheTerra...@gmail.com on 12 Oct 2009 at 9:10

GoogleCodeExporter commented 9 years ago
Most of the stuff have been fixed up, only the now_playing info left. The site 
is 
remarkably faster as a result of the work done till now.

Original comment by TheTerra...@gmail.com on 18 Oct 2009 at 11:04

GoogleCodeExporter commented 9 years ago

Original comment by TheTerra...@gmail.com on 29 Aug 2010 at 2:49