[mythtv] [mythtv-commits] Ticket #8398: MythBrowser start with homepage function

Michael T. Dean mtdean at thirdcontact.com
Fri Apr 30 02:23:17 UTC 2010


On 04/29/2010 05:27 PM, Michael T. Dean wrote:
> We already have bookmarks for MythBrowser, so rather than adding a 
> setting and related setting-specifying GUI code and setting 
> checking/saving code, it makes sense to take advantage of the 
> bookmarks.  You could change the code such that if the user creates a 
> bookmark with the (translated) name "Default" (or "Homepage" or 
> whatever), the bookmark is written with the untranslated name 
> "Default" (or ...).  Then, when MythBrowser is started, if the 
> "Default" bookmark exists, go to that page; otherwise, go to the 
> bookmarkmanager.

Or use a websites.default column or some other more general column 
(sort/order) and make some value mean default (1st entry) or change the 
UI to add a checkbox to the bookmark manager allowing a user to select 
some bookmark as the default and when they do, write a copy of the 
bookmark to websites with some name users will never choose, such as 
"MythBrowser Default Homepage", and don't show the copy in the UI ever 
(so you don't have to worry about translation issues) or ... some better 
design.

Basically, the point was supposed to be that there is likely a way to 
make this more intuitive for users and without adding a buried setting 
they have to stumble across.  So, don't focus too much on the specifics 
of the solution, but instead on the idea of trying for a cleaner approach.

>   Then, with the jump points you've created, the user could go to the 
> web browser (and homepage) or to the bookmark manager.  The biggest 
> challenge is just making sure that "Default" is always shown 
> translated in the UI and is never translated in the DB (but we have a 
> lot of examples of that in other code in Myth).
>
> Again, you should talk to Paul before implementing things my way--he 
> may have a whole different plan for MythBrowser.

Still.  :)

Mike


More information about the mythtv-dev mailing list