mirror of
https://projects.vdr-developer.org/git/vdr-plugin-scraper2vdr.git
synced 2023-10-19 17:58:31 +02:00
fixed bug in setup menu
This commit is contained in:
parent
f1587ee56e
commit
ea862b36b2
10
setup.c
10
setup.c
@ -50,19 +50,19 @@ eOSState cScraper2VdrSetup::ProcessKey(eKeys Key) {
|
|||||||
tmpConfig.mysqlDBUser = user;
|
tmpConfig.mysqlDBUser = user;
|
||||||
tmpConfig.mysqlDBPass = password;
|
tmpConfig.mysqlDBPass = password;
|
||||||
Store();
|
Store();
|
||||||
if (Current() == 6) {
|
if (Current() == 7) {
|
||||||
Skins.Message(mtInfo, tr("Updating Scraper EPG Information from Database"));
|
Skins.Message(mtInfo, tr("Updating Scraper EPG Information from Database"));
|
||||||
update->ForceUpdate();
|
update->ForceUpdate();
|
||||||
} else if (Current() == 7) {
|
} else if (Current() == 8) {
|
||||||
Skins.Message(mtInfo, tr("Updating Scraper Recordings Information from Database"));
|
Skins.Message(mtInfo, tr("Updating Scraper Recordings Information from Database"));
|
||||||
update->ForceRecordingUpdate();
|
update->ForceRecordingUpdate();
|
||||||
} else if (Current() == 8) {
|
} else if (Current() == 9) {
|
||||||
Skins.Message(mtInfo, tr("Scanning for new recordings in video directory"));
|
Skins.Message(mtInfo, tr("Scanning for new recordings in video directory"));
|
||||||
update->ForceVideoDirUpdate();
|
update->ForceVideoDirUpdate();
|
||||||
} else if (Current() == 9) {
|
} else if (Current() == 10 ) {
|
||||||
Skins.Message(mtInfo, tr("Scanning for new or updated scrapinfo files"));
|
Skins.Message(mtInfo, tr("Scanning for new or updated scrapinfo files"));
|
||||||
update->ForceScrapInfoUpdate();
|
update->ForceScrapInfoUpdate();
|
||||||
} else if (Current() == 10) {
|
} else if (Current() == 11) {
|
||||||
Skins.Message(mtInfo, tr("Cleaning up Recordings in Database"));
|
Skins.Message(mtInfo, tr("Cleaning up Recordings in Database"));
|
||||||
update->TriggerCleanRecordingsDB();
|
update->TriggerCleanRecordingsDB();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user