Problem:By some reason, first (1 of 2) DVB-card on each machine duplicates, or even triplicates.I.e. I see 2 cards in MythTV Setup, but "max recordings" = 3 on FIRST(/dev/dvb/adapter0/frontend0) card, even if i set it to 1, after exiting setup it turns back to 3.

Tried to delete manualy those unexisting tuners directly in sql, but after reload they are here again, under new id numbers.

And it could be OK, it works well, shows and records using all inputs... BUT! System THINKS there are 4 more tuners and it tries to use them for recording TV, causing not even conflicts, but just missing records.

I tried to insert sql-script in the end of MythTVSyncDB.sh, that deletes those cards with cardid>4 from tables, it works, no more exessive tuners, but it causes constant restart of backend and errors in MythTV Plugin log, looks like mythfilldatabase tries to run.

Problem:After installing tuners in MythTV Setup, I continuesly get theese messages:"MythTV is ready. However ..."[ OK ]and"It will take about few minutes to retreive your channel listings. ...."[ OK ]After every reload system tells me (box in left-top corner of screen), it has added all my tuners. Again.

I can scan channels, it's ok, but after exiting from Setup, TV almost can not work (well, few times by couple seconds there was picture), seems, those messages appears each time backend restarts or mythfilldatabase runs and restarts backend.

0512/10/10 13:15:09.760MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>0112/10/10 13:15:09.766Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), (1) <0x7ccccb90>0512/10/10 13:15:09.766Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.767Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), (1) <0x7ccccb90>0512/10/10 13:15:09.767Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.767Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), retry: 0 <0x7ccccb90>0512/10/10 13:15:09.768MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>0112/10/10 13:15:09.770Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), (1) <0x7ccccb90>0512/10/10 13:15:09.770Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.770Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''dcerouter),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), (1) <0x7ccccb90>0512/10/10 13:15:09.770Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.770Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'dcerouter), retry: 0 <0x7ccccb90>0512/10/10 13:15:09.772MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>0112/10/10 13:15:09.773Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), (1) <0x7ccccb90>0512/10/10 13:15:09.773Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.773Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), (1) <0x7ccccb90>0512/10/10 13:15:09.773Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.773Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), retry: 0 <0x7ccccb90>0512/10/10 13:15:09.775MythTV_PlugIn::CMD_Sync_Providers_and_Cards cardid 0 is invalid <0x7ccccb90>0112/10/10 13:15:09.776Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), (1) <0x7ccccb90>0512/10/10 13:15:09.776Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.777Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''moon58),' at line 1): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), (1) <0x7ccccb90>0512/10/10 13:15:09.777Resetting db_wrapper connection <0x7ccccb90>0112/10/10 13:15:09.777Query failed (): INSERT INTO `capturecard`(videodevice,cardtype,defaultinput,hostname) VALUES ('/dev/dvb/adapter0/frontend0','DVB','DVBInput', 'moon58), retry: 0 <0x7ccccb90>

I understand, the error is in absence of ' after 'moon58 and 'dcerouter in the end of each line, but i can not find a way to fix it.It cannot be that I am the one, who has such problem... Any ideas how to deal with it?