The full source code for Sky Router Tool is available from Google Code. Visual Studio .NET 2010 is required to compile the application (older versions of visual studio may work but are untested).

Modifying the Web Interface

The web interface is saved in the 'htdocs' folder of the Sky Router Tool installation directory.

index.html contains the basic page layout, all other content is in "contentData.json". This is a json representation of all the pages used in the web interface.

In the \Sources\pH-Http\htdocs\pages folder of the source code package you will find an easier-to-edit version of the pages contained in contentData.json. Once you have changed the content of these pages you can update the contentData.json file by running the "updatePages.php" script (this requires PHP to be installed). The pages are largely HTML and javascript but also contain some custom templating tags; I will try and document these at a later stage.

Sky Router Tool first checks to see if it can access http://192.168.0.1:8234/do_cmd.sh (Which it wont be able to if the router has been restarted since the tool was last run).

If it cant access the page it then runs the following commands using the URL injection hack (http://192.168.0.1/setup.cgi?todo=ping_test&nextfile=diagping.htm&c4_IPAddr=127.0.0.1>/dev/null;...):

mkdir /tmp/new_web- Makes a new temporary directory
rm /tmp/new_web/do_cmd.sh- Removes any old cgi script
wget -P /tmp/new_web http://computer running sky router tool/do_cmd.sh- Downloads the cgi script from the sky router tool web interface
chmod 777 /tmp/new_web/do_cmd.sh- Adds execute permissons to the script
ln /etc/htpasswd /tmp/new_web/.htpasswd- Link to htpasswd file (makes the new web server be username/password protected)
kill `cat /tmp/mini_httpd.pid`- Kill any already running http servers created by sky router tool
mini_httpd -p 8324 -d /tmp/new_web/ -c "**sh" -i /tmp/mini_httpd.pid- Starts a new web server on port 8324

do_cmd.sh is just a simple script which runs any commands which are posted to it (you can find a copy of it in the 'htdocs' folder of the Sky Router Tool installation directory). Sky Router Tool uses this do_cmd.sh to send commands to the router and return responses.

The data logged by Sky Router Tool is saved in a SQL Compact Edition database file. This is located at "C:\ProgramData\sky router tool\routerlogs.sdf". There is also another database in this folder called "settings.sdf", this contains the consolidation rules.

  • ExPVR V3.8.16 Released

    ExPVR V3.8.16 is now available on our downloads page.

    This update fixes the issues affecting recording grouping and on demand content with the new Sky+ planner version on DRX890/5 devices.

    Users who have copies which have been affected by the older ExPVR versions (V3.8.14 and V3.8.15) can fix the grouping issues without needing to perform the copy again using the tool available on our forums.

    Written on Thursday, 27 June 2013 17:08 Be the first to comment! Read 8854 times
  • ExPVR V3.8.13 Released

    ExPVR has now been updated to V3.8.13. This version contains explicit support for the new R006.058.60.00P planner, which has just been rolled out to Sky DRX890 and DRX895 boxes. There are also a number of fixes for copies between legacy and darwin Sky Italia (MySky) boxes and experimental support for reading from Sky Deutschland hard disks.

    This version will now write the newer databases (V2.51) for DRX890/895 devices. For this reason, please make sure that your device is up to date (has at least R006.058.60.00P) before attempting to copy to it if you have a DRX890 or DRX895. Instructions on how to force an update (if your box has not already done this automatically) are available here.

    The new version can be downloaded from the ExPVR downloads page.

    Written on Friday, 10 May 2013 16:38 Be the first to comment! Read 7694 times
  • Brand new website design

    As you may have noticed, the ph-mb.com website has just been updated! It is now running on a customised version of the Joomla CMS which will allow future changes to be made far easier. You can now expect to see far more frequent updates to the content on ph-mb!

    This new system has been extensively tested, but there is a small chance there could be some small bugs. If you do notice anything not working correctly, or just want to give some feedback on the new layout, please contact us at This email address is being protected from spambots. You need JavaScript enabled to view it. or make a post on our forums.

    Written on Thursday, 25 April 2013 00:20 Be the first to comment! Read 7221 times
  • ExPVR V3.7 - Fix for pre-darwin to picasso
    I have just uploaded ExPVR V3.7 to http://www.ph-mb.com/products/ExPVR/downloads. This version contains a rewritten database engine which fixes the issues concerning the new Picasso firmware. There are additionally quite a few bug fixes and some improvements to the copy process and UI.

    The issue with pre-darwin to picasso copies (viewtopic.php?f=6&t=626) has now been fixed and there is now full support for the new picasso features (e.g. the un-deletion support).

    Please visit http://www.ph-mb.com/products/ExPVR/change-log for a full change log.
    Written on Sunday, 13 January 2013 16:17 Be the first to comment! Read 6769 times
  • ExPVR V3.5 Beta - Pre-Darwin Conversion & Disk Merging

    I have just uploaded a new beta version to http://www.ph-mb.com/products/ExPVR/downloads which adds a fair few new features, including support for copying from pre-darwin Thompson boxes (the legacy planner is now converted to the darwin format as part of the copy) and the ability to copy recordings from more than one source drive (disk merging).

    I have also added an option to add the date the recording was made to the beginning of the synopsis of each copied recording. The current sky planner only shows the day of the month, which can be quite annoying for people with older recordings. Obviously this will not work for recordings made after the copy, but it is better than nothing.

    As this is a beta, there may be some issues, but I have tested all the features with my Samsung box, and a Thompson I purchased the other day, and everything seems to be working. One possible problem is that this version is a bit more picky when it comes to the database format (it has to be, as it must also create databases as part of the Thompson conversion and merging features), so if any of the boxes have a slightly different database version it may give an error. If this happens, I would be grateful if you could send me a copy of the databases (PCAT.DB and MFS.DB in the FSN_DATA directory of the sky hard disk) so I can add support.

    Written on Monday, 23 April 2012 10:51 Be the first to comment! Read 7371 times