Achim Tuffentsammer wrote:
Hello
just a minor issue.
When the remote-plugins fails to open its input devices
(in its Start() method) it tries to display an error message
on the OSD. This crashes vdr since at this point there's no osd
or skin available:
...
Well, the description is from a time before there were skins.
Now we're facing a chicken-and-egg situation, because plugins
can implement skins, so before the plugins have been started,
there are no skins, yet (except for the default skins, which could
already be there, but that's probably not what a user who has
a skin that's implemented by a plugin wants).
So I guess the fix will be to create the default skins before
starting the plugins, have every skin set itself as the "current"
skin (so if the skin plugin is loaded before the remote plugin,
the error message will be given using the correct skin) and
calling Skins.SetCurrent() and cThemes::Load() after the plugins
have been started.
Klaus