Commit Graph

9 Commits

Author SHA1 Message Date
Bryan Schumaker 798134b910 Web server improvements
I want to use the remote control this weekend, so I needed to fix it up.
2011-12-22 14:16:33 -05:00
Bryan Schumaker f87f5f25cf libsaria: Run server based on stored stetting
I have a toggle_state() function to toggle the server and save the state
for the next session.
2011-06-18 14:09:27 -04:00
Bryan Schumaker e055976e07 libsaria: Start server in a try / except block
I can catch the exception and print out a nicer message this way.
2011-06-18 10:24:45 -04:00
Bryan Schumaker 8f3c4b7c6f libsaria: Fix library browser web page
It needs to use the new library functions to avoid an error.
2011-06-16 18:19:42 -04:00
Bryan Schumaker 756c98285b libsaria: Only shutdown server when server exists
I now always call the shutdown() function to close the server.  This
function checks if the server pointer has been set, and if it has it
calls the server's shutdown() function.
2011-05-25 21:09:43 -04:00
Bryan Schumaker e0dd940671 libsaria: Don't write empty text to client 2011-05-15 15:58:21 -04:00
Bryan Schumaker c02bffb652 libsaria: Web server controls playback
I can choose songs to play by clicking rows in an html table.  I also
write text to the client as it becomes available, rather than doing it
all at once.
2011-05-15 15:39:14 -04:00
Bryan Schumaker 7ffd4e14fd libsaria: Added RPC pages
For now, I can play and pause.  I'll eventually add more operations to
the list.
2011-05-15 13:49:02 -04:00
Bryan Schumaker 2a6b04e328 libsaria: Began new web server
The new web server will be built in to libsaria, rather than existing as
a plugin.  This allows me to break it into multiple files for easier
use.  For now, the server is only active when version.__dev__ == True.
2011-05-15 13:41:47 -04:00