TVplugin - avoiding RTSP in multiseat mode (test plz). (5 Viewers)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Come to think of it ... u should only use the drive letters, not the full path.

    ex.

    <entry name="usertsp">no</entry>
    <entry name="recordingpath">R:\</entry>
    <entry name="timeshiftingpath">T:\</entry>
     

    mbb

    Portal Pro
    November 20, 2004
    374
    15
    Home Country
    France France
    the right working syntax is:

    <entry name="usertsp">no</entry>
    <entry name="recordingpath">R:</entry>
    <entry name="timeshiftingpath">T:</entry>

    to avoid T:\\TS ;)


    ok for recording but still the same problem to read the ts file

    Code:
    2008-10-30 23:37:00.984375 [Info.][MPMain]: TSReaderPlayer: open file: T:\TS\live5-0.ts.tsbuffer
    2008-10-30 23:37:09.281250 [Info.][MPMain]: TSReaderPlayer:exception while creating DShow graph Attempted to read or write protected memory. This is often an indication that other memory is corrupt.    at DirectShowLib.IFileSourceFilter.Load(String pszFileName, AMMediaType pmt)
       at MediaPortal.Player.TSReaderPlayer.GetInterfaces(String filename)
    2008-10-30 23:37:09.281250 [Info.][MPMain]: TSReaderPlayer:GetInterfaces() failed
     

    cfforce

    MP Donator
  • Premium Supporter
  • March 4, 2008
    241
    21
    Home Country
    Netherlands Netherlands
    It seems that my mediaportal RC3 (latest svn) ignores the "usertsp"

    Mediaportal.xml
    Code:
      <section name="tvservice">
        <entry name="hostname">artemis</entry>
        <entry name="usertsp">no</entry>
        <entry name="recordingpath">U:</entry>
        <entry name="timeshiftingpath">T:</entry>


    31-10-2008 14:05:56.352 [68c]CTsReaderFilter::Load()
    31-10-2008 14:05:56.353 [68c]open rtsp:rtsp://Artemis/stream1.0
    31-10-2008 14:05:56.354 [68c]CRTSPClient::OpenStream()
    31-10-2008 14:05:56.355 [68c]CRTSPClient::getSDPDescriptionFromURL()
     

    mbb

    Portal Pro
    November 20, 2004
    374
    15
    Home Country
    France France
    I found the solution for my TimeShift problem

    I have a dedicated harddrive on the server for pagefile, temp and TimeShift folder .

    It was set in dynamic mode with a partition for pagefile and temp + a mounted partition dedicated to TimeShift

    Now the hardrive is set in basic mode with standard folders and all is right :) :) :)

    Thanks gibman for this really important feature.
     

    pigboy306

    Portal Pro
    July 16, 2008
    121
    2
    Home Country
    United Kingdom United Kingdom
    Don't think this is working for me this is the Mediaportal Log
    2008-11-01 21:11:53.080000 [Info.][MPMain]: tvhome:startplay
    2008-11-01 21:11:53.087000 [Info.][MPMain]: tvhome:file:d:\timeshiftbuffer\live2-0.ts.tsbuffer
    2008-11-01 21:11:53.096000 [Warn.][MPMain]: tvhome:startplay. Phase 1 - 28 ms - Done method initialization
    2008-11-01 21:11:53.104000 [Info.][MPMain]: tvhome:startplay:rtsp://Media/stream2.0
    2008-11-01 21:11:53.108000 [Info.][MPMain]: g_Player.Play(rtsp://Media/stream2.0 TV)
    2008-11-01 21:11:53.120000 [Info.][MPMain]: TSReaderPlayer play:rtsp://Media/stream2.0 radio:False

    I have set Mediaportal.xml up as this;

    </section>
    <section name="tvservice">
    <entry name="hostname">192.168.1.25</entry>
    <entry name="usertsp">no</entry>
    <entry name="recordingpath">Z:\Recordings</entry>
    <entry name="timeshiftingpath">Z:\timeshiftbuffer</entry>
    <entry name="preferac3">no</entry>
    <entry name="preferAudioTypeOverLang">yes</entry>
    <entry name="dvbbitmapsubtitles">no</entry>
    <entry name="dvbttxtsubtitles">no</entry>
    <entry name="audiodualmono">no</entry>
    <entry name="preferredaudiolanguages">
    </entry>
    <entry name="preferredsublanguages">
    </entry>
    </section>
    <section name="mytv">
    <entry name="hideAllChannelsGroup">no</entry>
    <entry name="showChannelStateIcons">yes</entry>
    <entry name="enableRecNotifier">no</entry>
    <entry name="enableTvNotifier">no</entry>
    <entry name="notifyTVBefore">300</entry>
    <entry name="filter0">undefined</entry>
    <entry name="defaultar">normal</entry>
    <entry name="group">DVBt</entry>
    <entry name="deinterlace">0</entry>
    <entry name="autoturnontv">no</entry>
    <entry name="autofullscreen">no</entry>
    <entry name="autoturnontimeshifting">no</entry>
    <entry name="byindex">yes</entry>
    <entry name="showchannelnumber">no</entry>
    <entry name="channelnumbermaxlength">3</entry>
    <entry name="audiocodec">MPA Decoder Filter</entry>
    <entry name="videocodec">MPV Decoder Filter</entry>
    <entry name="h264videocodec">CyberLink H.264/AVC Decoder (PDVD7.x)</entry>
    <entry name="audiorenderer">Default DirectSound Device</entry>
    <entry name="aacaudiocodec">MONOGRAM AAC Decoder</entry>
    <entry name="allowarnormal">yes</entry>
    <entry name="allowaroriginal">yes</entry>
    <entry name="allowarstretch">yes</entry>
    <entry name="allowarzoom">yes</entry>
    <entry name="allowarzoom149">yes</entry>
    <entry name="allowarletterbox">no</entry>
    <entry name="allowarpanscan">no</entry>
    <entry name="teletextHidden">no</entry>
    <entry name="teletextTransparent">no</entry>
    <entry name="teletextRemember">yes</entry>
    <entry name="teletextFontSize">80</entry>
    <entry name="channel">ITV1</entry>
    </section>

    I did delete the Tv service section then put in just the three lines in the thread but MP replaced the file with the lines edited... I think i need a bit of guidance please.:D
     

    pigboy306

    Portal Pro
    July 16, 2008
    121
    2
    Home Country
    United Kingdom United Kingdom
    It seems that my mediaportal RC3 (latest svn) ignores the "usertsp"

    Mediaportal.xml
    Code:
      <section name="tvservice">
        <entry name="hostname">artemis</entry>
        <entry name="usertsp">no</entry>
        <entry name="recordingpath">U:</entry>
        <entry name="timeshiftingpath">T:</entry>


    31-10-2008 14:05:56.352 [68c]CTsReaderFilter::Load()
    31-10-2008 14:05:56.353 [68c]open rtsp:rtsp://Artemis/stream1.0
    31-10-2008 14:05:56.354 [68c]CRTSPClient::OpenStream()
    31-10-2008 14:05:56.355 [68c]CRTSPClient::getSDPDescriptionFromURL()

    Is this tru does the SVN ignore this (I am using 26-10 BTW)
     

    cics

    MP Donator
  • Premium Supporter
  • December 30, 2007
    49
    2
    Drammen
    Home Country
    Norway Norway
    This feature still work fine for RC3's latest weekly build.

    And for others that having problem with this feature, please check your shared file from the log and verify you can have access to the file through File Explore.

    Example for pigboy306, in your log you see:
    2008-11-01 21:11:53.087000 [Info.][MPMain]: tvhome:file:d:\timeshiftbuffer\live2-0.ts.tsbuffer

    Now, cut and paste "d:\timeshiftbuffer\live2-0.ts.tsbuffer" to a File Explore and verify you've access to the file. If you don't have access to the file, then fix your shares on tve3.

    I won't bore you with all the technical infos on how UNC works, but here is a quick step-by-step on how to setup this feature: (there are several ways to do this, but this is like a "dummies guide to rtsp=no")

    TVServer setup:
    1. You must have a dedicated disk partition for timeshift and records.
    2. I suggest you format that partition with 64K block.
    3. This step is important: You need to "Change Driver Letter" for the partition so that MP client PC can have the same driver letter when it “Map Network Driver”.
    3.1 For this example, I decide to give the partition a driver letter 'T' and
    3.2 (WindowsXP) Goto Control Panel -> Computer Manager -> Disk Management.
    3.3 Right click your partition to bring up context menu and select “Change Driver Letter and Path for xxx”.
    3.4 Now select "Change" and select driver letter T. Press OK on everything and exit Disk Management.
    4. Goto your driver T and create a folder "tvserver".
    5. Goto your newly created "tvserver" folder and create two new folders "timeshift" and "records".
    6. Start your TVSetup/configuration and change your timeshift and records path for your tvcards so they match with T:\tvserver\timeshift and T:\tvserver\records.
    7. To be sure it works; restart TV Service and manual start timeshift from TVSetup. Check your T:\tvserver\timeshift and verify timeshift files does exist…
    8. We are almost done here... Next you need to share T:\tvserver and T:\tvserver\timeshift AND T:\tvserver\records. Yes, share all three folders, not just tvserver folder. I know its overkill to share subfolders like timeshift and records, but again; just do it.


    MP TVClient setup:
    1. Goto your MP client PC and map a network driver T. Do this by:
    1.1 Start your File Explore and select Tool -> Map Network Driver
    1.2 Set Driver to letter T. THIS IS IMPORTANT, The driver letter must be the same as the one you set in tvserver's timeshift partition.
    1.3 Set Folder as: \\tvserverName_or_IP\tvserver
    1.4 (Optional) Set username or password if needed.
    1.5 Select "Finish" and verify the network driver T is successfully mapped. If not, check your tvserver's name or IP.

    2. Delete all MP logs
    3. Open Mediaportal.xml and find <section name="tvserver">
    3.1 Add following lines in that section:

    <entry name="usertsp">no</entry>
    <entry name="recordingpath">T:</entry>
    <entry name="timeshiftingpath">T:</entry>


    4. Save mediaportal.xml and start MP; tune in a channel.
    5. Stop MP.
    6. Verify everything is working without using RTSP by open Mediaportal.log and search for "tvhome:file:" it should show full path to your timeshift buffer file. And few lines below that you should get something like:
    tvhome:startplay:\\server\S\TS\liveXX-YY.ts.tsbuffer - using rtsp mode:False

    Good luck.
     

    pigboy306

    Portal Pro
    July 16, 2008
    121
    2
    Home Country
    United Kingdom United Kingdom
    Thanks to u I have now

    2008-11-05 18:56:58.130400 [Info.][MPMain]: tvhome:startplay
    2008-11-05 18:56:58.136400 [Info.][MPMain]: tvhome:file:T:\timeshiftbuffer\live3-0.ts.tsbuffer
    2008-11-05 18:56:58.154400 [Warn.][MPMain]: tvhome:startplay. Phase 1 - 32 ms - Done method initialization
    2008-11-05 18:56:58.165400 [Info.][MPMain]: tvhome:startplay:T:\timeshiftbuffer\live3-0.ts.tsbuffer - using rtsp mode:False

    Tremendous! I'll test... I had a drive D on the server and mapped drive Z think that was the problem... perhaps an edit to include this instruction in big letters in the first post???
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    I'm using drive C: on tvserver and drive O and P on my remote clients for recordings and timeshifting and it does also work fine...
     

    TranceManNZ

    Portal Pro
    July 30, 2006
    209
    21
    Just a little help . . I can not see <section name="tvserver"> in my xml file. Is the below correct?

    <section name="tvservice">
    <entry name="usertsp">no</entry>
    <entry name="recordingpath">T:</entry>
    <entry name="timeshiftingpath">T:</entry>
    <entry name="hostname">192.168.1.6</entry>
    <entry name="preferac3">no</entry>
    <entry name="preferAudioTypeOverLang">yes</entry>
    <entry name="dvbbitmapsubtitles">no</entry>
    <entry name="dvbttxtsubtitles">no</entry>
    <entry name="audiodualmono">no</entry>
    <entry name="preferredaudiolanguages">
    </entry>
    <entry name="preferredsublanguages">
    </entry>
    </section>
     

    Users who are viewing this thread

    Top Bottom