sectionsd auto scan

Wünsche, Anträge, Fehlermeldungen
LraiZer
Neugieriger
Neugieriger
Beiträge: 6
Registriert: Mittwoch 21. Januar 2009, 21:31
Box 1: Zgemma H2H
Image: self build openPLi image
Box 2: XPEED LX3
Image: self build OpenViX oe-alliance image
Box 3: DM800SE
Image: OpenPli self build image
Box 4: DM500
Image: dev build nuetrino commando.org.uk
Sonstiges: Dbox2 Neutrino with modded internal hard disk ;)

sectionsd auto scan

Beitrag von LraiZer »

BUG introduced in sectionsd.cpp Revision 1.231

fix sectionsd w/o msgs auto scan

0ff = 0
on = 1
(w/o msgs.) on = 2

auto_scanning == 2 not 3???

Code: Alles auswählen

					if ((auto_scanning == 1) || (auto_scanning == 3)) {
						if (updateTP(scanType)) {
							eventServer->sendEvent(CSectionsdClient::EVT_SERVICES_UPDATE, CEventServer::INITID_SECTIONSD);
						}
					}
fixed

Code: Alles auswählen

					if ((auto_scanning == 1) || (auto_scanning == 2)) {
						if (updateTP(scanType)) {
							eventServer->sendEvent(CSectionsdClient::EVT_SERVICES_UPDATE, CEventServer::INITID_SECTIONSD);
						}
					}
((auto_scanning == 1) || (auto_scanning == 2)) not required?

Code: Alles auswählen

			if ((auto_scanning > 0) && (!startup)) {
						if (updateTP(scanType)) {
							eventServer->sendEvent(CSectionsdClient::EVT_SERVICES_UPDATE, CEventServer::INITID_SECTIONSD);
						}
					is_new = false;
					i = 0;
					readLockMessaging();
PaphosAL
Beiträge: 1
Registriert: Freitag 19. März 2010, 09:56

Re: sectionsd auto scan

Beitrag von PaphosAL »

I confirm this bug exists- specifically, AutoScan - (w/o msgs.) on does NOT work.

If a manual edit is made in scan.conf > scanSectionsd=3 - followed by a power-cycle, this option DOES then work; /tmp/currentservices.xml is created and gets populated.

But of course, Scan Menu > AutoScan now shows 'INTERNAL ERROR PLEASE REPORT'

Regards- AL :)