[mythtv] Chicken-and-egg problem with mythbackend and Services API

Stuart Auchterlonie stuarta at squashedfrog.net
Thu May 8 14:08:13 UTC 2014


On 08/05/14 14:43, Nick Morrott wrote:
> On 22 April 2014 16:03, Stuart Auchterlonie <stuarta at squashedfrog.net> wrote:
>
>> One thing on the ever expanding TODO list is to make the backend be
>> able to startup in and unconfigured state, so that you can then talk
>> to it via the services api / web based setup and do everything you need
>> todo to get it running
>
> Stuart,
>
> Would a possible solution be to use a configuration-specific runtime
> option for MBE:
>
> $ mythbackend --configure
>
> to start MBE with the minimum necessary services started to permit
> configuration?

I was thinking something along the lines of

$ mythbackend --bootstrap --dbuser <dbuser> --dbpasswd <dbpasswd>

which would tell us how to connect to the database and initialize it.


Regards
Stuart



More information about the mythtv-dev mailing list