2012-09-15, 02:19 PM
NextPVR can stream video to XBMC through the built-in NEWA server. The way this is accomplished is by creating files that open the individual channels as streams. The following steps will do this for you. This is done on the computer that hosts NextPVR.
1) Create a folder inside your shared media folder, like where your recorded tv is stored. Name it "Live TV"
2) Create a ".bat" file within the Live TV folder, name it "ChanStrmCreate.bat" and put the following line into the file:
for /l %%n in (1,1,99) do echo http://127.0.0.1:8866/live?channel=%%n >> ch%%n.strm
When executed, this will create 99 stream files for channels 1 through 99, using the NEWA server address 127.0.0.1 through port 8866. This is a simple batch loop the numbers in the parenthesis is the starting number, add 1, stop after 99. so you may need to adjust to your needs, the %%n is the count variable.
3) Execute the "ChanStrmCreate.bat" file.
4) In XBMC go to the Video or TV Shows and "add source". Browse to the location of "Live TV" folder, click "ok" and the streaming channel files are installed and live tv can be watched.
Now I prefer to know what is on using a guide, so I installed an add-on program called TV Guide into XBMC. this allows the use of the XMLTV guide that you use for NextPVR, and will allow you to attach the stream files created earlier to each channel of the guide. This is not a NextPVR addon for XBMC, so it does not have all the bells and whistle controls that NEWA birings to the table. It just opens and closes the live tv streams.
Hope you find this suitable until an actual add-on is created for XBMC.
1) Create a folder inside your shared media folder, like where your recorded tv is stored. Name it "Live TV"
2) Create a ".bat" file within the Live TV folder, name it "ChanStrmCreate.bat" and put the following line into the file:
for /l %%n in (1,1,99) do echo http://127.0.0.1:8866/live?channel=%%n >> ch%%n.strm
When executed, this will create 99 stream files for channels 1 through 99, using the NEWA server address 127.0.0.1 through port 8866. This is a simple batch loop the numbers in the parenthesis is the starting number, add 1, stop after 99. so you may need to adjust to your needs, the %%n is the count variable.
3) Execute the "ChanStrmCreate.bat" file.
4) In XBMC go to the Video or TV Shows and "add source". Browse to the location of "Live TV" folder, click "ok" and the streaming channel files are installed and live tv can be watched.
Now I prefer to know what is on using a guide, so I installed an add-on program called TV Guide into XBMC. this allows the use of the XMLTV guide that you use for NextPVR, and will allow you to attach the stream files created earlier to each channel of the guide. This is not a NextPVR addon for XBMC, so it does not have all the bells and whistle controls that NEWA birings to the table. It just opens and closes the live tv streams.
Hope you find this suitable until an actual add-on is created for XBMC.