problems getting mediaportal pvr client working

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Kilack Offline
Senior Member
Posts: 156
Joined: Jan 2009
Reputation: 0
Post: #1
I've followed the guides to get this going but not having much luck.
Hopefully someone maybe able to help me as this is something I have looked forward to for a long time.

mediaportal tv engine on separate computer.
plugin on tvengine is installed and enabled.
Checked I can telnet to it, works fine.

Configured ip in tsreader for tvengine server.

Enable live tv, grabs the tv guide etc so thats a good sign.
But when I try and watch any tv it gives a timeout error.

08:45:21 T:5572 M:4294967295 NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Jun 5 2011 (Git:8d172e1, compiler 1500)

Code:
8:55:03 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): ->OpenLiveStream(40)
08:55:03 T:5572 M:4294967295   DEBUG: ------ Window Init (DialogBusy.xml) ------
08:55:06 T:2964 M:4294967295    INFO: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): Channel stream URL: rtsp://SERVER/stream2.0, timeshift buffer: D:\mediaportal_streaming\live2-0.ts.tsbuffer
08:55:06 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CRTSPClient::CRTSPClient()
08:55:06 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CRTSPClient::Initialize()
08:55:06 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CRTSPClient::createClient()
08:55:06 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CTsReader::Open(D:\mediaportal_streaming\live2-0.ts.tsbuffer)
08:55:06 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): FileReader::OpenFile() Trying to open D:\mediaportal_streaming\live2-0.ts.tsbuffer
08:55:07 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): FileReader::OpenFile(), open file D:\mediaportal_streaming\live2-0.ts.tsbuffer failed. Error code 3
08:55:08 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): MultiFileReader: timedout while waiting for buffer file to become available
08:55:08 T:2964 M:4294967295   DEBUG: ADDON::CAddonHelpers_Addon::QueueNotification: xbmc.pvrclient-MediaPortal PVR Client (TSReader) - Error Message : Time out while waiting for buffer file
08:55:08 T:2964 M:4294967295   DEBUG: XFILE::CPVRFile::Open - TV Channel has started on filename pvr://channels/tv/all/1.pvr
08:55:08 T:2964 M:4294967295  NOTICE: Creating Demuxer
08:55:08 T:2964 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
08:55:08 T:2964 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
08:55:08 T:2964 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/libfaad.dll)
08:55:08 T:2964 M:4294967295   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
08:55:09 T:2964 M:4294967295   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [mp3]
08:55:09 T:2964 M:4294967295   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
08:55:18 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:18 T:2964 M:4294967295   DEBUG: ffmpeg[B94]: [mp3] Could not find codec parameters (Audio: mp3, 0 channels, s16)
08:55:18 T:2964 M:4294967295   DEBUG: ffmpeg[B94]: [mp3] Estimating duration from bitrate, this may be inaccurate
08:55:18 T:2964 M:4294967295 WARNING: CDVDDemuxFFmpeg::Open - av_find_stream_info could not find codec parameters for pvr://channels/tv/all/1.pvr
08:55:18 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:18 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:18 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:18 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:19 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:19 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:19 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:19 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:19 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:19 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:19 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:19 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:19 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:19 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:20 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:20 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:20 T:2964 M:4294967295   ERROR: PVR: No video or audio data available after 15 seconds, playback stopped
08:55:20 T:2964 M:4294967295   ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, pvr://channels/tv/all/1.pvr
08:55:20 T:2964 M:4294967295   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
08:55:20 T:2964 M:4294967295  NOTICE: CDVDPlayer::OnExit()
08:55:20 T:2964 M:4294967295  NOTICE: CDVDPlayer::OnExit() deleting input stream
08:55:20 T:2964 M:4294967295   DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CRTSPClient::~CRTSPClient()
08:55:20 T:2964 M:4294967295    INFO: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client (TSReader): CloseLiveStream: True
08:55:20 T:2964 M:4294967295   DEBUG: Thread 2964 terminating
(This post was last modified: 2011-06-20 00:57 by Kilack.)
find quote
Kirky99 Offline
Fan
Posts: 606
Joined: Oct 2010
Reputation: 1
Post: #2
All channels?

I've been working on my TV Server for a while, this wekkend I finally got it all working again. I'm using the MP 1.2Beta TV Server, got the 1.2 plugin as well and the latest "unofficial" latest windows build and even an openELEC PVR build all working.

I'm still seeing a few channels though that don't seem to play, although preview in MP TV Server works. I can't say where the problem is right now though, keeping an eye on it and when I get a chance I'll start collecting logs, etc.
find quote
margro Offline
Fan
Posts: 626
Joined: Oct 2009
Reputation: 21
Location: The Netherlands
Post: #3
Short answer: multiseat + tsreader => enable the rtsp options in the configuration settings of the MediaPortal TSReader PVR addon.

Why? By default, the TSReader addon tries to open the timeshift buffer file from the TVserver directly. It cannot find this file locally because it is on the remote TV server machine and therefore it fails.
Sharing over SMB is not yet supported.

