Unable Play Recordings
#1
Hello all,

I've been a long time MediaPortal user but thought I would give XBMC a try since Live TV is now an option.

Everything has been working great except playing recordings. The recordings show up, but when I select it, nothing happens.

Anyone have any thoughts?
Reply
#2
Are you running XBMC and the TV-Server on the same machine or on two different machines?
In the second case, check if you have shared your Recordings folder and whether you can access it from the 2nd machine.

Enable debug logging in XBMC and check the xbmc.log file for more hints.
See the XBMC Wiki for enabling debug logging. Wiki: Log file
If you can't find it yourself, upload your debug log to http://xbmclogs.com/ and post a link to the log file here.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#3
Thanks Margo!

I have a client server set up and I know the recordings drive is shared, ie. I can browse that folder from My Computer on the client. I have the mediaportal client installed as well on the client machine and it plays the recordings without issue.

At work now but will figure out the logs and get them posted tonight.
Reply
#4
Margo,

Attached is the log. I can see where I tried to play a recording and it failed to play.

http://pastebin.com/pWZUt2SA

Any thoughts?
Reply
#5
Looks that either your log file is not complete or that the MediaPortal PVR addon has no connection yet with the backend. I don't see a line like:

Code:
INFO: AddOnLog: MediaPortal PVR Client: Connected to 127.0.0.1:9596

Furthermore, your log file does not show the current pvr addon settings. I'm looking for a lines like this:

Code:
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: streamingmethod: TSReader, usertsp=0
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: host='127.0.0.1', port=9596, timeout=10
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: ftaonly=0, useradio=1, tvgroup='', radiogroup=''
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: readgenre=1, sleeponrtspurl=0
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: resolvertsphostname=1
16:52:39 T:5628   DEBUG: AddOnLog: MediaPortal PVR Client: settings: fastchannelswitch=0

I do see that the "OpenRecordedStream" function of the PVR addon is called with the right recording id, but there is no attempt to open the recording...
As far as I can see from my code, this happens only when the connection with the backend is lost or when the addon is in "ffmpeg" mode.
In the last case, XBMC should not cal the OpenRecordedStream() function but open the rtsp stream directly.

So, right now, I don't see exactly where it fails.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#6
Live TV works just fine so I think there is a connection with the backend.

I do use ffmpeg mode because its the only way I can get Live TV to work at all.

I've deleted the old log, closed xmbc and tried it again.

The new log is attached below:

http://pastebin.com/NRtjjkL3

Any other thoughts?
Reply
#7
Ah, ok if you switched from tsreader to ffmpeg mode, then you have to reset the XBMC PVR database (Settings->Live TV->General->Reset the PVR Database). This should force XBMC to reload the recordings and use a RTSP url instead for playback.

Note that the RTSP playback of ffmpeg may result in frequent playback artifacts, so I would recommend to switch back to TSReader mode.
For TSReader in multi-seat, you will need to share the timeshift folder and the recording folder and make sure that they are accesible on the client side.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#8
OK, so I just went to the XBMC server plugin and it gave me an error about the recordings folder needs to be shared.

I'm 99% sure it is but what is an easy way?

I've just noticed now that the 'Shares' tab in the plugin doesn't show the correct recordings path. Its missed the driver letter. I'm to change this in the plugin itself but the folder does not match what is in the recordings folder in mediaportal.

Any suggestions on getting tsreader working? The live streaming works with ffmpeg mode but not tsreader currently.
Reply
#9
Well, it should not show a drive letter.

If the dialog shows something like "C:\Recordings" in red, it is not shared.

It should show a green \\MACHINENAME\recordingsshare entry if it is shared.

See for an example from my machine: screenshot.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#10
hmmmm. Below is a screen capture of my settings.

I have a timeshift folder that is on a machine called SERVER and its path is F:\Recordings\Timeshifting and the recordings folder is F:\Recordings\Recordings. For some reason it says Recordings2.

Link: http://postimage.org/image/pc5a2ih07/

Now the strange part....on one of my machines the recordings now play but on another, it doesn't. The settings all seem to be identical on both machines.

I'm still using ffmpeg and get absolutely nothing when set to tsreader; live TV nor recordings.

Thanks again for all your help Margo! Your knowledge with this stuff is unbelievable.
I take that back....the second machine was playing recordings but now it is not....
Reply
#11
Another update....

On my main machine, when I switched it to tsreader, I can now play recordings but the live TV doesn't work. I get a 'timout while waiting for buffer file' error.

Oh and happy New Year!
Reply
#12
OK, I feel pretty stupid now but all seems to be working.

The issue was even though the parent directory was shared it wouldn't allow the tsreader option to work without sharing the individual timeshifting and recording folders.

Thanks again for all the help!
Reply

Logout Mark Read Team Forum Stats Members Help
Unable Play Recordings0