[mythtv-users] Additional backend not showing in Machine information in mythweb

Chris Pinkham cpinkham at bc2va.org
Sat Jan 19 06:59:28 UTC 2008

* On Sat Jan 19, 2008 at 12:45:11AM -0500, Marc wrote:
> Why does the new machine not show in the machine information disk list? Is
> it because there is no card in the new machine?

Yes.  Right now, the list that is passed around and looped through in places
like this part of the code is the encoder list.  It isn't a list of all
backends, it is actually a list of all encoders.  This same list is used to
build the encoder list at the top of the status webpage.  The encoder list
has pointers to sockets that connect to the other backends, so Myth loops
through the list and sends commands to query disk space to the other
backends in the list.  This list is passed around in lots of places and
doesn't change, it is instantiated when the master backend starts and
contains entries for all encoders whether their particular backend is
connected or not.  In order for us to look at all _connected_ backends
whether they have tuners or not, we would have to use another list that is
currently kept internally in Myth's MainServer class.  This is the list
of all open connections to the backend and this list is subject to
change as machines come up/down.  This is one of the reasons that we say
that running a tunerless backend is an unsupported configuration.  It's
not just the status webpage that is missing this disk space info, I think
you'll notice that it is also missing from the internal status page in
mythfrontend along with the disk space information on the Delete
Recordings page in mythfrontend.  These all use the same code that uses
the encoder list to query the different backends for their disk space

Long story short, you're correct and there's no plans to change it
right now.  Easy way around this is to do as the other poster suggested
and drop the slave backend and just mount that storage on the master
via NFS and let the master record directly to the new filesystem.


More information about the mythtv-users mailing list