Can't play recorded TV unless remuxed
#1
Using Win7, Gotham. I'm currently running the latest serverwmc install and wmc pvr plugin. If I don't select 'remux all recordings', when I got to play a recorded TV file (which is located on a network share) I get the dreaded openinputstream error.

So I read in the release logs to enable the Debug_RequestAllRecordings setting, which I did. However the file doesn't play. From the XBMC log file:[/code][/b]

Code:
18:32:17 T:5796  NOTICE: DVDPlayer: Opening: pvr://recordings/Who Do You Think You Are? (4)/Who Do You Think You Are?, TV (Nine Melbourne), 20140416_025746.pvr
18:32:17 T:5796 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:32:17 T:2944  NOTICE: Thread DVDPlayer start, auto delete: false
18:32:17 T:2944  NOTICE: Creating InputStream
18:32:17 T:2944   ERROR: AddOnLog: Windows Media Center Client - wingl windx x86 Edition: Error opening stream file, Win32 error code: 2
18:32:17 T:2944   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://recordings/Who Do You Think You Are? (4)/Who Do You Think You Are?, TV (Nine Melbourne), 20140416_025746.pvr]
18:32:17 T:2944  NOTICE: CDVDPlayer::OnExit()
18:32:17 T:2944  NOTICE: CDVDPlayer::OnExit() deleting input stream
18:32:17 T:5796  NOTICE: CDVDPlayer::CloseFile()
18:32:17 T:5796  NOTICE: DVDPlayer: waiting for threads to exit
18:32:17 T:5796  NOTICE: DVDPlayer: finished waiting
18:32:17 T:5796  NOTICE: CDVDPlayer::CloseFile()
18:32:17 T:5796  NOTICE: DVDPlayer: waiting for threads to exit
18:32:17 T:5796  NOTICE: DVDPlayer: finished waiting

Let me know if I should provide any more info. Happy to test debug build etc..
SPMC 16.4 - nVidia Shield TV
Reply
#2
Can you please post a ServerWMC log, as per this sticky http://forum.xbmc.org/showthread.php?tid=179426
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#3
Also what is the client machine?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#4
here you go guys - I had to re-create the error, but you can see it in the log (just different time/date)

http://pastebin.com/7wG9v2Dv

the client machine is windows 7, the file server is 2008 R2
SPMC 16.4 - nVidia Shield TV
Reply
#5
So it looks like your WMC/ServerWMC is running on a "server" called HTPC and this uses the default recorded TV directory at C:\Users\Public\Recorded TV and this is shared OK... then there is an additional watched directory in WMC of \\SERVER\Recorded TV and this is where the recording you are trying to watch, is apparently located. Do you have something that moves recordings from HTPC to SERVER when they complete?

Are the share permissions on the SERVER setup OK for the "HTPC" to access them? Since you are not specifying any credentials that means that the exact same user/password running XBMC on the HTPC client would need to exist on the SERVER and have access to that share. Because you have 2 machines that both have Recorded TV share you will need the same credentials to work for both places. Either a single user/password that exists on both, and specify that in the ServerWMC settings to use as credentials, or turn off "password protected sharing" in advanced network settings, or make sure that the user logged in and running XBMC exists on the server side with the same user/password.

Are you running a domain or just a homegroup?


Also, can you access this location from the HTPC client using windows explorer?
\\SERVER\Recorded TV\

And can you play this file \\SERVER\Recorded TV\Grand Designs_ABC1_2014_04_14_17_59_35.wtv
using
- XBMC Video section
- Windows Media Player or VLC or some other player
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#6
Yes that is correct. I did forget to mention that the setup hasn't changed since I was running an older version of serverwmc from feb, and xbmc 12.3 (i uprgaded both last weekend) - so shares etc are all setup ok. It's on a domain.

The videos play fine from wmp/vlc, but i haven't tried from xbmc video section - will do tonight.
SPMC 16.4 - nVidia Shield TV
Reply
#7
so something moves recordings from HTPC to SERVER? What is that process? If you disable that and have the completed recording located on HTPC, does it then play OK?
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#8
ok sorry for the gap in replies - had to wait til i got home from work to try stuff.

