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
  #381  
Old 11-21-2006, 01:58 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by geogecko
Originally Posted by flachbar
I got the same error a few hours ago (well it said "reduced from 1024x1024 to 512x512, I am running 1360x768) ... I rebooted the computer, and the error went away. I'll keep an eye on it if it happens again

Dirk
-----
I'm getting this error message again. Not sure what is causing it, although a restart will probably fix it, it will probably crop up again.

Anyone else seeing it?
I'm getting this again. Seems to happen every time I launch the visualization now...

No one else is having the problem?
__________________
-Jason
Reply With Quote
  #382  
Old 11-21-2006, 04:58 PM
Keith's Avatar
Keith Keith is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 111
Quote:
Originally Posted by deria
If you use the default STV, give these new instructions a shot and see how they work for you. They worked well for me during testing (its actually a little easier to do the changes now than it used to be).
Well, I tried the new instructions and it almost works.

Sage 6.0.14.112, default STV

Downloaded latest WinAmp to see if that would help.

That is I get visualizations but they're *behind* the SageTV window. This happens both windowed or full screen.

In fullscreen mode I get "Playing Visuaization..." on a black screen.

I have to alt-tab to get to the visualization.

It's not a FSE thing - I have FSE disabled.

Suggestions?
Reply With Quote
  #383  
Old 11-21-2006, 06:32 PM
deria deria is offline
Sage Aficionado
 
Join Date: Nov 2005
Posts: 408
Quote:
Originally Posted by Keith
Well, I tried the new instructions and it almost works.

Sage 6.0.14.112, default STV

Downloaded latest WinAmp to see if that would help.

That is I get visualizations but they're *behind* the SageTV window. This happens both windowed or full screen.

In fullscreen mode I get "Playing Visuaization..." on a black screen.

I have to alt-tab to get to the visualization.

It's not a FSE thing - I have FSE disabled.

Suggestions?
Something changed in the latest Winamp, I think. The Milkdrop visualization no longer seems to have a fake fullscreen mode.

In your specific case, it sounds like Winamp may simply not be taking focus when the visualization starts. Check the troubleshooting section in the first post for details on how Winamp should be configured.

I didn't have any trouble with the visualizations starting or stopping on my system, so I'm hoping its just a configuration issue.

EDIT: Also, isn't there an "always on top" option in SageTV? Maybe that's casuing a problem.
Reply With Quote
  #384  
Old 11-21-2006, 06:34 PM
JDizzy JDizzy is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: O'side CA
Posts: 151
Quote:
Originally Posted by Keith
That is I get visualizations but they're *behind* the SageTV window. This happens both windowed or full screen.

It's not a FSE thing - I have FSE disabled.

Suggestions?
I am running Sage v6 and MC v6.3 and have been using Winamp and Milkdrop for some time now. As of a couple days ago it loads Milkdrop behind the Sage screen. I know it is working as if I run Sage in a minimized window you can see Milkdrop behind it doing its thing...

I cannot remember if I did anything to make this happen.... but I cannot seem to make it pop up in front anymore ..
I have retraced my steps, reverted back several STVi loads, checked config settings, reinstalled the original Winamp STVi files and still no go.
-JD

Last edited by JDizzy; 11-21-2006 at 07:42 PM.
Reply With Quote
  #385  
Old 11-21-2006, 09:42 PM
jkohn jkohn is offline
Sage Advanced User
 
Join Date: Oct 2006
Posts: 234
I was able to get around this by _disabling_ fake full-screen in the Milkdrop configuration dialog; once I did that Milkdrop came up in the foreground instead of behind SageTV. But I'm using Girder to start/stop the visualization, not the STV modifications described above. Also, there was an issue with the SageTV window not getting focus after the visualization stopped (windows taskbar was showing over the bottom of the sage window). I was able to get around that with Girder by setting focus back to the SageTV window.
Reply With Quote
  #386  
Old 11-21-2006, 09:50 PM
jkohn jkohn is offline
Sage Advanced User
 
Join Date: Oct 2006
Posts: 234
Quote:
I have seen this, yes. Its some sort of timing issue -- basically what happens is that the plugin tells Winamp to load the song, then tells it to play the song (its two different actions in the Winamp API). If the command to play occurs before the load finishes, Winamp ignores it -- and it takes a second for the plugin to realizse this (because it has to poll Winamp to see what state the song is in).
Not being familiar with how the Sage plugin works, is it queing/playing one song at a time even if I tell sage to play an entire album?

Is there anything I can do on my system from a configuration/setup standpoint to minimize/eliminate this problem? It's a newly built system, pretty capable so I wouldn't think it's a matter of underperforming hardware.

I took a look at the SDK headers, it looks like out-of-proc control is pretty limited; I wonder if a better solution be to write a Winamp plugin that used the more full-featured in-proc interface (and could also use SendMessage to make calls synchronous when necessary), and then have the plugin expose something more robust to the Sage plugin (using LRPC or something else). I may explore this but probably won't have time for a while.
Reply With Quote
  #387  
Old 11-21-2006, 10:05 PM
Keith's Avatar
Keith Keith is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 111
Quote:
Originally Posted by deria
Something changed in the latest Winamp, I think. The Milkdrop visualization no longer seems to have a fake fullscreen mode.

In your specific case, it sounds like Winamp may simply not be taking focus when the visualization starts. Check the troubleshooting section in the first post for details on how Winamp should be configured.

I didn't have any trouble with the visualizations starting or stopping on my system, so I'm hoping its just a configuration issue.

EDIT: Also, isn't there an "always on top" option in SageTV? Maybe that's casuing a problem.
There is no "always on top" option in Sage unless it's buried in some obscure file. The default STV has no option for this.

I tried using an older WinAmp with the same result (5.1.12).

Milkdrop does have a fake fullscreen option in the latest build. That's not the problem as I've tried it both ways.

I checked and double checked the WinAmp settings.

Visualizations worked perfectly till I installed the v 6.0 beta.

Since it works for you please tell us which version of Sage, Winamp and the plugin you're using. Also What version of JRE and do you have *all* the latest XP hotfixes so we can rule those out.
Reply With Quote
  #388  
Old 11-22-2006, 07:46 AM
JDizzy JDizzy is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: O'side CA
Posts: 151
Quote:
Originally Posted by Keith
Also What version of JRE and do you have *all* the latest XP hotfixes so we can rule those out.
Funny you should mention the XP hotfixes... I seem to remember as recently as last weekend getting reminded (hassled) to install Internet Exporer v7 and some security (?) patches...
Soon thereafter I've got a problem....could be related I dunno... I should really start paying more attention...
Hmmm
JD
Reply With Quote
  #389  
Old 11-22-2006, 08:01 AM
Keith's Avatar
Keith Keith is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 111
Good point. I un-installed IE7 but it made no difference.

Back to square one.

I haven't updated the JRE on that machine in a long time. It's running 5.0 update 4 - if that makes a difference.
Reply With Quote
  #390  
Old 11-22-2006, 01:10 PM
deria deria is offline
Sage Aficionado
 
Join Date: Nov 2005
Posts: 408
Quote:
Originally Posted by jkohn
Not being familiar with how the Sage plugin works, is it queing/playing one song at a time even if I tell sage to play an entire album?
Yes, basically it works like this:

a) You tell SageTV to play a single song. It tells the mediaplayer-plugin to play a single song. The mediaplayer-plugin tells Winamp to load the song, waits for the song to load, then tells it to play it.

