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 03-05-2009, 09:28 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Any way to make to video tabs

This may be out of the realm but is there anyway to make 2 video tabs on the screen and have them each point to different import folders?

This would allow me to keep my blu ray's seperate from my dvd's. I know I change change the sort but wife doesn't like that very much

eidt heading should say two no to

Last edited by PLUCKYHD; 03-05-2009 at 09:43 AM.
Reply With Quote
  #2  
Old 03-05-2009, 11:36 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Are you using nielm's "dynamic custom menus" plug-in? Why not just create two menu items, "DVDs" and "Blu-Ray Movies", and link each directly to the respective folder view?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #3  
Old 03-05-2009, 12:39 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
No I am not using this but will look into it tonight thanks for the advice.
Reply With Quote
  #4  
Old 03-05-2009, 12:41 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Okay that only works with default stv? Should have mentioned I use sagemc.

* moved; please post in the SageMC forum for SageMC issues *
Reply With Quote
  #5  
Old 03-05-2009, 02:32 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Dynamics menu is built into SageMC.

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.
Reply With Quote
  #6  
Old 03-05-2009, 02:46 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
GAry I use them but can't figure out how to add another videos mene without it pointing to the same import folder as the others. Any help is greatly appreciated.
Reply With Quote
  #7  
Old 03-05-2009, 11:05 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
See the below code from the first part of my sagemc_menu.xml. I highlighted the part that you need to change for your setup. The title is what is displayed on screen and the path is the path to the appropriate folder (DVD, BLUray, etc).

Note: Yes you need \\ (2 backslashes) for every \ in the normal windows path.

Code:
<sageMenu version="1.4">
    <menu title="Main">
        <internalScreenMenuItem icon="hover_my tv.png" screen="My TV" title="TV">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <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, "\\\\svr1\\video")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="DVDs">
            <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
            <evalExpression>java_util_List_add(PathFilterExprs, "\\\\svr1\\dvd")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
        </internalScreenMenuItem>
__________________
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
Reply With Quote
  #8  
Old 03-06-2009, 06:58 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Thanks allot will try this tonight I really appreciate the help.
Reply With Quote
  #9  
Old 03-15-2009, 10:27 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Okay upond trying this is add's the new item on the menu but still points to the same video library directory my other own does even after specifing sepearte paths?
Reply With Quote
  #10  
Old 03-15-2009, 11:32 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by PLUCKYHD View Post
Okay upond trying this is add's the new item on the menu but still points to the same video library directory my other own does even after specifing sepearte paths?
When I initially set mine up too it took alot of tries too. I eventually found a syntax error in my xml file. So I would double and triple check that you have all your syntax correct. If you upload your xml file I will take a look at it if you want.
__________________
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
Reply With Quote
  #11  
Old 03-15-2009, 03:12 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Could you explain the syntax needed for a local drive would it be

\\d:\\shares\\dvd movies

or do i have to prefix it

\\\whs\\shares\dvd movies
Reply With Quote
  #12  
Old 03-15-2009, 03:17 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Another question do you still have all the video directories mapped in the sagetv setup as well? or none for videos?
Reply With Quote
  #13  
Old 03-15-2009, 03:19 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
to refer to a local disk i believe the syntax would be:

d:\\shares\\dvd movies (no slashies before d: )

There is no reason to not use UNC paths though (especially if you have more than 1 client). if "shares" is your folder that is shared, and "whs" is your computer name then ya the syntax would be

\\\\whs\\shares\dvd movies (make sure 4 slashies in the front)
__________________
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
Reply With Quote
  #14  
Old 03-15-2009, 03:22 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by PLUCKYHD View Post
Another question do you still have all the video directories mapped in the sagetv setup as well? or none for videos?
If I understand your question.... Yes I have all the directories mapped in Sage setup. Modifying the sagemc.xml file just adds filters to the UI for organizational purposes; it has no effect on the video files import.
__________________
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
Reply With Quote
  #15  
Old 03-15-2009, 05:45 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Okay I got the dvd movies one to work but the other two are still showing the entire video library

<!-- -->
<internalScreenMenuItem icon="C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\Themes\CenterSage\MenuIcons\hover_dvd.png" screen="Video Library Folder View" title="DVD Movies">
<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "\\\\BANTAWHS\\DVD MOVIES")</evalExpression>
<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!-- -->
<internalScreenMenuItem icon="C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\Themes\iTV\MenuIcons\hover_my videos.png" screen="Video Library" title="Home Movies">
<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "\\\\BANTAWHS\\Videos")</evalExpression>
<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!-- -->
<internalScreenMenuItem icon="C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\Themes\BlueTwo\MenuIcons\hover_my videos.png" screen="Video Library" title="Blu Ray Movies">
<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "\\\\BANTAWHS\\BLU RAY MOVIES")</evalExpression>
<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!--
Reply With Quote
  #16  
Old 03-15-2009, 08:48 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
man... that's a tough one. The syntax looks right to me.. I am in no way a java developer but it looks like the same syntax as mine... except:

In your second and third entries you refer to a different screen than the first entry. I would refer to the same screen as the first one....
Code:
screen="Video Library Folder View" title="Home Movies">
Also, I'm sure it doesn't matter but I assume you have the three entries pointing to different icons on purpose? Just to eliminate the possibility I would have them all point to the same one (even though I can not think of any reason why that wouldn't work).

To confirm that the filtering is working I would copy your first entry (the working DVD one) and then just change only the paths and title. After you get the filtering working then I would start customizing...
__________________
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
Reply With Quote
  #17  
Old 03-16-2009, 06:41 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
I didn't even notice the view was missing I will try that tonight.
Reply With Quote
  #18  
Old 03-17-2009, 06:01 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
That did the trick changing them to video library view from just video library.
Reply With Quote
  #19  
Old 03-17-2009, 06:56 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
excellent
__________________
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
Reply With Quote
  #20  
Old 05-24-2009, 04:18 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
I have tried this meathod and I am unable to get it to work. Any help would be appreciated.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
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
How to make Sagetv treat 2 sources as 1 source - Firewire and S-Video? stewart710 Hardware Support 14 01-14-2007 12:12 AM
do they make a... xlr8shun General Discussion 3 04-08-2006 09:50 AM
Can I make the small preview video bigger? area123 SageTV Customizations 12 03-31-2006 08:55 PM
HOw to make video in work arix SageTV Recorder Software 0 08-27-2003 11:13 AM
Make my own video pre-sets thayne SageTV Recorder Software 10 07-05-2003 09:50 AM


All times are GMT -6. The time now is 06:52 PM.


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