Mar2zz/LazyLibrarian — pull request #26 by itsmegb (2012-05-18 07:46:39+00:00)
Title: [NOT READY FOR MERGE] Database rewrite

I thought i would create a pull request for this to allow other people to look at and perhaps modify. *This is not ready to merge!*

I've noticed that alot of these projects (Sickbeard, headphones) use direct database access... i don't like this, i think it makes the code harder to read and there seem to be insert and 'upsert' statements all over the place.

By moving to SQLAlchemy, the data model is now object orientated, allowing data objects to be passed around the application more easily.

However, as stated above, it is not ready to be merged. It has broken quite a few things, i've got most things working again, however there are certain things that i haven't tested. If anyone would like to try this rewrite out and tell me anything that need fixing before it can be merged, that would be great!!