[dev] CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX)

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mcheng89 Offline
Fan
Posts: 373
Joined: Jan 2012
Reputation: 2
Post: #71
Killervette Wrote:Maybe 5 seconds to tune is not enough for me. I am using the USB version of the ceton.

I don't think that the device should take 5 seconds to change channels, which is why I put such a high amount. (or else wmc would be unusable)

Can you start a stream in vlc/wmc and leave that open. Then run xbmc.
Since another stream is sharing the tuner, it won't tune again on startup.
It's just to see if xbmc works.


Killervette Wrote:and this is from the command prompt

Server: Client requested stream url for Tuner[1]
Tuner[1]: Changing channel to 1
Tuner[1]: Program number is 15
Tuner[1]: Channel name is OND
Tuner[1]: rtsp://192.168.42.165:8554/cetonmpeg0
Tuner[1]: Starting video stream
VLC[1]: Starting VLC instance with remoteVLC plugin
VLC[1]: Streaming to http://localhost:8556
VLC[1]: Setting channel program id using remoteVLC
VLC[1]: Could not set channel in 5 seconds
VLC[1]: Closing VLC instance
Tuner[1]: Stopping video stream

Can vlc or wmp play channel 1?

EDIT (possible solution): Channel 1 is OND. If OND means on demand then defaulting to the first channel on the channelmap will not work. Do you mind going to the <plugin folder>/resources/ceton/channelmap.csv and removing that channel (to see if thats the issue)?
(This post was last modified: 2012-02-13 06:27 by mcheng89.)
find quote
europorsche914 Offline
Member
Posts: 88
Joined: Jan 2012
Reputation: 0
Post: #72
How to create a custom channel list for cetonTV


1. Navigate to the folder containing ceton api -> resources -> channelmap.csv. Open this file in a text editor (excel/open office calc is best for next step anyway) then remove any channels that you do not subscribe/want displayed in the guide (I inserted a return after each channel for readability, by default it isnt this pretty also the data is comma delimited <no spaces>).
ex:
3,KYW,1003
6,WPVI,1006
8,WGN,100

2. Then create a file titled mc2xml.chl in the resources folder containing the same channels (one channel number per line) to be downloaded using mc2xml.exe (google search). Easiest way to create this file is simply removing column "B" and "C" in whatever spreadsheet program you are using for the previous step and saving as mc2xml.chl.
ex:
3
6
8

Now the computer will download the required data for the guide without waisting space (my guide data went from a 215mb file to 110mb file) and errornous channels will be removed from the xbmc guide.

DISCLAIMER: If any one that has issues with the plugin after modifying the channel list, they should delete the modifiied .csv file before posting issues due to how easy it is to mistakenly modify the .csv file, the api program will automatically reparse a new channel list.
(This post was last modified: 2012-02-15 18:45 by europorsche914.)
find quote
mcheng89 Offline
Fan
Posts: 373
Joined: Jan 2012
Reputation: 2
Post: #73
europorsche914 Wrote:Navigate to the folder containing ceton api -> resources -> channelmap.csv. Open this file in excel then remove any channels that you do not subscribe/want displayed in the guide. Then create a file titled mc2xml.chl in the resources folder containing the same channels (one channel number per line) to be downloaded using mc2xml.exe (google search). Now the computer will download the required data for the guide without waisting space (my guide data went from a 215mb file to 110mb file) and errornous channels will be removed from the xbmc guide. DISCLAIMER: If any one that has issues with the plugin, should delete the modifiied .csv file before posting due to how easy it is to mistakenly modify the .csv file, the api program will automatically redownload a new channel list.

Not sure if you noticed but the epg data is about 4 hours off for me
I'll release something tomorrow to fix the timezone issue...
(This post was last modified: 2012-02-13 06:21 by mcheng89.)
find quote
Killervette Offline
Junior Member
Posts: 17
Joined: Feb 2012
Reputation: 0
Post: #74
europorsche914 Wrote:Navigate to the folder containing ceton api -> resources -> channelmap.csv. Open this file in excel then remove any channels that you do not subscribe/want displayed in the guide. Then create a file titled mc2xml.chl in the resources folder containing the same channels (one channel number per line) to be downloaded using mc2xml.exe (google search). Now the computer will download the required data for the guide without waisting space (my guide data went from a 215mb file to 110mb file) and errornous channels will be removed from the xbmc guide. DISCLAIMER: If any one that has issues with the plugin, should delete the modifiied .csv file before posting due to how easy it is to mistakenly modify the .csv file, the api program will automatically redownload a new channel list.

