Commit Graph

24 Commits

Author SHA1 Message Date
Matthieu Bouron
51477c6eb2 HttpStream: properly detect stream url changes
Media url property has been removed in a previous commit.
2018-10-18 17:36:29 +02:00
Matthieu Bouron
f904eeb28f HttpStream: remove unused variable 2018-10-18 17:36:29 +02:00
Matthieu Bouron
f584da861d Fix build with libvlc
Fixes regression introduced by f8a8a5bb2d.
2018-10-01 16:29:02 +02:00
Matthieu Bouron
f8a8a5bb2d Wait QMediaPlayer buffering before entering playing state
QMediaPlayer needs to fill its internal buffer before it can play the
stream otherwise it can end up in a stalled state.

This commit also simplifies the logic for when the player needs to be
restarted and remove the need of an internal timer to poll the player
state.

Fixes choppy http playback.
2018-09-28 13:51:21 +02:00
Craig Drummond
26627b4140 If HTTP stream is not enabled, return -1 for volume 2018-09-19 17:16:53 +01:00
Ivan Radanov Ivanov
c9a3cd4f76 Add missing ifdef for libvlc support
QMediaPlayer related code was not ifdef'ed out when libvlc is used.
2018-09-18 08:28:26 +03:00
theirix
4699dee13f Fixed QMediaPlayer stuck with network streams
- QMediaPlayer is often stuck after stopping in InvalidMedia media state
and it is needed to call again setMedia and then play not just play.
- Fixed starting playback even if MPD state has not changed
2018-09-15 21:44:09 +03:00
Craig Drummond
6078090681 Fix libVLC crash with invalid HTTP streams - check with QUrl that URL is valid and scheme starts with http.
Issue #1329
2018-07-19 17:46:46 +01:00
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
a303313733 Finish(?) HTTP stream volume control
Issue #1173
2018-02-09 20:08:22 +00:00
Craig Drummond
6e16ac6f51 Initial work on HTTP volume control. 2018-02-08 21:56:48 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
fdd12eaaec When playing MPD's HTTP output, stop backend when MPD is paused.
Issue #1086
2017-09-24 16:51:55 +01:00
Craig Drummond
ecd323ef9f When playing MPD's HTTP output, only ask media backend to start playback
if it is not already playing.

Issue #1086
2017-09-24 09:39:32 +01:00
Tobias C. Berner
6376d0a1fb Fix QtMultimedia include
Don't include <QtMultimedia/QMediaPlayer> if the VLC backend is used.
2017-08-01 13:02:31 +02:00
Craig Drummond
4f7357c5bd Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +01:00
Craig Drummond
3a1491df7d When playing MPD's HTTP output stream, check periodically (for up to 2 seconds) to confirm backend is playing.
Issue #987
2017-04-03 18:46:12 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
18e2fb6dcf Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
9a64dd074f url property not used by libvlc backend 2015-12-06 13:34:03 +00:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
12b7bf0e83 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00