![]() |
|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Filtered Menus
I am trying to set up some menu filters and no matter what I try it simply won't work. I have tried adding the code shown on the forum and can't get it to work. What I end up with is no videos. For the path I have tried everything I can think of, even copying the path directly out of the sage.properties and it still won't work. This is code I have been trying to add without luck. Any ideas? Thanks
Code:
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Movies"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "D\:\\Movies")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression> </internalScreenMenuItem> |
#2
|
|||
|
|||
ive never used drive paths with filter expressions (all my import folders are UNC paths) but if i remember correctly (reading somewhere in the SMW thread) that you do not need to \ the : character.... so your path would be:
"D:\\Movies" other then that everything else looks right...
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#3
|
|||
|
|||
I tried it like that first and it does not work for some reason. The only reason I tried using the \: is that was the way it was listed in the sage properties as a import directory.
I tired using unc paths as well. I shared a drive on computer I am trying to setup and added it as a import directory in sage. All the videos show up on the normal my videos but nothing on the filtered ones. The path I tried to used was \\xxxx1-pc\o and still it does not work. |
#4
|
|||
|
|||
make sure you \\ all your \ in the path
so your directory should be: \\\\xxxx1-pc\\o
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#5
|
|||
|
|||
Quote:
Razor is correct you need "D:\\Movies" not "D\:\\Movies" Also make sure when you edit that sage is closed and save and then reopen sage. |
#6
|
|||
|
|||
I tried d:\\ again for about the 10th time and still it won't work.
I tried using the unc path of a share with double the \'s and it worked finally. Kind of a half assed way to do it having to share everything on the same pc, but at least it works. Thanks for the help guys |
#7
|
|||
|
|||
there are other good reasons to use unc shares.... if you ever want to add an extender or client to the mix, using unc shares drastically simplifies things. and trust me the way this hobby goes you will definitely want to add clients/extenders to the mix.
anyway glad you got it working.
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#8
|
||||
|
||||
What folder were you "importing" in Sage? Was it "D:\" or was it "D:\Movies"?
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Customization request: Dynamic menus without dynamic menus ;-) | owilsky | SageTV Customizations | 16 | 07-07-2009 03:33 PM |
Filtered menu items. What am I missing? | GollyJer | SageMC Custom Interface | 3 | 04-21-2008 08:45 PM |
Malore menus in 6.2 | srothwell | SageTV Customizations | 2 | 10-08-2007 06:55 PM |
Changing the menus. | alan92rttt | SageTV Studio | 20 | 01-15-2006 07:46 PM |
Animated Menus | cmaffia | SageTV Software | 0 | 10-16-2005 09:46 AM |