Commit Graph

38 Commits

Author SHA1 Message Date
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
b65b182629 Misc fixes - taken from https://github.com/fenuks/cantata 2021-12-27 17:05:24 +00:00
Craig Drummond
059aceb95d Fix build issues due to previous change. #1727 2021-07-29 12:13:42 +01:00
Craig Drummond
31b8a6d9b9 Revert "Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings""
This reverts commit be9c1e74e0.
2021-07-29 12:00:04 +01:00
Craig Drummond
be9c1e74e0 Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings"
This reverts commit cb18837d11, reversing
changes made to b296cf7113.
2021-07-28 19:44:57 +01:00
John Regan
48f38762d3 fix deprecation: canonicalUrl obsolete 2021-07-20 08:48:29 -04:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Matthieu Bouron
36183d7678 HttpStream: cosmetics 2018-10-22 10:41:54 +02:00
Matthieu Bouron
63b574ae67 HttpStream: stop the vlc player if MPD is paused 2018-10-22 10:31:27 +02:00
Matthieu Bouron
dc899a15c9 HttpStream: simplify start player condition 2018-10-22 10:31:27 +02:00
Matthieu Bouron
7b4c47118c HttpStream: remove unneeded check on player media url
This check is already performed in streamUrl().
2018-10-18 17:36:29 +02:00
Matthieu Bouron
25ae4308b5 HttpStream: fix reorder warning 2018-10-18 17:36:29 +02:00
Matthieu Bouron
c7a453283f 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
8d0f826318 HttpStream: remove unused variable 2018-10-18 17:36:29 +02:00
Matthieu Bouron
5bf93d025e Fix build with libvlc
Fixes regression introduced by f8a8a5bb2d.
2018-10-01 16:29:02 +02:00
Matthieu Bouron
286a3fdc94 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
9842346e06 If HTTP stream is not enabled, return -1 for volume 2018-09-19 17:16:53 +01:00
Ivan Radanov Ivanov
dc96dad371 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
ea0e8acf29 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
7ecc8ed3c4 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
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
6966a64d31 Finish(?) HTTP stream volume control
Issue #1173
2018-02-09 20:08:22 +00:00
Craig Drummond
a3d2c1f24d Initial work on HTTP volume control. 2018-02-08 21:56:48 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
51fbdc48b7 When playing MPD's HTTP output, stop backend when MPD is paused.
Issue #1086
2017-09-24 16:51:55 +01:00
Craig Drummond
f1bc08848a 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
c573c15507 Fix QtMultimedia include
Don't include <QtMultimedia/QMediaPlayer> if the VLC backend is used.
2017-08-01 13:02:31 +02:00
Craig Drummond
b3bc9b456c Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +01:00
Craig Drummond
529ab99987 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
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
b0b0140d98 Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
50b1ce6618 url property not used by libvlc backend 2015-12-06 13:34:03 +00:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
93b70ec240 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