SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2006, 05:49 PM
laurenglenn's Avatar
laurenglenn laurenglenn is offline
Sage Expert
 
Join Date: Mar 2003
Location: Levittown, PA
Posts: 601
Send a message via AIM to laurenglenn Send a message via MSN to laurenglenn
Custom STV: got Dynamic menu working in Linux

It took a little bit of modification, but I got my STV working in Linux. Mind you that it's been a while since I've worked on it, and there are quite a few noticeable bugs in it.... but it seems to work OK for now.

To get dynamic menus working in Linux:

1) Extract the JAR files from the Dynamic Menu customization at http://www.sage-community.org into your /opt/sagetv/app/JARs directory.
2) Follow the instructions in the FAQ to enable plugins
3) extract the files (including sagemenu.dtd) to the /opt/sagetv/usr directory. That dtd file is required for the dynamic menu function to work. (I just included my modded STV as an example)

For those with STVs in linux, I just used the following in the MainMenu:

If IsWindowsOS()
> true
> > AddGlobalContext("pth","\\")
> false
> > AddGlobalContext("pth","/")

and then used pth where ever I used to have a \\ for filenames.

There seems to be a problem with some STVs and the backgrounds. I've found that if you don't load an image, you get ghosting on the backgrounds. The pictures generally seem to need to be loaded with tiling and stretching. In this example, I just specified the files with no path. This probably would require the pictures to be in the same directory as the STV.

Also, SageLinux seems to only load STV files even if the last file you loaded is an XML file. You should just be able to rename the XML file to STV in order to make it work.

Lauren
Attached Files
File Type: zip lg.zip (435.9 KB, 358 views)

Last edited by laurenglenn; 02-19-2006 at 07:06 PM.
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 12:59 PM.


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