Week 1 May 28-June 4
Spent time reading.
Started Wiki, sent mail to Icecast-dev.
Started learning TurboGears.
Changed MySQLdb to SQLObject in populate.py
Added genre support to populate.py. Committed populate.py and config.py to svn.
Reading Producing Open Source Software and Rapid Web Applications with TurboGears.
I've had a fever and sinus infection, and been away from the computer a lot.
More reading. Pleased to report that my sinus infection is gone and I am much better.
Started designing database, writing pseudocode to figure out how to switch playlists, etc.
Reading Rapid Web Applications with TurboGears
In Chicago for the Cubs game.
Didn't read much, just at the hotel at night.
Even more reading in Rapid Web Applications with TurboGears
I'm beginning to realize I repeat myself a lot.
Finally started working on TurboGears frontend.
Planning on committing the project to svn this afternoon after I get a few things written in there, just so I can get SOMETHING in svn because I feel like a slacker.
Committed initial project files to svn.
Added views to TurboGears app.
Added sample metadata to database.
Reading more in Rapid Web Applications with TurboGears to figure out how to get data from forms and stuff.
Some more reading and trying to figure out forms.
I'm looking at Select-Shuttle TurboGears widget for picking tracks from the database, but then i still have to make filtering the data work. Any suggestions?
Select-shuttle isn't working, trying to find documentation, help on #turbogears.
Added README file.
Did some work in controllers.py to see if that jump starts the form, it doesn't.
Took a look in the toolbox and specifically Select-shuttle's widgets.py and found a few clues, updated controllers.py and create.kid.
create.kid was all wrong, all it needed was a few lines of code. controllers.py needed the variables I supplied to be passed to a select-shuttle module and then assigned to a new object i called create.
Putting that into controllers.py did not work, I got the error "name 'create' is not defined." I decided to define it in create.kid also, the form displayed but did not jump values. I am not sure what difference that made.
June 30-July 1
I still searched to figure out why create wont get defined in controllers.py. Google code search didnt get me any examples, and i found no tutorials and only an antiquated explanation of its function on a mailing list.
Sent an email to Conrad asking for some help. Asked around in #turbogears for help, got no response. Repeated search for documentation and the like.
Happy Independence Day, I celebrated by drinking a few pints of some tasty British ales. MMMMMMMMMMM Nothing like celebrating our independence from the British than drinking British beer.
The usual searching, sent an email to the author of Select-Shuttle and as of 7-10 have no response.
Decided to lay off searching for a while to get real work done, started the backend.
Read Chapter 12 "Time Operations" and Chapter 13 "Controlling Execution" in Python In a Nutshell to see how to handle the date/time stuff in the backend and see if i could find out how to make it a daemon.
Heard back from Conrad.
Made a few minor changes to create.kid
Work on the backend.
Found a bit of code on how to daemonize. Cannibalizing it and my old script to make a new one.
Added new variables to config.py.
Removed python code block from create.kid, making it the correct way of handling things.
If I cant get Select-shuttle going Im just gonna write my own forms by hand and use some ajax to do the job, its more code, but at least users wont have to download and install Select-shuttle as a dependency.
Realized that I didn't put support in icebreaker.py for stopping a playlist. For example, if I schedule a playlist to run from 7pm to 9pm it should switch off of the list onto shuffle mode or to another list.Doing a little re-working to get it the way it should work.
Edited icebreaker.py to make stop times work. Moved some stuff around, worked out some logical stuff on paper.
Worked on icebreaker.py, asked around on #turbogears for some help with forms. Power went out from 8am until after midnight so I got nothing done on the 17th.