necessary privs for a remote XBMC to serverWMC?
#1
i have WMC, and serverWMC on one computer. XBMC from that computer works fine.

I have another computer that I want to reference that original system to stream live TV from ... it doesnt work.

I have serverWMC added as a firewall exception.

What am I missing here?
Reply
#2
what exactly doesnht work? Does the client show channel/EPG information but just cant view live TV or recordings, or you dont even get that far?

Did you follow the wiki setup steps? Need to share the recorded TV directory and sometimes also need to provide user/pass credentials for accessing the share, depending on what your machines are and how you have setup your network/shares
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#3
I believe I followed the instructions.

I dont think I quite get the flow here ..

- SystemA (Windows 7 64bit, has WMC running fine, has serverWMC running, has XBMC 12.2). On this system, everything works.

- SystemB (Windows 7 64bit, has XBMC 12.2 only, with the pvr plugin, with SystemA IP and serverWMC port configured). This says it cannot connect to SystemA.

I need to get some information from the logs when I get a chance again .. i dont have those systems configured anymore.
Reply
#4
The addon makes a connection to a TCP port on the server (default 9080) and downloads information such as channel/EPG data etc. However when you are viewing a live TV or recording, the client is passed a path to a TS or WTV file hosted via a file share on the server PC. So that's why I was saying to clarify what you meant by "it doesnt work". If you get channels and EPG entries and can see recordings listed, but cant view them, that points to a share problem. If you are getting errors where the addon cant start and you dont get ANYTHING then it points to a network connectivity/firewall problem.

You can try all the basic network troubleshooting steps - Make sure your firewall allows ServerWMC to run and listen on the required port. Check netstat -a on the server machine to see that it is listening on that port OK. Try using telnet from the client machine to that port on the server and see if it connects or you get a time out. Try pinging from the client machine. Make sure you dont have any typos etc! The XBMC debug log should say something, possibly just "could not conncect" but it's worth checking/posting that. Try turning off the firewall and antivirus briefly and see if it works then

Also make sure you have the correct client addon build for the version of XBMC you are runnign (v12 Frodo, or v13 Gotham) as one will not work on the wrong XBMC version
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#5
That is precisely what is going on.

I get EPG, I can view listings.

I cannot play any streams remotely.

I dont have any customizations (for folders) within WMC.

Here is what I believe to be the relevant log information (from the client system). Both systems are windows 7 platforms.



Code:
...

11:28:15 T:2516  NOTICE: Running database version Addons15
11:28:15 T:2516  NOTICE: Running database version ViewModes4
11:28:15 T:2516  NOTICE: Running database version Textures13
11:28:15 T:2516  NOTICE: Running database version MyMusic32
11:28:15 T:2516  NOTICE: Running database version MyVideos75
11:28:15 T:2516  NOTICE: Running database version TV22
11:28:15 T:2516  NOTICE: Running database version Epg7
11:28:15 T:2516  NOTICE: initializing playlistplayer
11:28:15 T:2516  NOTICE: DONE initializing playlistplayer
11:28:15 T:4252  NOTICE: Thread Jobworker start, auto delete: true
11:28:15 T:4252  NOTICE: EPG::CEpgContainer::Start - EPG thread started
11:28:15 T:4252  NOTICE: PVRManager - starting up
11:28:15 T:2516  NOTICE: initialize done
11:28:15 T:3840  NOTICE: Thread EPG updater start, auto delete: false
11:28:15 T:4276  NOTICE: Thread PVR manager start, auto delete: false
11:28:15 T:3432  NOTICE: Thread PVR add-on updater start, auto delete: false
11:28:15 T:2516  NOTICE: Running the application...
11:28:15 T:2516  NOTICE: ES: Starting event server
11:28:15 T:1800  NOTICE: Thread CEventServer start, auto delete: false
11:28:15 T:1800  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
11:28:15 T:1800  NOTICE: UDP: Listening on port 9777
11:28:15 T:3420  NOTICE: Thread CTCPServer start, auto delete: false
11:28:15 T:4436  NOTICE: Thread CRssReader start, auto delete: false
11:28:16 T:4164  NOTICE: Thread PVR GUI info updater start, auto delete: false
11:29:41 T:4160  NOTICE: Thread Jobworker start, auto delete: true
11:29:42 T:2400  NOTICE: Thread PVR Channel Window start, auto delete: false
11:29:46 T:2516  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/3.pvr
11:29:46 T:2516 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:29:46 T:2632  NOTICE: Thread CDVDPlayer start, auto delete: false
11:29:46 T:2632  NOTICE: Creating InputStream
11:29:50 T:2632   ERROR: AddOnLog: Windows Media Center PVR - Windows Edition: Error opening stream file, Win32 error code: 1326
11:29:51 T:2632   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/3.pvr]
11:29:51 T:2632  NOTICE: CDVDPlayer::OnExit()
11:29:51 T:2632  NOTICE: CDVDPlayer::OnExit() deleting input stream
11:29:51 T:2516  NOTICE: CDVDPlayer::CloseFile()
11:29:51 T:2516 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:29:51 T:2516  NOTICE: DVDPlayer: waiting for threads to exit
11:29:51 T:2516  NOTICE: DVDPlayer: finished waiting
11:29:59 T:2516  NOTICE: Storing total System Uptime
11:29:59 T:2516  NOTICE: Saving settings
11:29:59 T:2516  NOTICE: stop all
11:29:59 T:2516  NOTICE: PVRManager - stopping
11:29:59 T:2516  NOTICE: ES: Stopping event server
11:29:59 T:2516  NOTICE: stopping zeroconf publishing
11:29:59 T:1800  NOTICE: ES: UDP Event server stopped
11:29:59 T:2516  NOTICE: stop sap announcement listener
11:29:59 T:2516  NOTICE: clean cached files!
11:29:59 T:2516  NOTICE: unload skin
11:29:59 T:2516  NOTICE: stop python
11:29:59 T:2516  NOTICE: stopped
11:29:59 T:2516  NOTICE: destroy
11:29:59 T:2516  NOTICE: closing down remote control service
11:29:59 T:2516  NOTICE: unload sections
11:29:59 T:2516  NOTICE: destroy
...