See your short log:
Code:
open file D:\mediaportal_streaming\live2-0.ts.tsbuffer failed. Error code 3

Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo).
http://www.scintilla.utwente.nl/~marcelg/xbmc
find quote
Kilack Offline
Senior Member
Posts: 156
Joined: Jan 2009
Reputation: 0
Post: #4
Thank you very much for your help. Working nicely now.
find quote
BrianM Offline
Junior Member
Posts: 2
Joined: Oct 2012
Reputation: 0
Post: #5
(2011-06-20 17:33)margro Wrote:  Short answer: multiseat + tsreader => enable the rtsp options in the configuration settings of the MediaPortal TSReader PVR addon.

Why? By default, the TSReader addon tries to open the timeshift buffer file from the TVserver directly. It cannot find this file locally because it is on the remote TV server machine and therefore it fails.
Sharing over SMB is not yet supported.

See your short log:
Code:
open file D:\mediaportal_streaming\live2-0.ts.tsbuffer failed. Error code 3

@Margro
I just came across this old post in a search, as I'm having problems getting XMBC Mediaportal PVR Client (1.2.3.117) running on Raspbmc, with the Server (1.2.3) running on Win7.

I have Frodo running with Mediaportal PVR Client running on the Windows host locally (using the default settings), so the system is set up OK.

I can test streaming from another PC using VLC using e.g. rtsp://192.168.10.115/stream0

I've tried changing to RTSP on the PVR client but it flashed up error saying something like "RTSP not available"

Can you help please?

Thanks

Brian
find quote
margro Offline
Fan
Posts: 626
Joined: Oct 2009
Reputation: 21
Location: The Netherlands
Post: #6
RTSP is not available in TSReader mode at the moment because it depends on the live555 library which is not included in the official PVR addons repository.

Two alternatives:
1) share your recordings and live TV folders and add a username/password combo to access the shares to the pvr addon settings. Use the TSReader mode without RTSP to play from the Windows share.
2) Put the pvr addon in ffmpeg mode. It will then use FFMpeg to play the rtsp stream. Note that ffmpeg RTSP will probably result in many playback artifacts and stuttering which I can't solve.

Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo).
http://www.scintilla.utwente.nl/~marcelg/xbmc
find quote
cal007 Offline
Junior Member
Posts: 4
Joined: Nov 2012
Reputation: 0
Post: #7
Hello margro,

my name is cal.
I have the same set-up as explained by BrianM.
I followed your instructions. Unfortunately wthout success.

I have share on the server (win machine) for the timeshift.
I can browse it from my xbmc machine (MK 802).
The pvr addon imports the channel list for radio and TV. When I try to watch a channel the timeshft starts but the access to the "file" ends in a timeout. I still believe it is looking for the file locally instead of on the server.
RTSP is not activated.

Unfortunately I ahve less control concerning the definition of the path to the timeshift folder as in the newet version of the pvr addon the locations are reported by the addon itself (when my understanding is right).

@BrianM: does it work on your side?

If you have another idea what I am doing wrong, an advice would be great.

Thank you,
cal
find quote
cal007 Offline
Junior Member
Posts: 4
Joined: Nov 2012
Reputation: 0
Post: #8
.....probably found the problem. Last build of pvraddon needed a patch as far as I can see from here.... http://www.dotnetdevelopers.net/XBMC/xbmcpvr.html
...even though I ma not sure where to put the nshare.dll

Cal
find quote
margro Offline
Fan
Posts: 626
Joined: Oct 2009
Reputation: 21
Location: The Netherlands
Post: #9
That nshare.dll patch is for NextPVR and not for the MediaPortal pvr addon.

Timeout is typical for share access problems.

For checking which exact url is used by the pvr addon, you should enable XBMC debug logging and then check the xbmc.log file for a line with "CTsReader:TranslatePath "
This line should both the location on the TV Server and the determined UNC link.

You should also test it with a recording and if you can access the recording share directly from XBMC's video player (outside the Live TV part).

Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo).
http://www.scintilla.utwente.nl/~marcelg/xbmc
find quote
cal007 Offline
Junior Member
Posts: 4
Joined: Nov 2012
Reputation: 0
Post: #10
Hello margro,

got it working now.
As have RAM Disc for livetv the right shared path was tricky...
Unfortunately the stream is stuttering.... so it is not really usable at this moment.
Thanks.

cal
find quote
alpinestars Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Location: Dortmund
Post: #11
(2012-11-18 09:05)cal007 Wrote:  Hello margro,

got it working now.
As have RAM Disc for livetv the right shared path was tricky...
Unfortunately the stream is stuttering.... so it is not really usable at this moment.
Thanks.

cal

How did you manage it? I have a standalone TV server (1.2.3) with a RAM disk for timeshift, unfortunately the corresponding path (here \\server\H$ ) cannot be used.

Thanks
find quote
cal007 Offline
Junior Member
Posts: 4
Joined: Nov 2012
Reputation: 0
Post: #12
Hi alpinestars,

I could not set the security settings/ share for the ramdisk itself, even though I shared it with access for everybody. There was only the "share for admnistrative tasks" active.

What I did, is:
- I created a folder on the RAM disc
- set the share of this folder accordingly (e.g. everybody full access or certain users with the access you want)
- I set in "timeshifting" - "folders" - "timeshift folders" the path to the folder on the ramdisc in the "Microsoft windows Network" e.g. \\server\timeshift.



Best regards, cal
find quote