I was running Mediaportal 1.5.0 under Windows 7 64-bit and everything was working. Then I upgraded to a new motherboard and CPU, which of course meant that the tuners all moved to different addresses on the bus, so TV Server did not recognise them any more. So after I got the new motherboard working, I ran SetupTV.exe, and could see the old tuners marked as "Unknown" and the new tuners. So I deleted all the Unknown tuners, and moved the new ones around to match what my previous setup was. But after the TV Server restart, the SetupTV program is not working properly any more - I can see my tuner setup on the TV Servers page, but all the other options have disappeared and I can not do any more configuration. I have uploaded a screenshot of SetupTV.exe as TunerConfig.jpg.
The playback side of things is all still working fine - I can see all my old recordings and play and delete them, so TV Server is still fine. It seems to just be a problem with SetupTV.exe. The SetupTV.log file shows an error:
I presume that error is the cause of my problem, but I have no idea how to fix it. I have checked the database and mysqlcheck says it is fine. I am hoping someone can point me at some data somewhere in a config file or the database that I can change so that I can get past this problem and configure the tuners again.
The playback side of things is all still working fine - I can see all my old recordings and play and delete them, so TV Server is still fine. It seems to just be a problem with SetupTV.exe. The SetupTV.log file shows an error:
Code:
[2013-10-27 05:41:16,801] [Log ] [SetupTv ] [INFO ] - ---- SetupTv v1.5.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
[2013-10-27 05:41:16,811] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----
[2013-10-27 05:41:16,971] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: Added dependency for TvService - MySQL
[2013-10-27 05:41:16,971] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
[2013-10-27 05:41:16,978] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
[2013-10-27 05:41:16,978] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
[2013-10-27 05:41:17,115] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
[2013-10-27 05:41:21,118] [Log ] [SetupTv ] [INFO ] - Set loglevel to: Debug
[2013-10-27 05:41:21,825] [Log ] [SetupTv ] [ERROR] - Failed to startup cause of exception
[2013-10-27 05:41:21,837] [Log ] [SetupTv ] [ERROR] - Exception :System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at SetupTv.Sections.CardDvbT.SetDefaults()
at SetupTv.Sections.CardDvbT.Init()
at SetupTv.Sections.CardDvbT..ctor(String name, Int32 cardNumber)
at SetupTv.SetupTvSettingsForm.AddServerTvCards(Servers servers, IList`1 dbsServers, Boolean reloaded)
at SetupTv.SetupTvSettingsForm.Init()
at SetupTv.SetupTvSettingsForm..ctor(Boolean ShowAdvancedSettings)
I presume that error is the cause of my problem, but I have no idea how to fix it. I have checked the database and mysqlcheck says it is fine. I am hoping someone can point me at some data somewhere in a config file or the database that I can change so that I can get past this problem and configure the tuners again.