[mythtv-commits] Ticket #120: AutoExpire method defaults to
no-auto-expire; no GUI to set "oldest-first" policy
MythTV
mythtv at cvs.mythtv.org
Sun Jul 17 20:12:58 EDT 2005
#120: AutoExpire method defaults to no-auto-expire; no GUI to set "oldest-first"
policy
--------------------+-------------------------------------------------------
Id: 120 | Status: new
Component: mythtv | Modified: Mon Jul 18 00:12:57 2005
Severity: high | Milestone:
Priority: minor | Version: head
Owner: ijr | Reporter: Robert Tsai <rtsai1111>
--------------------+-------------------------------------------------------
In AutoExpire::FillExpireList, the expMethod is chosen by querying for the
value of "AutoExpireMethod", and defaulting to zero.
The "1" method is the "oldest-first" auto-expire method. So the default
("0") is to not auto-expire anything at all (as confirmed by the comment).
However, the GUI for configuring AutoExpire (e.g., a combo box with only
one choice) has been under #if 0 for quite some time now. So any fresh
install will not have any way to turn on auto-expire short of entering
MySQL and inserting the configuration value by hand.
I think at least for now, AutoExpire::FillExpireList should use a default
value of "1".
Another possibility is to rework the AutoExpire configuration UI to use a
single combo box for:
AutoExpire: Off (0)
Oldest-First (1)
instead of the current boolean AutoExpire on/off followed by a (commented-
out) "autoexpire method". But I'm not sure if that will also affect max-
episodes auto-expire.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/120>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list