No Stream when scheduled recording (1 Viewer)

Peter Pan

Portal Pro
April 22, 2004
119
3
Kiel
Home Country
Germany Germany
MediaPortal Version: MP 0.2.2, SVN 12847, TVEngine 3 SVN 12855
MediaPortal Skin: BlueTwo
Windows Version: WindowsXP SP2
CPU Type: Pentium 4 2.8GHz
HDD: Segate 160GB
Memory: 512 MB DDR333
Motherboard: Barebone Hermes 651
Motherboard Chipset: MSI 651
Motherboard Bios: Newest
Video Card: Geforce FX 5200
Video Card Driver: 8.1.9.8
Sound Card: On Board Realtek ALC650
Sound Card AC3:
Sound Card Driver:
1. TV Card: Cinergy 12000 DVB-T
1. TV Card Type: DVB-T
1. TV Card Driver: 4.8.0.16 (BDA)
2. TV Card: Cinergy T2-USB2 DVB-T
2. TV Card Type: DVB-T
2. TV Card Driver: (BDA)
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 PDVD6
MPEG2 Audio Codec: MPA
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV: Panasonic
TV - HTPC Connection: S-Video


Hi all,

I just recognized, that MP starts no timeshift stream, when a scheduled recording starts.

It is impossible to view the current recording.
 

samposoft

Portal Member
January 14, 2007
28
0
Home Country
Italy Italy
MediaPortal Version:
MediaPortal Skin:
Windows Version: Windows Server 2003 SP1
CPU Type: AMD ATHLON 64 3800+
HDD: WDC 250GB
Memory: 1 GB DDR
Motherboard: MSI AMETHYST-M
Motherboard Chipset: ATI Xpress 200 (RS480)
Motherboard Bios: Phoenix 3.35
Video Card: ATI RADEON X600 Series
Video Card Driver: 8.205.0.0
Sound Card: Realtek AC'97 Audio
Sound Card AC3: optical out
Sound Card Driver: 5.10.0.5910
1. TV Card: MCFTEC DVB-T STICK (FREECOM USB Digital TV Receiver)
1. TV Card Type: DVB-T
1. TV Card Driver: 2.0.1.8
2. TV Card: Hauppauge WinTV PVR-500 MCE
2. TV Card Type: analog
2. TV Card Driver: 2.0.43.24103 (WHQL)
3. TV Card: LifeView FlyDVB-T
3. TV Card Type: DVB-T
3. TV Card Driver: 2.11 (WHQL)
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Gabest MPV Video Codec 1.0.0.3
MPEG2 Audio Codec: Gabest MPA Video Codec 1.0.0.3
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:

I have the same problem with TVEngine3 SVN 12855.
 

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Same issue here with analoge tv cards too.
     

    Peter Pan

    Portal Pro
    April 22, 2004
    119
    3
    Kiel
    Home Country
    Germany Germany
    Hi all,

    the solution is a patch in Scheduler.cs of the TVService.

    The following code must be modify:

    Code:
    if (_controller.SupportsSubChannels(cardInfo.Card.IdCard) == false)
            {
              Log.Write("Scheduler : record, now start timeshift");
              string timeshiftFileName = String.Format(@"{0}\live{1}-{2}.ts", cardInfo.Card.TimeShiftFolder, cardInfo.Id, _user.SubChannel);
              if (TvResult.Succeeded != _controller.StartTimeShifting(ref _user, ref timeshiftFileName))
              {
                return false;
              }
            }

    I did not understand, why the timeshift should not start, if the TVcard supports subchannels.

    If I uncomment the
    Code:
     // if (_controller.SupportsSubChannels(cardInfo.Card.IdCard) == false)
    -instruction, all seems to work.

    The stream will start, when the scheduled recording starts.

    Is that modification correct?

    I will attached a binary of the TVService, based on the svn 12935, so sombody may check it with other TVcards.
     

    lar282

    Portal Pro
    July 11, 2004
    414
    2
    Can somebody tell me what the server SHOULD do?

    if a schedule rec is started and NO clients are conencted:
    A:\ Should the server start to streaming?
    b:\ should the server start a timeshift file?
    c:\ only record, no ts no stream?

    Regards

    I still get C, but I do not know if this is suppose to happen or not (svn last night)


    //Lasse
     

    Frodo

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,517
    121
    54
    The Netherlands
    Home Country
    Netherlands Netherlands
    for dvb it is: c: only record, no timeshifting files
    for analog it is: record and timeshifting files.

    No matter what you use, you can always view the recording
    while it is still recording...
     

    Peter Pan

    Portal Pro
    April 22, 2004
    119
    3
    Kiel
    Home Country
    Germany Germany
    for dvb it is: c: only record, no timeshifting files
    for analog it is: record and timeshifting files.

    No matter what you use, you can always view the recording
    while it is still recording...

    Hmm.... I could never play a 'still recording file' with the internal player.
    I could connect to the stream while recording. (in a previous svn version)

    For my understanding:
    Is the timeshifting file necessary to connect to the stream, or can the client connect directly to the recording files, if a scheduled recording running?
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    I have had no problems with the client connecting directly to recording files.

    I haven't tried the timeshifting fix yet, i hope it doesn't just start another buffer stream which will tax space and HD utilisation.

    Something more inteligent like a parallel information file with timestamp data referencing the recording but this may not be possoble when you have a mix of TS and MPEG choices for recording.
     

    Users who are viewing this thread

    Top Bottom