I have a script that runs every hour that moves completed recordings over to the server. (i've had this for the last 12 months)

When I added the network share to the videos part of xbmc and tried to play one of the wtv files, it played fine.

When I played a local WTV file from the 'recordings' section in xbmc, it played fine.
SPMC 16.4 - nVidia Shield TV
Reply
#9
ok, so only once recordings are moved to SERVER, are they giving issues with playback?

i still feel somehow the permissions are off, is it possible to rework them? Eg create a new user for this purpose, ensure the user has access to share on HTPC and SERVER, and specify that user and password in ServerWMC settings?

Or, turn off password protected sharing under advanced network settings on SERVER, just temporarily to see whether it gets playback of recordings hosted on SERVER working?
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#10
hmm - the share has read/write access to 'everyone' so i really don't think it's a permission issue - also xbmc plays them fine directly from the video interface, etc.

Also, it can read the list of the recordings, i would have thought if it were permission related it wouldn't be able to do that? or is that done some other way?
SPMC 16.4 - nVidia Shield TV
Reply
#11
The thing is that "everyone" in windows authentication doesnt mean "anyone" - it means any known user to the server/domain. In other words it doesnt cover anonymous access. XBMC is using SMB:// protocol to access the share and it could be that permissions arent working as they normally would between 2 windows boxes or using a UNC path etc.

In any case, XBMC is clearly reporting that it cant access the WTV file on the server share, and my suggestions are ways for you to further diagnose/troubleshoot the situation. Ie create an explicit user/password and set that in ServerWMC settings. Or disable password protected sharing on the server, temporarily, to see if the recording can then be played,

Retrieving the recording listing is done by ServerWMC and not by the client, so that doesnt really mean too much. Eventhough ServerWMC and the client are running on the same box, ServerWMC is accessing the SERVER share over UNC path with a windows user account, whilst the XBMC client is accessing over SMB:// and without any credentials being specifically provided (im not sure whether windows credentials of the logged on user are implicitly used or not, particularly in a domain setting). It can't hurt to give my suggestions a go, right?
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#12
absolutely - thanks for your help. will give it a go tonight and let you know how i go!
SPMC 16.4 - nVidia Shield TV
Reply
#13
What user account is XBMC running under, on the Windows 7 client? Is that a domain user, that is definitely scoped by the "DOMAIN\Everyone" permission on the SERVER share? Could you try explicitly granting share access to that user on the share, rather than just "everyone".

Still try the "disable password protected sharing" advanced network setting too, just to see if that works.

hmm actually one weird thing I just noticed is that in your log file, the path doesnt appear to be SMB but UNC. See
Code:
2014/05/15 07:04:49.155 OpenRecordingStream> returning client's path to recording: \\SERVER\Recorded TV\Grand Designs_ABC1_2014_04_14_17_59_35.wtv


We are meant to be using all SMB paths as per Team XBMC request, but we had missed this one case (watched folders that are themselves already UNC paths and not local to the serverWMC machine). Funny thing is I fixed that and the fix is in build 1135 which you are running. So im not sure what is going on now...

OK, it looks like our logic is a bit tripped up because you have the client and server running on the same machine but a watched folder on a different machine. We dont convert the watched folder path to SMB because we have an earlier piece of logic that says if the client is on the same PC as the server, just return the direct file path as reported by WMC (ie a local drive or in your case \\SERVER\ share).

Im not sure if any of this actually affects your problem though, it just explains why your setup is using UNC paths eventhough we are meant to be using SMB paths. You still may have a server share permission problem...

Just on that, we might get more details on the XBMC client log if you have it in DEBUG mode. We might get a Win32 error code (access denied, file not found, whatever) with a lower log level, so give an XBMC DEBUG log a go as well!
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#14
I don't seem to be able to 'disable password protected sharing' because i'm on a domain.. know any other way to do it? i gave full access to 'anonymous logon' but that didn't make a difference.

i set debug level to 3 and i've uploaded relevant parts here:

http://pastebin.com/p7MdPZPF

i didn't upload the whole thing because of password etc - but if you need me to, let me know and i'll cut out the private bits and re-paste.
SPMC 16.4 - nVidia Shield TV
Reply
#15
I just PM'd you a test build. See if makes a difference on this problem.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply

Logout Mark Read Team Forum Stats Members Help
Can't play recorded TV unless remuxed0