Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEsch committed Feb 12, 2022
1 parent ef74a7c commit 8057cf4
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 434 deletions.
6 changes: 4 additions & 2 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3661,18 +3661,20 @@ void CApplication::ActivateScreenSaver(bool forceType /*= false */)
m_screensaverIdInUse = "screensaver.xbmc.builtin.dim";
}

ADDON::AddonPtr screenSaver;
if (m_screensaverIdInUse == "screensaver.xbmc.builtin.dim" ||
m_screensaverIdInUse == "screensaver.xbmc.builtin.black" ||
m_screensaverIdInUse.empty())
{
return;
}
else if (CServiceBroker::GetAddonMgr().GetAddon(m_screensaverIdInUse, m_pythonScreenSaver,
else if (CServiceBroker::GetAddonMgr().GetAddon(m_screensaverIdInUse, screenSaver,
ADDON_SCREENSAVER, OnlyEnabled::CHOICE_YES))
{
std::string libPath = m_pythonScreenSaver->LibPath();
std::string libPath = screenSaver->LibPath();
if (CScriptInvocationManager::GetInstance().HasLanguageInvoker(libPath))
{
m_pythonScreenSaver = screenSaver;
CLog::Log(LOGDEBUG, "using python screensaver add-on {}", m_screensaverIdInUse);

// Don't allow a previously-scheduled alarm to kill our new screensaver
Expand Down
2 changes: 0 additions & 2 deletions xbmc/addons/interface/renderer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# See xbmc/addons/kodi-dev-kit/tools/code-generator.py.

set(SOURCES
GLShader.cpp
GLViewRenderer.cpp
)

set(HEADERS
GLShader.h
GLViewRenderer.h
IRenderHelper.h
)
Expand Down
280 changes: 0 additions & 280 deletions xbmc/addons/interface/renderer/GLShader.cpp

This file was deleted.

Loading

0 comments on commit 8057cf4

Please sign in to comment.