Started API, supports test function, should return "Cats"
Added Database.php.
Support for GET shows. Lists all shows
Added support for GET shows/show_id
Added TVDB.php. Added $rm parameter for Request Method filtering in API.
Reformatted.
add_show is working. Changed $series->status to correct $series->Status.
Added DELETE shows, removes from shows and episodes tables.
Added get_episode.
Added GET episodes support.
Changed add_episode to support updating with ON DUPLICATE KEY UPDATE. Didnt use REPLACE INTO because breaking table indexing will cause slow down over time.
Changed clear to clear_database. Removed old non-working log function.
Added clear function for testing.
Changed add_episode to follow add_show style. Changed PUT shows to add episodes in addition to show info.
Changed database structure, removed id and used tvdb_id instead. Allows ON DUPLICATE to work.
Basic list of recent episodes by day, unstyled but working!
Working current episodes UI. Changed API for current to use Unix Time instead of dates.
Minor tweaks, fixed delete methods for show and episodes, verified GET current is working, changed divs with background-image to img tags because its more proper and for alt tags.
Added support for PUT shows to update all shows. Added air_day and air_time to database, filled in with update all :). Started client support for loading show info.
Changed integer JSON keys to Strings