|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageMC Custom Menus
I am just switching over to SageTV7 and I am using Sage MC which I installed through the new Plugin manager. I am trying to add a menu item that goes right to part of my Video Library - I had this exact same customization in V6. The new menu item shows up but I don't see any files - has something changed with V7?
Can you still customize your menu in SageMC in V7 or is this functionality gone? Here is the syntax of my custom menu item: Code:
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Isabella"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\sageserver\\f$\\videos\\Isabella's Shows")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression> </internalScreenMenuItem> Code:
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Isabella"> <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression> <evalExpression>java_util_List_add(PathFilterExprs, "\\\\standrews\\videos\\Isabella's Shows")</evalExpression> <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression> </internalScreenMenuItem>
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
Wasn't the ability to customize menus in SageMC actually based on Dynamic Menus? Dynamic menus plugin was actually built in as a part of SageMC. My understanding is Dynamic Menu does not function for SageTV 7.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#3
|
|||
|
|||
It's possible that some of the Dynamic Menu functions do not work in V7, but I'm wondering if the dollar sign (f$) in the UNC pathname might be causing a problem. The dollar sign is used in regular expressions as a special character. So if the Dynamic Menu function call is using that UNC pathname in a Java regular expression, the dollar sign might be causing it some problems. Try creating a new share name instead of using the builtin administrative shares and see if that works. Or you might be able to escape the $ with a \ like f\$ and see if that would work, but I'm not up-to-speed with Java regex handling so I'm not sure about that.
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters |
#4
|
||||
|
||||
I would recommend not using those admin shares anyways. they are... quirky at best. permissions for them are not as defined as setting up your own share.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#5
|
|||
|
|||
Thanks guys I will try changing the share name.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#6
|
|||
|
|||
I changed the share but that didn't help - it is likely as Gerry indicated that SageMC is using the dynamic menu functions that aren't supported in V7. The menu item is actually displayed on the main menu you can select it and go into the video library screen but it doesn't see any files or folders.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
||||
|
||||
I do know a lot of the metadata stuff in the core has changed, and that's probably causing the issue (it's filtering it to a property that is not longer the same thing it used to be). It's shouldn't be a problem with the dynamic menus, themselves, but with the video library display in SageMC, when using the PathFilterExprs static context.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Menus question. | jaminben | SageTV Customizations | 26 | 07-28-2009 06:51 PM |
SageMC custom layouts/menus on server and client | mkanet | SageMC Custom Interface | 1 | 03-25-2009 02:14 PM |
Problem with 6.4.3 and Dynamic Custom Menus | pjpjpjpj | SageTV Customizations | 15 | 06-03-2008 06:00 AM |
Using Neil's Custom Menus with SageMC? | lordmeatball | SageMC Custom Interface | 6 | 11-06-2006 02:50 PM |
Custom Backgrounds and Menus | Lady Avatar | General Discussion | 0 | 04-05-2003 02:02 PM |