|
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 |
#21
|
|||
|
|||
Quote:
- leave the one for the family videos as before, including files from \\\\jaminbenpc\\family\\videos - add the same lines to the standard 'Movies' menu, but this time excluding files from \\\\jaminbenpc\\family\\videos This way you create two distinct non-overlapping sets of files. Dirk |
#22
|
|||
|
|||
Hmmm, I think you mean something like this -
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd"> <sageMenu version="1.4"> <menu title="Main"> <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, "\\\\jaminbenpc\\Movies 2")</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\Movies 1")</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\DVD")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my tv.png" screen="My TV" title="Televison"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my tv.png" screen="Video Library Folder View" title="TV Series"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\TV Shows")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Family Archive"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\family\\videos")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression> </internalScreenMenuItem> <!-- --> <subMenuItem title="Photographs"> <menu title="Photographs"/> </subMenuItem> <!-- --> <subMenuItem icon="hover_my explorer.png" title="My Menu"> <menu title="My Menu"> <internalScreenMenuItem screen="Google Video" title="Google Video"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem screen="YouTube Video" title="YouTube"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem screen="Rss News Feeds -- nielm" title="RSS Feeds"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem screen="Video Conversions" title="Video Conversions"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem screen="Parental Controls" title="Parental Controls"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem screen="Setup Menu" title="Settings"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> </menu> </subMenuItem> <!-- --> </menu> </sageMenu> You will also have noticed I've added another menu "TV Series", I thought I may as well kill two birds with one stone while I was at it. jaminben |
#23
|
|||
|
|||
Not quite... PathFilterExcludes=true means "dont include files specified in the filter", PathFilterExcludes=false means "show only files specified in the filter".
So the correct one would be Code:
<menu title="Main"> <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, "\\\\jaminbenpc\\TV Shows")</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\family\\videos")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my tv.png" screen="My TV" title="Televison"> <evalExpression> </evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my tv.png" screen="Video Library Folder View" title="TV Series"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\TV Shows")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression> </internalScreenMenuItem> <!-- --> <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Family Archive"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\jaminbenpc\\family\\videos")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression> </internalScreenMenuItem> 2) in the TV Shows section, include only TV Shows 3) in the Family Videos section, include only Family Videos There is also an alternative definition which would achieve the same (specifying an include for the Movies), both should work Dirk |
#24
|
|||
|
|||
Well flachbar you are a TRUE Sage Icon
It all works as planned Its getting late here so I've gotta go to bed now, but I'll be playing with the menus some more tomorrow and will let you know how I get on or maybe dont get on Anyway Thanks so much for the help, and if you lived near me I'd buy you a Beer Cheers jaminben |
#25
|
|||
|
|||
Quote:
Dirk |
#26
|
|||
|
|||
I hate to dig up such an old thread but this is exactly what I am trying to do and it isn't working, per these instructions. Are these instructions still accurate or have things changed?
I'll try some other search terms, haven't found any other relevant info yet. *EDIT* Digging deep I finally found in the SageMC Tips and Tricks thread that the filter directory had to exactly match the import directory. Case and all. The case was different and it didn't worked..changed it and bam..it's working!
__________________
SageTV: Athlon 64 X2 4200+ | 4 GB | 1 Tuner | DirecTV via HD-PVR | Windows Home Server 2011 Clients: PlaceShifter | (3) STP-HD200 Primary TV: Samsung 61" DLP 1080p Bedrooms: Toshiba 32" LCD 1080p Customizations: Pheonix | Web Server www.jiff.net Last edited by [JiF]Mike; 07-28-2009 at 06:49 PM. |
#27
|
||||
|
||||
Here are a couple of other threads that speak to this:
http://forums.sagetv.com/forums/show...&postcount=105 http://forums.sagetv.com/forums/showthread.php?t=40117 hth |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Neil's Custom Menus with SageMC? | lordmeatball | SageMC Custom Interface | 6 | 11-06-2006 02:50 PM |
Launching external programs w/ Nielm custom menus import | feilerd | SageTV Customizations | 0 | 02-26-2006 03:58 PM |
Just Another Custom Recording Quality Question | dvd_maniac | SageTV Software | 4 | 01-18-2006 05:09 PM |
STV Import: Malore's custom guide menus for SageTV3 (26/jul/2005) | nielm | SageTV Customizations | 25 | 09-24-2005 11:00 PM |
Custom Backgrounds and Menus | Lady Avatar | General Discussion | 0 | 04-05-2003 02:02 PM |