b) You tell SageTV to play a group of songs. It tells the mediaplayer-plugin to play a single song (the first one). The mediaplayer-plugin tells Winamp to load the song, waits for the song to load, then tells it to play it. At the end of the song, the mediaplayer-plugin tells SageTV that the song is done playing, and then SageTV tells the mediaplayer-plugin to play a single song (the next one). The whole process then repeats. Essentially, SageTV is managing the playlist itself (which is fine; it needs to be that way because a playlist oculd contain music, video files, files that the Winamp mediaplayer-plugin isnt expected to play, etc.)

As for what you can do to minimize the problem, not much. It crops up most often with files that Winamp is slow to load. If your files are on a network share, that will make the problem more evident. If your files have DRM, that will also make the problem more evident. The faster the file loads into Winamp, the less likely you are to see this delay.

Quote:
Originally Posted by jkohn
I took a look at the SDK headers, it looks like out-of-proc control is pretty limited; I wonder if a better solution be to write a Winamp plugin that used the more full-featured in-proc interface (and could also use SendMessage to make calls synchronous when necessary), and then have the plugin expose something more robust to the Sage plugin (using LRPC or something else). I may explore this but probably won't have time for a while.
That would certainly be a viable option, but its not something I intend to spend time on. I've been thinking about writing a Windows Media Player plugin that opens a port and listens for commands and issues responses. The plugin would easily accessible from regular Java code, and (in my opinion) would be quite robust. I haven't 100% decided to do this, but its something I'm thinking about. In the meantime, I'm satisfied with this plugin as-is. It isn't perfect, but its pretty good.
Reply With Quote
  #391  
Old 11-22-2006, 01:16 PM
deria deria is offline
Sage Aficionado
 
Join Date: Nov 2005
Posts: 408
Quote:
Originally Posted by Keith
Since it works for you please tell us which version of Sage, Winamp and the plugin you're using. Also What version of JRE and do you have *all* the latest XP hotfixes so we can rule those out.
Well, let's see.

SageTV 6.0.14

Winamp 5.31 (Milkdrop 1.4)

