Commit Graph

186 Commits

Author SHA1 Message Date
Craig Drummond
5a0260cbd7 Add missing else
Issue #1433
2019-01-05 14:14:49 +00:00
Craig Drummond
af6a825ad3 Merge branch 'master' into 2.4 2018-12-30 10:48:34 +00:00
Craig Drummond
9d9089c67f MPRIS seeks command specifies an offset from current position.
Closes #1417
2018-12-09 20:38:21 +00:00
Craig Drummond
a21827b102 Fix MPD cover art retreival 2018-11-12 19:38:53 +00:00
Craig Drummond
31a561284c Fix MPD albumart reading 2018-11-11 09:17:16 +00:00
Craig Drummond
06cf4c4e3d For MPD>=21, use its albumart protocol to fetch covers. 2018-11-10 18:37:37 +00: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
Craig Drummond
3e7a0132a9 Don't stop library scan just because of failure in 1 directory.
Closes #1389
2018-10-18 19:29:22 +01: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
Craig Drummond
2a80f73609 Don't try to reduce brackets when showing album name and year.
Issue #1373
2018-09-30 09:12:02 +01: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
251d9bf3de When getting 'basic' title of song, also remove any 'prod. XXX', etc.
values.
2018-09-11 22:38:18 +01:00
aqua36
eb7f2f146b mpd-interface: basic(str) now strips producer names too 2018-09-11 20:08:37 +03:00
Craig Drummond
c8d9490b36 Add option to remove invalid tracks from playlists
Closes #1271
2018-09-02 14:50:31 +01:00
Craig Drummond
a95292deb2 Use same 'album key' for all discs in an album, so that playqueue groups them together, and shuffle by albums keeps them together.
Closes #1349
2018-08-23 17:47:58 +01: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
7d989d609a Fix smart playlists with a rating range and no song include/exclude rules. 2018-06-24 16:18:27 +01:00
Craig Drummond
0bf0cb841a Use 32-bit unsigned int to store output IDs.
Closes #1316
2018-06-23 09:24:32 +01:00
Craig Drummond
3fd2f72461 Store actual song path for local files (mainly affects windows
Issue #1304
2018-06-07 20:35:06 +01:00
Craig Drummond
c29481cb04 Fix segfault...
Closes #1294
2018-05-29 07:19:38 +01:00
Craig Drummond
a2350ec740 Ensure local playback enbled for user mpd
Issue #1293
2018-05-28 22:11:02 +01:00
Craig Drummond
d6aeb45157 When looking for lyrics, remove "ft. X", "featuring X", etc, from song title as well as artist.
Issue #1286
2018-05-20 13:41:05 +01:00
Craig Drummond
7f91b22e76 Don't report errors when listing playlists, as MPD reports error if user has disabled these.
Closes #1284
2018-05-19 16:01:43 +01:00
Craig Drummond
e852be0c4b Embed mpd template 2018-05-16 22:46:18 +01:00
Craig Drummond
7ec3498ea2 Guard acess to album key map
Issue #1269
2018-05-08 22:20:47 +01:00
Craig Drummond
80276b0292 Revert #62537412bf66c023af3be969ec606c7f1fa4ab5f
Closes #1267
2018-05-05 12:04:46 +01:00
Craig Drummond
861d517f11 When searching on 'any', do a second search on 'file' and combine results.
Looks as if MPD does not search filenames/paths when using 'any.'
Issue #1264
2018-05-03 17:11:37 +01:00
Craig Drummond
ea2efb04e2 Open text files with QIODevice::Text
Issue #1261
2018-05-02 21:41:08 +01:00
Craig Drummond
c2ca4c41ac Only sort playlists in folders view, and place these after tracks.
Closes #1258
2018-04-30 17:40:49 +01:00
Craig Drummond
c692ef79e4 Update debug 2018-04-25 22:04:20 +01:00
Craig Drummond
140aa1e674 Use last index value and total file duration to determine duration of
last track in CUE file.
Issue #1249
2018-04-25 18:50:24 +01:00
Craig Drummond
f1af5a9b18 Be more lenient when parsing times from CUE files.
Issue #1249
2018-04-24 22:49:24 +01:00
Craig Drummond
7bdd6d69a6 Take fractional part of time into account when calculating durations for
Cue file tracks
Issue #1249
2018-04-24 22:29:25 +01:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
f736b6fb67 Use same format for notifications as for now playing widget.
Closes #1222
2018-02-25 21:53:46 +00:00
Craig Drummond
ff48cfa0c0 Cleanup some settings. No longer offer to save lyrics, artist images,
and backdrops in MPD folder, just save in cache dir. Move cover setting
into interface settings - in a new 'Covers' tab.
2018-02-15 20:18:08 +00:00
Craig Drummond
151d2bbc61 Fix context view for local files
Closes #1207
2018-02-13 18:54:25 +00:00
Craig Drummond
6966a64d31 Finish(?) HTTP stream volume control
Issue #1173
2018-02-09 20:08:22 +00:00
Craig Drummond
bbeaf1addd Add isMuted to HttpStream 2018-02-09 18:09:10 +00:00
Craig Drummond
a3d2c1f24d Initial work on HTTP volume control. 2018-02-08 21:56:48 +00:00
Craig Drummond
95b178773d And add tag editor 2018-02-07 19:48:01 +00:00