Commit graph

9 commits

Author SHA1 Message Date
Ivailo Monev
fbf35f4caa kutils: improve media classes protocols check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-28 23:59:21 +00:00
Ivailo Monev
483854d35a kutils: add bits to control audio output of media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 23:23:07 +00:00
Ivailo Monev
cdacdd9bc4 kutils: allow multiple options to be passed to the KMediaWidget constructor
and make use of it in KHTML

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 18:18:53 +00:00
Ivailo Monev
dd06909ffb kutils: when the parent widget is KMainWindow use setCaption() to set title
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 06:32:39 +00:00
Ivailo Monev
05dd897b78 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 03:17:36 +00:00
Ivailo Monev
73d50c52e9 kutils: for some media classes bugs
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>
2016-03-25 04:43:58 +00:00
Ivailo Monev
3d92b0104f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 03:23:43 +00:00
Ivailo Monev
a26021c35c kutils: rework some parts of the media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-23 04:16:54 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
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>
2016-03-20 02:43:02 +00:00