|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Hey guys thanks for your help with this, I think it's fixed. I was using a bad remote code which I found out after checking syslog. It clearly said this remote can not be used for transmitting. After I picked a different remote and updated the 'TRANSMITTER_LIRCD_CONF=' section of my hardware.conf file pointing to the new remote file, my transmitter began to respond. Although channel changes are not accurate which I expect as I am using a generic remote for testing but at least I am now on the right path
|
#22
|
|||
|
|||
So, I am working through this setup of the USB-UIRT on linux and have hit a road block. I have LIRC running and responging to irsend commands. I have copied the GenericTunerPlugin.so to the irtunerplugins folder but when I open SageTV and try to add my new HD-PVR, I do not get the Generic Tuner option in the configuration screens. Still only has the three tuner options it had before from version 9.011. It is also unclear to me where exactly I place my gentuner.lirc file.
Also I am hopeful I have the correct GenericTunerPlugin.so as it did not seem to be available from the SageTV Downloads page and I found it elsewhere... Sorry for being an extreme Linux Newb...... |
#23
|
||||
|
||||
Quote:
https://github.com/stuckless/GenericTunerPlugin
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#24
|
|||
|
|||
So I did read it and had already placed the gentuner.lirc in the /opt/sagetv/server/gentuner folder which seemed correct (if I understood) but none of the tests like "gentuner.lirc REMOTES" seem to work and they return a "command not found". Also created a gentuner.local and placed it in the same folder but that did not work. When loading the tuner in sagetv it still does not give me the Generic tuner option so I cannot finish the HD-PVR install??? Sorry if I am just stupid or maybe over my head?
|
#25
|
||||
|
||||
I may be wrong, but I don't think you put the file in a folder called /opt/sagetv/server/gentuner/, I think you rename the file to be called gentuner (no extension), and place that in the /opt/sagetv/server/ folder.
__________________
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 |
#26
|
|||
|
|||
I had actually tried that as well and that did not work either.....
|
#27
|
||||
|
||||
well, if the gentuner script is returning an error, then you'd need to find out the cause of that before it will work from sage.
Post up the gentuner script you are trying to use, and what error saying when called, and hopefully we can see what's causing the problem.
__________________
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 |
#28
|
|||
|
|||
I actually copied your script from the top of this thread. In fact I used all three you posted and I am able to get the irsend stuff working fine from the command line. Do you have a direct link to the GenericTunerPlugin.so? I tried to click on the download link in the forums here and received an error so I got it elsewhere and am thinking it might be old? The other thing I don't understand is why the tuner does not show up in the options? Seems to me just putting it in the folder with the existing tuner plugins should make it visible at the least?
Last edited by phantomii; 12-23-2016 at 05:48 AM. |
#29
|
||||
|
||||
I'm using whatever .so that is coming with the docker image, which appears to be coming from here:
Code:
https://bintray.com/artifact/download/opensagetv/sagetv-plugins/GenericTunerPluginLinux/gentuner-1.0.1.tgz
__________________
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 Last edited by Fuzzy; 12-23-2016 at 06:01 AM. |
#30
|
||||
|
||||
Quote:
So, I guess to start, are you using unRAID? or the Docker image? Or have you set this up from scratch? The installation section for gentuner does say exactly where files should go, But, in linux, if you are editing this files using Windows, then you'll have to save them in "unix" format, and it's these types of things that can trip people up. (The unRAID/Docker image mitigates this, somewhat). And before you even get to testing with sagetv, you need to make sure that the script is working and communicating (covered in the gentuner guide as well). This is formatted much nicer on the Gentuner link I provided Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#31
|
|||
|
|||
Thanks so much for the assistance and patience. I am muddling thruogh this and learning Ubuntu from scratch. I will try this file and some other things based on your comments when I get back from getting my car looked at.
|
#32
|
|||
|
|||
Another step closer. The file you pointed me to enabled the Generic Tuner option in the SageTV Setup so the earlier one I had must have been bad. Since I could select a tuner I can comfirm that the viedo now plays. However the USB-UIRT still does not tune from SageTV though if I have Sage running in preview mode I can force a channel change with irsend. I will poke around a bit more and see if I can get this last (hopefully last) step figured out! Thanks so much!
|
#33
|
||||
|
||||
Does the Linux version of SageTV support the USB-UIRT directly (without plug-ins) like the Windows version does? If so, I can offer you my .ir files for controlling two QIP-7100's that way - my setup is solid and never misses channel changes plus turns on a STB if it's off. (I also have the STBs plugged into an UPS). I have implemented the MENU-EXIT double IR code prefix technique discussed elsewhere in the forums. https://forums.sagetv.com/forums/showthread.php?t=58210
__________________
SageTV-V9(64bit): Win10/i3-4370/OpenDCT/HDHR-Quatro (OTA) AndroidTV+Miniclient: Nvidia Shield(x3)/FireTV-4K(x8) Channels-DVR:Win10/i3-4340/HDHR Quatro 4K/TVE(YTTV) |
#34
|
|||
|
|||
Quote:
gentuner gentuner.lirc gentuner.local Issuing the REMOTES command to any of these ( gentuner REMOTES ) results in a "command not found" response. If however I execute any of the commands within the gentunerfiles at the command line ( like /usr/bin/irsend LIST "" "" ) I get the appropriate response. So it seems the file is not recognized, in the wrong place, or maybe I am trying to run it from the wrong directory. I have though pretty much tried it from everywhere. So, any idea what I screwed up? |
#35
|
||||
|
||||
try running
Code:
./gentuner REMOTES
__________________
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 |
#36
|
|||
|
|||
I was just returning to say that I found out that this command returned a response:
sagetv@SageTVServer-2:/opt/sagetv/server/irtunerplugins$ sudo ../gentuner/gentuner REMOTES SAE8000 sagetv@SageTVServer-2:/opt/sagetv/server/irtunerplugins$ But the command you suggested ( ./gentuner REMOTES ) works as well. I assume this means there is a path or rights issue? Update: I determined that the ./gentuner REMOTES only works if I am in the folder with the gentuner script file. Last edited by phantomii; 12-23-2016 at 06:05 PM. |
#37
|
||||
|
||||
Quote:
In the instructions... it says to use a gentuner.local script name for testing, and then just rename it to gentuner when it's working.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#38
|
||||
|
||||
gentuner REMOTES likely doesn't work because your script is not flagged as executable. ./gentuner forces it to be treated as a script (. indicating 'current folder').
as stuckless states, sage needs to see the script named gentuner in the sagetv/server folder for it to access it. Move the file there, and sage should be able to configure and blast using that SAE8000 profile.
__________________
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 |
#39
|
|||
|
|||
So, I have fixed the file locations and confirmed if I use the following commands from the command line I can see the USB-UIRT send commands as I see the LED blink:
sagetv@SageTVServer-2:/opt/sagetv/server$ ./gentuner REMOTES SAE8000 sagetv@SageTVServer-2:/opt/sagetv/server$ ./gentuner SEND SAE8000 1 sagetv@SageTVServer-2:/opt/sagetv/server$ ./gentuner SEND SAE8000 2 sagetv@SageTVServer-2:/opt/sagetv/server$ ./gentuner SEND SAE8000 3 sagetv@SageTVServer-2:/opt/sagetv/server$ ./gentuner SEND SAE8000 power I have attempted to modify the gentuner permissions to make it executable and here are the permissions now: sagetv@SageTVServer-2:/opt/sagetv/server$ ls -l gentuner -rwxrwxrwx 1 root root 1324 Dec 24 11:45 gentuner However running the command like this still does not work: sagetv@SageTVServer-2:/opt/sagetv/server$ gentuner REMOTES gentuner: command not found Do the permissions above look correct? I suspect this is the last issue to fix because all the separate parts seem to work! |
#40
|
||||
|
||||
Quote:
In linux, the current directory is NOT a part of the path (for security reason), so, for this reason, when you run a command from the current directory, you need to use ./ so signify, the current directory.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UPNP Tuning some DISH receivers with gentuner | mibsy | SageTV for unRAID/Docker | 14 | 01-29-2022 12:31 AM |
HELP! gentuner stopped working properly?! | sgx2 | SageTV Linux | 2 | 07-23-2014 10:37 PM |
Two USB-UIRT's | jsonnabend | Hardware Support | 3 | 03-14-2008 09:22 AM |
V5 & USB-UIRT = No Joy | digitalgm | Hardware Support | 3 | 05-02-2006 08:53 AM |
IR-200 or USB-UIRT? | heffe2001 | Hardware Support | 0 | 04-16-2004 10:53 AM |