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
  #101  
Old 05-05-2009, 07:03 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by cslatt View Post
First of all - thanks! This screen looks fantastic on my TV at home. Finally convinced me to dive into filter expressions in the dynamic menus file so I could have a "Movies" item separate from my other downloaded media.

Second - a couple of feature requests:
- An option to turn off the animation in ListView (I'd prefer to be able to scroll quickly through my movie rather than wait for the dvd cover and description to fly in)
- An option (or default) to show more of the movie name in listview (about 80% of my movie titles are cut off)
First Welcome glad you like like it

-Item one animations are interuptable meaning you don't have to wait for the animation to finish you can just keep scrolling
- Item 2 this is fixed in the next build

cheers
Reply With Quote
  #102  
Old 05-05-2009, 07:05 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Blackrabbit View Post
Cslatt,
I was thinking about doing this same thing but wasn’t sure how to apply a filter to my wall to isolate media types.

Can you provide some insight as to the steps you took to achieve this with dynamic menus?

Greatly appreciated!
Edit you menu xml.

Look for the one that has SageMovie wall you can edit the paths you want linked to it.

see this thread for more explanation

http://forums.sagetv.com/forums/showthread.php?t=40117
Reply With Quote
  #103  
Old 05-05-2009, 07:35 AM
Quazeye Quazeye is offline
Sage Advanced User
 
Join Date: Dec 2007
Posts: 81
I figured out why the BMT wasn't working automatically. I didn't have the best filenames on my movies. I am changing them to make them work better now.

Thanks Plucky
________
volcano vaporizer digital

Last edited by Quazeye; 01-26-2011 at 12:27 AM.
Reply With Quote
  #104  
Old 05-05-2009, 07:55 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Quazeye View Post
I figured out why the BMT wasn't working automatically. I didn't have the best filenames on my movies. I am changing them to make them work better now.

Thanks Plucky
Glad you figured it out even though scaling is in the next build
Reply With Quote
  #105  
Old 05-05-2009, 09:18 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
Quote:
Originally Posted by Blackrabbit View Post
Cslatt,
I was thinking about doing this same thing but wasn’t sure how to apply a filter to my wall to isolate media types.

Can you provide some insight as to the steps you took to achieve this with dynamic menus?
Yep - in case the thread Plucky pointed to isn't clear enough:

It only works if you keep your movies in a separate folder from your other media.

So I have my movies in e:\video\movies
My ripped TV shows in e:\video\TV
and my other media in e:\video\other

Also should share that I used to just have "e:\video" as an import folder, but now I need to import each of those folders individually "e:\video\movies", "e:\video\TV", "e:\video\other".

So to make it all happen, you go into your sagetv directory and find "sagemc_menu.xml" and edit it with some entries that look like this:

Code:
<internalScreenMenuItem icon="hover_my videos.png" screen="Sage Movie Wall" title="Movies">
	<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
	<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>
	<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!--                                   -->
<internalScreenMenuItem icon="hover_my tv.png" screen="Video Library Folder View" title="TV">
	<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
	<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\tv")</evalExpression>
	<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!--                                   -->
<internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="Other Videos">
	<evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
	<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\other")</evalExpression>
	<evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
</internalScreenMenuItem>
<!--                                   -->
Note that I'm using Sage Movie Wall for my movies, and the normal Sage Folder View for TV and Other Videos.
Reply With Quote
  #106  
Old 05-05-2009, 09:35 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Yes that is write and you can repeat

<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>

For other folders under each other.
Reply With Quote
  #107  
Old 05-05-2009, 10:18 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by PLUCKYHD View Post
Yes that is write and you can repeat

<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>

For other folders under each other.
does this mean that if I have e:\video\movies and f:\dvds\moremovies I can use:

<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "f:\\dvds\\moremovies")</evalExpression>

and it combine these two?
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #108  
Old 05-05-2009, 10:32 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by matt91 View Post
does this mean that if I have e:\video\movies and f:\dvds\moremovies I can use:

<evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>
<evalExpression>java_util_List_add(PathFilterExprs, "f:\\dvds\\moremovies")</evalExpression>

and it combine these two?
Correct as long as you have the above and below lines you can add as many as you want need.

Just remember they have to be paths set up in your video library paths as well
Reply With Quote
  #109  
Old 05-05-2009, 12:08 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I’m trying to setup multiple walls… I can’t seem to get mine to work.

The steps I’ve taken:

