TVLibrary recreation not required but requested (1 Viewer)

kuehnch

MP Donator
  • Premium Supporter
  • June 14, 2006
    303
    9
    44
    Cologne (Köln)
    Home Country
    Germany Germany
    TV-Server Version: Revision 14657
    MediaPortal Version: Revision 14657
    MediaPortal Skin: BlueTwo
    Windows Version: WindowsXP SP2
    CPU Type: AMD Athlon64
    HDD: 160GB
    Memory: 2048MB DDR
    Motherboard: Asus A8N-SLI Deluxe
    Motherboard Chipset: nForce4 AMD
    Motherboard Bios: 1016
    Video Card: ATI Radeon x800XT
    Video Card Driver: 7.3
    Sound Card: Soundblaster Audigy 2
    Sound Card AC3: Soundblaster Audigy 2
    Sound Card Driver: last
    1. TV Card: FireDTV C/CI
    1. TV Card Type: DVB-C
    1. TV Card Driver: last
    2. TV Card: FireDTV C/CI
    2. TV Card Type: DVB-C
    2. TV Card Driver: last
    3. TV Card: Terratec Cinergy 1200 DVB-T
    3. TV Card Type: DVB-T
    3. TV Card Driver: 4.8.16
    MPEG2 Video Codec: Cyberlink (PowerDVD 7.3)
    MPEG2 Audio Codec: MPA
    Satelite/CableTV Provider: NetCologne Multikabel
    HTPC Case: Silverstone LC18?
    Cooling: coooool
    Power Supply: 420W
    Remote: MCE-remote + IRTrans
    TV: no TV - CRT-display
    TV - HTPC Connection: MultiSeat over GBIT-LAN

    After reinstalling the tvserver, setupTV wants to recreate the database. However there was no tvlibrary-version-change between the old and the new tvserver-revision; an update is not required...

    The problem is caused by a wrong versioncheck on setupTV-startup. My version-table of tvlibrary contains more than one version value (27 and 28), as tvserver was updated a few times before. The check-routine queries the database for all versions:

    cmd.CommandText = "select * from version";

    but not for the NEWEST of this versions:

    cmd.CommandText = "select max(versionNumber) from version";
    or
    cmd.CommandText = "select * from version ORDER BY versionNumber DESC";

    Accordingly, setuptv assumes, that the tvlibrary is out of date.
     

    Users who are viewing this thread

    Top Bottom