Radio Channels (TV Music Channels)
#1
The next tweaking of my XBMC and SWMC setup:

Radio Channels, or more specific to my case...audio only cable music channels.

I have music channels from channel 903 to 948 (no breaks...46 channels).

I have included the following line in the config.xml file:
<ForcedRadioChannels>903-948</ForcedRadioChannels>

I closed and restarted SWMC.

I clicked on the 'Reload Channels from WMC' button (in SWMC) and it shows that it sees 46 Radio Channels...as expected.

After having XBMC delete and reload the PVR database and a restart, I do not see channels 903-948 anywhere...not in the EPG, not in the Live TV Channels, nor in the Radio Channels.

Before making the config file change, they showed in the EPG and live TV channels list...they just did not work.

So, what is the trick to get these to show up under 'Radio Channels'?
Reply
#2
There shouldn't be any trick, what you described above should have worked (restarting xbmc should be all that was required). I just checked (was worried maybe I broke this feature when I added fm radio) and it works for me. What version of the pvr.wmc addon are you running?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#3
(2014-07-03, 04:22)krustyreturns Wrote: There shouldn't be any trick, what you described above should have worked (restarting xbmc should be all that was required). I just checked (was worried maybe I broke this feature when I added fm radio) and it works for me. What version of the pvr.wmc addon are you running?

0.2.93
Reply
#4
There's your problem, you need version 2.95 to enable forced radio. You can get it on our download page.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#5
(2014-07-03, 05:02)krustyreturns Wrote: There's your problem, you need version 2.95 to enable forced radio. You can get it on our download page.

I thought that is what I had until you asked me for the info.

Installed 2.95, reset the PVR database and restarted XBMC...

Now, the channels show up in 'Radio Channels', but will not play...says 'No video data found on this channel'.

I checked he savedfordebug folder...found the file...it plays fine in WMP.

I uploaded the file to your shared drive.