• Set up individual import directories E:\Video\Movies & E:\Video\Other.
• Edited my sagemc_menu.xml:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://sageplugins.sourceforge.net/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <menu title="Main">
        <internalScreenMenuItem icon="hover_my tv.png" screen="My TV" title="My TV">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <internalScreenMenuItem icon="hover_my videos.png" screen="Video Library Folder View" title="My Videos">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <internalScreenMenuItem icon="hover_my music.png" screen="My Music" title="My Music">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <internalScreenMenuItem icon="hover_my pictures.png" screen="Picture Library" title="My Pictures">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
        <internalScreenMenuItem icon="hover_dvd.png" screen="Play DVD" title="Play DVD">
            <evalExpression> </evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->

        <subMenuItem icon="hover_my programs.png" title="My Menu">
            <menu title="My Menu">
                <internalScreenMenuItem screen="Default STV Menu" title="Online Services">
                    <evalExpression>AddStaticContext("TargetMenuName", "Online Services Menu")</evalExpression>
                    <evalExpression>AddStaticContext("LeftListener", "Left-Back to parent menu")</evalExpression>
                    <evalExpression>AddStaticContext("BackWidgetId", "BASE-51766")</evalExpression>
                </internalScreenMenuItem>
                <!--                                   -->
                <internalScreenMenuItem screen="EMail" title="@email">
                    <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>
        <!--                                   -->
        <internalScreenMenuItem screen="Sage Movie Wall" title="Movies">
            <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
	    <evalExpression>java_util_List_add(PathFilterExprs, "e:\\video\\movies")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
    </menu>
</sageMenu>
When I go to my newly created menu item SMW launches a blank black screen. I’m only testing this with the E:\Video\Movies portion, once I get the movies to filter in properly, then I’ll add in code for my E:\Video\Other.

Any ideas as to what I’m doing wrong.

TIA
Reply With Quote
  #110  
Old 05-05-2009, 12:28 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Move the Sage movie wall up to the top where the others are out of the submenus I had that same issue until I moved them up.
Reply With Quote
  #111  
Old 05-05-2009, 12:36 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I tried that too with no success...
Reply With Quote
  #112  
Old 05-05-2009, 12:36 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
I am pretty sure you also need a \ in front of the :

So your filter path would be
Code:
e\:\\video\\movies
it has to do with how java treats ":", "\" and other special characters. You need to place a \ in front of any special characters for java to treat it as the correct character.
__________________
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
  #113  
Old 05-05-2009, 12:53 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by razrsharpe View Post
I am pretty sure you also need a \ in front of the :

So your filter path would be
Code:
e\:\\video\\movies
it has to do with how java treats ":", "\" and other special characters. You need to place a \ in front of any special characters for java to treat it as the correct character.
Yes that is correct didn't catch that in his paste.
Reply With Quote
  #114  
Old 05-05-2009, 03:57 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Still won't work right... Same results blank black screen. This is the code snippet that I'm trying to get to work. Any ideas?

Code:
        <internalScreenMenuItem screen="Sage Movie Wall" title="Movies">
            <evalExpression>AddStaticContext("PathFilterExprs", new_java_util_ArrayList())</evalExpression>
	    <evalExpression>java_util_List_add(PathFilterExprs, "e\:\\video\\movies")</evalExpression>
            <evalExpression>AddStaticContext("PathFilterExcludes", false)</evalExpression>
        </internalScreenMenuItem>
        <!--                                   -->
Reply With Quote
  #115  
Old 05-06-2009, 07:15 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
Quote:
Originally Posted by razrsharpe View Post
I am pretty sure you also need a \ in front of the :

So your filter path would be
Code:
e\:\\video\\movies
NOT TRUE - tried this when I was first experimenting. For whatever reason it doesn't work if you escape the colon only works if you don't. So NO BACKSLASH BEFORE THE COLON
Reply With Quote
  #116  
Old 05-06-2009, 07:18 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
Quote:
Originally Posted by wrems View Post
Any ideas as to what I’m doing wrong.
Have you had Sage re-scan your imported videos since you changed your import folders around?
Reply With Quote
  #117  
Old 05-06-2009, 07:20 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
Quote:
Originally Posted by wrems View Post
Still won't work right... Same results blank black screen. This is the code snippet that I'm trying to get to work. Any ideas?
Also - make sure your movie files are directly located inside E:\Video\Movies, not in folders under that, but actual files in that folder.
Reply With Quote
  #118  
Old 05-06-2009, 07:23 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
I find it better to use network share paths myself. but to each his own.
Reply With Quote
  #119  
Old 05-06-2009, 07:26 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
Quote:
Originally Posted by PLUCKYHD View Post
I find it better to use network share paths myself. but to each his own.
Yeah, I had to experiment quite a bit with the syntax because every single filterpath example I could find used UNC paths. At least now we know drive letter paths work.
Reply With Quote
  #120  
Old 05-06-2009, 11:40 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Just for those wondering new build should be coming tomorrow.

The scaling has been tiresome and different but I have some options that make it good. My scaling options will be seperate from the default sagemc scaling options and will be set on first load of movie wall.

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
STV Import: Video Editing for Sage BobPhoenix SageTV Customizations 279 03-07-2013 01:35 PM
STV Import: MovieTimes Movie Listings Import v0.57 Beta aperry SageTV Customizations 670 10-02-2010 12:07 AM
STV Import: SageMC MovieTimes Movie Listings v0.64 Morgan111 SageMC Custom Interface 419 10-01-2010 11:06 PM
STV Import: Movie Info Screen V.1.0 jaminben SageMC Custom Interface 398 01-17-2010 02:40 PM
STV IMPORT: Exit Sage plugin (1.1 12/Jan/2006) nielm SageTV Customizations 8 10-06-2006 07:11 AM


All times are GMT -6. The time now is 01:16 PM.


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