183 Commits

Author SHA1 Message Date
Craig Drummond
7cc3e3c196 MPRIS seeks command specifies an offset from current position.
Closes #1417
2018-12-09 20:38:21 +00:00
Craig Drummond
23cd241aa4 Fix MPD cover art retreival 2018-11-12 19:38:53 +00:00
Craig Drummond
e039683be7 Fix MPD albumart reading 2018-11-11 09:17:16 +00:00
Craig Drummond
16a8b739df For MPD>=21, use its albumart protocol to fetch covers. 2018-11-10 18:37:37 +00:00
Matthieu Bouron
229760c8ea HttpStream: cosmetics 2018-10-22 10:41:54 +02:00
Matthieu Bouron
da4b250024 HttpStream: stop the vlc player if MPD is paused 2018-10-22 10:31:27 +02:00
Matthieu Bouron
91889729ad HttpStream: simplify start player condition 2018-10-22 10:31:27 +02:00
Craig Drummond
1105ac4dd3 Don't stop library scan just because of failure in 1 directory.
Closes #1389
2018-10-18 19:29:22 +01:00
Matthieu Bouron
864ebcf66d 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
152042cfa0 HttpStream: fix reorder warning 2018-10-18 17:36:29 +02:00
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
Craig Drummond
7163230255 Don't try to reduce brackets when showing album name and year.
Issue #1373
2018-09-30 09:12:02 +01: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
201dc114d1 When getting 'basic' title of song, also remove any 'prod. XXX', etc.
values.
2018-09-11 22:38:18 +01:00
aqua36
1570018ea9 mpd-interface: basic(str) now strips producer names too 2018-09-11 20:08:37 +03:00
Craig Drummond
bc41098483 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
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
650f05430a Fix smart playlists with a rating range and no song include/exclude rules. 2018-06-24 16:18:27 +01:00
Craig Drummond
c6cdd780a3 Use 32-bit unsigned int to store output IDs.
Closes #1316
2018-06-23 09:24:32 +01:00
Craig Drummond
fca2efdd8c Store actual song path for local files (mainly affects windows
Issue #1304
2018-06-07 20:35:06 +01:00
Craig Drummond
d3249bf5ea Fix segfault...
Closes #1294
2018-05-29 07:19:38 +01:00
Craig Drummond
1e13266613 Ensure local playback enbled for user mpd
Issue #1293
2018-05-28 22:11:02 +01:00
Craig Drummond
69bc455ab4 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
f72947db47 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
370832f302 Embed mpd template 2018-05-16 22:46:18 +01:00
Craig Drummond
3b8f3360bd Guard acess to album key map
Issue #1269
2018-05-08 22:20:47 +01:00
Craig Drummond
b8ef7384f4 Revert #62537412bf66c023af3be969ec606c7f1fa4ab5f
Closes #1267
2018-05-05 12:04:46 +01:00
Craig Drummond
4c4afe82d8 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
62537412bf Open text files with QIODevice::Text
Issue #1261
2018-05-02 21:41:08 +01:00
Craig Drummond
e51229d1ed Only sort playlists in folders view, and place these after tracks.
Closes #1258
2018-04-30 17:40:49 +01:00
Craig Drummond
a197f5bf4e Update debug 2018-04-25 22:04:20 +01:00
Craig Drummond
d215562a07 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
8ff9019e0b Be more lenient when parsing times from CUE files.
Issue #1249
2018-04-24 22:49:24 +01:00
Craig Drummond
fc076d334e 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
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
578e3624b8 Use same format for notifications as for now playing widget.
Closes #1222
2018-02-25 21:53:46 +00:00
Craig Drummond
9b5ca00680 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
76d9e339f0 Fix context view for local files
Closes #1207
2018-02-13 18:54:25 +00:00
Craig Drummond
a303313733 Finish(?) HTTP stream volume control
Issue #1173
2018-02-09 20:08:22 +00:00
Craig Drummond
37b113bd93 Add isMuted to HttpStream 2018-02-09 18:09:10 +00:00
Craig Drummond
6e16ac6f51 Initial work on HTTP volume control. 2018-02-08 21:56:48 +00:00
Craig Drummond
ce6b9005fe And add tag editor 2018-02-07 19:48:01 +00:00
Craig Drummond
4512fb56a0 Add support for custom actions
Issue #1180
2018-02-07 19:31:08 +00:00
Craig Drummond
be209af3d3 Remove debug! 2018-02-06 20:48:34 +00:00
Craig Drummond
64fa127746 Fix reading priority for cantata streams 2018-02-06 20:48:01 +00:00