there was only one now backend (INI) and changing it on the fly
(as was supported before) can cause serious issues with
applications misbihaving and such
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
without extra path property check it can be emited twice (or even more?)
because MPV will try to use SSL and fallback to non-secure connection when
that is not possible and emit the event after load which, aside from being
innacurate for our use cases, causes unnecessary widgets actions.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
it has too many side effects that will complicate things more then it is
worth it to save a few MB of RAM per-application until load
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
I think the last use of it went away with KMenuBar, other parts Katana
mostly check for it so that they can ignore it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
one bug was that replay was not possible after sucessfull finish, another
one was that controls remained hidden after finish because path is empty
and finally the play/pause button was not update on finish because MPV does
not emit the event on finish (noted in the API docs)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
returing from the constructor prematurely is not a good idea because the
settings pointer may be left uninitialized, also issue a general warning
if mpv_create() failed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.
the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.
the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
also for debug builds an assert has been added to ensure that
memory has been freed as many times as it has been allocated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the automatically generated widgets source were not included in
the target sources because the sources list variable was overriden
but should have not been the case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the Java applet viewer has not been touch for a long time and I
suppose nobody will. the image plugin is useless when gwenview is
installed which is the image viewer for KDE.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>