![]() |
|
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 |
#41
|
||||
|
||||
You are correct. Everything was running as nobody. For some reason when I let root read the gentuner file it started working.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#42
|
||||
|
||||
My Linux box took a dump. I'm switching my server back to windows for now. Is there an externaltunerplugin type thing for windows? Something where I can run a script to change channels on my DirecTV boxes over the network?
|
#43
|
|||
|
|||
I think this is what you are looking for:
https://forums.sagetv.com/forums/sho...=exemultituner
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#44
|
||||
|
||||
That is exactly what I'm looking for, but it appears that it does not work with SageTV V9.
|
#45
|
||||
|
||||
It does work. You just have to use a different registry key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Frey Technologies\Common\EXEMultiTunerPlugin |
#46
|
||||
|
||||
I updated my gentuner script from the first page of this thread to support Genie mini clients. It works well with EXEMultitunerPlugin. I updated the code block on the first page, but I'll also leave a copy here in case anybody wants to use it.
tune.pl.txt
|
#47
|
|||
|
|||
I'm back to trying (and failing) to get gentuner working on a v9 Linux server. My source lists as a 'Generic Stub Device', and when I try to change the Tuning Device from the list, there are no devices that show up.
In the old 32-bit version of the tuner there was a remotes config file in which the devices were defined. Apparently gentuner does not recognize the config file. How are the sources enumerated such that they appear in the pick list? Is there specific syntax or location for these data? |
#48
|
|||
|
|||
Quote:
Can you describe what types of tuners you are using? --John |
#49
|
|||
|
|||
You can test gentuner by running the gentuner script directly. I recommend testing it this way before trying to configure anything from within Sage.
For example: Code:
$ cd /opt/sagetv/server/ $ ./gentuner REMOTES FiOS-TV-1 FiOS-TV-2 FiOS-TV-3 $ ./gentuner TUNE FiOS-TV-1 504 $ |
#50
|
|||
|
|||
Quote:
I'm just having trouble trying to understand the structure and requirements of this version of the tuner ... Edit: I also should have mentioned that when I tried to run the gentuner from a command line I get a 'permission denied' warning. Last edited by jchiso; 10-14-2019 at 09:59 PM. Reason: Permissions problem |
#51
|
||||
|
||||
I'd recommend that you read the README the jpwegas linked to, since, I think it covers all your questions, and, it's there to help understand the requirements of gentuner.
I'd also look at some of the example scripts, like this one... https://github.com/jwittkoski/Generi...gentuner.IPSTB since they pretty show how it all works (but read the README first). On unix systems, scripts will need the execute bit set in order to be run. chmod +x gentuner 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 |
#52
|
|||
|
|||
I've seen the README file(s) and examples, but the issues I mentioned are not addressed in those documents.
I have the gentuner script set as executable; it's was executable in its prior incarnation in v7 32-bit. I can run it from a command line (albeit only preceded by 'sudo') and it executes the channel change. The issue I have is in getting a list of Tuning Devices into the Sage sources setup dialog. I am stuck at a "Generic Stub Device", with no other Tuning Device options ... |
#53
|
|||
|
|||
Quote:
Quote:
The gentuner.IPSTB is a very simple example of a working script for a single remote. It only needs to do 3 things:
To test your script:
From your description, it sounds like those commands work as expected, so the fact that you have to run it using 'sudo' makes me suspect that your problem is the user that is running the SageTV process cannot run the gentuner script. Who is Sage running as? What are the permissions for the gentuner script? Can you post the gentuner script you are using? --John |
#54
|
|||
|
|||
Quote:
--John Last edited by jpwegas; 10-15-2019 at 09:59 AM. Reason: spelling |
#55
|
|||
|
|||
Quote:
The problem is my not knowing how to populate the Tuning Device options within Sage ... |
#56
|
|||
|
|||
Quote:
For example, in gentuner.IPSTB, it's this line: https://github.com/jwittkoski/Generi...uner.IPSTB#L23 SageTV uses the output of "./gentuner REMOTES" to populate the tuning devices within Sage. Can you post your version of gentuner? --John |
#57
|
|||
|
|||
Quote:
This is running under Ubuntu 18.04, so I don't know how or why these permissions were set, or what they should be. I may just have to scrub this Sage install and start from scratch ... |
#58
|
|||
|
|||
Quote:
To check on the user the SageTV process is running as, you can: Code:
ps -ef | grep -v grep | grep sage.Sage | cut -d" " -f1 To test the gentuner script as the user that SageTV runs as, run this, replacing USER with the user SageTV is running as from the above command: Code:
su - USER -c "/opt/sagetv/server/gentuner REMOTES" Code:
ls -la /opt/sagetv/server/gentuner |
#59
|
|||
|
|||
If it’s not running as the same user who owns the file, it needs to have execute permissions for all users:
chmod a+x gentuner |
#60
|
|||
|
|||
It's running as 'root'
Quote:
Quote:
--John |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
External Command Tuner Plugin for Linux | stuckless | SageTV Linux | 36 | 05-16-2017 03:11 PM |
Plugin Request: Run external command on error | tedson | SageTV v7 Customizations | 10 | 06-14-2010 07:32 PM |
Adding custom command for launching external program | dinki | SageMC Custom Interface | 14 | 01-22-2010 08:16 AM |
Getting the status after running an external command | pedz25 | SageMC Custom Interface | 0 | 04-05-2009 06:55 AM |
Fail to launch PowerDVD Ultra as external command | basset | SageTV Customizations | 4 | 12-20-2007 11:59 AM |