Looks like the new Plex/Web 2.0 release breaks HDSurfer in a browser :(
Yea, I just confirmed this as well. Since they haven't packaged Plex/Web 2.0 for release yet I haven't seen the code to troubleshoot where the failure occurs. I don't see anything obvious in the logs either. It's most likely unhappy with something in the video container. That could also be the reason the mobile client fails to send to the Chromecast, too.
The good news is that all of the command and control stuff is working it's just failing at getting the video to the player for some reason. Once I can dig deeper into the release I'll be sure to get things updated.
I'm having trouble getting the HDSurfer server instance to work. I've tried on Fedora 20 & Ubuntu 13.10. The server appears to be running okay, but I don't see an open port on 23013 (but port 8000 is listening). When I open the Plex app I get my channel listings, but opening a station just gives me a blank screen with the HDSurfer background. Here's what I see in the hdsurfer.log:
2013-12-30 12:38:26,090 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/20.4'
2013-12-30 12:38:26,090 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/20.4'
2013-12-30 12:38:26,093 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.1'
2013-12-30 12:38:26,093 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.1'
2013-12-30 12:38:26,096 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.2'
2013-12-30 12:38:26,097 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.2'
2013-12-30 12:38:26,100 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.3'
2013-12-30 12:38:26,100 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.3'
I removed the "-q" option in hdsurferwave.py to see if it gave me more information and I see this:
python hdsurferwave.py start
[0x115d668] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x115d668] main interface error: no suitable interface module
Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
Stream Server IP: 10.0.1.14
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 10332FF0 [FOUND: 10.0.1.6]
HDHomeRun Tuner: 0
HDSurferWave ALPHA-0.3 is now up and running!
[0x7fa574006778] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0x7fa574006778] main access out error: socket bind error (Permission denied)
[0x7fa574006778] main access out error: cannot create socket(s) for HTTP host
[0x7fa574006778] access_output_http access out error: cannot start HTTP server
[0x7fa574001ee8] stream_out_standard stream out error: no suitable sout access module for http/ts://10.0.1.3:23013' [0x7fa5740011d8] stream_out_duplicate stream out error: no destination given [0x7fa574000e58] main stream output error: stream chain failed forduplicate{dst=std{access=http,mux=ts,dst=10.0.1.3:23013}}’
[0x11648f8] main input error: cannot start stream output instance, aborting
It looks like its having an issue binding the port, I'm guessing this isn't normal. I've tried a few things, but no luck.
iptables & selinux are disabled, vlc version is 2.0.8a-0-g68cf50b (same error on 2.1.2).
I'm having trouble getting the HDSurfer server instance to work. I've tried on Fedora 20 & Ubuntu 13.10. The server appears to be running okay, but I don't see an open port on 23013 (but port 8000 is listening). When I open the Plex app I get my channel listings, but opening a station just gives me a blank screen with the HDSurfer background. Here's what I see in the hdsurfer.log:
2013-12-30 12:38:26,090 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/20.4'
2013-12-30 12:38:26,090 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/20.4'
2013-12-30 12:38:26,093 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.1'
2013-12-30 12:38:26,093 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.1'
2013-12-30 12:38:26,096 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.2'
2013-12-30 12:38:26,097 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.2'
2013-12-30 12:38:26,100 (110d3a000) : DEBUG (services:602) - No service found for URL 'http://10.0.1.14:23013/7.3'
2013-12-30 12:38:26,100 (110d3a000) : DEBUG (services:617) - No matching services found for 'http://10.0.1.14:23013/7.3'
I removed the "-q" option in hdsurferwave.py to see if it gave me more information and I see this:
python hdsurferwave.py start
[0x115d668] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x115d668] main interface error: no suitable interface module
Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
Stream Server IP: 10.0.1.14
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 10332FF0 [FOUND: 10.0.1.6]
HDHomeRun Tuner: 0
HDSurferWave ALPHA-0.3 is now up and running!
[0x7fa574006778] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0x7fa574006778] main access out error: socket bind error (Permission denied)
[0x7fa574006778] main access out error: cannot create socket(s) for HTTP host
[0x7fa574006778] access_output_http access out error: cannot start HTTP server
[0x7fa574001ee8] stream_out_standard stream out error: no suitable sout access module for http/ts://10.0.1.3:23013' [0x7fa5740011d8] stream_out_duplicate stream out error: no destination given [0x7fa574000e58] main stream output error: stream chain failed for duplicate{dst=std{access=http,mux=ts,dst=10.0.1.3:23013}}’
[0x11648f8] main input error: cannot start stream output instance, aborting
It looks like its having an issue binding the port, I'm guessing this isn't normal. I've tried a few things, but no luck.
iptables & selinux are disabled, vlc version is 2.0.8a-0-g68cf50b (same error on 2.1.2).
Any thoughts here?
I'm assuming your running the commands through gnome-terminal or another terminal emulator inside of Gome? Also, the port that it's trying to bind to is high enough it doesn't require root access.
I'm assuming your running the commands through gnome-terminal or another terminal emulator inside of Gome? Also, the port that it's trying to bind to is high enough it doesn't require root access.
Yeah, I'm running it via ssh. Is that a problem? Right, the port shouldn't require root access. I've been tinkering around a bit and it looks like vlc is trying to bind the Plex IP address to that port and thats why its failing. I updated line #58 from gconfig.PLEX_IP to gconfig.XMLRPC_IP and it binds and listens correctly. Strange, you all aren't having this problem?
Just to add to my previous post - I see this in com.plexapp.plugins.hdsurfer.log:
2013-12-30 14:24:33,753 (112784000) : DEBUG (services:602) - No service found for URL ‘http://10.0.1.14:23013/7.3’
2013-12-30 14:24:33,754 (112784000) : DEBUG (services:617) - No matching services found for ‘http://10.0.1.14:23013/7.3’
2013-12-30 14:24:33,761 (112784000) : DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-30 14:24:33,762 (112784000) : DEBUG (runtime:915) - Response: [200] MediaContainer, 47074 bytes
2013-12-30 14:24:37,376 (112784000) : DEBUG (runtime:717) - Handling request GET /video/hdsurfer/createvo?channel_code=653000000&channel_program=3&duration=10800000&include_container=True&source_title=HDHomeRun&summary=Sorry%20no%20matches%20found%20for%20UNKNOWN%20in%20%2b%2f-%204%20hours.&thumb=NONE&title=Watch%20KTVU-HD%20(2.1)%20Live&url=http%3a%2f%2f10.0.1.14%3a23013%2f2.1
2013-12-30 14:24:37,379 (112784000) : DEBUG (runtime:814) - Found route matching /video/hdsurfer/createvo
2013-12-30 14:24:37,382 (112784000) : DEBUG (services:602) - No service found for URL ‘http://10.0.1.14:23013/2.1’
2013-12-30 14:24:37,382 (112784000) : DEBUG (services:617) - No matching services found for ‘http://10.0.1.14:23013/2.1’
2013-12-30 14:24:37,387 (112784000) : DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-30 14:24:37,388 (112784000) : DEBUG (runtime:915) - Response: [200] MediaContainer, 1435 bytes
When I start up the server, everything appears to be working okay:
python hdsurferwave.py start
[0x233d528] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x233d528] main interface error: no suitable interface module
Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
Stream Server IP: 10.0.1.14
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 10332FF0 [FOUND: 10.0.1.6]
HDHomeRun Tuner: 0
HDSurferWave ALPHA-0.3 is now up and running!
[0x7fe874006778] access_output_http access out: Consider passing --http-host=IP on the command line instead.
and then I'll forward the stream via hdhomerun_config:
hdhomerun_config 10332FF0 set /tuner0/target 10.0.1.14:23113
just in case, here's my server.ini in case I misconfigured something:
Yeah, I'm running it via ssh. Is that a problem? Right, the port shouldn't require root access. I've been tinkering around a bit and it looks like vlc is trying to bind the Plex IP address to that port and thats why its failing. I updated line #58 from gconfig.PLEX_IP to gconfig.XMLRPC_IP and it binds and listens correctly. Strange, you all aren't having this problem?
However, even when I update this line, I still get the same problem & errors on the plex app side.
I can however connect to the server stream on port 23013 with VLC and manually changing the tuner controls with the hdhomerun_config command...
Thoughts on what may be going on? I'm still digging around and will post more info if I find any
Well, running through SSH might give those weird "no X11 session" errors since VLC does some GUI checking, but since it's configured to run without an interface it shouldn't fail, but I haven't tested it, either.
OK, since you're running hdsurferwave and the plex server on different "machines" your config should be (assuming the default code):
servernetaddr = The IP address of the computer running hdsurferwave (XMLRPC_IP)
plexserverip = The IP address of the computer running the Plex Media Server (PLEX_IP)
Yep, thats how I have it configured. Just curious, why do you need the plex server ip?
The plex server IP is used to direct the output of the VLC restream to the Plex server. There may be a way to get it working without using the plex server IP but I haven't tested since it has been working. Alpha code here. :)
OK, so when you change those IP's up with the original code, what output are you seeing from hdsurferwave?
The plex server IP is used to direct the output of the VLC restream to the Plex server. There may be a way to get it working without using the plex server IP but I haven't tested since it has been working. Alpha code here. :)
OK, so when you change those IP's up with the original code, what output are you seeing from hdsurferwave?
Ahhh, okay now I see how it works! I thought it was designed to be a standalone proxy server between the Plex server and the HDHomeRun. I went ahead and installed it on my mac mini where the Plex server resides and its working now.
I was a bit confused at first - because when I selected a channel I would get a blank screen that says "HD Surfer". It took me a bit to realize that I have to hit 'enter' or on my remote 'play' in order to get the stream come up. I suppose this is due to the latest Plex Home Theater interface update.
Anyhow, It's up and running well - thanks for your help answering my questions!
Ahhh, okay now I see how it works! I thought it was designed to be a standalone proxy server between the Plex server and the HDHomeRun. I went ahead and installed it on my mac mini where the Plex server resides and its working now.
I was a bit confused at first - because when I selected a channel I would get a blank screen that says "HD Surfer". It took me a bit to realize that I have to hit 'enter' or on my remote 'play' in order to get the stream come up. I suppose this is due to the latest Plex Home Theater interface update.
Anyhow, It's up and running well - thanks for your help answering my questions!
No problem. I haven't tested installing hdsurferwave on a separate server but, in theory, it should work. I need to take some time to test that and write up some better documentation. At any rate, glad to hear you got it working!
No problem. I haven't tested installing hdsurferwave on a separate server but, in theory, it should work. I need to take some time to test that and write up some better documentation. At any rate, glad to hear you got it working!
Yeah, it should work. I'll test it out for you actually, since I still have my Ubuntu VM up and running. The only thing I think would need to be changed is the address it binds to on the destination. I believe it should be XMLRPC_IP since vlc opens a listener port and (obviously) it can only do that locally. I'll give it a try and let you know.
Thanks again for writing this plug-in! I was about to write my own and came across this thread! I was attempting the old EyeContact plugin and that just didn't work well for me.
Check the site I didn’t look at the cable card units because they do not apply to me, also since they are network enabled there isn’t much to stop you from having a bunch of them, depending on your DVR backend.