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 12-25-2008, 12:22 AM
Sendero Sendero is offline
Sage User
 
Join Date: Jan 2008
Posts: 16
Help with custom video folders and PathFilderExprs

OK, I thought i had this working but then realized tonight that its not correct.

In my import folders I have
\\Server\Videos\U
\\Server\Videos\SageShare

U is a link to a folder on the server. When I add other locations, they will all go through Videos share so that I only have one place to control access & permissions.

My sagemc_menu.xml has
Code:
        <!-- No Kids Videos -->
        <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Videos">
            <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
            <evalExpression>java_util_List_add(PathFilterExprs, "\\\\Server\\Videos\\U")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression>
        </internalScreenMenuItem>

	<!-- Only Kids videos -->
        <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Kids Videos" >
            <evalExpression>AddStaticContext("PathFilterExprs2", new_java_util_ArrayList())</evalExpression>
            <evalExpression>java_util_List_add(PathFilterExprs, "\\\\Server\\Videos\\SageShare")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", true)</evalExpression>
        </internalScreenMenuItem>
The behavior I see is that both video folders show all movies in the U share and neither shows the videos in SageShage.

What am I doing wrong here?

I also tried with changing the paths from "\\\\Server\\Videos\\U" to be just "U". Still no luck.

Last edited by Sendero; 12-25-2008 at 12:33 AM.
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


All times are GMT -6. The time now is 02:57 AM.


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