Opened 16 years ago
Last modified 16 years ago
#4075 closed enhancement
Backend AutoDiscovery improvements — at Version 5
Reported by: | Nigel | Owned by: | Nigel |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
- If a valid mysql.txt exists, the backend selector should not appear
- The selector should be use MythTV widgets (colours, theme, et c.). This should also automatically add LIRC, Apple remote, and joystick support.
- Any Myth program should be able to select a backend, not just the frontend
- The programs could autoselect if only a single backend is available (and probably not save the backend UUID in config.xml, or even generate one). I am still thinking about this, but am hoping this would allow a bootable CD frontend to work without having to save any config anywhere
- If there is no LocalHostName? (e.g. if there was no mysql.txt) then the generated UPnP MediaRenderer? ID should probably be used instead of gethostname(). Uglier in the database, but should survive FE host network and hostname reconfiguration?
First patch implements 1-3 (with some PIN entry UI issues). Second patch implements 1 - 4.
Change History (8)
Changed 16 years ago by
Attachment: | backend-autoselect-1.patch added |
---|
comment:2 Changed 16 years ago by
(In [14720]) Bug fix - close current databases if the user changes any of the database connection details, so new details can be used. (it would continue erroring, or using the old details, before)
The GUI settings (theme, window size) or service details (MythMediaMonitor) will not change without exiting and restarting the program, though. Both are hypothetically possible, but probably not worth it?
Also has some more MythContextPrivate? src textual changes (e.g. constructor and destructor together, extra methods for readibility) Plenty more to come - massaging MythContext for UPnP improvements. See #4075
comment:3 Changed 16 years ago by
(In [14819]) Allow a special case of XmlConfiguration?(""), where no actual file is read or created. Used for UPnP situations where we don't want to save anything locally (e.g. booting from live Linux CD-ROM). See #4075
Changed 16 years ago by
Attachment: | backend-autoselect-2.patch added |
---|
New version, addresses issues 1 thru 4
comment:4 Changed 16 years ago by
Status: | new → assigned |
---|
The latest patch has been a while coming, but I am now happy with it. Barring any bad feedback, will commit early next week.
Changed 16 years ago by
Attachment: | backend-autoselect-3.patch added |
---|
Patch 2 was missing backendselect.cpp & h
Initial version. Requires mediarenderer.* and masterselection.* to be moved into libmythupnp