|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
STV Import: Sleep Timer
Hi,
I was in desperate need for an integrated sleep timer myself, and as I got more accustomed to Studio I started working on my own plugin. It's now finished and works well for me, so feel free to try it out. Edit: Description and installation instructions moved to Download Area. The plugin can be downloaded at http://forums.sagetv.com/forums/down...?do=file&id=72 Enjoy, Dirk Version history: ============ V0.3: initial version V0.4: - added link to OSD options menu - OSD menu now transparent V.05: - fix transparency for menu when linked via dynmaic menus - added optional command line execution on sleep V0.6: - incorporated SageMC support into the same import file - added configuration for sleep durations - added global timer - show status of timer after confirmation dialog is closed V0.7: - new controls allow to set a specific time (standard STV only) - send up to 5 commands via USB-UIRT when Sage is entering sleep V0.8: - fixed options menu for SageMC Last edited by dflachbart; 05-07-2006 at 01:58 PM. Reason: Update to V0.6 |
#2
|
|||
|
|||
Sweet, I've been waiting for this.
|
#3
|
|||
|
|||
Does this work with Sageclient
I tried to import and setup on Sageclient but I couldn't find the internal screen "Sleep Timer". Any ideas? Do I have to edit the .xml file manually? If so, instructions for dummy's would be apreciated.
I have been waiting for this functionality for a long time. This about rounds out the video portion of Sage for me. Better music functionality is next. |
#4
|
|||
|
|||
Are you using Nielm's dynamic menu import?
|
#5
|
|||
|
|||
Hi wwisegarver,
yes of course this should work with the client, and there is no need to edit any XML ... The installation steps should be: - install nielm's dynamic menus - unzip sleep_timer_0_3.stvi to your SageTV\SageTV\STVs\SageTV3 folder - go to Detailed Setup / Advanced / Import SageTV Application Package and select sleep_timer_0_3.stvi - go to the menu where you want to add the timer - bring up the options menu of nielm's dynamic menu - select 'Edit this menu page' - select 'Add menu item' - select 'Add internal screen' and select 'Sleep Timer' - enter a name for the menu - make sure to save the menu definition file That should be it. Do you use the stock STV (SageTV3.xml) ? I haven't tested it with any other custom STVs, but I would think as long as the dynamic menus work this one should too ... If you still cant get it working, please send me your current STV file by PM, and I'll check it out. Dirk |
#6
|
||||
|
||||
I'm using Sages STV from CES, the one with animations and Nielm's dynamic menus do not work properly with it but in about 5 min. I figured out how to use Studio to add a button to the main menu and link it to your import. Actually, it was pretty trivial to do so if you don't use the dynamic menu just use Studio.
I also put a button on the right-click menu that comes up when watching something but it takes you out of the video to the timer menu. It works but it would be better if there was also a transparent pop-up menu w/ the same style as the Info pop-up to link to. Did that make sense? |
#7
|
|||
|
|||
Quote:
Quote:
Dirk |
#8
|
|||
|
|||
I posted an updated 0.4 version which adds a button to the OSD options menu, so you don't need to use nielm's dynamic menus any more (but of course you still can if you want to link the timer to somewhere else). The OSD menu is transparent, and closing the menu will take you back to the video screen.
sleonard: I haven't tried the CES STV, but if it has the same MediaPlayer OSD tree structure the link should be automatically created. If not and you need to link it manually, use the ""REM Show sleep timer menu" node as a link target. I left the 0.3 version on the page in case I screwed up anything ... Enjoy, Dirk |
#9
|
|||
|
|||
Just updated to 0.4. Like that the sleep timer is added to the OSD options menu.
Found an issue though. I have the sleep timer added to the main menu using nielm's dynamic menus. When I select 'sleep timer' from the main menu, the video pauses, the screen goes blank and the sleep timer appears non-transparent. Once a selection is made, then the video comes back as normal. Accessing the timer from the OSD options popup works fine. |
#10
|
||||
|
||||
I've been following this thread closely. Thanks for making such a great addon. Version .4 is what convinced me to install it!
I have a feature request... It shouldn't be too hard either. Add the ability to execute a command line when the sleep timer puts sage to sleep. Or, if you're not motivated to do that, maybe you wouldn't mind telling how to do that in studio.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** Last edited by mkanet; 02-24-2006 at 12:39 PM. |
#11
|
||||
|
||||
I installed .4 last night on a fresh install of Sage 4.1.8. Thanks for listening to my suggestion of adding the OSD options menu it works perfect like that. I don't even have the need to link to to any other menus now.
I have one more suggestion and that is to add an option for a persistant timer that puts Sage to sleep at a specific time if the sleep timer is not set. For example, I'd like to add a timer that puts Sage to sleep on my kids Sage client at 11:00 PM everynight in case he forgets to set the sleep timer. If he set the sleep timer for 30 min. @ 10:45 then that overides the persistant 11:00 timer and Sage sleeps @ 11:15 or if he sets the sleep timer for 15 min @ 9 PM then Sage sleeps @ 9:15. But if he forgets to set any sleep timer Sage will still go to sleep @ 11 PM. |
#12
|
|||
|
|||
Quote:
Dirk |
#13
|
|||
|
|||
Quote:
Quote:
Dirk |
#14
|
|||
|
|||
Quote:
Quote:
Dirk |
#15
|
|||
|
|||
Quote:
Whatever capablility you can give will be appreciated. I have been asking for a sleep timer for more than a year, so this in any version is 1000% better than before. |
#16
|
|||
|
|||
Quote:
Quote:
Edit: I just added another fix, it will continue to play the video even if video menu style is set to preview window. Dirk Last edited by dflachbart; 02-25-2006 at 12:57 PM. |
#17
|
|||
|
|||
A new version V0.5 has been posted.
New features include:
To configure the timer to execute a command before it puts Sage to sleep, add the following properties to Sage.properties: - sleepTimer/cmd the command line to execute - sleepTimer/cmd_args command line parameters (optional) - sleepTimer/cmd_workdir working directory for command (optional) e.g.: sleepTimer/cmd=C\:\\WINDOWS\\system32\\notepad.exe sleepTimer/args=E:\\Program Files\\readme.txt or sleepTimer/cmd=C\:\\WINDOWS\\system32\\notepad.exe sleepTimer/cmd_args=readme.txt sleepTimer/cmd_workdir=E:\\Program Files As always, you can import the new version over the old one (which will get cleanly removed). Just make sure the timer is off. Dirk Last edited by dflachbart; 02-25-2006 at 12:57 PM. |
#18
|
|||
|
|||
Looks good, v0.5 fiexed the black screen/video pause issue I had.
Thanks. |
#19
|
|||
|
|||
Will this plugin work correctly with SageMC?
Thanks. |
#20
|
|||
|
|||
Quote:
It should work, but it won't match the "look & feel" of SageMC. I am not using SageMC myself, so I probably won't put too much effort into further integration, hope you understand. Dirk Last edited by dflachbart; 03-13-2006 at 02:28 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|