SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #261  
Old 08-02-2015, 01:31 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by civerson4 View Post
Thanks for the help trouble shooting--really appreciate it.

I swapped the sage properties info from nyplayer's link and that solved my duplicates issue. I can add each of the 3 tuners (and only see 3 tuners), but still no signal within Sage when I tune a channel.

I have sage in service mode (shutting it down before making any property file changes).

The Prime Encoder works with the HDHR software.

Windows firewall is turned off--but I added ffmpeg.exe as an exception anyway.

Any other ideas?
Can you post the PrimeEncoder tuner logs ... also look in the logs and make sure the tuners have the correct IP's.
Also how are you running it batch job or runnable in sagetv?
Reply With Quote
  #262  
Old 08-02-2015, 01:49 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
File attached. I think the issue may be PrimeNet thinks I am running in console mode, but (I think) I have Sage set to run PrimeNet as a runnable class within Sage.

The logs don't show much. Maybe a remaining issue in my properties file?

The log file for Primenet says the following (the last line repeats forever and the file is 4000kb):

07/05/2015 11:07:04 - Running PrimeNetEncoder in Console Mode
07/05/2015 11:07:04 - Starting tunner threads
07/05/2015 11:07:04 - Starting Debug Console
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid


I am really not a computer programmer, so I really appreciate the help and patience.
Attached Files
File Type: txt PrimeNetEncoder-tuner0.txt (125 Bytes, 135 views)
File Type: txt Sage.properties.txt (321.1 KB, 139 views)
Reply With Quote
  #263  
Old 08-02-2015, 01:55 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by civerson4 View Post
File attached. I think the issue may be PrimeNet thinks I am running in console mode, but (I think) I have Sage set to run PrimeNet as a runnable class within Sage.

The logs don't show much. Maybe a remaining issue in my properties file?

The log file for Primenet says the following (the last line repeats forever and the file is 4000kb):

07/05/2015 11:07:04 - Running PrimeNetEncoder in Console Mode
07/05/2015 11:07:04 - Starting tunner threads
07/05/2015 11:07:04 - Starting Debug Console
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid
07/05/2015 11:07:04 - Unexpected error reading from the console. The handle is invalid


I am really not a computer programmer, so I really appreciate the help and patience.

You sure yo do not have a console Instance running? Also did you copy over properties and ffmpeg to your sage folder?... If I were you I would check that and reboot. Your properties files are perfect.
Reply With Quote
  #264  
Old 08-02-2015, 02:16 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
Yes, ffmpeg and PrimeEncoder are both in the SageTV directory. I think I posted an old logs by mistake--from the PrimeNet directory, not Sage. The new log for PrimeNet (from the SageTV directory) is attached. Do these help?

Re-booted, still no go.
Attached Files
File Type: txt PrimeNetEncoder.txt (3.7 KB, 135 views)
File Type: txt PrimeNetEncoder-tuner0.txt (38.7 KB, 142 views)
Reply With Quote
  #265  
Old 08-02-2015, 02:20 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by civerson4 View Post
Yes, ffmpeg and PrimeEncoder are both in the SageTV directory. I think I posted an old logs by mistake--from the PrimeNet directory, not Sage. The new log for PrimeNet (from the SageTV directory) is attached. Do these help?

Re-booted, still no go.
Did you accidently change this In the prime properties it is not correct.

"C:Program FilesSilicondustHDHomeRunhdhomerun_config.exe"

it should look like this.
HDHomeRunConfig.path=C\:\\Program Files\\Silicondust\\HDHomeRun\\hdhomerun_config.exe


Yours looks like this.
HDHomeRunConfig.path=C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe

Last edited by nyplayer; 08-02-2015 at 02:23 PM.
Reply With Quote
  #266  
Old 08-02-2015, 02:58 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
THANK YOU!

I wouldn't say I accidentally changed it, I purposely changed it like an idiot as the syntax looked funny to me. Lesson learned. I also sent you a PM.
Reply With Quote
  #267  
Old 08-02-2015, 08:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by civerson4 View Post
THANK YOU!

