Mantis 0001165: Channel -> Scrambled & Back begains at the start of the TS buffer (1 Viewer)

johnzered

Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    TV-Server Version: RC 1 + usually latest SVN
    MediaPortal Version: RC 1 + usually latest SVN
    MediaPortal Skin: BlueTwo wide
    Windows Version: Vista Home Premium SP1
    CPU Type: Intel C2D E8200
    HDD: Seagate 7200.11 500 GB
    Memory: 2 GB DDR2 667 Mhz
    Motherboard: Gigabyte GA-73PVM-S2H
    Video Card:
    Video Card Driver:
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Digital everywhere FloppyDTV
    1. TV Card Type: DVB-C
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    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:
    MPEG2 Audio Codec:
    h.264 Video Codec:
    Satelite/CableTV Provider:
    HTPC Case: Antec Fusion V2
    Cooling:
    Power Supply:
    Remote:
    TV:
    TV - HTPC Connection: Sub-D

    Hello!

    Anyone else still having problems with this MediaPortal Bugtracker? I know I have!

    Besides the steps described in mantis you have to have TV in fullscreen.

    The problems seems to be in this method: public static bool ViewChannelAndCheck(Channel channel) in TVHome.cs
    more specificly in the else clause starting on row 2300:

    else
    {
    g_Player.PauseGraph();
    succeeded = server.StartTimeShifting(ref user, channel.IdChannel, out card);
    SeekToEnd(true);
    g_Player.ContinueGraph();
    }

    When you select "Yes" in the yes/no prompt server.StartTimeShifting creates a new ts file but then when it goes into SeekToEnd and g_Player.ContinueGraph() it still uses the old stream instead of the new one. So far i haven't found a way to solve this. When you switch between fta channels a new stream isn't created, only when the channel is scrambled.


    //johnzered
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    Find this chunk of code;

    else
    {
    //timeshifting new channel failed.

    if (g_Player.Duration == 0)
    {
    //Added by joboehl - Only stops if stream is empty. Otherwise, a message is displaying but everything stays as before.
    g_Player.Stop();
    }
    }


    change it to -->


    else
    {
    //timeshifting new channel failed.
    g_Player.Stop();
    }

    how does that work ?

    /gibman
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Well it fixed the problem when going from fta to scrambled and back again but a new issue was then introduced when switching between fta channels.

    Now when switching between fta channels it plays the stream from the beginning, or at least I think it does something weird is at least happeing but I have to go to sleep now, I'll have another look at this another day...

    thanks


    //johnzered
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Hello gibman!

    I just downloaded and compiled the latest svn, and so far it looks good! Did you change something else than the if clause you suggested yesterday because last night it didn't work when I tried that?

    //johnzered
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    i did a lot of changes, but none relating to this.

    except for the if clause.

    /gibman
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Okay then, I don't understand why it didn't work yesterday then, well nevermind it works perfect now in every possible scenario I've tried! It even solved an other problem I've had. One small thing though that probably doesn't belong here but still...the yes/no dialog is somewhat unnecessary when not in fullscreen because it's only then you really have the oportunity to say yes or no and get different result, or am I wrong?

    thanks!

    //johnzered
     

    Users who are viewing this thread

    Top Bottom