SageTV Community  

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

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-01-2009, 02:25 AM
dan596 dan596 is offline
Sage User
 
Join Date: Jun 2007
Location: NH
Posts: 13
Initial dev environment suggestions

This sticky is sound advice and taking such I have read the entire user guide in preparation. However I still have questions about setting up my development environment that the guide didn't touch enough for me. Can the forum comment on the best way to set up a development environment given the following considerations:

1. I have 1 full license and two placeshifter licenses.
2. I don't want to effect the operation of my server in any way.
3. My customization ambitions will involve placeshifter communication.
4. I am an experienced java programmer.

Can I install a client instance using my current license and still run my server? Will I be able to work with placeshifter to the client install? If not, will SageTV offer a dev license for a dev server? Noticing a recent post about extending the StudioAPI anyone suggesting the best editor for the job?
Reply With Quote
  #2  
Old 09-01-2009, 06:45 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Dan,

You can't use the "full license" on your server and a client at the same time. You need to buy a client license in addition to the full license you already have. I have not heard of Sage offering "developer licenses" but it sure would be a good idea.

You could use your server license to run Studio on the server. If you're running Sage as a service this will not effect the operation of the server. (Because in effect Studio will be running as a "client" connected to the "server" service.) Of course if you really mess something up while developing you may have to reboot the machine so strictly speaking this will violate your rule number 2.

Reagards,

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
  #3  
Old 09-01-2009, 01:01 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
I'm not clear on exactly what sort of customization you have in mind, but here are some rough guidelines:

For UI development and STV/STVI creation, your best bet is a separate computer runnning SageTV Client. This is a less expensive license than a full server license, and gives local access to Studio without perturbing your server. Java experience is largely irrelevant to this mode of development since you'll be doing the bulk of your work in Studio (although you can write helper functions in Java if you like). Once your STV or STVI is adequately debugged, you can deploy it to your server for use with Placeshifter clients.

For background tasks that are meant to run on the server and interact with remote clients (such as Placeshifter clients), you'll need a Java IDE and a server to test on. If you're adamant about not perturbing your production server, then you'll need to shell out for another full server license to run on your test server.

I don't follow your question about extending the StudioAPI. If you're asking for Java IDE recommendations, NetBeans is free and works reasonably well, although a lot of people seem to prefer Eclipse.
__________________
-- Greg
Reply With Quote
  #4  
Old 03-23-2011, 11:28 AM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
In the Studio docs under "Safe STV Editing" Sage recommends running Sage as a service (which I already do) and installing a separate (licensed) client for development. Do they mean on the same machine? I'd hate to mess up a production server by overlaying a client install on top of what's already there. Though from reading the threads here it sounds like everyone develops on a separate PC.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #5  
Old 03-23-2011, 11:36 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Normally you'd want to develop on a seperate PC client so that you can make sure you don't change anything on your production server. Working with Studio on your sever modifies your production environment. The PC client is like the server without the service. The client is everything you need to run seperately from the server it is contained in the PC client. If you wacked out the client by some huge misfortune it won't affect your server.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #6  
Old 03-23-2011, 11:48 AM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by gplasky View Post
Normally you'd want to develop on a seperate PC client so that you can make sure you don't change anything on your production server. Working with Studio on your sever modifies your production environment. The PC client is like the server without the service. The client is everything you need to run seperately from the server it is contained in the PC client. If you wacked out the client by some huge misfortune it won't affect your server.
Cool. That jives with my understanding of it all. I already have a client license so I could develop on that separate PC, saving off any original prop files, directories etc. that are used when I connect to the production server.

What about if I want to mess with user records and the Sage db which needs a Wiz.bin? Will the stand alone client create its own?
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #7  
Old 03-23-2011, 12:06 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Database modifications go to the real database on the connected server. Also if you're developing a complex plugin with both client-side and server-side components, at some point you'll need to deploy it to your server for testing.

If you want a totally sandboxed dev setup that's completely isolated from your production server, you'll need a second server license and a machine to set it up on. You'll also need to populate it with media and capture devices so you have some realistic data to test against.

Personally I don't feel the need to go to that extreme. Pure UI mods can be developed and tested entirely on the client side. In the rare case that I need to do a test deployment to the server, I make sure I have current backups and do my testing during off hours when nothing is recording and nobody is watching. If something goes wrong I can roll back to a good state fairly easily. This seems to be an adequate level of caution for my situation.

If bad data gets into the DB and I don't notice it for a while (long enough that I'd lose more by restoring an old backup), then I might have to resort to writing some code to iterate through the DB and clean it up. But that's happened maybe twice in the 5+ years that I've been developing SageTV plugins.
__________________
-- Greg
Reply With Quote
  #8  
Old 03-23-2011, 12:57 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Thanks for all the advice!!
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
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
DirecTV suspends dev of tuner for Win7 = Sage +1 wayner General Discussion 68 12-17-2008 08:28 PM
STV: SageMC 16x9 Version 6.x (latest dev build) dflachbart SageMC Custom Interface 6112 04-04-2008 11:16 PM
SageTV V5.0.4 Sage MC Latest dev. brbjr SageTV Software 1 06-20-2006 05:08 PM
Business Environment pmolaughlin SageTV Software 0 02-13-2006 07:58 AM


All times are GMT -6. The time now is 05:51 PM.


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