SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 10-12-2010, 04:34 PM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Shooting from the hip I'd think more people know Perl than PHP and Perl is installed by default in any *nix environment, OSX included, so I think you should go that route. Plus I already know a fair amount of Perl so I'm a bit biased I think either one would be easy enough for users to implement though.
Reply With Quote
  #22  
Old 10-12-2010, 05:17 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Slugger,

It's certainly your call but I'd go with the one that most "non-techies" can more easily pick up. I don't know either scripting language so I can't make any intelligent comments on which fits that criteria better.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #23  
Old 10-12-2010, 07:22 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Stuckless's Sage Scripting Framework supports Javascript, groovy, and python. It gives access to the remote APIs and doesn't require the runtimes to be installed (Since it uses the java scripting engine). Maybe you should consider one of those?

I know those aren't either of the choices that you posed, but I thought I'd share the idea anyway in case you weren't familiar with the sage scripting framework.
Reply With Quote
  #24  
Old 10-12-2010, 08:37 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Python was definitely a possibility, it was definitely a strong #3 candidate, but figured it would be the least known of the three to most users. But with this discovery, I think it's about to move into the #1 spot! This is exactly what I'm looking for. Basically, a task will now define two exes: the exe to do your task (i.e. comskip.exe) and an optional python script (or javascript or groovy script) to test conditions (i.e. a script of API calls in Python/JS/Groovy to test things like the channel, the age of the recording, etc., etc.). Got to do a little due diligence research on this, but this looks to be exactly what I want.

Thanks for bringing this to my attention!
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #25  
Old 10-13-2010, 09:51 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Stuckless' scripting framework is a no brainer... I've already got it hooked into the SJQv4 engine now and it works like a charm. It comes with support for Python, Groovy (Java like), and JavaScript. I've been writing Groovy testers within SJQv4 and it's working better than expected. This is definitely the final answer on this issue.

There is the possibility to add support for other languages including PHP and Sleep which is, and I quote, "based heavily on Perl". I suspect the 3 engines included will be sufficient for most and those who want other language support can add it as necessary, which is simply finding the jar for your scripting engine support of choice and installing it within the task client and restarting the task client.

EDIT: Of course, other external exes/scripts outside of the scripting framework will also be allowed as testers, but I suspect SSF will be the most widely used, especially once people see how easy it is to use.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #26  
Old 10-18-2010, 07:53 AM
ohpleaseno ohpleaseno is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: South Florida
Posts: 464
Small request:

Under the current implementation of SJQ, the clients are reported by IP address. Instead of doing that, can you have it report the computer name (e.g. WHS instead of 192.168.1.120). I'm getting to the point now where I know the different IP addresses, but it would be easier if I didn't have to remember it.
__________________
Server: WHS with 11TB of storage
Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD
Tuners: 1) HD-Homerun 2) Avermedia USB ATSC
Twitter: ohpleaseno
Reply With Quote
  #27  
Old 10-18-2010, 08:22 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by ohpleaseno View Post
Small request:

Under the current implementation of SJQ, the clients are reported by IP address. Instead of doing that, can you have it report the computer name (e.g. WHS instead of 192.168.1.120). I'm getting to the point now where I know the different IP addresses, but it would be easier if I didn't have to remember it.
As long as your host names are resolvable on your LAN then you'll be able to register task clients by hostname instead of IP address in SJQv4.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
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
DST discussion mikejaner SageTV Software 53 03-18-2010 07:08 PM
EPG discussion korben_dallas General Discussion 1 12-14-2004 05:30 PM


All times are GMT -6. The time now is 07:06 PM.


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