Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6373 closed defect (invalid)

DefaultStartOffset DefaultEndOffset not used in database

Reported by: williams@… Owned by: xris
Priority: trivial Milestone: unknown
Component: Plugin - MythWeb Version: head
Severity: low Keywords: MythWeb, Database
Cc: Ticket locked: no

Description

In SVN 20063 DefaultStartOffset? has become RecordPreRoll? and DefaultEndOffset? has become RecordOverTime?.

Both are now seconds not minutes.

I edited ./modules/tv/schedules_custom.php and ./modules/tv/detail.php to fix this for me.

t('seconds') complains about a lack of translations on the webpage.

Change History (2)

comment:1 Changed 11 years ago by Janne Grunau

Resolution: invalid
Status: newclosed

I'm pretty sure you're mistaken. Both settings exists and [20063] definitively didn't change it.

comment:2 Changed 11 years ago by williams@…

I'm happy to be wrong if it helps my understanding.

This is the SQL from the frontend as it changed the settings table:

2009-03-19 10:32:18.301 MSqlQuery::exec() "SELECT * FROM settings WHERE value = 'RecordPreRoll?';" 2009-03-19 10:32:18.302 MSqlQuery::exec() "UPDATE settings SET value = 'RecordPreRoll?', data = '180' WHERE value = 'RecordPreRoll?';" 2009-03-19 10:32:18.303 MSqlQuery::exec() "SELECT * FROM settings WHERE value = 'RecordOverTime?';" 2009-03-19 10:32:18.304 MSqlQuery::exec() "UPDATE settings SET value = 'RecordOverTime?', data = '180' WHERE value = 'RecordOverTime?';"

180 is the number I chose as I filled in:

Utilities/Setup? -> TV Settings -> General -> Time to record before start of show (seconds) and Time to record past end of show (seconds)

My edit works for me in 20063. Maybe it will revert back...

Note: See TracTickets for help on using tickets.