I wouldn't say I accidentally changed it, I purposely changed it like an idiot as the syntax looked funny to me. Lesson learned. I also sent you a PM.
Yeah, in the properties files, \ is an escape character to be able to handle special characters. So, when you want the string to actually include a backslash, you have to enter it as \\.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #268  
Old 08-03-2015, 07:30 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
jgsouthard, are you still running with no 'halt detected' now?

I've been on normal (4) 100% of the time and I'm still getting them. Just had a few over the weekend.
__________________
SageTV running on: Win10 21H2
SageTV 9.2.6.976 (64 bit)
Java 1.8.0 311 (64 bit)
OpenDCT 0.5.32 (64 bit)
Clients: HD300 (x2)
HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners
HDFX-4K Flex 20220822 (OTA) - 4 Tuners
Reply With Quote
  #269  
Old 08-05-2015, 12:49 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Prime Tuners disappear

Anyone else experience occasional dropping of the Prime tuners?

Once they drop I have to either restart sage or the entire server to get them back.

Other missing recordings due to tuner conflict there's no warning that they've dropped out.

I'm running PrimeNetEncoder as a batch at startup. This seems to have fixed any of the halts I had been having.

I'm away on vacation and just noticed via the web UI that I'm missing a bunch of recordings.

I could have scheduled nightly restarts but that seems like a poor workaround.

Any thoughts?

-uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro |
{Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast |
{Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick |
Reply With Quote
  #270  
Old 08-05-2015, 12:59 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by uberpixel View Post
Anyone else experience occasional dropping of the Prime tuners?

Once they drop I have to either restart sage or the entire server to get them back.

Other missing recordings due to tuner conflict there's no warning that they've dropped out.

I'm running PrimeNetEncoder as a batch at startup. This seems to have fixed any of the halts I had been having.

I'm away on vacation and just noticed via the web UI that I'm missing a bunch of recordings.

I could have scheduled nightly restarts but that seems like a poor workaround.





Any thoughts?

-uberpixel
I have never seen that .... can you post your batch job. Also are you running at normal priority.

This is my batch Job. It have it in my PrimeEncoder folder.

Code:
CD /d "%~dp0"
c:
:loop
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar PrimeNetEncoder.jar
goto loop

Last edited by nyplayer; 08-06-2015 at 04:37 AM.
Reply With Quote
  #271  
Old 08-05-2015, 08:30 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Quote:
Originally Posted by nyplayer View Post
I have never seen that .... can you post your batch job. Also are you running at normal priority.

This is my batch Job. It have it in my PrimeEncoder folder.

Code:
CD /d "%~dp0"
c:
:loop
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar PrimeNetEncoder.jar
goto loop
I'll post my batch job when I'm back from vacation but it's possible I copied yours.

Where is the "normal priority" set?

-uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro |
{Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast |
{Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick |
Reply With Quote
  #272  
Old 08-05-2015, 08:51 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by uberpixel View Post
I'll post my batch job when I'm back from vacation but it's possible I copied yours.

Where is the "normal priority" set?

-uberpixel
See this thread
http://forums.sagetv.com/forums/show...2&postcount=55

I would check the cable that connects the Prime maybe even replace it with a good cable ... I have never seen tuners lost like that when using the Prime or Sagedct for that matter.
Reply With Quote
  #273  
Old 08-05-2015, 11:12 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I lose one of the Primes on occasion, and nothing but a reboot of the unit gets it going again (SageDCT). I'm starting to wonder if there are a handful of duds out there.

I am now in the habit of rebooting each tuner with a batch file at least once a week.
Reply With Quote
  #274  
Old 08-06-2015, 05:27 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by KryptoNyte View Post
I lose one of the Primes on occasion, and nothing but a reboot of the unit gets it going again (SageDCT). I'm starting to wonder if there are a handful of duds out there.

I am now in the habit of rebooting each tuner with a batch file at least once a week.
If you think you have a dud why not turn on Hd Homerun diagnostics and open a trouble ticket their support is great... that way you will know for sure. I always say address the problem do not mask it.
Reply With Quote
  #275  
Old 08-06-2015, 05:38 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by nyplayer View Post
If you think you have a dud why not turn on Hd Homerun diagnostics and open a trouble ticket their support is great... that way you will know for sure. I always say address the problem do not mask it.
When I had already tried that months ago, they were unable to find a problem, or a solution to the offending tuner. Any other ideas?
Reply With Quote
  #276  
Old 08-06-2015, 06:49 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
I picked up a 2nd HDHR Prime (thanks again for everyone's help getting the first one working).

There is a note in the instructions about just changing the tuner count properties in the PrimeNetEncoder properties file and then creating new entries in both that file and the Sage properties file for the new tuners.

I assume I also should change the transcoder.port (continue 5000, 5010, 5020...) and the tunerX.port (7000, 7001, 7002....)

What about the discovery.port or anything else?
Reply With Quote
  #277  
Old 08-06-2015, 08:15 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by civerson4 View Post
I picked up a 2nd HDHR Prime (thanks again for everyone's help getting the first one working).

There is a note in the instructions about just changing the tuner count properties in the PrimeNetEncoder properties file and then creating new entries in both that file and the Sage properties file for the new tuners.

I assume I also should change the transcoder.port (continue 5000, 5010, 5020...) and the tunerX.port (7000, 7001, 7002....)

What about the discovery.port or anything else?
No change to discovery ports. You just have to add the to the sage properties the new tuners and the primeencoder properties. Remember you have to increment the tuner numbers also in sage.properties.

Last edited by nyplayer; 08-06-2015 at 08:21 PM.
Reply With Quote
  #278  
Old 08-07-2015, 04:20 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
I am having trouble modifying the Sage Properties file to add the additional HDHR Prime tuners. I modify Sage Properties per the attached (6 tuner file), but as soon as I restart the Sage Service, it reverts back to the original Sage Properties (also attached). I literally watch the file size change from 344 kb to 338 kb in windows as the Sage Service completes loading.

I am completely shutting down Sage and stopping Sage Service before opening the files in Notepad (Win 7). I've modified the properties file in the past and have never had this problem. Any idea what I am doing wrong?

The only modifications I am making are add the mmc/encoders/1012343954 section for the 3 new tuners.

Also attached is my the PrimeNetEncoder properties file for 6 tuners (in case that may help track down the issue).

Thanks in advance for any guidance.
Attached Files
File Type: txt Sage.txt (337.5 KB, 132 views)
File Type: txt Sage-6 tuners.txt (343.2 KB, 131 views)
File Type: txt PrimeNetEncoder.txt (1.8 KB, 134 views)
Reply With Quote
  #279  
Old 08-07-2015, 04:28 PM
civerson4 civerson4 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Orange County, CA
Posts: 121
Quote:
Originally Posted by nyplayer View Post
Remember you have to increment the tuner numbers also in sage.properties.
Nevermind. I just re-read this post and this was the step I forgot. Doh!
Reply With Quote
  #280  
Old 08-09-2015, 12:09 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I just remotely logged into this Sage Server this morning, and using the HDHomeRun Config (GUI) was able to verify that one of the two Prime tuners simply wasn't present. It took a complete power cycle of the Prime to get it back up. When I requested a look at the logs that Silicon Dust was pulling from the tuners, they refused. These logs area apparently only available to them.

This is a weekly occurrence. Does anyone have any ideas on how to troubleshoot this issue, that results in halted recordings?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interest in HDHomeRun Prime Network Encoder jvl711 Hardware Support 175 04-13-2015 01:11 PM
Prime Encoder Script checkbin SageTV Linux 14 03-22-2015 07:50 AM
SageTV as a network encoder / recording on network encoder works, not from server perfessor101 SageTV Software 0 06-21-2014 05:59 AM
Ubuntu + HDHomerunPrime + Prime Encoder matt91 SageTV Linux 2 03-23-2014 03:46 PM
HDHomerun Prime? cenwesi Hardware Support 26 04-19-2011 05:40 PM


All times are GMT -6. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.