SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-28-2007, 01:13 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Controlling encoder merit via STV

I'm wondering how hard it would be to list the video sources according to their encoder merit? Additionally adding the ability to change their merit similarly to favorites, where you could click on the encoder, then move it up or down to change its merit.

I think this would be a nice enhancement, but is it practical?

thanks,
dave
Reply With Quote
  #2  
Old 09-28-2007, 02:32 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Yes, the merit property could be modified in an STV & the default STV even has unused code from a time when I played around with it. But, it won't take effect anyway until the server is restarted, meaning you have to restart the service or the UI if not using service mode. So, someone could do that as long as you know you have to restart.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 09-28-2007, 10:00 PM
jlabrue jlabrue is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 320
I think this feature would be really cool to have. I struggle identifying which tuner I am actually looking at when trying to set priority (I have 2 PVR-500s so it shows 4 tuners that look the same in the properties file). It would be great just to be able to do that graphically even though I would have to restart everything.

Is this something that could be enabled/disabled in the properties file like the Malore menus or could it just be the default and have a little help box informing the user to restart everything after making the change?
Reply With Quote
  #4  
Old 09-28-2007, 10:35 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jlabrue View Post
Is this something that could be enabled/disabled in the properties file like the Malore menus or could it just be the default and have a little help box informing the user to restart everything after making the change?
You mean the unused STV code I mentioned? It is just that: unusable in the UI.

Anyway, I spoke too soon above. I took a minute to see if I ever even finished the code (I only did it to play with some API calls a long time ago when I hadn't done a lot of STV editing yet)... and I'm going to take back what I said above: It looks like you can't do this in an STV w/o some sort of core change (unless I missed an API call) because when you exit SageTV, the merit property values are reset to what they were when SageTV started.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #5  
Old 09-29-2007, 01:28 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by jlabrue View Post
I struggle identifying which tuner I am actually looking at when trying to set priority (I have 2 PVR-500s so it shows 4 tuners that look the same in the properties file).
Not quite the same. Look for lines line this:

mmc/encoders/12345678/video_capture_device_name=Hauppauge WinTV PVR PCI II Capture
mmc/encoders/12345678/video_capture_device_num=1

The device_num + 1 tells you which device this is in the UI. So in this example, device_num=1 means this device will show up in the UI as Hauppauge WinTV PVR PCI II Capture #2.
__________________
-- Greg
Reply With Quote
  #6  
Old 09-29-2007, 04:42 PM
jlabrue jlabrue is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 320
Quote:
Originally Posted by GKusnick View Post
Not quite the same. Look for lines line this:

mmc/encoders/12345678/video_capture_device_name=Hauppauge WinTV PVR PCI II Capture
mmc/encoders/12345678/video_capture_device_num=1

The device_num + 1 tells you which device this is in the UI. So in this example, device_num=1 means this device will show up in the UI as Hauppauge WinTV PVR PCI II Capture #2.
That is good to know. I was unaware that that setting existed or what it was for. Since Opus said it couldn't be done anyway this makes my life easier and eliminates me from needing anything. Thanks Greg. Sometimes something so simple is right in front of you.
Reply With Quote
  #7  
Old 09-29-2007, 04:45 PM
jlabrue jlabrue is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 320
Quote:
Originally Posted by Opus4 View Post
You mean the unused STV code I mentioned? It is just that: unusable in the UI.

Anyway, I spoke too soon above. I took a minute to see if I ever even finished the code (I only did it to play with some API calls a long time ago when I hadn't done a lot of STV editing yet)... and I'm going to take back what I said above: It looks like you can't do this in an STV w/o some sort of core change (unless I missed an API call) because when you exit SageTV, the merit property values are reset to what they were when SageTV started.

- Andy
Sorry, I didn't differentiate between unused and unusable but yes, unused code. Was just wondering if it could be fleshed out to become usable code but looks like you answered that already. Thanks Andy.
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
Simple (but effective) security for any STV Lester Jacobs SageTV Customizations 5 12-17-2010 03:21 PM
STV Import: Change Encoder Display name in Parallel Recording Schedule BobPhoenix SageTV Customizations 10 12-31-2009 03:17 PM
Channel Line up and Encoder Merit akenis SageTV Software 4 05-28-2007 01:51 PM
Encoder Merit not enforced Muchacho SageTV Beta Test Software 22 11-24-2006 01:48 PM


All times are GMT -6. The time now is 06:39 AM.


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