Visualisation timer
#1
Can someone please point me in the right direction to the timer that automatically switches to music visualisation from the gui.

I'd like to alter the time out.

Thanks
Reply
#2
buges Wrote:Can someone please point me in the right direction to the timer that automatically switches to music visualisation from the gui.

I'd like to alter the time out.

Thanks

xbmc/music/dialogs/GUIDialogVisualisationPresetList.cpp
xbmc/xbmc/guilib/GUIVisualisationControl.cpp
xbmc/xbmc/music/windows/GUIWindowVisualisation.cpp
xbmc/xbmc/addons/Visualisation.cpp

What dev tools are you using? Most IDE's have some kind of search function...
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#3
Thanks

Im using vs2010 express, I think it's "m_idleTimer" in application.cpp that controls it, but i cant find the value to change it.
Reply
#4
buges Wrote:Thanks

Im using vs2010 express, I think it's "m_idleTimer" in application.cpp that controls it, but i cant find the value to change it.

This is what I usually do:
1. Lookup any related UI dialogue string in strings.xml, i.e "xbmc/language/English/strings.xml"
2. Find the corresponding enum/class definition, i.e search using your IDE.
3. Make a another search to find out all class name/members references.
4. Use the debugger to inspect and change values ...
1. XBMC: http://github.com/FlyingRat/xbmc (ffmpeg-head-inc-xbmc-patches)
2. FFmpeg: http://github.com/FlyingRat/FFmpeg (ffmpeg-head-with-xbmc-custom-patches)
3. XBMC-updated-FFmpeg-binaries (just dev snapshots, no regular distros)
Reply
#5
it's using the screensaver timer. which kinda makes sense with the setting text being 'use visualization if playing audio' + it being under screensaver settings, no?
Reply
#6
Thanks spiff & flyingrat
Reply

Logout Mark Read Team Forum Stats Members Help
Visualisation timer0