Problem with two tv-cards by channel-changing (1 Viewer)

josu

Portal Pro
March 14, 2006
192
0
Kassel, Germany
Home Country
Germany Germany
Hello all,

channel-changing with 12640 seems better, but on client a llittle slow.

I have opened a new thread because the "channel-changing-behaviour" seems to be fixed, but my problem exists further:(




At first: I have two DVB-s-cards (look my stystem)

If I selected the same tv-program on the client and on the server, both runs.
If I selected another program on the client, the client on the server changed to the same program (its look like a remote )

If I changed from the same program on the server to another program, its the same, too.

E.g. my woman looks "CSI NY" and I look the same program (!!both on card2) and now I switch to "TerraNova", my woman is very sadly :mad:

Now she is switching to "CSI NY" and now I am very sadly:(

It happened only then, when "CARD2" is selected, not on "CARD1"

I have marked the location in tv.txt where the error is coming up.:D
 

josu

Portal Pro
March 14, 2006
192
0
Kassel, Germany
Home Country
Germany Germany
Hello,

I have looked in the source-code and I have found something, which can cause
the problem:


TvEngine3/TVLibrary/TvControl/VirtualCard.cs



941 /// <summary>
942 /// Determines whether the card is locked.
943 /// </summary>
944 /// <param name="user">The user which has locked the card</param>
945 /// <returns>
946 /// <c>true</c> if the card is locked; otherwise, <c>false</c>.
947 /// </returns>
948 public bool IsLocked(out User user)
949 {
950 user = null;
951 try
952 {
953 if (_cardId < 0) return false;
954 RemoteControl.HostName = _server;
955 return RemoteControl.Instance.IsCardInUse(_cardId, out user);
956 }
957 catch (Exception ex)
958 {
959 HandleFailure(ex);
960 }
961 return false;




....here must determines, which users!!!! ( 2 or more hosts) are locked to a card, not determines for one user !!!:)

If two users are on one card (looking the same channel) and one user would change to another channel, the first user must be standing on the card and the other user must change to the other card:rolleyes:

The client, which appears as user in the "manual control" on card2 of the tve-mmc ist the user, which makes the pseudo-remote !!!
If this user closed mp, the other client hangs up (get no stream) :-(


Edit!!!!!!! Its happened also on card1 !!!!!!!!!
 

josu

Portal Pro
March 14, 2006
192
0
Kassel, Germany
Home Country
Germany Germany
Same in 12800:mad:

Its very bad, if one client switches the other client. I thought, the bug is away because this:

.......31/01/2007 [10:43h] _Frodo_ added: added support for watching/recording multiple tv channels on 1 (dvb) card.........

I know, there was meant "different channels from one transponder", but I hoped, the bug was away with this svn.

Hello developers, can you please look for this bug:confused:

:D :D :D :D :D :D
 

joboehl

Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    josu,

    I don't think this is a bug, I think it is the default behavior.

    I remember some discussions about what to do in a scenario like this. One of the ideas was that the second user would not automatically share the same stream because it would be a "hostage" of the user locking the card. At the same time, if you prohibits user1 of changing the channel because someone else "subscribed" to his stream, you are making user1 hostage of user2 and that's not good either.

    The first releases of tvserver worked this way (no automatic routing to an active stream). In an ideal scenario, user1 and user2 would have it's own set of cards and not share the streams, but that's not what it's going to happen in most cases.

    Don't know why this was changed from the original behavior, but I don't think it's a bug, but by design.

    Just my 2 cents.
     

    josu

    Portal Pro
    March 14, 2006
    192
    0
    Kassel, Germany
    Home Country
    Germany Germany
    josu,

    I don't think this is a bug, I think it is the default behavior.

    I remember some discussions about what to do in a scenario like this. One of the ideas was that the second user would not automatically share the same stream because it would be a "hostage" of the user locking the card. At the same time, if you prohibits user1 of changing the channel because someone else "subscribed" to his stream, you are making user1 hostage of user2 and that's not good either.

    The first releases of tvserver worked this way (no automatic routing to an active stream). In an ideal scenario, user1 and user2 would have it's own set of cards and not share the streams, but that's not what it's going to happen in most cases.

    Don't know why this was changed from the original behavior, but I don't think it's a bug, but by design.

    Just my 2 cents.

    hello joboehl,

    a strange behavior, but I think, its a bug because when 2 clients are on the same channel, tve switches automatically both clients to one card, and when one client shuts down, the other hangs.
    With a little change in the sourcecode (look above posting) it must be possible to handle this behavior:)

    We wait for frodos opinion :D
     

    josu

    Portal Pro
    March 14, 2006
    192
    0
    Kassel, Germany
    Home Country
    Germany Germany
    Hello,
    I have still problems with this behavior (svn12903)
    As attachment the newest logs.

    another strange behavior look the picture
     

    josu

    Portal Pro
    March 14, 2006
    192
    0
    Kassel, Germany
    Home Country
    Germany Germany
    I have found out, that the channel is switched, but mp-client jumps to the wrong place in the timeshifting.
    If I play forward to the end, the wished channel appears :)

    Seems to be a little bug:)
     

    josu

    Portal Pro
    March 14, 2006
    192
    0
    Kassel, Germany
    Home Country
    Germany Germany
    It seems, nobody understand me, or nobody have my prob.

    Its very simple:
    2 DVB-s cards
    2 network-clients
    1 server

    both on the same TV-channel.

    The client, which was at first on this channel, remotes the other, if I switch to another channel.

    Example:
    client1 select at first ch1.
    Then I start client2 and I select the same ch1.
    T
    hen I select on client1 the ch2.
    I do nothing on client2, but client2 changes also to ch2.


    And reverse, too !

    Can nobody help me ???


    I will get a price for the longest self-talk in this forum:)
     

    Users who are viewing this thread

    Top Bottom