Excerpt from log:
2014/07/02 22:12:16.391 Received client request: Win7Up|OpenLiveStream|32145|1|909|Music Choice: Hip-Hop Classics
2014/07/02 22:12:16.398 OpenLiveStream> -----------------start------------------------
2014/07/02 22:12:16.398 OpenLiveStream> client: Win7Up requesting live stream
2014/07/02 22:12:16.408 StreamProc> live-tv started
2014/07/02 22:12:16.424 SetChannel> Attempt: 0, Tuner: HDHomeRun Prime Tuner 131AA596-2 / 38e8dcd7-bdc3-43e3-bd17-798844d8fcdb
2014/07/02 22:12:16.425 SetChannel> > Digital: True
2014/07/02 22:12:16.425 SetChannel> > Encrypted: False
2014/07/02 22:12:16.426 SetChannel> > RecorderInfo found: True
2014/07/02 22:12:16.426 SetChannel> > Recorder Content Protection: PROT_COPY_FREE
2014/07/02 22:12:16.434 SetChannel > busy: False, client: none
2014/07/02 22:12:16.435 SetChannel> > tuner is available => stopping search
2014/07/02 22:12:16.437 SetChannel> Recorder acquired: True
2014/07/02 22:12:16.441 SetChannel> TuneRequest set
2014/07/02 22:12:16.479 StreamProc> wtv recording started in 0.07 sec
2014/07/02 22:12:16.479 StreamProc> stream output file: LiveTV_Win7Up_Digital Cable_909_2014_07_02_22_12_16.ts
2014/07/02 22:12:16.480 StreamProc> started remux thread: 'MC07-909: 32145'
2014/07/02 22:12:16.517 Remux::FindDescriptors> Scanning wtv for streams...
2014/07/02 22:12:18.783 Parse> Guid: 0 took 2.19 sec, it was attempted 1060 times
2014/07/02 22:12:18.805 Parse> Next 4 Guids: 0.02 sec, 0.00 sec, 0.00 sec, 0.00 sec,
2014/07/02 22:12:21.021 Parse> Last number of attempts for Guid header was large: 1072
2014/07/02 22:12:23.260 Parse> Last number of attempts for Guid header was large: 1066
2014/07/02 22:12:25.493 Parse> Last number of attempts for Guid header was large: 1083
2014/07/02 22:12:26.487 WaitForTsFile> timeout reached, throwing exception
2014/07/02 22:12:26.488 StreamProc> process start error: Stream file 'ts' does not exist (likely no data was found to remux), timeout: 10,000 ms reached. calling Close()
2014/07/02 22:12:26.498 Remux::Stop> caller is requesting to stop remux thread before descriptors are found
2014/07/02 22:12:26.498 Remux::Stop> stop remux requested
2014/07/02 22:12:26.501 WtvToPesDemuxer:Tonguearse> Guid header detects stream end
2014/07/02 22:12:26.501 Parse> Descriptor pass done, using 236 guids in 7.70 sec
2014/07/02 22:12:26.501 Parse> Total Descriptor parse time: 9.91 sec
2014/07/02 22:12:26.501 Pass 'Descriptor':
2014/07/02 22:12:26.501 > WtvToPesDemuxer:Tonguearse> total guid headers processed: 236
2014/07/02 22:12:26.501 > WtvToPesDemuxer:Tonguearse> total data packets processed: 46
2014/07/02 22:12:26.508 Remux::FindDescriptors> wtv scanned (10.00 sec), Streams found:
2014/07/02 22:12:26.510 > Audio: ID:31 (und) ac3 2.0 48000 Hz 192 kb/s
2014/07/02 22:12:26.512 > Video: ID:32 mpeg2video MP-ML 704x480p fps: 30000/1001 AR: 1:1
2014/07/02 22:12:26.513 Remux::FindDescriptors> Removing 'ID:32 mpeg2video MP-ML 704x480p fps: 30000/1001 AR: 1:1' as AudioOnly is specified
2014/07/02 22:12:26.513 Remux::FindDescriptors> Output streams:
2014/07/02 22:12:26.513 > Audio: ID:31 (und) ac3 2.0 48000 Hz 192 kb/s
2014/07/02 22:12:26.513 Remux::FindDescriptors> warning: no video streams to remux
2014/07/02 22:12:28.504 Parse> Exception:
2014/07/02 22:12:28.505 Parse> Pass: mux2ts
2014/07/02 22:12:28.505 Parse> Guid count: 300
2014/07/02 22:12:28.505 Parse> Header:
2014/07/02 22:12:28.505 Parse> re-throwing exception
2014/07/02 22:12:28.508 Remux> error: System.Threading.ThreadAbortException: Thread was being aborted.
at Remuxer.demux.microsoft.WtvToPesDemuxer.parse(JobStreamI stream, MuxManager muxManager)
at Remuxer.muxer.MuxManager.mux(JobStreamI stream)
at Remuxer.Remux.Start(String clientName, String outFullFileName)
2014/07/02 22:12:28.512 Remux> requesting D:\Recorded TV\TempSWMC\LiveTV_Win7Up_Digital Cable_909_2014_07_02_22_12_16.wtv be saved from deletion
2014/07/02 22:12:28.513 Remux> ENDED, >>>>>>>>>> Run Time: 0.03 min <<<<<<<<<<
2014/07/02 22:12:28.514 StreamProc::CloseRemux> warning: remux job did not end smoothly
2014/07/02 22:12:28.514 StreamProc::Close> remux stopped successfully
2014/07/02 22:12:28.572 DeleteTS> ts file size: 229,376
2014/07/02 22:12:28.573 StreamProc::Close> ts file deleted: D:\Recorded TV\TempSWMC\LiveTV_Win7Up_Digital Cable_909_2014_07_02_22_12_16.ts
2014/07/02 22:12:28.574 RecordToWTV::Close> isPassive is False => COM recorder will be stopped
2014/07/02 22:12:28.614 StreamProc::Close> wtv closed successfully
2014/07/02 22:12:28.664 StreamProc::Close> wtv file size: 786,432 (0xC0000)
2014/07/02 22:12:28.665 StreamProc::Close> WTV FILE SAVED FOR DEBUG: D:\Recorded TV\TempSWMC\LiveTV_Win7Up_Digital Cable_909_2014_07_02_22_12_16.wtv
2014/07/02 22:12:28.665 StreamProc::Close> closed in 2.17 sec
2014/07/02 22:12:28.666 OpenLiveStream> error: Stream file 'ts' does not exist (likely no data was found to remux), timeout: 10,000 ms reached.
2014/07/02 22:12:28.666 Finished request OpenLiveStream in 12.28s
2014/07/02 22:12:31.908 Received client request: Win7Up|ClientGoingDown
2014/07/02 22:12:31.908 ClientGoingDown> Client 'Win7Up' disconnecting
2014/07/02 22:12:31.910 Finished request ClientGoingDown in 0.00s
2014/07/02 22:12:35.826 MainWindow::Window_Loaded> not running as service, checking folder status.
2014/07/02 22:12:35.826 MainWindow::Window_Loaded> Done
2014/07/02 22:12:38.543 Client: '192.168.67.141' addon Version: 0.2.96, Client OS:
2014/07/02 22:12:38.544 Client: '192.168.67.141' running remotely: True
2014/07/02 22:12:38.548 Received client request: 192.168.67.141|GetTimers
2014/07/02 22:12:38.586 Finished request GetTimers in 0.04s
2014/07/02 22:12:38.628 Received client request: 192.168.67.141|GetRecordings
2014/07/02 22:12:38.642 GetRecordings> Total process time 0.01 sec
2014/07/02 22:12:38.642 GetRecordings> Completed for client 192.168.67.141, results:
2014/07/02 22:12:38.642 GetRecordings> Transfered: RecTV folder files: 0, watched files: 0
2014/07/02 22:12:38.642 GetRecordings> Ignored: local files: 0, temp files: 8
2014/07/02 22:12:38.642 GetRecordings> Weird files: no program: 0, no channel: 0, orphaned: 0
2014/07/02 22:12:38.642 GetRecordings> Misc: content protected: 0, icons: 0, instantRec: 0, metaDataReads: 0
2014/07/02 22:12:38.642 GetRecordings> Invalid StartTimes: 0
2014/07/02 22:12:38.642 Finished request GetRecordings in 0.01s
Reply
#6
Try increasing the timeout in config.xml. Try:

<Timeout_WaitForTS_MS>20000</Timeout_WaitForTS_MS>
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#7
I was having the same issue and increasing the timeout fixed it (I also upgraded to the version listed and forced the music channels to be 901-950). It sure takes a long time to get the music feed when switching to the channel.
Reply
#8
It got a bit ugly/messy in the guts of the remuxer, trying to modify it to be OK with an audio only channel as well as a channel that had video and audio but we only wanted audio. There may still be more we can do to tweak things so it doesnt keep looking for video packets or wait extra time etc when we dont even want the video data to come through... Ill have a look at the WTV file that was uploaded and sbthomas if you could also upload an example WTV file of your forced audio channel that takes ages to tune, Id like that test file as well (turn off delete temporary files in SWMC temporarily, grab the WTV file and upload it, then turn back on the option)
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#9
Sure, I can upload. How do I upload the wtv file? Only info I could find was pastebin and I don't think that will work :-)
Reply
#10
You can upload it to my g-drive, scarecrow can get it there:

https://drive.google.com/?authuser=0#fol...zFhZmNPWUE
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#11
ok.. I feel like a major dummy, but I can not find the documentation on where to set up radio channels Smile Can someone kindly point me in the right directions, I did a search, but feeling rather noobish now.
Reply
#12
(2014-07-03, 18:11)krustyreturns Wrote: Try increasing the timeout in config.xml. Try:

<Timeout_WaitForTS_MS>20000</Timeout_WaitForTS_MS>

(2014-07-04, 02:35)sbthomas Wrote: I was having the same issue and increasing the timeout fixed it (I also upgraded to the version listed and forced the music channels to be 901-950). It sure takes a long time to get the music feed when switching to the channel.

Same experience here...increasing the timeout worked, but it takes upwards of 30 seconds to tune to the channel. I rarely use them, so I am not put out much by the wait.
Reply
#13
@Loganone, don't feel bad, its pretty new so there isn't much documentation, you can see some explanation in the change log.

If you really mean fm radio, you first must have radio setup and working in wmc. Next you have to save radio channel presets in wmc - or - in the config.xml file for serverwmc. The radio presets you save in either location, will be the radio channels that show up in xbmc. There is an example of how to do it in the config.xml file.

If you want to have xbmc treat a tv channel as a radio channel (ignore the video stream, just play the audio stream) you need to set it as a forcedradio channel in the config.xml file (that's what most of the folks are talking about in this thread).

You can get to the config.xml file in the debug tab of serverwmc. If you have more questions post them here.
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#14
@wagman67 30sec!!! wow, that must be some kind of record. Something must be wrong. Have you uploaded a sample of one of these channels?
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#15
I uploaded the wtv file of the forced radio channel. it also created a ts file which I can upload if it will help.

On a related note, if I increase the timeout but do not force the channels to be radio channels it now works as well. The video stream is nice as it has the author and song title but it also has advertisements. However, in this mode the music skips pretty badly. This does not happen in the force radio mode. I can upload a wtv in that mode as well if that will help.

Another thing I just noticed, while watching live forced radio channel, the EPG is restricted to only other radio channels. Under Live TV, if I click TV Channels it shows TV channels correctly, just EPG is restricted to music only. It behaves the same in the opposite case, i.e. while watching TV, radio channels do not show up in EPG. This way isn't as important but I think it would be helpful to be able to browse the EPG for TV Channels while listening to a music channel.

Lastly, while streaming radio channel the ServerWMC.log is filling with the following lines every few seconds:
2014/07/04 13:32:54.601 WriteChunk> long interval between writes (ms): 2242
2014/07/04 13:37:36.515 WriteChunk> long interval message repeated more than 20 times

Do we have a central location to track issues? I'd love to start researching and helping.
Reply

Logout Mark Read Team Forum Stats Members Help
Radio Channels (TV Music Channels)0