Kodi Community Forum
Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) (/showthread.php?tid=119865)



RE: [dev] CetonTV - Watch TV on XBMC - emann - 2012-08-29

This program is great.

But i have an issue.

When I try to go to the web page (localhost:8555) I get an error: "Could not find command"

If i go to a different pc inside my lan, the web page works fine and I can watch tv.

Any idea what I'm missing? Odd that it works on a different pc, but not the one wit hthe ceton, xbmx, and this plugin.

Thanks for any help.




RE: [dev] CetonTV - Watch TV on XBMC - gman3042 - 2012-08-29

localhost:8555 points to a index.html in the root directory that doesn't exist

it needs to be either localhost:8555/m/index.html or localhost:8555/m/iphone.html


RE: [dev] CetonTV - Watch TV on XBMC - emann - 2012-08-29

wow gman!!!

thanks so much for your quick response.

I've been fighting this all night trying to figure out what I had wrong.

I had been using the /m/index.html, but at some point in troubleshooting, it got dropped off of the address in the history bar.

I kept getting the login prompt, so I ASSUMED i was on the right page - never checking until your post.

Thanks VERY much.



RE: [dev] CetonTV - Watch TV on XBMC - cs13 - 2012-09-01

Having an issue getting video to stream, text is below and libremoteVLC_plugin.dll is in the control folder

[8.31.2012.18:03:03]: Server: Client requested stream url for Tuner[3]
[8.31.2012.18:03:03]: Server: Client requested channel map data
[8.31.2012.18:03:03]: Tuner[3]: Changing channel number to 4
[8.31.2012.18:03:04]: Tuner[3]: Program number is 202
[8.31.2012.18:03:04]: Tuner[3]: Channel name is WAGA 004
[8.31.2012.18:03:04]: Tuner[3]: rtsp://192.168.200.1:8554/cetonmpeg2
[8.31.2012.18:03:04]: Tuner[3]: Starting video stream
[8.31.2012.18:03:04]: VLC[3]: Starting VLC instance with remoteVLC plugin
[8.31.2012.18:03:04]: VLC[3]: Streaming to http://localhost:8558
[8.31.2012.18:03:05]: VLC[3]: Setting stream program id using remoteVLC
[8.31.2012.18:03:06]: Error: connect() returned error 10061.
[8.31.2012.18:03:06]: VLC[3]: Attempt 1 of 3 failed...
[8.31.2012.18:03:06]: Tuner[3]: rtsp://192.168.200.1:8554/cetonmpeg2
[8.31.2012.18:03:06]: Tuner[3]: Starting video stream
[8.31.2012.18:03:06]: VLC[3]: Starting VLC instance with remoteVLC plugin
[8.31.2012.18:03:06]: VLC[3]: Streaming to http://localhost:8558
[8.31.2012.18:03:06]: VLC[3]: Setting stream program id using remoteVLC
[8.31.2012.18:03:07]: Error: connect() returned error 10061.
[8.31.2012.18:03:07]: VLC[3]: Attempt 2 of 3 failed...
[8.31.2012.18:03:07]: Tuner[3]: rtsp://192.168.200.1:8554/cetonmpeg2
[8.31.2012.18:03:07]: Tuner[3]: Starting video stream
[8.31.2012.18:03:07]: VLC[3]: Starting VLC instance with remoteVLC plugin
[8.31.2012.18:03:07]: VLC[3]: Streaming to http://localhost:8558
[8.31.2012.18:03:07]: VLC[3]: Setting stream program id using remoteVLC
[8.31.2012.18:03:08]: Error: connect() returned error 10061.
[8.31.2012.18:03:08]: VLC[3]: Attempt 3 of 3 failed...
[8.31.2012.18:03:08]: VLC[3]: Error while communicating with VLC
[8.31.2012.18:03:08]: VLC[3]: Closing VLC instance
[8.31.2012.18:03:08]: Tuner[3]: Stopping video stream

Any help is greatly appreciated


RE: [dev] CetonTV - Watch TV on XBMC - emann - 2012-09-01

cs13,

Just a guess, but try opening the CetonTV/remoteceton/settings.conf file.

Make sure the line that points to the VLC executable is correct for your installation of VLC.

VLC_PROCESS=C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"

Originally, my file did not have the x86 in it, but my VLC installed into that dir.




RE: [dev] CetonTV - Watch TV on XBMC - dsherley9 - 2012-09-02

Is there a way to connect to the Remote Ceton through Iphone or Android Phone?


RE: [dev] CetonTV - Watch TV on XBMC - emann - 2012-09-02

I have this working both inside and outside my lan except on one laptop.

when running outside my lan, i get an error in remoteCeton's screen:

Channel did not change...

I have not been able to try this laptop inside my lan yet.

Is there a port being blocked on this laptop or what else would give this error?




RE: [dev] CetonTV - Watch TV on XBMC - nivanov - 2012-09-03

PVR.Ceton should let me use Live TV functionality in XBMC, is that right? I got the python script to work, and it looks great, but I'd like to use Live TV integration instead, and for some reason, remoteCeton has 0 lines related to a client connecting, requesting EPG data etc. Since the python script works, I assume it's not a network issue, especially since I'm using the same machine for everything. I even disabled the firewall to make sure port blocking wasn't the issue. Still nothing Undecided Any suggestions?


RE: [dev] CetonTV - Watch TV on XBMC - angrycamel - 2012-09-03

I am troubleshooting my problems by using the web interface, since the addon doesn't render because the stream never plays.

First I go to http://localhost:8555/m/index.html then choose channel 512 (NBC HD).

