|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
|||
|
|||
So I was wondering, now that we can use WinAmp to play media files, would there be an easy way to integrate CD playing into the mix somewhere, even if its played through WinAmp?
Or at least have WinAmp spit back the track # / time to Sage to display? |
#62
|
|||
|
|||
This works great! It even kept my winamp plugin "Toaster" and they look great together with Sage.
Excellent, Thanks!
__________________
Server: AMD Barton 2500+, WinXP, 1Gig RAM, HD Homerun Clients: HP dm1(E350), HD-100 |
#63
|
|||
|
|||
Quote:
__________________
Charles Lee |
#64
|
||||
|
||||
Quote:
|
#65
|
|||
|
|||
Quote:
Before I think much more of that, I'd like to get a better handle on visualizations. Right now they basically work if you're NOT using FSE. One person has reported that even when not using FSE, when he exits the visualization Winamp has focus instead of SageTV. Is anyone else experiencing that problem? |
#66
|
|||
|
|||
Quote:
|
#67
|
|||
|
|||
Quote:
|
#68
|
|||
|
|||
Quote:
the only time i had that problem occur was when winamp was minimised to the task bar. when i set it to minimize to the system tray that problem went away. |
#69
|
|||
|
|||
Quote:
|
#70
|
|||
|
|||
Quote:
Now that I can reproduce the problem, I'll see if theres anything that I can do about it. It might be beyond my control, but I'll certainly try. |
#71
|
|||
|
|||
i wonder how MS mce 2005 handles the vizualizations? that too uses FSE and basically calls MP10 for it's files and vizualizations. my dad's mce install always has a pause when switching between video modes so i assume it releases FSE mode to each module?
|
#72
|
|||
|
|||
I got it working adding mlbdude/use_winamp_plugin=true.
Good luck on FSE... I think to get that working would require a different approach so that the visualization was actually being played through sage, which is peobably a lot harder. Thanks for the work, hopefully my wife will not notice the change with FSE disabled! |
#73
|
|||
|
|||
Quote:
|
#74
|
|||
|
|||
Ok!
The CPU usage issue with DRM'd WMA files is now fixed. In fact, the problem that was occuring could have affected any type of file if Winamp was slow enough about loading it. I'll be releasing a new release of the plugin after I do some testing to make sure I didn't break anything else. I'll keep you all posted. |
#75
|
|||
|
|||
I have released version 1.4 of this plugin. It contains the following changes:
-The MediaPlayer will now play DRM'd WMA files (and any other slowly loading file) without freaking out and using the entire CPU. This was caused by a race condition between two threads (basically I was reporting that the file was "loaded" before it actually was, so when SageTV asked for the duration of the track it would return 0 if the track loading in the background loaded too slowly.) -The MediaPlayer will now no longer allow SageTV to instruct it to seek to a negative position. -The (ridiculous amounts of) tracing code added to diagnose the problems detected so far has been removed (gives an overall minor performance increase). -The "track duration" calculation done by SageTV (which is displayed on the "now playing" screen) does not seem to be the duration returned by the MediaPlayer and is therefore not very accurate (and always 0 for a audio file type that SageTV cannot work with natively) -- two new methods have been added to the WinampHelper class to allow STV developers to get the correct track elapsed time and track duration when using this plugin. To use these methods, do the following: 1. In the "BeforeMenuLoad" hook of your menu, add the following items: -an "if" statement with the text "GlobalWinampHelper == null" -a branch statement with the text "true" (as a child of the "if" statement) -an action statement with the text "AddGlobalContext("GlobalWinampHelper", new_WinampHelper())" (as a child of the "true" branch) 2. When you want to get the elapsed time for the track, add an action with the text "WinampHelper_WHElapsed(GlobalWinampHelper)". 3. When you want to get the total track duration, add an action with the text "WinampHelper_WHDuration(GlobalWinampHelper)". Note that these two functions are only valid for files that are being handled by this plugin and only valid WHILE the plugin is playing a file. |
#76
|
|||
|
|||
The documentation in the first post has been updated.
|
#77
|
|||
|
|||
Quote:
Thanks, mike |
#78
|
|||
|
|||
Quote:
EDIT: Folder art should work fine as long as the art is in a separate file (ie: not in the media file). |
#79
|
|||
|
|||
Is there any reason that playing .m3u or .pls playlists should not be working for me? I was hoping that when I selected them to play, WinAmp would just begin playing the files as streaming audio. When I select them, the pause indicator comes up in the bottom left hand corner of the screen (SageMCE) and nothing plays.
- Dan |
#80
|
|||
|
|||
Quote:
1) does it happen with the default STV? 2) does it happen with the default media-player? 3) if you create a playlist inside SageTV does that work? You could try adding these lines to your sage.properties and/or sageclient.properties file: media_player_plugin_class/m3u=WinampPlugin media_player_plugin_class/pls=WinampPlugin I wouldn't expect that to work though. Let me know the answers to the two questions above though and we'll see where we are. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|