[fixed] New TVLibrary.dll makes changing channel very slow (1 Viewer)

nip.nyborg

Portal Pro
January 12, 2007
98
9
Denmark Denmark
Country flag
MediaPortal Version: MP 1.2.0 SVN 27119
MediaPortal Skin: Blue 3 Wide
Windows Version: Windows 7 Ultimat 64
CPU Type: AMD Athlon 64 X2 4000+
HDD: Samsung SP 500GB/250GB
Memory: 2 GB DDR2 PC2-5300
Motherboard: Gigabyte GA-M57 SLI-S4
Video Card: Asus 8600GT Magic
Video Card Driver:
Sound Card: HDA Mystique AC3 Optical
Sound Card AC3: Optical out
Sound Card Driver:
1. TV Card: Floppy DTV DVB-C
1. TV Card Type: DVB-C
1. TV Card Driver:
2. TV Card: Floppy DTV DVB-C
2. TV Card Type: DVB-C
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Cyberlink 10
MPEG2 Audio Codec: FFDSHOW
h.264 Video Codec: Cyberlink 10
Satelite/CableTV Provider: TDC / You See Denmark
HTPC Case:
Cooling:
Power Supply:
Remote:
TV: Samsung LED UE40B6000
TV - HTPC Connection: DVI-HDMI

I don´n know if this is a bug or not, but now I have reported my tests, and maby you can use it.
Between SVN 27007 and 27028 (and forward) something happened with TVLibrary, channel-change between some channels takes very long time (10-20 sec.).
It seems to happen when changing from an unscrambled SD, to a scrambled HD channel, and back. Between unscrambled SD channels it is fine, and also between some HD.
When I use the TVLibrary.dll from SVN-27007, problem is gone. (1-2 sec.)
I even made a clean install, to be sure it was not my system.
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi there

    I believe I have identified the problem. If I am correct, the issue is introduced in 27020. What revision are you using at the moment?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi again

    In fact I think the issue is already fixed in a later revision. Try updating to revision 27110 or greater and see if the problem still exists...
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi again

    Can you try the attached DLL:

    1. Stop the TV service.
    2. Take a backup of the TVLibrary.dll in your TV Server folder.
    3. Download and extract the attached DLL into your TV Server folder.
    4. Clear your TV Server logs.
    5. Start the TV service.
    6. Perform the same tests as before.
    7. Post the logs here.
     

    Attachments

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi again

    Happy Christmas to you :)
    I think I've identified a relatively serious problem that the team really needs to address, so thank you for reporting the issue and thank you for the logs :D
     

    nip.nyborg

    Portal Pro
    January 12, 2007
    98
    9
    Denmark Denmark
    Country flag
    Happy Christmas to you too.

    Thanks again for looking into this, and I`m glad if this can be off any help.
     

    sunedane

    Portal Member
    November 30, 2008
    16
    5
    Denmark Denmark
    I can confirm that your new TVLibrary.dll fixes the channel change delay of the current SVN.

    Will the fix go into SVN soon or can we get a patch?

    /sd
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi there

    The "fix" won't go into SVN because it is simply a workaround and confirmed where the problem was for me. There is an internal team discussion going on at the moment about how we're going to solve the problem properly as it is relatively serious and requires careful consideration. I guess you both compile your own builds? A simple and quick hack is to comment out the call to PersistPCRtoDataBase(channel) in TvEngine3\TVLibary\TVLibrary\Implementations\DVB\Graphs\TvDvbChannel.cs (there is only one of these at approximately line 1140. After that, rebuild the TVLibrary project and take the TVLibrary.dll and place it in your TV Server install folder.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom