NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 25 26 27 28 29 … 34 Next »
Environment variable "SATIP_DEVICES" not working @Ubuntu, my Minisatip is not discove

 
  • 0 Vote(s) - 0 Average
Environment variable "SATIP_DEVICES" not working @Ubuntu, my Minisatip is not discove
netmax
Offline

Junior Member

Germany
Posts: 5
Threads: 1
Joined: May 2020
#1
2020-05-26, 08:15 AM
Hi,

I wanted to have a look at NextPVR (as a long time TVHeadend user) and I have installed it in a VM on my server on Ubuntu 18.04. Unfortunately I can't get it working, it's not discovering my Minisatip server.

The Minisatip is in a different network, available on a second network card, and it seems NextPVR does not scan on all networks.

I've found a hint to add an environment variable "SATIP_DEVICES" to tell NextPVR where to look for the SAT>IP server, but that does not work, too. I've checked that my environment variable is correctly set:

Code:
root@nextpvr:~# echo $SATIP_DEVICES          
http://10.32.6.101:8080/satip.xml

... so I'm quite puzzled how to tell NextPVR about my SATIP server.

Any ideas?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#2
2020-05-26, 12:57 PM
Why not have your VM on the proper subnet and make this a real test?

Martin
netmax
Offline

Junior Member

Germany
Posts: 5
Threads: 1
Joined: May 2020
#3
2020-05-26, 04:00 PM (This post was last modified: 2020-05-26, 04:02 PM by netmax.)
Because the data to the clients and gateway runs in the normal VLAN, the data from the SATIP servers are in the priorized VLAN (along with other critical stuff like VoIP applications, CCTV etc).

I just need to tell NPVR where to find it's SATIP server ... should be a standard config item like in TVHeadend, DVBViewer etc ...

No idea why it does not detect it, it should see the SSDP multicasts on the second interface, it's not routed and in the same subnet as the SATIP servers.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#4
2020-05-26, 04:49 PM
Fair enough although in such a complex environment I am not sure why you wouldn't continue to use TVHeadend. NextPVR is great for users who don't want to detail with complicated setups but won't be able to offer you more than what you have today.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#5
2020-05-26, 07:39 PM
Can you open http://10.32.6.101:8080/satip.xml in a browser from the NextPVR VM, or using curl/wget, and what does it return?
netmax
Offline

Junior Member

Germany
Posts: 5
Threads: 1
Joined: May 2020
#6
2020-05-27, 02:29 PM
(2020-05-26, 04:49 PM)mvallevand Wrote: Fair enough although in such a complex environment I am not sure why you wouldn't continue to use TVHeadend.  NextPVR is great for users who don't want to detail with complicated setups but won't be able to offer you more than what you have today.

Martin

I don't intend to abandon TVH, it's running rock solid and gives me all I need (except a proper Web Interface for EPG, programming etc.). But the main programmer (perexg) seems to have left the project and nothing has happened the last 6 months ... I like to check for alternatives early enough in case some kind of problems are raising (like lack of support for future Kodi versions etc.).

Also NPVR seems to have a much better integration into Emby as TVH (which you can only really use with m3u playlists, not with the plugin).

I need to admin that I was shocked when I discovered M$ dotnet sh1t on my Linux VM after installing NPVR ... but Emby, which I really love, does similar ... so that's not a real showstopper. Second issue was the lack of dvbapi support for my HD+ subscription, but I can basically work around this with a minisatip proxy between my minisatip-axe and the client.
Let's see if I can get SATIP working ...
netmax
Offline

Junior Member

Germany
Posts: 5
Threads: 1
Joined: May 2020
#7
2020-05-27, 02:32 PM
(2020-05-26, 07:39 PM)sub Wrote: Can you open http://10.32.6.101:8080/satip.xml in a browser from the NextPVR VM, or using curl/wget, and what does it return?

Sure, that works flawlessly. Here's the content of the file downloaded with wget:

Code:
<?xml version="1.0"?><root xmlns="urn:schemas-upnp-org:device-1-0" configId="0"><specVersion><major>1</major><minor>1</minor></specVersion><device><deviceType>urn:ses-com:device:SatIPServer:1</deviceType><friendlyName>minisatip</friendlyName><manufacturer>cata</manufacturer><manufacturerURL>http://github.com/catalinii/minisatip</manufacturerURL><modelDescription>minisatip for Linux</modelDescription><modelName>minisatip</modelName><modelNumber>1.1</modelNumber><modelURL></modelURL><serialNumber>1</serialNumber><UDN>uuid:11223344-9999-0000-b7ae-0050568f8b57</UDN><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/lr.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/lr.jpg</url></icon></iconList><presentationURL>http://10.32.6.101:8080/</presentationURL>
<satip:X_SATIPCAP xmlns:satip="urn:ses-com:satip">DVBS2-4,DVBT-0,DVBC-0,DVBC2-0,DVBT2-0</satip:X_SATIPCAP></device></root>
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#8
2020-05-27, 04:20 PM
I put your xml at https://nextpvr.com/satip.xml, and set the SATIP_DEVICES environment variable and started NextPVR, and it added the devices.

I suspect you might not have set your environment variable correctly. If you installed from the deb file, the software is running as the 'nextpvr' user. I suspect you've only set the environment variable in your account?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#9
2020-05-27, 04:24 PM
The deb installer environment can be changed by editing

/etc/nextpvr-server.conf


Martin
netmax
Offline

Junior Member

Germany
Posts: 5
Threads: 1
Joined: May 2020
#10
2020-05-27, 08:08 PM
(2020-05-27, 04:24 PM)mvallevand Wrote: The deb installer environment can be changed by editing

/etc/nextpvr-server.conf


Martin
Hi Martin,

thanks! That made it!  Big Grin

Marco
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR on Ubuntu 24.04 Server Running, Web interface not so much JeffH 15 600 2025-06-11, 05:43 PM
Last Post: mvallevand
  Hauppauge-HVR-850 not working Rooh2os 3 276 2025-06-08, 04:21 PM
Last Post: mvallevand
  Can't connect to http://127.0.0.1:8866/ on Ubuntu 20.04 crcrash 20 4,591 2024-11-11, 08:55 PM
Last Post: Mickey690
  Extra - {channel} argument not working? blitz2kx 2 702 2024-06-11, 03:54 PM
Last Post: blitz2kx
  Live stream not working while recording pciber 6 1,167 2024-06-10, 07:48 AM
Last Post: pciber
  Ubuntu Server /nextpvr/ emby dedwards 1 768 2023-12-09, 02:21 PM
Last Post: mvallevand
  HDHomerun channel scan not working WagMan 2 844 2023-12-06, 02:38 PM
Last Post: mvallevand
  Ubuntu 22.04 - NextPVR Scan Issues (Singapore DVBT2) idefixrc 2 896 2023-11-10, 01:06 AM
Last Post: idefixrc
  NextPVR on Ubuntu 22.04 adwsail 29 4,833 2023-08-30, 07:51 PM
Last Post: mvallevand
  Keyboard hot keys not working andrew66 10 1,496 2023-05-10, 08:31 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode