[mythtv] Mythweb PATCH: Recorded listings support/ Delete support /connecting to mythbackend

Isaac Richards ijr at po.cwru.edu
Sun Mar 2 09:12:35 EST 2003


On Saturday 01 March 2003 02:25 pm, Joe Smith wrote:
> I abandoned how I was doing this previously (assuming local file access),
> and added support to mythweb to connect to mythbackend.  I believe this
> should work universally.  I rely on the new BackendServerIP,
> BackendServerPort database settings currently included with the current
> mythtv CVS.   I also added a  $backend_hostname variable to settings.php so
> you can specify which backend server to pull from, but if you only have one
> you should be able to leave this blank.
>
> This allows recorded.php to show all the currently recorded programs, allow
> deletion, and to gain access to other data mythbackend has like storage
> capacity and if we're currently recording: e.g. Storage: 15.7 GB used out
> of 36.5 GB total, Capture Card 1 is currently IDLE
>
> This patch also fixes a bug with listings.php where it assumes it's the
> default module, and makes the 'recorded' module the default one.
>
> Patch against current mythweb CVS:
>
>     Copy attached files to mythweb directory:
>     patch -p0 < recorded.patch3
>     cvs add recorded.php
>
> Questions? Comments? Suggestions?

Thanks, I've updated this to match the current backend communications protocol 
(the program transfer got an additional field), and committed it to CVS.  I 
also modified it to speak to the master backend server, as that will (soon) 
proxy delete requests to other backend servers if necessary.

Isaac


More information about the mythtv-dev mailing list