Code:
[9.3.2012.11:27:55]: Server: Client requested stream url for Tuner[1]
[9.3.2012.11:27:55]: Tuner[1]: Changing channel number to 512
[9.3.2012.11:27:55]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/channel auto:507000000
[9.3.2012.11:27:55]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/program 1512
[9.3.2012.11:27:55]: Tuner[1]: Program number is 1512
[9.3.2012.11:27:55]: Tuner[1]: Channel name is WWBT DT
[9.3.2012.11:27:55]: Tuner[1]: hdhomerun://192.168.1.9/0
[9.3.2012.11:27:55]: Tuner[1]: Starting video stream
[9.3.2012.11:27:55]: VLC[1]: Starting VLC instance with remoteVLC plugin
[9.3.2012.11:27:55]: VLC[1]: Transcode settings [type=flv,vb=500,res=480]
[9.3.2012.11:27:55]: VLC[1]: Streaming to http://localhost:8556
[9.3.2012.11:27:55]: Scheduler: Sleeping 90 seconds until next task

The console window (see above) shows that the stream is started but in the browser the JWPlayer is black and says: "Video not found or access denied"

If I navigate directly to http://localhost:8556 I get an http 404 error (not found). Adding the video.flv to that url gives me a flash video player that doesnt do anything when I hit the play button.

It seems like there is a problem with VLC loading the stream despite there not being any errors presented in the console. Is there a better way to troubleshoot the stream through VLC? I have tried every combination I can think of through the web interface.

FYI: All firewalls are turned off for these tests. It is configured to look at my HDHomerun Prime and tuning the correct channel works fine (I am able to view the stream directly with XBMC and the HDHR tuner 0 as a source).

EDIT:
After a couple minutes the following appears in the console window:

Code:
[9.3.2012.11:29:25]: Scheduler: Checking for tasks to run
[9.3.2012.11:29:25]: Scheduler: No clients streaming on Tuner[1]
[9.3.2012.11:29:25]: Scheduler: Tuner is inactive. Shutting down stream
[9.3.2012.11:29:25]: VLC[1]: Closing VLC instance
[9.3.2012.11:29:25]: Tuner[1]: Stopping video stream
[9.3.2012.11:29:25]: Scheduler: Sleeping 59435 seconds until next task



RE: [dev] CetonTV - Watch TV on XBMC - gman3042 - 2012-09-04

does this work?

http://localhost:8555/play?tuner=4&channel=1&transcodeBitrate=<bitrate>&transcodeWidth=<width>

subsitute with what you need


RE: [dev] CetonTV - Watch TV on XBMC - angrycamel - 2012-09-04

(2012-09-04, 03:43)gman3042 Wrote: does this work?

http://localhost:8555/play?tuner=4&channel=1&transcodeBitrate=<bitrate>&transcodeWidth=<width>

subsitute with what you need

Trid with this: http://localhost:8555/play?tuner=1&channel=512&transcodeBitrate=400&transcodeWidth=400

First response was missing a parm

So then I tried with this: http://localhost:8555/play?tuner=1&channel=512&transcodeBitrate=400&transcodeWidth=400&transcodeResolution=300

Not sure if 300 is a realistic value or not, but it gave a positive json response:

Code:
{"channel":"512","msg":"Playing channel: 512","status":"success"}

The following is what appeared in the console window:

Code:
[9.3.2012.21:45:39]: Tuner[1]: Changing channel number to 512
[9.3.2012.21:45:39]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/channel auto:507000000
[9.3.2012.21:45:39]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/program 1512
[9.3.2012.21:45:39]: Tuner[1]: Program number is 1512
[9.3.2012.21:45:39]: Tuner[1]: Channel name is WWBT DT
[9.3.2012.21:45:39]: Tuner[1]: hdhomerun://192.168.1.9/0
[9.3.2012.21:45:39]: Tuner[1]: Starting video stream
[9.3.2012.21:45:39]: VLC[1]: Starting VLC instance with remoteVLC plugin
[9.3.2012.21:45:39]: VLC[1]: Transcode settings [type=ts,vb=400,res=300]
[9.3.2012.21:45:39]: VLC[1]: Streaming to http://localhost:8556
[9.3.2012.21:45:39]: Scheduler: Sleeping 90 seconds until next task




RE: [dev] CetonTV - Watch TV on XBMC - gman3042 - 2012-09-04

is there anything playing on the local machine in vlc?


RE: [dev] CetonTV - Watch TV on XBMC - angrycamel - 2012-09-04

VLC did not open when I opened that url in the browser (Chrome). Should it have opened VLC with a GUI?

I just loaded the url again and saw that VLC.exe appears in my task manager as a running process (vlc.exe *32). But there is no GUI for it.

EDIT:
After a couple minutes I see the following inthe concole window and the vlc.exe process ends:

Code:
[9.3.2012.21:53:00]: Scheduler: Checking for tasks to run
[9.3.2012.21:53:00]: Scheduler: No clients streaming on Tuner[1]
[9.3.2012.21:53:00]: Scheduler: Tuner is inactive. Shutting down stream
[9.3.2012.21:53:00]: VLC[1]: Closing VLC instance
[9.3.2012.21:53:00]: Tuner[1]: Stopping video stream
[9.3.2012.21:53:00]: Scheduler: Sleeping 22020 seconds until next task




RE: [dev] CetonTV - Watch TV on XBMC - emann - 2012-09-04

try adding

"&redirect=true"

at the end of the url.

If you are transcoding, I believe you need to get the transcoded stream to be redirected onto the main port.




RE: [dev] CetonTV - Watch TV on XBMC - angrycamel - 2012-09-04

(2012-09-04, 03:54)emann Wrote: try adding

"&redirect=true"

at the end of the url.

If you are transcoding, I believe you need to get the transcoded stream to be redirected onto the main port.

Same experience as above. Does VLC actually open up for you into a GUI playing the video stream when loading that URL?