NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 6 7 8 9 10 … 43 Next »
EPG Fail

 
  • 0 Vote(s) - 0 Average
EPG Fail
gnodab
Offline

Junior Member

US
Posts: 4
Threads: 1
Joined: Sep 2023
#1
2023-09-04, 09:07 PM
Apologies for being a total noob. 
I have a new system setup on a Mac using HDHomerun dual tuner. Channels play and record no issue. However, EPG is never displayed. 

Currently I have all channels set to: DVB/ATSC EPG. When I run manual EPG scan I see: 
EPG Update complete. [0 inserted, 0 updated, 0 skipped]

After scan.. all channel listings are "(no listings)". I have tried to adjust the timeout up to 120, 240, and longer. Still no luck. 

I realize that OTA listings will be sparse. But there should be something, correct? Thanks for the help.


Attached Files Thumbnail(s)
   

.zip   nrecord.log.zip (Size: 173.68 KB / Downloads: 0)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#2
2023-09-04, 09:21 PM
The OTA EPG in the US is only supported on Windows.

I did write a utility that gets the EPG from SD for HDHR devices should wish to try it. I did write instructions for Windows users but because of lack of user requests I never followed up for non-Windows users https://forums.nextpvr.com/showthread.php?tid=64648 I might be able to help you out if you are interested but documentation for macOS is a bt tricky.

Martin
gnodab
Offline

Junior Member

US
Posts: 4
Threads: 1
Joined: Sep 2023
#3
2023-09-05, 02:37 PM
Ok.. this actually looks doable. Two questions and then I should be able to handle it myself.
1. On Mac OS will it read and interpret the *.bat file. Or should I make a bash script instead?
2. Should I put the script in the NPVR/data/scripts/ folder, or in the ~/.NPVR-data/scripts/ folder?

Thanks a ton for the help!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#4
2023-09-05, 02:55 PM (This post was last modified: 2023-09-05, 03:05 PM by mvallevand.)
Great.

- It should be a bash script and don't forget to use chmod +x to make it executable.

- UpdateEPG.sh should be in ~/.NPVR-data/scripts/

the script will be different for macOS. Assuming you have dotnet in your path these script should work (using the installed username)

Code:
cd /home/username/NPVR/
dotnet HDHRGuide.dll   /home/username/.NPVR-data/hdhomerun.xml

You can then test this by running

Code:
~/.NPVR-data/scripts/UpdateEPG.sh

and check the the file that was created.

If that works go to NextPVR web Settings->Guide and add this as an XMLTV source. Then go to Settings->Channels->Advanced toole and automap in channel by channel number.

Martin
gnodab
Offline

Junior Member

US
Posts: 4
Threads: 1
Joined: Sep 2023
#5
2023-09-05, 03:23 PM
Looks like I'm getting an error when trying to run dotnet on the dll.

Code:
$ dotnet HDHRGuide.exe /Users/<username>/.NPVR-data/hdhomerun.xml
A fatal error was encountered. The library 'libhostpolicy.dylib' required to execute the application was not found in '/Users/<username>/NPVR/'.
Failed to run as a self-contained app.
  - The application was run as a self-contained app because '/Users/<username>/NPVR/HDHRGuide.runtimeconfig.json' was not found.
  - If this should be a framework-dependent app, add the '/Users/<username>/NPVR/HDHRGuide.runtimeconfig.json' file and specify the appropriate framework.

A cursory google search seems to indicate that this is a dotnet to Mac thing.

Note: for anyone finding this in the future. On MacOS the paths will not be '/home/<username>/' as on linux but rather '/Users/<username>/'
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#6
2023-09-05, 03:28 PM
Does adding this as /Users/<username>/NPVR/HDHRGuide.runtimeconfig.json make it work?

Code:
{
  "runtimeOptions": {
    "tfm": "net6.0",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "6.0.0"
    }
  }
}
gnodab
Offline

Junior Member

US
Posts: 4
Threads: 1
Joined: Sep 2023
#7
2023-09-05, 03:44 PM
That did it! Awesome... thanks you very much for your time!


Attached Files Thumbnail(s)
       
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recordings fail occasionally. JJ202302250834 7 1,123 2023-02-28, 11:31 PM
Last Post: mvallevand
  Web apps play always fail and restart when moving time pascalb 7 1,481 2022-02-16, 06:25 PM
Last Post: pascalb
  Live TV and record fail Graham 4 1,852 2020-04-05, 05:21 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