HDSurfer Plug-in for HDHomeRun

Hello.  Today was my first foray into plex, and I must say, I am impressed.  I got your plug-in working, and again, I am impressed.  

The only thing I have not been able to get to work is pushing this to a chromecast.  I know that the chromecast support is incredibly new, and this is an alpha version, so this is to be expected, but I thought I might ask around to see if there were any obvious reasons this may be before delving too deep into this.

Any thoughts or comments are appreciated!

Hello, I haven't had a chance to test this either but I'll see what I can do hopefully this weekend. In my brief testing, I wasn't able to get any of my plug-ins to cast like my local videos so I'm not sure what I'll find when I start digging but I'll post where when I figure it out.

Repeat poster still trying to get the plugin to work on Ubuntu 12.04 with PMS 0.9.8.14.  It looks like everything is running but the channel does not work in Plex Web.

Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:

Stream Server IP: 192.168.2.123
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 1318CA42 [FOUND: 192.168.2.216]
HDHomeRun Tuner: 0

HDSurferWave ALPHA-0.3 is now up and running!

From the HDSurferWave.log:

2013-12-14 09:51:26,180 (7fb2eea2e700) :  INFO (core:336) - Starting framework core - Version: 2.3.12, Build: bd749cb (Mon Nov 18 18:57:02 UTC 2013)
2013-12-14 09:51:26,180 (7fb2eea2e700) :  DEBUG (core:348) - Using the standard policy
2013-12-14 09:51:26,181 (7fb2eea2e700) :  DEBUG (core:437) - Starting runtime component.
2013-12-14 09:51:26,183 (7fb2eea2e700) :  DEBUG (core:437) - Starting caching component.
2013-12-14 09:51:26,184 (7fb2eea2e700) :  DEBUG (core:437) - Starting data component.
2013-12-14 09:51:26,184 (7fb2eea2e700) :  DEBUG (core:437) - Starting networking component.
2013-12-14 09:51:26,185 (7fb2eea2e700) :  DEBUG (networking:318) - Loaded HTTP cookies
2013-12-14 09:51:26,186 (7fb2eea2e700) :  DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-12-14 09:51:26,188 (7fb2eea2e700) :  DEBUG (core:437) - Starting localization component.
2013-12-14 09:51:26,188 (7fb2eea2e700) :  INFO (localization:408) - Setting the default locale to en-us
2013-12-14 09:51:26,188 (7fb2eea2e700) :  DEBUG (core:437) - Starting messaging component.
2013-12-14 09:51:26,189 (7fb2eea2e700) :  DEBUG (core:437) - Starting debugging component.
2013-12-14 09:51:26,190 (7fb2eea2e700) :  DEBUG (core:437) - Starting services component.
2013-12-14 09:51:26,190 (7fb2eea2e700) :  DEBUG (core:437) - Starting myplex component.
2013-12-14 09:51:26,191 (7fb2ceffd700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.hdsurfer'
2013-12-14 09:51:26,191 (7fb2eea2e700) :  DEBUG (core:437) - Starting notifications component.
2013-12-14 09:51:26,342 (7fb2eea2e700) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.hdsurfer in namespace 'metadata'
2013-12-14 09:51:26,346 (7fb2eea2e700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2013-12-14 09:51:26,629 (7fb2ceffd700) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2013-12-14 09:51:26,629 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'load_all_services'
2013-12-14 09:51:26,631 (7fb2ceffd700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMAp$
2013-12-14 09:51:26,632 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'get_server_info'
2013-12-14 09:51:26,632 (7fb2eea2e700) :  DEBUG (core:149) - Finished starting framework core
2013-12-14 09:51:26,632 (7fb2cdffb700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2013-12-14 09:51:26,633 (7fb2eea2e700) :  DEBUG (core:547) - Loading plug-in code
2013-12-14 09:51:26,689 (7fb2eea2e700) :  DEBUG (core:553) - Finished loading plug-in code
2013-12-14 09:51:26,689 (7fb2eea2e700) :  DEBUG (runtime:640) - Adding a prefix handler for 'HD Surfer' ('/video/hdsurfer')
2013-12-14 09:51:26,694 (7fb2eea2e700) :  INFO (__init__:11) - ***HD Surfer has run start()***
2013-12-14 09:51:26,694 (7fb2eea2e700) :  INFO (core:598) - Started plug-in
2013-12-14 09:51:26,694 (7fb2eea2e700) :  DEBUG (socketinterface:144) - Starting socket server
2013-12-14 09:51:26,696 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'start'
2013-12-14 09:51:26,696 (7fb2eea2e700) :  INFO (socketinterface:168) - Socket server started on port 43952
2013-12-14 09:51:26,696 (7fb2eea2e700) :  INFO (pipeinterface:25) - Entering run loop
2013-12-14 09:51:26,697 (7fb2eea2e700) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2013-12-14 09:51:26,699 (7fb2eea2e700) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:525) - Machine identifier is 56d344286fdb5f5c1ad99e0cfb7b42c195e0976a
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:526) - Server version is 0.9.8.14.263-139ddbc
2013-12-14 09:51:26,787 (7fb2ceffd700) :  DEBUG (services:362) - Loaded services
2013-12-14 09:51:26,796 (7fb2ce7fc700) :  DEBUG (services:438) - No shared code to load
2013-12-14 09:51:26,798 (7fb2eea2e700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 449 bytes
2013-12-14 09:51:26,845 (7fb2ce7fc700) :  DEBUG (runtime:717) - Handling request GET /video/hdsurfer
2013-12-14 09:51:26,851 (7fb2ce7fc700) :  DEBUG (runtime:814) - Found route matching /video/hdsurfer
2013-12-14 09:51:26,852 (7fb2ce7fc700) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-12-14 09:51:26,853 (7fb2ce7fc700) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.plugins.hdsurfer
2013-12-14 09:51:46,874 (7fb2ce7fc700) :  INFO (__init__:23) - Checking to make sure the XMLRPC server is running...failed!
2013-12-14 09:51:46,875 (7fb2ce7fc700) :  DEBUG (base:123) - Checking if com.plexapp.plugins.hdsurfer is broken
2013-12-14 09:51:46,876 (7fb2ce7fc700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3Q$
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 599 bytes
2013-12-14 09:51:26,699 (7fb2eea2e700) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:525) - Machine identifier is 56d344286fdb5f5c1ad99e0cfb7b42c195e0976a
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:526) - Server version is 0.9.8.14.263-139ddbc
2013-12-14 09:51:26,787 (7fb2ceffd700) :  DEBUG (services:362) - Loaded services
2013-12-14 09:51:26,796 (7fb2ce7fc700) :  DEBUG (services:438) - No shared code to load
2013-12-14 09:51:26,798 (7fb2eea2e700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 449 bytes
2013-12-14 09:51:26,845 (7fb2ce7fc700) :  DEBUG (runtime:717) - Handling request GET /video/hdsurfer
2013-12-14 09:51:26,851 (7fb2ce7fc700) :  DEBUG (runtime:814) - Found route matching /video/hdsurfer
2013-12-14 09:51:26,852 (7fb2ce7fc700) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-12-14 09:51:26,853 (7fb2ce7fc700) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.plugins.hdsurfer
2013-12-14 09:51:46,874 (7fb2ce7fc700) :  INFO (__init__:23) - Checking to make sure the XMLRPC server is running...failed!
2013-12-14 09:51:46,875 (7fb2ce7fc700) :  DEBUG (base:123) - Checking if com.plexapp.plugins.hdsurfer is broken
2013-12-14 09:51:46,876 (7fb2ce7fc700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3Q$
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 599 bytes

The key thing I see there is the XMLRPC server running check failed.  Any ideas or tips to try next?

Repeat poster still trying to get the plugin to work on Ubuntu 12.04 with PMS 0.9.8.14.  It looks like everything is running but the channel does not work in Plex Web.

Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:

Stream Server IP: 192.168.2.123
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 1318CA42 [FOUND: 192.168.2.216]
HDHomeRun Tuner: 0

HDSurferWave ALPHA-0.3 is now up and running!

From the HDSurferWave.log:

2013-12-14 09:51:26,180 (7fb2eea2e700) :  INFO (core:336) - Starting framework core - Version: 2.3.12, Build: bd749cb (Mon Nov 18 18:57:02 UTC 2013)
2013-12-14 09:51:26,180 (7fb2eea2e700) :  DEBUG (core:348) - Using the standard policy
2013-12-14 09:51:26,181 (7fb2eea2e700) :  DEBUG (core:437) - Starting runtime component.
2013-12-14 09:51:26,183 (7fb2eea2e700) :  DEBUG (core:437) - Starting caching component.
2013-12-14 09:51:26,184 (7fb2eea2e700) :  DEBUG (core:437) - Starting data component.
2013-12-14 09:51:26,184 (7fb2eea2e700) :  DEBUG (core:437) - Starting networking component.
2013-12-14 09:51:26,185 (7fb2eea2e700) :  DEBUG (networking:318) - Loaded HTTP cookies
2013-12-14 09:51:26,186 (7fb2eea2e700) :  DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-12-14 09:51:26,188 (7fb2eea2e700) :  DEBUG (core:437) - Starting localization component.
2013-12-14 09:51:26,188 (7fb2eea2e700) :  INFO (localization:408) - Setting the default locale to en-us
2013-12-14 09:51:26,188 (7fb2eea2e700) :  DEBUG (core:437) - Starting messaging component.
2013-12-14 09:51:26,189 (7fb2eea2e700) :  DEBUG (core:437) - Starting debugging component.
2013-12-14 09:51:26,190 (7fb2eea2e700) :  DEBUG (core:437) - Starting services component.
2013-12-14 09:51:26,190 (7fb2eea2e700) :  DEBUG (core:437) - Starting myplex component.
2013-12-14 09:51:26,191 (7fb2ceffd700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.hdsurfer'
2013-12-14 09:51:26,191 (7fb2eea2e700) :  DEBUG (core:437) - Starting notifications component.
2013-12-14 09:51:26,342 (7fb2eea2e700) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.hdsurfer in namespace 'metadata'
2013-12-14 09:51:26,346 (7fb2eea2e700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2013-12-14 09:51:26,629 (7fb2ceffd700) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2013-12-14 09:51:26,629 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'load_all_services'
2013-12-14 09:51:26,631 (7fb2ceffd700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMAp$
2013-12-14 09:51:26,632 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'get_server_info'
2013-12-14 09:51:26,632 (7fb2eea2e700) :  DEBUG (core:149) - Finished starting framework core
2013-12-14 09:51:26,632 (7fb2cdffb700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2013-12-14 09:51:26,633 (7fb2eea2e700) :  DEBUG (core:547) - Loading plug-in code
2013-12-14 09:51:26,689 (7fb2eea2e700) :  DEBUG (core:553) - Finished loading plug-in code
2013-12-14 09:51:26,689 (7fb2eea2e700) :  DEBUG (runtime:640) - Adding a prefix handler for 'HD Surfer' ('/video/hdsurfer')
2013-12-14 09:51:26,694 (7fb2eea2e700) :  INFO (__init__:11) - ***HD Surfer has run start()***
2013-12-14 09:51:26,694 (7fb2eea2e700) :  INFO (core:598) - Started plug-in
2013-12-14 09:51:26,694 (7fb2eea2e700) :  DEBUG (socketinterface:144) - Starting socket server
2013-12-14 09:51:26,696 (7fb2eea2e700) :  DEBUG (runtime:1107) - Created a thread named 'start'
2013-12-14 09:51:26,696 (7fb2eea2e700) :  INFO (socketinterface:168) - Socket server started on port 43952
2013-12-14 09:51:26,696 (7fb2eea2e700) :  INFO (pipeinterface:25) - Entering run loop
2013-12-14 09:51:26,697 (7fb2eea2e700) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2013-12-14 09:51:26,699 (7fb2eea2e700) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:525) - Machine identifier is 56d344286fdb5f5c1ad99e0cfb7b42c195e0976a
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:526) - Server version is 0.9.8.14.263-139ddbc
2013-12-14 09:51:26,787 (7fb2ceffd700) :  DEBUG (services:362) - Loaded services
2013-12-14 09:51:26,796 (7fb2ce7fc700) :  DEBUG (services:438) - No shared code to load
2013-12-14 09:51:26,798 (7fb2eea2e700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 449 bytes
2013-12-14 09:51:26,845 (7fb2ce7fc700) :  DEBUG (runtime:717) - Handling request GET /video/hdsurfer
2013-12-14 09:51:26,851 (7fb2ce7fc700) :  DEBUG (runtime:814) - Found route matching /video/hdsurfer
2013-12-14 09:51:26,852 (7fb2ce7fc700) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-12-14 09:51:26,853 (7fb2ce7fc700) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.plugins.hdsurfer
2013-12-14 09:51:46,874 (7fb2ce7fc700) :  INFO (__init__:23) - Checking to make sure the XMLRPC server is running...failed!
2013-12-14 09:51:46,875 (7fb2ce7fc700) :  DEBUG (base:123) - Checking if com.plexapp.plugins.hdsurfer is broken
2013-12-14 09:51:46,876 (7fb2ce7fc700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3Q$
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 599 bytes
2013-12-14 09:51:26,699 (7fb2eea2e700) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:525) - Machine identifier is 56d344286fdb5f5c1ad99e0cfb7b42c195e0976a
2013-12-14 09:51:26,702 (7fb2cdffb700) :  DEBUG (core:526) - Server version is 0.9.8.14.263-139ddbc
2013-12-14 09:51:26,787 (7fb2ceffd700) :  DEBUG (services:362) - Loaded services
2013-12-14 09:51:26,796 (7fb2ce7fc700) :  DEBUG (services:438) - No shared code to load
2013-12-14 09:51:26,798 (7fb2eea2e700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 449 bytes
2013-12-14 09:51:26,845 (7fb2ce7fc700) :  DEBUG (runtime:717) - Handling request GET /video/hdsurfer
2013-12-14 09:51:26,851 (7fb2ce7fc700) :  DEBUG (runtime:814) - Found route matching /video/hdsurfer
2013-12-14 09:51:26,852 (7fb2ce7fc700) :  DEBUG (preferences:256) - Loaded preferences from DefaultPrefs.json
2013-12-14 09:51:26,853 (7fb2ce7fc700) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.plugins.hdsurfer
2013-12-14 09:51:46,874 (7fb2ce7fc700) :  INFO (__init__:23) - Checking to make sure the XMLRPC server is running...failed!
2013-12-14 09:51:46,875 (7fb2ce7fc700) :  DEBUG (base:123) - Checking if com.plexapp.plugins.hdsurfer is broken
2013-12-14 09:51:46,876 (7fb2ce7fc700) :  DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3Q$
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:106) - Sending packed state data (109 bytes)
2013-12-14 09:51:46,890 (7fb2ce7fc700) :  DEBUG (runtime:914) - Response: [200] MediaContainer, 599 bytes

The key thing I see there is the XMLRPC server running check failed.  Any ideas or tips to try next?

That means the Plex Server can't see the hdsurverwave proxy for one reason of another. Check your port settings and make sure there's no firewall blocking the connections.

Are you running the HD Surfer plugin and hdsurferwave on the same server?

Did you update the port settings in Plex for HD Surfer?

Thanks 

That means the Plex Server can't see the hdsurverwave proxy for one reason of another. Check your port settings and make sure there's no firewall blocking the connections.

Are you running the HD Surfer plugin and hdsurferwave on the same server?

Did you update the port settings in Plex for HD Surfer?

Thanks TwoOneSix.  

Yes the plugin and hdsurferwave are on the same server.

Yes I updated the json file to match the settings in hdsurferwave.  


Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
---------------------------------------
Stream Server IP: 192.168.2.123
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 1318CA42 [FOUND: 192.168.2.216]
HDHomeRun Tuner: 0
---------------------------------------
HDSurferWave ALPHA-0.3 is now up and running!
[
    {
        "id": "stream_server_ip",
        "type": "text",
        "label": "Stream Server IP",
        "default": "192.168.2.123"
    },
    {
        "id": "stream_server_port",
        "type": "text",
        "label": "Stream Server Port",
        "default": "23013"
    },
    {
        "id": "comm_server_port",
        "type": "text",
        "label": "Comm Port",
        "default": "8000"
    },
    {
        "id": "show_tvdata",
        "type": "bool",
        "label": "Display TV Data",
        "default": "true"
    }
]

Thanks 

Thanks TwoOneSix.  

Yes the plugin and hdsurferwave are on the same server.

Yes I updated the json file to match the settings in hdsurferwave.  


Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
---------------------------------------
Stream Server IP: 192.168.2.123
Stream Server Port: 23013
Communication Port: 8000
HDHomeRun ID: 1318CA42 [FOUND: 192.168.2.216]
HDHomeRun Tuner: 0
---------------------------------------
HDSurferWave ALPHA-0.3 is now up and running!
[
    {
        "id": "stream_server_ip",
        "type": "text",
        "label": "Stream Server IP",
        "default": "192.168.2.123"
    },
    {
        "id": "stream_server_port",
        "type": "text",
        "label": "Stream Server Port",
        "default": "23013"
    },
    {
        "id": "comm_server_port",
        "type": "text",
        "label": "Comm Port",
        "default": "8000"
    },
    {
        "id": "show_tvdata",
        "type": "bool",
        "label": "Display TV Data",
        "default": "true"
    }
]

Well, port 8000 is a very common port for other things. Try changing that to something less likely to be in-use like 23113 and update the settings.

Well, port 8000 is a very common port for other things. Try changing that to something less likely to be in-use like 23113 and update the settings.

No dice.  I ran a port scan on my PMS/HDSurferWave server and picked ports not currently in use.

Do I understand this right?

Stream Server IP is the IP of the server running HDSurferWave?

Stream server port is what Plex uses to talk with HDSurferWave?

Comm Port is what HDSurferWave uses to talk with Plex?

No dice.  I ran a port scan on my PMS/HDSurferWave server and picked ports not currently in use.

Do I understand this right?

Stream Server IP is the IP of the server running HDSurferWave?

Stream server port is what Plex uses to talk with HDSurferWave?

Comm Port is what HDSurferWave uses to talk with Plex?

I realized I was running on .13 so I just upgraded to server version 0.9.8.14.263-139ddbc. I have confirmed things are still working.

Stream Server IP is the IP address of the machine that's running the hdsurferwave.py proxy.

Stream Server Port is the port that the HD Surfer plugin will use to stream the actual content from hdsurferwave.py (VLC) over to HD Surfer Plugin.

Communication Port is the port that HD Surfer plugin and HDSurferWave use to "talk" to each other.

When things are broken and you click on the HD Surfer plug-in in PlexWeb you should see a message like "(v0.5): Stream Server Error". Can you confirm you see that? If not, do you at least see a blank screen with nothing but the settings button? If you see that settings button are you able to confirm the settings are  all correctly set?

Whoo!  This now works on the iOS app after the latest update.  Sweet!

And it looks gorgeous, too.  Super crisp.  Love it!  Thanks again for the awesome work, please keep at it :D

I realized I was running on .13 so I just upgraded to server version 0.9.8.14.263-139ddbc. I have confirmed things are still working.

Stream Server IP is the IP address of the machine that's running the hdsurferwave.py proxy.

Stream Server Port is the port that the HD Surfer plugin will use to stream the actual content from hdsurferwave.py (VLC) over to HD Surfer Plugin.

Communication Port is the port that HD Surfer plugin and HDSurferWave use to "talk" to each other.

When things are broken and you click on the HD Surfer plug-in in PlexWeb you should see a message like "(v0.5): Stream Server Error". Can you confirm you see that? If not, do you at least see a blank screen with nothing but the settings button? If you see that settings button are you able to confirm the settings are  all correctly set?

I see the spinning wheel and then a page with this text:  This Channel is Currently Unavailable.  If I click on the settings gear for HD Surfer plugin within Plexweb it shows the gear for a minute then nothing.

I moved HDSurferWave to a fresh linux install and still didn't work with my PMS.  I ran tcpdump on both servers and saw no comms between them.  Then I installed a new PMS on the new server just for the HDSurferWave channel and now it works.  I guess there's something jacked up in my original PMS.

Thanks for all your help.

Hello, I haven't had a chance to test this either but I'll see what I can do hopefully this weekend. In my brief testing, I wasn't able to get any of my plug-ins to cast like my local videos so I'm not sure what I'll find when I start digging but I'll post where when I figure it out.

The only other plugin I have tried is the mythtv plugin, and that seems to cast video just fine.  Let me know if I can help with any testing... I'm not much of a python guy, but if I get a chance, I'll dig around a bit too.

Thanks!

I tried.  got server to run ... installed, etc etc .. but when trying to play anything it says "Cannot find m3u8"

Thanks for putting this together it looks great.  I tried installing and I'm getting the port error, tried a number of different known good ports, so I added some exception logging to the try block where it's failing (line 51) and I get this backtrace:

!! Traceback (most recent call last):
!!   File "hdsurferwave.py", line 56, in 
    i0=vlc.Instance("-q", "-Idummy", "--deinterlace=-1", "--sout-ffmpeg-strict=-2")
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 1313, in __new__
    return libvlc_new(len(args), args)
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 3235, in libvlc_new
    ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 207, in _Cfunction
    raise NameError('no function %r' % (name,))
!! NameError: no function 'libvlc_new'

Any thoughts?  It looks like it can't find the function in vlc.py (it's in the same directory).

Thank you for a great piece of software. Got the latest v3 working on a windows server and pushing live tv to roku and PC plex client. Next steps, I have to work on program info and some vlc settings and - then we will be looking really good.


For you other windows server people, I’ll try to put the steps I followed in a short howto in the next day or two.

Please give us the instruktions for windows setup. I am waiting on them for some time.
Thanks You

Thanks for putting this together it looks great.  I tried installing and I'm getting the port error, tried a number of different known good ports, so I added some exception logging to the try block where it's failing (line 51) and I get this backtrace:

!! Traceback (most recent call last):
!!   File "hdsurferwave.py", line 56, in 
    i0=vlc.Instance("-q", "-Idummy", "--deinterlace=-1", "--sout-ffmpeg-strict=-2")
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 1313, in __new__
    return libvlc_new(len(args), args)
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 3235, in libvlc_new
    ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
!!   File "/var/lib/hdsurferwave-0.3/vlc.py", line 207, in _Cfunction
    raise NameError('no function %r' % (name,))
!! NameError: no function 'libvlc_new'

Any thoughts?  It looks like it can't find the function in vlc.py (it's in the same directory).

If you're not going to try using the transcode line, try removing the --sout-ffmpeg-strict=-2 flag that's being sent to the vlc module.

Finally got this working (PlexWeb, iOS, PlexConnect) after tearing my hair out all afternoon. Here is my setup:

  1. Plex Media Server 0.9.8.17 on Windows 2012 at 192.168.0.10
  2. HDSurfer alpha 3 on Fedora 20 Desktop x64 at 192.168.0.15
  3. yum install hdhomerun hdhomerun-devel
  4. vlc installed from rpmfusion, more info: http://www.howopensource.com/2011/08/how-to-install-vlc-in-fedora-15/
  5. Firewall off: systemctl stop firewalld.service; chkconfig iptables off

I did not need to easy_install vlc or PyHdHomerun.

I was tearing my hair out wondering why I wasn't able to stream, then I realized that the hdhomerun target was being set to $plexserverip.. which is not running on the same IP as HDSurferWave in my case (Plex is on Windows so I spun up a VM in Hyper-V for HDSurferWave). If you're getting to the point of:

Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
---------------------------------------
	Stream Server IP: 192.168.0.15
	Stream Server Port: 23013
	Communication Port: 8000
	HDHomeRun ID: xxxxxxxx [FOUND: 192.168.0.45]
	HDHomeRun Tuner: 0
---------------------------------------
HDSurferWave ALPHA-0.3 is now up and running!
Sending channel: 	 ./hdhomerun_config xxxxxxxx set /tuner0/channel auto:207000000
Sending program: 	 ./hdhomerun_config xxxxxxxx set /tuner0/program 1
Activating re-stream: 	 ./hdhomerun_config xxxxxxxx set /tuner0/target 192.168.0.15:23113

when starting a stream from Plex, and you are running HDSurferWave and Plex Server on different IPs, make sure that plexserverip in server.ini is set to the IP where you're running HDSurferWave. So yes, servernetaddr and plexserverip need to be the same, and it doesn't seem to matter to HDSurferWave what the IP of your plex server is.

TwoOneSix maybe you can make this clearer in the next release.

On Ubuntu 12.04 with the following setup,

  1. Ubuntu 12.04.x x64 at 192.168.0.14
  2. apt-get install hdhomerun-config libhdhomerun1 libhdhomerun-devel vlc

after the "Activating re-stream" part and then I get flooded with lines like:

libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 8) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 2) for PID 48

The streaming works, but only intermittently. When it does work the video is choppy. On Fedora everything is beautiful. Any advice? All of my other Linux machines are running Ubuntu and I'm not very comfortable administering RedHat-based distros.

Finally got this working after tearing my hair out all afternoon. I realized that the hdhomerun target was being set to $plexserverip.. which is not running on the same IP as HDSurferWave in my case (Plex is on Windows so I spun up a VM in Hyper-V for HDSurferWave). If you're getting to the point of:

Enter the following info into the Plex HD Surfer v0.5 plug-in preferences:
---------------------------------------
	Stream Server IP: 192.168.0.x
	Stream Server Port: 23013
	Communication Port: 8000
	HDHomeRun ID: xxxxxxxx [FOUND: 192.168.0.y]
	HDHomeRun Tuner: 0
---------------------------------------
HDSurferWave ALPHA-0.3 is now up and running!
Sending channel: 	 ./hdhomerun_config xxxxxxxx set /tuner0/channel auto:207000000
Sending program: 	 ./hdhomerun_config xxxxxxxx set /tuner0/program 1
Activating re-stream: 	 ./hdhomerun_config xxxxxxxx set /tuner0/target 192.168.0.z:23113

when starting a stream from Plex, and you are running HDSurferWave and Plex Server on different IPs, make sure that plexserverip in server.ini is set to the IP where you're running HDSurferWave. So yes, servernetaddr and plexserverip need to be the same, and it doesn't seem to matter to HDSurferWave what the IP of your plex server is.

TwoOneSix maybe you can make this clearer in the next release.

Yea, I've had to clarify the IPs in the past as well. Looks like it's time to re-think the UX on the settings to keep the confusion to a minimum, sorry and thanks for posting here to help improve the overall experience.

Yea, I've had to clarify the IPs in the past as well. Looks like it's time to re-think the UX on the settings to keep the confusion to a minimum, sorry and thanks for posting here to help improve the overall experience.

Thanks for the response. I edited my post above and detailed some of my troubles with Ubuntu. I know you might not have a test environment like that but I was hoping you had some advice. I'd like to keep everything on the same distro if possible. I'll be happy to try things and send you logs.

Hi, I've been able to setup HDsurfer on ubuntu and it streams great locally and remotely.  

My only issue is the Channel data isn't showing up.

 
I'm in the US.  What should i do?

Looks like the new Plex/Web 2.0 release breaks HDSurfer in a browser :(