Posts: 3,438
Joined: Aug 2012
Reputation:
91
That's strange. I looked through the log and don't see any problems. If you're still having this problem, please make me a simpler log by restarting swmc, and then do the minimal number of channel changes you have to do to make the problem happen, then tell me the names of the channels you switched so that I can see the steps involved.
I've confused about what changed in your setup, you say installed swmc, does that mean you re-installed it on your win7 machine? Or you set up a new server machine? Is it only the win10 client that triggers this problem?
Posts: 10
Joined: May 2017
Reputation:
0
Howdy. I did a fresh install yesterday of swmc on the same Win7 machine that I have been watching live TV, via windows media centre, for several years. I did not set up a new server.
I have installed Kodi on both that Win7 machine as well as a separate Win10 laptop. On both instances of Kodi, the channel changing feature of LiveTV does not seem to work.
I fire up another trace and post shortly.
Posts: 10
Joined: May 2017
Reputation:
0
When you change channels, how many digits do you transmit?
Posts: 3,438
Joined: Aug 2012
Reputation:
91
I'm not sure what is going on (obviously) but that first log you posted just shows one live stream opened on channel 3.
Do you have this problem if you stop the channel before you tune to a different channel?
Have you tried just rebooting your server machine?
Posts: 10
Joined: May 2017
Reputation:
0
I'll give that a shot a little later on today, but I think the issue is with the transmission of the channel change command. It appears the tuner wants to change the channel (there is a pause in the stream), but the change fails, as if I entered an invalid channel number or something along those lines.
Posts: 3,438
Joined: Aug 2012
Reputation:
91
Hmm. In the first log you said you first set channel 2 and then switched to channel 3, but the log only shows swmc setting channel 3 and no setting of channel 2 (or stopping of channel 2).
The other thing you do is monitor the temp files that swmc creates in the tempswmc folder in your recorded tv folder. When you start a stream for channel2 you should see these temp files created. Then when you switch to channel3 you see the '2' temp files deleted and new ones for channel 3 created.
Posts: 10
Joined: May 2017
Reputation:
0
Good morning. I rebooted the server and resumed testing. When I stop the channel and then select another one, I am able to tune in channels 2 and 5, but selecting any other channel either dumps me to channel 16, or stays stuck on channel 5.
Interestingly, the logs have a problem with channel 16:
GetLineUpsAndChannels> Null space for channel: Drama
EPG> Channel uniqueness ID test failed for xID: 127489338
EPG> >> Channel: Drama/16
EPG> >> UniqueID: 7881299475387706
EPG> >> Channel: WIVBHD/16
EPG> >> UniqueID: 7881299475387706
EPG> Channel uniqueness ID test failed for xID: 127489338
EPG> >> Channel: Drama/16
EPG> >> UniqueID: 7881299475387706
EPG> >> Channel: WIVBHD/16
EPG> >> UniqueID: 7881299475387706
When watching the temp directory on the server, the temp file indicates the channel I selected, but that is not what is showing up on the screen.
Using windows media center, when I enter an invalid channel the stream 'jumps' for a second, but stays on the same channel. This is what this issue feels like. It's like the plugin is sending in an invalid channel selection.
Posts: 10
Joined: May 2017
Reputation:
0
Testing update:
- Selecting channel 2 or 5 work every time.
- Selecting channel 3 dumps me to 16.
- Selecting any other channel leaves me on 2,5, or 16.
Thanks for the help.
Posts: 10
Joined: May 2017
Reputation:
0
OK, I think I am getting somewhere. I restarted swmc, restarted kodi, and then surfed from channel 2-13. Check out these specific log entries:
SetChannel> Channel: 2 : CICA - 7994F12 = { (2 : CICA - 1861D5) + [ 2 : CICA - 7993B2D] }
SetChannel> Tuners available for this channel: 1
.
.
SetChannel> Channel: 3 : GLOB - 7994F13 = { (3 : GLOB - 1861D7) + [ 3 : GLOB - 7993B31, 116 : GLOB - 7993CD5] }
SetChannel> Tuners available for this channel: 2
.
.
SetChannel> Channel: 4 : OMNI1 - 7994F15 = { (4 : OMNI1 - 1861D9) + [ 4 : OMNI1 - 7993B35, 169 : OMNI1 - 7993D59] }
SetChannel> Tuners available for this channel: 2
.
.
SetChannel> Channel: 5 : GUIDE - 7994F17 = { (5 : GUIDE - 1861DB) + [ 5 : GUIDE - 7993B39] }
SetChannel> Tuners available for this channel: 1
.
.
SetChannel> Channel: 6 : CBLT - 7994F18 = { (6 : CBLT - 1861DD) + [ 6 : CBLT - 7993B3D, 127 : CBLT - 7993CED] }
SetChannel> Tuners available for this channel: 2
Channels 2 and 5 work correctly, the other don't. Channels 2 and 5 don't have any alternates, while a channel like 6 has 3. I think swmc is attempting to change to one of the alternates, which are channels I don't actually get so the channel doesn't change.
How can we restrict swmc to just the channels i have?
Posts: 3,438
Joined: Aug 2012
Reputation:
91
Yeah, you are right, that is the problem. You have a single tv tuner, so each of those channels that say you have 2 tuners available for this channel are incorrect. This has to do with the wmc setup, in wmc if you choose 'edit channels' for one of these problem channels you'll see that it has two sources enabled in wmc rather then just a single one. One way to fix the problem is in wmc just disable the extra channel source at the bottom of the sources list and then save. I think another way to fix it, is to just reconfigure live-tv in wmc.
The reason wmc is giving you different results then swmc is that, by default, if there are multiple channel sources for channel swmc takes the one at the bottom of the source list (which is bad for your problem channels), but wmc takes the source at the top of the list (which works). This behavior can be turned off, but the better fix is to just get rid of the extraneous source.
Posts: 10
Joined: May 2017
Reputation:
0
Howdy. Editing the channels in media centre to remove the higher channels and reloading swmc did the trick. Thanks for the tip!