JRE = 1.5.0_06 (hmm, I don't recall installing that, but thats what SageTV reports)

I'm using XP MCE, with the latest rollup pack and the latest security fixes.
Reply With Quote
  #392  
Old 11-22-2006, 01:29 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by deria
Well, let's see.

SageTV 6.0.14

Winamp 5.31 (Milkdrop 1.4)

JRE = 1.5.0_06 (hmm, I don't recall installing that, but thats what SageTV reports)

I'm using XP MCE, with the latest rollup pack and the latest security fixes.
Mine is working just fine as well, although I have Java RE 1.6.0 with the latest snapshot.

I just installed the newest nVidia drivers for my video card, so I'm hoping that will fix the memory error I was getting before. So far so good, twice with Milkdrop, without the error.
__________________
-Jason
Reply With Quote
  #393  
Old 11-22-2006, 07:22 PM
JDizzy JDizzy is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: O'side CA
Posts: 151
MC and Winamp

Just to get things straight (in my head),

I have read through the instructions 100 times and still am not sure if, when running Sage MC you need to import the WinampHelperMenu.xml and go through all that in Studio.... (or can you just import it as an STVi like other plugins, or as I asked, is it needed with Sage MC)??

It says that Sage MC has built-in support.

Also, in the Sage.properties file, there is a line that says:
mlbdude/use_alternate_music_visualize=false

I have tried this line both true/false and it doesn't seem to make a difference. (is it needed?)

This is a bummer as I can remember when initially setting this up, it took a few days of trial and error and I never did understand why, one day it all of a sudden started working.....

I'll keep digging...
-JD
Reply With Quote
  #394  
Old 11-22-2006, 07:33 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by JDizzy
Just to get things straight (in my head),

I have read through the instructions 100 times and still am not sure if, when running Sage MC you need to import the WinampHelperMenu.xml and go through all that in Studio.... (or can you just import it as an STVi like other plugins, or as I asked, is it needed with Sage MC)??

It says that Sage MC has built-in support.
No, if you are using SageMC there is no need to import anything


Quote:
Also, in the Sage.properties file, there is a line that says:
mlbdude/use_alternate_music_visualize=false
This setting has actually been replaced in SageMC 6.3.0 by "sagemc/visualization" which can have the values "standard", "alternate", and "winamp". But no neeed to set this manually, it gets set by the corresponding options dialog of the "Visualization" button ...

Dirk
Reply With Quote
  #395  
Old 11-24-2006, 09:54 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Quote:
Originally Posted by geogecko
I'm getting this again. Seems to happen every time I launch the visualization now...

No one else is having the problem?
Okay, well, the newest driver for the video card did not fix the problem. After Sage has been sitting for a few days, I go back and play a song and the visualization gives me that error again.

I did find a way around it, if you look at the error message, it tells you what it is setting the texture size to.

In my case, it was going down from 2048x2048 to 1024x1024, so I just went into the Winamp Options, Preferences, then went down to Plug-in, and selected Milkdrop, and hit Configure.

Go to the "customizations" tab, and in the "Texture Size," put the value that it got changed to, in my case, 1024x1024. Once I did this, I haven't got the error message, at least, so far...
__________________
-Jason
Reply With Quote
  #396  
Old 11-26-2006, 01:42 AM
JDizzy JDizzy is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: O'side CA
Posts: 151
I would be happy to get an error message..at least then I would have some clue as to where to start.
I just can't figure out why I can not get Milkdrop to go in front of Sage.... or what might have changed to make it this way (after it was working forever)

I basically see the message that the visualization has started in the upper left hand corner of screen and Sage kind of gats a hazy look to it but Sage never drops to background....

Oh well...
-JD
Reply With Quote
  #397  
Old 11-26-2006, 02:33 AM
Keith's Avatar
Keith Keith is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 111
Quote:
Originally Posted by JDizzy
I would be happy to get an error message..at least then I would have some clue as to where to start.
I just can't figure out why I can not get Milkdrop to go in front of Sage.... or what might have changed to make it this way (after it was working forever)

I basically see the message that the visualization has started in the upper left hand corner of screen and Sage kind of gats a hazy look to it but Sage never drops to background....

Oh well...
-JD
You're not alone.

I have exactly the same problem.

There is something Deria isn't telling us. Something left out of the instructions. There has to be.
Reply With Quote
  #398  
Old 11-26-2006, 08:24 AM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Quote:
Originally Posted by Keith
There is no "always on top" option in Sage unless it's buried in some obscure file. The default STV has no option for this.
Um. Go into windowed mode <ctrl><shift>f then right click on the title bar.

Mick.
Attached Images
File Type: jpg ontop.JPG (21.0 KB, 235 views)
Reply With Quote
  #399  
Old 11-26-2006, 10:32 AM
Keith's Avatar
Keith Keith is offline
Sage Advanced User
 
Join Date: Sep 2005
Posts: 111
Quote:
Originally Posted by mickp
Um. Go into windowed mode <ctrl><shift>f then right click on the title bar.

Mick.

Interesting. Thanks.

By default "always on top is off".

Turning it on gave me visualizations.

This must be new in the Sage 6 betas?
Reply With Quote
  #400  
Old 11-26-2006, 10:55 AM
JDizzy JDizzy is offline
Sage Advanced User
 
Join Date: Apr 2006
Location: O'side CA
Posts: 151
Quote:
Originally Posted by mickp
Um. Go into windowed mode <ctrl><shift>f then right click on the title bar.

Mick.
And there we are.... something as simple as that was killing me....

Mick, here's to ya

Consider this * FIXED *

-JD
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 10:03 AM.


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