i bet this will do it. I dont know why i didnt think of it. I made the changes and will test when i get home. thanks!
find quote
mcheng89 Offline
Fan
Posts: 373
Joined: Jan 2012
Reputation: 2
Post: #75
Killervette Wrote:i bet this will do it. I dont know why i didnt think of it. I made the changes and will test when i get home. thanks!

The channelmap file gets saved in the xbmc addon also. Don't forget to modify that. I'll make some sort of blacklist file, so that we can remove channels from the channel map automatically.

NOTE: VLC 2.0 seems to break my plugin Sad
So that might have higher priority than any other issues.
I'll release one more update today to finish off the epg
find quote
Killervette Offline
Junior Member
Posts: 17
Joined: Feb 2012
Reputation: 0
Post: #76
Killervette Wrote:i bet this will do it. I dont know why i didnt think of it. I made the changes and will test when i get home. thanks!

That did the trick.
find quote
europorsche914 Offline
Member
Posts: 88
Joined: Jan 2012
Reputation: 0
Post: #77
mcheng89 Wrote:The channelmap file gets saved in the xbmc addon also. Don't forget to modify that. I'll make some sort of blacklist file, so that we can remove channels from the channel map automatically.

NOTE: VLC 2.0 seems to break my plugin Sad
So that might have higher priority than any other issues.
I'll release one more update today to finish off the epg

yes forgot to mention that or just delete the file and the plugin will grab it from the api on the next run
(This post was last modified: 2012-02-14 01:41 by europorsche914.)
find quote
mcheng89 Offline
Fan
Posts: 373
Joined: Jan 2012
Reputation: 2
Post: #78
mcheng89 Wrote:The channelmap file gets saved in the xbmc addon also. Don't forget to modify that. I'll make some sort of blacklist file, so that we can remove channels from the channel map automatically.

NOTE: VLC 2.0 seems to break my plugin Sad
So that might have higher priority than any other issues.
I'll release one more update today to finish off the epg

I think I decided what I am going to do for VLC 2.0 when it comes out. It might fix some issues with sharing one tuner on multiple client. Though might make the experience worse for people who use VLC/WMP to watch tv, since it interrupts the stream when you change channels. The XBMC client will not be affected

Going to continue work on the program now.

@europorsche914: added your instructions to first post. removed the line about deleting the channelmap from the xbmc plugin. since it now checks the server to see if the channel map was modified

Edit: AppleTV remote info: http://wiki.xbmc.org/index.php?title=Glo...ple_Remote
(This post was last modified: 2012-02-15 17:19 by mcheng89.)
find quote
LehighBri Offline
Senior Member
Posts: 237
Joined: Jan 2009
Reputation: 0
Post: #79
europorsche914 Wrote:
[b]2.
Then create a file titled mc2xml.chl in the resources folder containing the same channels (one channel number per line) to be downloaded using mc2xml.exe (google search). Easiest way to create this file is simply removing column "B" and "C" in whatever spreadsheet program you are using for the previous step and saving as mc2xml.chl.
ex:
3
6
8

I created a mc2xml.chl with only 3 channels in it in the same directory as the mc2xml.exe file (\remoteCeton\resources) but each time m2xml runs, I ignores the .chl and pulls in info for all channels. Thoughts on how to debug this?
find quote
europorsche914 Offline
Member
Posts: 88
Joined: Jan 2012
Reputation: 0
Post: #80
LehighBri Wrote:I created a mc2xml.chl with only 3 channels in it in the same directory as the mc2xml.exe file (\remoteCeton\resources) but each time m2xml runs, I ignores the .chl and pulls in info for all channels. Thoughts on how to debug this?

thats odd, its always worked for me and on several different setups.. what version are you using? it should state it in the command windows when you run mc2xml
find quote
Post Reply