Busy Busy Bee

Title: Busy, busy, bee Date: 2008-11-02 12:44 Author: eamonnfaherty Category: misc Slug: busy-busy-bee

I have been a very busy bee the last few weeks. Heather and I have set a date for the wedding !! (22nd August 09) !! We have received permission from the priest and we have a venue !! I am sure there will be more posting on the wedding in the next few weeks !!

I have had to rebuild flour.doughball.co.uk. It was in a bit of a state after I tried to get a media center installed on it. There isn’t very good suppor for VIA gfx chipsets in Linux! :( I am glad the job is done and the machine now seems a little better than before.

I have been using a script hellanzb for a while now and I still love it!!! I am using another script with it called PADS. it checks myepisodes.com for releases of shows and cross references it with newzbin and then sets up the download.

this works great but after downloading the show myepisodes doesnt know you have now downloaded it. i wrote the following to handle it:

$acqs = “/var/local/pads/mark_as_acquired”;if (file_exists($acqs)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, ‘http://myepisodes.com/login.php’); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, ‘username=doughie&password=silkchild&action=Login&u=myshows.php’); curl_setopt ($ch, CURLOPT_COOKIEJAR, ‘/tmp/cookie.txt’); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $store = curl_exec ($ch);

$aquireds = file($acqs);

foreach ($aquireds as $aquire) { list($show, $season, $episode) = explode(“-“, $aquire, 3); $url = “http://myepisodes.com/myshows.php?action=Update&showid=$show&season=$season&episode=$episode&seen=0”; print “url is $url”; curl_setopt($ch, CURLOPT_URL, $url); $content = curl_exec ($ch); } curl_close ($ch);}

if you are interested in how it works email me and i will give you a hand.

Last, but no means least checkstyleas3 !! I have resumed development on this. i have written the score class which will encapsulate the results of the tests and will control how they are displayed etc. I have finished writing the tests for all of the existing code. I have come across a couple of interesting articles on the net about “clean code” and am reading the gang of four design patterns book. I should hopefully have another milestone release this time next week!!!

Published: November 02 2008

  • category:
  • tags:
blog comments powered by Disqus