SageTV Community  

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

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-23-2009, 02:37 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
How to Assign "MyVideos" Key to custom menu?

I've edit the sagemc_menu.xml to customize my menus:

Quote:
<subMenuItem icon="hover_my videos.png" shortCutKey="Custom4" title="My Videos">
<menu title="Videos">
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="DVD Library">
<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "\\\\NAS\\HomeVideos")</evalExpression>
<evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression>
</internalScreenMenuItem>
<!-- -->
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Home Videos">
<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "\\\\NAS\\HomeVideos")</evalExpression>
<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!-- -->
<internalScreenMenuItem icon="hover_dvd.png" screen="Play DVD" title="Play DVD">
<evalExpression> </evalExpression>
</internalScreenMenuItem>
<!-- -->
</menu>
</subMenuItem>
the menus work great.

Now I am trying to figure out a way to assign the "MyVideos" remote keystroke to this new "MyVideos" menu, or to define a new SageTV command that can be assigned to the remote keystroke. I've tried 'Custom 5' and others... none seem to work!

Please help...

* moved to SageMC forum *

Last edited by sflamm; 04-23-2009 at 04:10 PM.
Reply With Quote
  #2  
Old 04-23-2009, 02:44 PM
Texas-Hansen Texas-Hansen is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 109
Hi,

Sorry to barge in but had a question since I was trying to do something a little similar. I noticed that aside from one being labled DVD Library and the other labeled Home Videos, the key difference between the two paragraphs in the code is the use of true versus false in this line of code, <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression>


Why the true versus false difference, what does that do?

(I wondering if this was my problem in attemting something similar that did not work).

Thanks
Reply With Quote
  #3  
Old 04-23-2009, 02:52 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
The 'True' tells it what to include, and the 'False' tells it what to exclude. These are filters.

Any idea how to assign a custom keystroke or alter the built-in keystroke?
Reply With Quote
  #4  
Old 04-23-2009, 03:18 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
I've assigned the shortcutkey 'Custom5' to the menu, and then mapped the keyboard command 'Alt+V' to Custom5 using the Setup->Detailed->Commands->Link Keystroke to Command

But when I press Alt+V nothing happens... help?!
Reply With Quote
  #5  
Old 04-23-2009, 03:32 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
I've assigned it to Custom1, and turned off the RSS mapping, and now when I press Custom1 I get "MyTV"???!!!

Anyone know how to assign these Custom keys 1-5?
Reply With Quote
  #6  
Old 04-23-2009, 08:15 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Solution:

Make sure you have the Global Shortcut Keys option enabled:

Settings >> Main >> Global UI Options >> Behavior >> Global Shortcut Keys

Then you can fully assign Custom1 - Custom 5 to whatever you wish (and you dont have turn the others off)
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
Is it possible to connect SageMC "Movie Now" menu to 1 of the custom button? thenewguy1979 SageMC Custom Interface 2 09-19-2008 11:07 PM
Recordings not showing up in "MyTV" but in "MyVideos" jmv SageTV Software 1 05-23-2008 02:09 PM
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting maxpower SageMC Custom Interface 9 05-14-2008 09:44 PM
Made a custom Aspect Ratio to "add overscan" on the HD100 Slipshod SageTV Media Extender 8 03-27-2008 07:04 PM
Is there a way to manually assign a Category for a non-defined listing: "On Demand" mkanet SageTV EPG Service 0 12-20-2007 02:18 PM


All times are GMT -6. The time now is 03:55 AM.


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