NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 19 20 21 22 23 … 159 Next »
NextPVR as Backend for XBMC

 
  • 0 Vote(s) - 0 Average
NextPVR as Backend for XBMC
devomaster
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Sep 2012
#1
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.
nx01
Offline

Junior Member

Posts: 32
Threads: 11
Joined: Jan 2012
#2
2012-09-21, 06:31 AM
this is exactly what I did but I export the TV data out of the NPVR database to create the tv xml file and also the strm files with the correct channel name and link the strm file to the tv uide plugin, this runs daily so any changes to the NPVR channel line up are reflected back to the TVguide plugin automatically.

I also made the script for the XMLTV file creator only provide 2 days of date for the TVguide plugin, I dont need more then that as I dont schedule recordings with it, this decreases the load time of the TVguide plug in
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#3
2012-09-22, 10:32 PM (This post was last modified: 2012-09-22, 10:42 PM by steeb.)
devomaster,

find it quite weird that you have opened a whole new thread entitled:

NextPVR as Backend for XBMC

when the thread below on the same sub-forum was entitled the same Big Grin

I would ask do you find the forum here a bit quirky? Opinion?

Loving some new users dropping by here Wink

cheers

steeb
[SIZE="1"]When you have eliminated the impossible, whatever remains, however improbable, must be the truth.[/SIZE]

[SIZE="2"]NextPVR Documentation (wiki) admin/contributor[/SIZE]

profile on wiki & computer specifications
devomaster
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Sep 2012
#4
2012-09-27, 02:22 AM
steeb,
That is a very good question. Well, actually thought about that and I believe there is actually a difference in the approach taken. I did not want to distract from the discussion that was happening in the other thread, but wanted to make this approach available to those who would use the search bar to find the information. In the other thread, it is being discussed for an actual plug in being developed. This approach is using existing install, without the need to wait for that development.
Thanks for asking. BTW, it is very possible that some users have used forums prior to the births of others, so not necessarily new.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#5
2012-09-27, 11:18 PM
devomaster Wrote:steeb,
That is a very good question. Well, actually thought about that and I believe there is actually a difference in the approach taken. I did not want to distract from the discussion that was happening in the other thread, but wanted to make this approach available to those who would use the search bar to find the information. In the other thread, it is being discussed for an actual plug in being developed. This approach is using existing install, without the need to wait for that development.
Thanks for asking. BTW, it is very possible that some users have used forums prior to the births of others, so not necessarily new.

I stand humbly enlightened Wink

You will see if you dig about on this forum that I do drift about! If you dig about you will find that the search bar on the vbulletin software often comes up in conversation :eek: (It is not very good!)

You are a very fresh and highly welcomed voice here, hope to see you about on the forum etc Big Grin

I'll be quiet now, going off thread :o

v best and cheers

steeb
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Error getting EPG data with NextPVR juliescamilla 2 348 2025-04-01, 10:07 AM
Last Post: juliescamilla
  Using NextPVR instead of Channels DVR Fangking79 3 1,601 2023-11-01, 11:32 PM
Last Post: mvallevand
  Multiple instances of NextPVR on Kodi Spaldo 4 1,230 2023-06-01, 09:13 AM
Last Post: Spaldo
  FrndlyTV on NextPVR markosjal 0 1,086 2022-11-18, 07:50 AM
Last Post: markosjal
  NextPVR server configuration suggestions. mvallevand 0 921 2022-08-04, 12:58 AM
Last Post: mvallevand
  Is it possible to export NextPVR's EPG in XML format Paul92 3 1,593 2022-07-05, 01:38 PM
Last Post: mvallevand
  newbie to NEXTPVR Need help with TV guides sffire 16 4,133 2021-10-10, 05:46 AM
Last Post: sffire
  Kodi and NextPVR question RoshaBeli 1 1,312 2021-08-30, 07:05 PM
Last Post: sub
  How to access NextPVR remotely without Kodi? devilkepo74 2 2,418 2021-02-05, 11:48 AM
Last Post: Graham
  Nextpvr laurihold78 1 1,415 2021-01-19, 12:37 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode