SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #241  
Old 01-12-2007, 09:39 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
nielm,

Is there a way to add a playlist manager Item using your menu. Right now the way it works. You have to go into the recordings them selves and select playlist etc...... I could not find anything in the internal screens to do this.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #242  
Old 01-12-2007, 01:56 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by nyplayer
Is there a way to add a playlist manager Item using your menu.
yes: Paste the following menuItemLets:

Music Playlists
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_video.png" screen="Browser - Music" title="Music Playlists">
        <evalExpression>AddStaticContext("newMusicBrowserStyle","xPlaylist")</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
Video Playlists
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_video.png" screen="Browser - Videos" title="Video Playlists">
        <evalExpression>AddStaticContext("newVideoBrowserStyle","xPlaylist")</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
(ps these are also listed on the wiki, but the site is a bit flakey at the moment...)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 01-12-2007 at 01:58 PM.
Reply With Quote
  #243  
Old 01-27-2007, 08:26 PM
Nick Nick is offline
New Member
 
Join Date: Jun 2006
Posts: 2
XMLTV

Nielm,

Downloaded the STV earlier today and all has been working just fine, until I needed to update program data. My lovely xmltv line ups are gone and suddenly only North American providers are listed with no option for an honest European to get his xmltv guide data localy. Havenīt found a work around so .......any ideas?

Thanks
N
Reply With Quote
  #244  
Old 01-28-2007, 02:52 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Nick
Nielm,

Downloaded the STV earlier today and all has been working just fine, until I needed to update program data. My lovely xmltv line ups are gone and suddenly only North American providers are listed with no option for an honest European to get his xmltv guide data localy. Havenīt found a work around so .......any ideas?
Although it seems related, this pluging does not break XMLTV plugins (I use it!)... my best guess would be to check that your xmltv plugin is correctly installed (maybe the properties file line got edited in error, or a JAR file got deleted by accident).
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #245  
Old 01-28-2007, 01:45 PM
Nick Nick is offline
New Member
 
Join Date: Jun 2006
Posts: 2
Quote:
Originally Posted by nielm
Although it seems related, this pluging does not break XMLTV plugins (I use it!)... my best guess would be to check that your xmltv plugin is correctly installed (maybe the properties file line got edited in error, or a JAR file got deleted by accident).

Was a broken link to the xmltv plugin. Just didnīt spot it. Came from changing directories for lots of stuff incudling Sage (running 64-bit OS and some apps donīt like the spaces in "program files (x86)) so had nothing to do with your excelent stv.
Reply With Quote
  #246  
Old 02-17-2007, 11:03 PM
abasu2003's Avatar
abasu2003 abasu2003 is offline
Sage Expert
 
Join Date: Jul 2004
Posts: 551
I'm not sure the last time i upgraded. But anyways, this <v6.1> worked great but when i tried to install nielm's dynamic menus, nothing seemed to work. specifically, the new screens aren't showing up and the google video link is dead. i was under the impression new screens always show up in the dynamic menu. am i missing something?

* moved here from the v6.1.3 RC thread *
Reply With Quote
  #247  
Old 02-18-2007, 12:49 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Quote:
Originally Posted by abasu2003
I'm not sure the last time i upgraded. But anyways, this <v6.1> worked great but when i tried to install nielm's dynamic menus, nothing seemed to work. specifically, the new screens aren't showing up and the google video link is dead. i was under the impression new screens always show up in the dynamic menu. am i missing something?

* moved here from the v6.1.3 RC thread *
New screens don't show automatically. Nielm either has to release a new default menu.xml with the new menu entry so that we can copy it into our menu.xml or someone may mention in here what the actual menu.xml entry is.....
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #248  
Old 02-18-2007, 04:05 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
In the 6.1 beta, google video and youtube need a new version of the dynamic menus to work properly with the parental restrictions stuff...

[edit]
use dynamic menus v6.1 and see post #256 below
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 04-21-2007 at 01:54 AM.
Reply With Quote
  #249  
Old 02-20-2007, 05:23 AM
Endymion's Avatar
Endymion Endymion is offline
Sage Advanced User
 
Join Date: Dec 2003
Location: Wichita, KS
Posts: 95
Question Dynamic Menu's not working in 6.1.3

Ok, it seems to work for most people, but Dynamic Menus is not working for me. I installed 6.1.2 clean and Dynamic Menus 5.5 is the only import I'm trying to use (I do have the webserver though ver 2.11).

Here is the error I get:
Failed to load SageMenuReader class
Fall back to standard Sage menus


I've tried using the provided V6 default menu.xml rather than my own, made sure the .jar's were in the right place, what else can I do?

Reply With Quote
  #250  
Old 02-20-2007, 06:05 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
> Failed to load SageMenuReader class

The .JAR files are not in the SageTV/JARs directory, or they are not readable to the sage user, or you did not fully shutdown anf restart the sage user interface after unpacking...

If you enable logging (see sage FAQ), the sagetv_0.txt log file may contain some extra information (look for sagemenureader).
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 04-02-2007 at 01:06 AM.
Reply With Quote
  #251  
Old 02-20-2007, 07:04 AM
Endymion's Avatar
Endymion Endymion is offline
Sage Advanced User
 
Join Date: Dec 2003
Location: Wichita, KS
Posts: 95
Quote:
Originally Posted by nielm
> Failed to load SageMenuReader class

The .JAR files are not in the SageTV/JARs directory, or they are not readable to the sage user, or you did not fully shutdown anf restart the sage user interface after unpacking...

The sagetv_0.txt log file may contain some extra information (look for sagemenureader).
Ok, got it working by installing 6.0.19, copying over my backup, then installing 6.1.3 and re-importing.

Before that I was installing 6.1.3 clean.
The .jar's were in the SageTV/JARs directory (I've also tried copying them to the SageTV dir). They appeared to be readable, no errors opening them in notepad. I fully shut down both the UI and the service a number of times, and I tried importing without using the service. No dice, and I tried to enable logging, but got no logfile.
Reply With Quote
  #252  
Old 02-20-2007, 08:43 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Random Album Playback

Every felt like you couldn't be bothered to choose an album to play?

Here is a MenuItemLet that selects a random album to playback from your library, and starts playing it... (note that this will clear your now playing playlist)
Copy the below code, and in a dynamic menu page, do Options New->Paste New Menu Item

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_music.png" screen="Browser - Music, By Song Set" title="Play Random Album">
        <!-- Set sequential playback -->
        <evalExpression>SetProperty("random_music_playback", false)</evalExpression>
        <evalExpression>SetProperty("music/repeat_playback", false)</evalExpression>
        <!-- Get a random album and set up variables for Play Now action tree -->
        <evalExpression>AddStaticContext("MusicItemList",GetAlbumTracks(GetElement(GetAlbums(),new_java_lang_Integer(Size(GetAlbums())*java_lang_Math_random()))))</evalExpression>
        <evalExpression>AddStaticContext("CanPlayNow",true)</evalExpression>
        <evalExpression>AddStaticContext("MusicItemType","xArtist")</evalExpression>
        <evalExpression>AddStaticContext("NowPlayingPlaylist",GetNowPlayingList())</evalExpression>
        <!-- set up variables for Music by Song set screen -->
        <evalExpression>AddStaticContext("SentSongList",DataUnion(MusicItemList))</evalExpression>
        <evalExpression>AddStaticContext("BrowserHistory",DataUnion("Random Album"))</evalExpression>
        <!-- Execute Play Now action tree -->
        <evalExpression>ExecuteWidgetChain(GetElement(FilterByMethod(GetAllWidgets(),"GetWidgetName","\"REM Play this item _now_. Stop all other playback, clear Now Playing, then start playing this item.\"",true),0))</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
(see here for more menu item lets)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 02-21-2007 at 03:30 AM.
Reply With Quote
  #253  
Old 02-20-2007, 09:29 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
New verson:

v6.1 20/Feb/2007 for SageTV 6.1 (download)
  • use scrollbars and a more 6.1-like theme
  • add default menu for v6.1
  • Fix online-videos parental controls for google/youtube
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 02-20-2007 at 09:33 AM.
Reply With Quote
  #254  
Old 02-20-2007, 04:06 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Following on from my previous Random Album Playback MenuItemLet, here is a MenuItemLet that sets up a playlist with your entire music library and starts random playback...

Copy the below code, and in a dynamic menu page, do Options New->Paste New Menu Item

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem icon="STVs\dynamic_menu_icons\mm_music.png" screen="Browser - Music, Playlist Details" title="Random Music Playback">
        <!-- Set random playback -->
        <evalExpression>SetProperty("random_music_playback", true)</evalExpression>
        <evalExpression>SetProperty("music/repeat_playback", true)</evalExpression>
        <!-- Get all music and set up variables for Play Now action tree -->
        <evalExpression>AddStaticContext("MusicItemList",FilterByBoolMethod(FilterByBoolMethod(GetMediaFiles(),"IsMusicFile",true),"IsLibraryFile",true))</evalExpression>
        <evalExpression>AddStaticContext("CanPlayNow",true)</evalExpression>
        <evalExpression>AddStaticContext("MusicItemType","xArtist")</evalExpression>
        <evalExpression>AddStaticContext("NowPlayingPlaylist",GetNowPlayingList())</evalExpression>
        <!-- Execute Play Now action tree -->
        <evalExpression>ExecuteWidgetChain(GetElement(FilterByMethod(GetAllWidgets(),"GetWidgetName","\"REM Play this item _now_. Stop all other playback, clear Now Playing, then start playing this item.\"",true),0))</evalExpression>
        <!-- set up variables for Browser - Music, Playlist Details screen -->
        <evalExpression>AddStaticContext("CurPlaylist", GetNowPlayingList() )</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 02-21-2007 at 03:29 AM.
Reply With Quote
  #255  
Old 02-21-2007, 09:04 PM
raulinigo raulinigo is offline
Sage User
 
Join Date: Apr 2006
Posts: 64
Hey, thanks for the update to 6.1. I can't seem to add a menu item for YouTube Video though and the MenuItemLet above doesn't work. Any clue?

Thanks!
Reply With Quote
  #256  
Old 02-22-2007, 02:04 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
To get Google and YouTube videos in dynamic menus v6.1 with SageTV v6.1,

Either load the default_menu_v6_1.xml and copy/paste the youtube/google menu items from there, or use these menuitemlets for v6.1

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem screen="Online Video SHORTCUT" title="YouTube Video">
        <evalExpression>AddStaticContext("OnlineVideoType","xYouTube")</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
    <internalScreenMenuItem screen="Online Video SHORTCUT" title="Google Video">
        <evalExpression>AddStaticContext("OnlineVideoType","xGoogle")</evalExpression>
    </internalScreenMenuItem>
</sageMenu>
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #257  
Old 03-07-2007, 08:06 PM
lambda379 lambda379 is offline
Sage User
 
Join Date: Aug 2005
Posts: 24
Hello, I've just noticed that I'm having a problem with the latest Dynamic Customisable Main Menu v6.1. I have the latest SageTV version 6.1.3.126. Not sure if it related to upgrading to Java 1.6.

The .stvi loads fine, but if I try to right click and save or copy the menu or menu item it fails. The error .log contains the following:

2007-03-07 20:42:10.172 WARNING symbolMap duplicate Menu:MainMenu
2007-03-07 20:42:10.172 WARNING symbolMap duplicate Theme:ConfigWizButton
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Header
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:LargeFont
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Italicized
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:InfoRightPanelTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:CWizMenuItemTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:CWizMenuItemTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:NonCenteredTextTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:SubTitleTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:OrangeText
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:NumberPadKeyTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:ARAdjust
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:CenteredItemText
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:ItalicsTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:CenteredTextTheme
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Untitled
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Untitled
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Untitled
2007-03-07 20:42:10.182 WARNING symbolMap duplicate Theme:Untitled

I already checked and xerces.jar is not in any directory.
Reply With Quote
  #258  
Old 03-08-2007, 01:55 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
that log file is not the debug logging -- its something else in the core, and everyone gets it...

You need to enable the debug logging (in properties file: debug_logging=TRUE) and check for file sagetv(client)_0.txt

(I am using Java 1.6 with Sage 6.1.3 and have not problems...)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #259  
Old 03-08-2007, 06:31 AM
lambda379 lambda379 is offline
Sage User
 
Join Date: Aug 2005
Posts: 24
Quote:
Originally Posted by nielm
that log file is not the debug logging -- its something else in the core, and everyone gets it...

You need to enable the debug logging (in properties file: debug_logging=TRUE) and check for file sagetv(client)_0.txt

(I am using Java 1.6 with Sage 6.1.3 and have not problems...)
Sorry about that! I enabled logging and have attached the correct log. A see a couple of errors, the first contains the line below:

WritingC:\Program Files\SageTV\SageTV\default_menu_V6_1.xml_new
Failed to generate XML menu file: java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z


Then later in the log file an error is reported that:

Connection lost from: Socket[addr=/127.0.0.1,port=42024,localport=2132] by:java.io.EOFException
Attached Files
File Type: txt sagetvclient_0.txt (44.0 KB, 377 views)
Reply With Quote
  #260  
Old 03-08-2007, 10:34 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by lambda379
WritingC:\Program Files\SageTV\SageTV\default_menu_V6_1.xml_new
Failed to generate XML menu file: java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
Are you sure that you do not have a xerces.jar (or another jar that may include it) in your classpath because that is exactly the error I got before I removed it
xerces.jar could be either in
Program Files\SageTV\SageTV\JARS
Program Files\SageTV\SageTV
Program Files\Java\JRE_x_y_z\lib\ext
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
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
AWTThread Hang Detected - Problem getting out of hand! MTuckman SageTV Beta Test Software 11 01-04-2007 04:58 PM
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) Cayars SageTV Customizations 3664 12-13-2005 05:35 PM
STV: nielm combo STV (v1.8 Oct 19) nielm SageTV Customizations 555 12-15-2004 09:07 AM
STV: MlbDude2 1.8.7 - July 5 mlbdude SageTV Customizations 583 11-08-2004 04:18 PM


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


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