and I just tested this again, adding "Everyone" to the Recorded TV public share; which did not resolve this.
Reply
#6
And I found the issue.

My WMC system was not on the same homegroup as the client system, and so it required serverWMC to have credentials, or be part of the homegroup.

That resolved it. I can stream TV now.

Thanks for the guidance.

PS - it still strikes me as odd that it is creating a file that is played remotely, rather than letting the stream (in my case) from the network tuner be "relayed" .. either way, i dont care .. it cleans itself up .. just is peculiar is all.
Reply
#7
Yes, "everyone" doesnt mean "anyone" it means everyone from that domain/homegroup etc. Note that share credentials is specifically mentioned in the Wiki setup instructions Smile


I guess I can see why you think it's peculiar, but to me that just means we havent been clear enough in an overall explanation of how this addon works and why we (well, krusty mostly) built it. It is for those former WMC users who want to use TV in XBMC, but increasingly also seems to be newcomers who have a windows box even if they didnt previously use WMC. We cant/dont access the stream from the tuner, we only access the WMC EPG and Recording services. We get WMC to record the stream then send that to XBMC as a TS file (because there are problems with playing a growing WTV file). Possibly we could read the file and send the stream data to XBMC rather than a file but that is a whole lot more advanced multiplexing code etc and we arent video programmers Smile

The whole approach of this PVR addon is to tap in to microsofts WMC services which gives us broad support of a whole range of tuner hardware, broadcast standards/countries/providers, EPG's whether its download or OTA scraped, and the rich features of the WMC recording service such as tuner conflict resolution custom pre/post padding etc. It isnt our intention to directly talk to tuner cards or add special support/features for just 1 hardware device out of the 100s/1000s that are on the market.

Like you say though, "it just works" for many of us so that is reward enough, that so many people from different countries and types of setups are able to use XBMC to watch TV, and although your case has had some setup difficulties (due in part to not following the instructions regarding ensuring the directory is shared and accessible from the client!) it's one of the easier addons to setup and have working Smile
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#8
Thanks. I completely agree. Very easy to setup, once I re-read the instructions.

I modified my local re-setup instructions to simply tell myself to have serverWMC setup with credentials. which eliminates this stuff for me.

I suppose those credentials that are supplied in serverWMC are being sent to the PVR addon so it can open that stream as those credentials. Makes sense now that I got the flow :-)

[/b]
Reply
#9
I have a feeling those credentials arent used by windows clients though, they are for the non windows clients and embedded in the smb path to the files (eg smb://user:pass@server/recorded tv/somefile.TS)

I think the windows clients are being fed \\server\share\file path, and thus the credentials aren't used. You would need to either have proided/stored credentials in XBMC when accessing that path (in videos section for example) or be running from a windows account that can implicitly access the share
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply

Logout Mark Read Team Forum Stats Members Help
necessary privs for a remote XBMC to serverWMC?0