Problem changing ch. from one device to another. (1 Viewer)

tompa

MP Donator
  • Premium Supporter
  • October 3, 2005
    665
    34
    Stockholm
    Home Country
    Sweden Sweden
    TV-Server Version: SVN14282 - multiseat
    Windows Version: WinXP SP2
    1. TV Card: Floppy DTV
    1. TV Card Type: DVB-T
    1. TV Card Driver: 4.8
    2. TV Card: Floppy DTV
    2. TV Card Type: DVB-T
    2. TV Card Driver: 4.8
    3. TV Card: Twinhan 3040
    3. TV Card Type: DVB-T
    3. TV Card Driver: 1.2.3.8
    MPEG2 Video Codec: Nvidia Pure Video
    MPEG2 Audio Codec: Nvidia Pure Video
    Satelite/CableTV Provider: Boxer Sweden

    Same behaviour?

    1. Start a recording mannualy on first card - Ok.
    2. Change to a channel on same MUX - Ok.
    3. Change to a channel on another MUX (second card) - Ok.
    4. Change back to first channel/card - NOT Ok: - "Unable to start timeshift Unknown error occured"
    5. Change back to a channel on another MUX (second card) - Ok.

    Started new thread at https://forum.team-mediaportal.com/problem_changing_between_dif_tv_cards-t22496.html?p=145621
     

    Peppo

    MP Donator
  • Premium Supporter
  • October 10, 2006
    311
    2
    Home Country
    Germany Germany
    Same Problem here - using single seat und two Floppy DTVC Cards:
    Watch TV with the 1.Card - no probs.
    record TV with the 1.Card - no probs.
    Change channel using the 2.Card - "Unable to start timeshift Unknown error occured" and MP hang up.
    Using last SVN... with XP SP2.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Peppo and tompa; I don't think the problems you are describing belong entirely in this thread.

    The original problem described here is only seen in a multi seat environment.
    When using singleseat there is no problem.

    Also, myself and probably the other posters in this thread do not receive any kind of errors like you are describing. We do not receive any error messages at all you see :)

    What happens is that when I change from a channel on one DVB device to another channel on a second DVB device then the TV button on the MP client goes out. Normally the button is green when actively watching TV.
    So I have to reselect the last channel once again and the it tunes in.

    The same problem occurs when doing it vice versa.
    It's better explained in the first post of this thread.

    In other words when changing channels across DVB devices I have to select the channel twice in order to watch it.

    The darn thing about this is that it has been working before - the bug must have been introduced at some point in time.

    /Gibman
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Hi!

    I finally took some time this evening to have a look at the code.

    The main problem was that before calling "server.StartTimeShifting" (in the case where the client does a channel change that requires a new dvb device) that the g_Player.Stop() needed to be called first.

    Although this is only done if the new channel requires a change in DVB device.
    There is no need to call g_Player.Stop() if we are on the same device.

    This is checked by iterating through all avail cards and searching each card for the new channel id.

    Is there a simpler way of doing this iteration? albeit more speedy ?

    Anyways, the patch works for me.
    I hope it reaches SVN.

    /Gibman
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Here is the compiled "TvPlugin.dll" file.

    Copy it to your clients "plugins\windows\" folder.
    Overwrite the existing one :)

    Install these snapshots first.
    MediaPortal-svn--05-01-2007--01-00-Rev14469.exe
    tvengine3-05-01-2007--01-22h--Rev14469.zip

    /Gibman
     

    tompa

    MP Donator
  • Premium Supporter
  • October 3, 2005
    665
    34
    Stockholm
    Home Country
    Sweden Sweden
    Thanks gibman!
    Now its tested, and it did not help my problem as above.
    /T
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    tompa; Yes no surprise there.

    As I said previously...
    "I don't think the problems you are describing belong entirely in this thread."

    But I guess it was worth a try in your case :)

    /Gibman
     

    tompa

    MP Donator
  • Premium Supporter
  • October 3, 2005
    665
    34
    Stockholm
    Home Country
    Sweden Sweden
    It seems to be in latest SVN now!!
     

    Users who are viewing this thread

    Top Bottom