Commit Graph

168 Commits

Author SHA1 Message Date
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
Craig Drummond
d0254777a5 Support playlists in local browse 2018-02-06 19:38:25 +00:00
Craig Drummond
b0a0682c5e Sort folder view items, as MPD does not seem to sort playlist names.
Closes #1148
2018-02-02 16:43:54 +00:00
Craig Drummond
3684f3b26d Add option to use 'Original Year' to display and sort albums.
Issue #1177
2018-02-01 19:36:27 +00:00
Craig Drummond
a5f5538969 Make track links in context view work with CUE files.
Closes #1179
2018-01-31 18:42:21 +00:00
Craig Drummond
bd75fe23f7 Only use lsinfo response parsing to detect non-MPD servers. If this
fails, assume MPD
2018-01-17 23:13:56 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
padertux
c2ee7e5ad8 Refactor code to use C++11 overriding 2018-01-08 22:51:48 +01:00
Craig Drummond
1e7318ae0c Don't show track number for single tracks
Issue #1155
2018-01-02 13:29:32 +00:00
Craig Drummond
72b744b67b For 'Single Tracks' ignore artist/album sort and music brainz IDs
Issue #1155
2018-01-02 10:18:40 +00:00
Craig Drummond
5ff2238fb7 Don't show year for 'Single Tracks' 2018-01-02 00:05:35 +00:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Stuart Prescott
1c20964aee Spelling fix 'Orignal' 2017-12-24 19:29:24 +11:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Wolfgang Scherer
7ff98497c3 forked-daapd does not generate valid play queue IDs 2017-11-20 06:30:36 +01:00
Wolfgang Scherer
c15170c621 Fix setServerType() 2017-11-20 05:36:09 +01:00