Commit Graph

195 Commits

Author SHA1 Message Date
Craig Drummond
4ce3bd72d2 If hostname starts with a at (@) treat as local socket.
Issue #1486
2019-05-15 16:47:34 +01:00
Craig Drummond
aaa3c87e8e Apply CueFile changes
Issue #1461
2019-05-12 10:18:19 +01:00
Craig Drummond
1de35af55b Revert some changes
Issue #1461
2019-04-27 09:26:18 +01:00
Craig Drummond
22de6a05b3 Fix compile
Issue #1461
2019-03-29 17:58:33 +00:00
Craig Drummond
001f434905 Parse more fields from CUE files.
Issue #1461
2019-03-29 17:52:23 +00:00
Craig Drummond
48fd4942d7 Apply 'Single Tracks' tweak to play queue items
Issue #1471
2019-03-20 17:01:18 +00:00
Clément Pit-Claudel
e1e15a1d2d Disable zeroconf for local MPD instances
Instances of MPD started by Cantata do not need to register with Avahi, but
zeroconf_enabled defaults to "yes".
2019-03-07 15:34:56 -05:00
Craig Drummond
0690393854 In toolbar, disaply "Composer - Artist - Album" (for composer genres)
Issue #1460
2019-03-01 21:50:45 +00:00
Craig Drummond
ddd46cde1a For genres listed in "Composer Support" tweak, shown composer instead of
artist in context view and toolbar.
Issue #1460
2019-03-01 21:36:57 +00:00
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