TVMovie-Import: EPGData are duplicated which each import in some cases (1 Viewer)

kuehnch

MP Donator
  • Premium Supporter
  • June 14, 2006
    303
    9
    43
    Cologne (Köln)
    Home Country
    Germany Germany
    TV-Server Version: Revision 14775
    MediaPortal Version: Revision 14775
    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

    If a TVMovie-station is mapped to more than one channel, the epgdata of the channels 2-n become duplicated with each import. This is caused by a wrong purge-operation, that cleans up the program-table for each channel, before the new epgdata get imported. The purge-operation does a cleanup only for the first channel, that is mapped to the tvmovie-station:

    TVMovieDatabase.cs of TVLibrary: Line 489
    Code:
          foreach (Mapping map in channelNames)
            if (map.Station == stationName)
            {
              ClearPrograms(map.Channel);
              Log.Debug("TVMovie: Purged old programs for channel {0}", map.Channel);
              break;
            }

    The break-instruction may removed to purge the epgdata for each mapped channel from the Program-table.
     

    Eabin

    Retired Team Member
  • Premium Supporter
  • September 18, 2006
    465
    43
    it looks like this fix has been overlooked by the devs. please include it, the bug is still in the current svn.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Oh, I've just seen that - thanks for pointing the error out - svn already contains the fix ;)
     

    Users who are viewing this thread

    Top Bottom