2527 Commits

Author SHA1 Message Date
Craig Drummond
680a4a8398 Stop user MPD instance from GUI thread when terminating, to ensure state can be saved.
Closes #1761
2022-01-11 12:08:14 +00:00
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
dbdc211da2 Use QCollator to compare strings. 2021-12-27 20:39:51 +00:00
Craig Drummond
b65b182629 Misc fixes - taken from https://github.com/fenuks/cantata 2021-12-27 17:05:24 +00:00
Craig Drummond
2af114c24d More build fixes 2021-12-23 16:56:51 +00:00
Craig Drummond
e68c4011af Fix looking for cover-art with MPD's new cue track file listing.
Issue #1759
2021-12-23 13:46:09 +00:00
Craig Drummond
980227806f Remove SoundCloud support, no longer works due to API changes.
Closes #1745
2021-10-06 18:19:21 +01:00
Craig Drummond
f9e7637468 Don't save queue if string entered in dave dialog but cancel button
pressed.

Closes #1739
2021-09-03 19:55:19 +01:00
Helmut Pozimski
d837de8669 Fix gui/main.cpp build with musl
Picked from VoidLinux:

188bc4852a (diff-413d61b1a38989fbf79759fb57901b99d629706587f21aa4b1b19fb8ef23fd4b)
2021-08-13 22:18:55 +02: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
b28aab0de1 fix deprecation: use QLocale to format date 2021-07-20 15:24:47 -04:00
John Regan
3d8a4cdca5 fix deprecation: QSysInfo::MV_10_8 obsolete 2021-07-20 13:01:43 -04:00
John Regan
737568bec7 fix deprecation: get pixmap by-value 2021-07-20 08:47:56 -04:00
John Regan
d0d3304942 fix deprecation: delta obsolete, use angleDelta 2021-07-20 08:46:34 -04:00
John Regan
93c4ea12c3 fix deprecation: QSet::toList 2021-07-20 08:44:23 -04:00
John Regan
0037676553 fix deprecation: QSet::fromList, use a listToSet template 2021-07-20 08:40:24 -04:00
John Regan
b2bb7b7ccd fix deprecation: endl is now Qt::endl 2021-07-20 08:15:36 -04:00
John Regan
cc0d116986 fix deprecation: QString::SkipEmptyParts is now Qt::SkipEmptyParts 2021-07-19 15:00:32 -04:00
Craig Drummond
b5775c7757 Move escapeActionText to Utils namespace 2021-06-14 08:35:14 +01:00
David Hoyes
e67a1aa61c Fix formatting of collection/output/partition names containing '&'
Qt interprets '&' inside action text as a key shortcut, so we should
escape it.
2021-06-13 12:36:19 +01:00
Ramon Cahenzli
d59b2fae8f Fix possessive 'its' 2021-05-13 08:02:12 +02:00
Craig Drummond
d50bd303b9 If Partitions supported, then show output menu if more than 0 2021-05-11 12:08:03 +01:00
Craig Drummond
07f6361974 Format changes 2021-05-11 12:07:45 +01:00
Craig Drummond
3f96bf6cd0 Only show outputs menu if more than 1 2021-05-11 12:07:07 +01:00
Craig Drummond
4539377701 Partitions requires MPD>=0.22 2021-05-11 12:06:35 +01:00
Craig Drummond
ef6f723ee0 Give dialog a parent 2021-05-11 12:06:07 +01:00
Craig Drummond
501a75c16e camelCase 2021-05-11 12:05:45 +01:00
David Hoyes
64614e8a03 Include current partition name in window title 2021-05-10 20:45:16 +01:00
David Hoyes
111d790968 Add controls for moving outputs between partitions 2021-05-10 20:45:06 +01:00
David Hoyes
aebc4af1e3 Add support for MPD partitions
MPD allows clients to create named "partitions", each with its own
queue, player and outputs. This commit adds controls to allow the user
to create, delete, and switch between partitions.
2021-05-10 20:45:06 +01:00
David Hoyes
9b4f273841 Trim trailing whitespace 2021-05-10 20:36:43 +01:00
Craig Drummond
37381ea2a8 Always check if queue song is different
Issue #1707
2021-05-06 07:09:32 +01:00
Craig Drummond
23f2c510e6 Fix updating now-plying metadata for radio streams that transmit track
numbers.
Issue #1707
2021-05-04 18:18:45 +01:00
David Hoyes
730bf0672a Integrate with the Mac Now Playing Info Center
This adds MacOS support for controlling cantata via hardware media keys,
or via the OS's Now Playing widget. Implements #614 and #1347.
2021-04-01 12:58:34 +01:00
Craig Drummond
efe380f9c2 Remove Spotify image search, also broken
Issue #1694
2021-03-16 12:06:52 +00:00
Craig Drummond
6df030b41a Remvoe google image searc - broken
Issue #1694
2021-03-16 12:06:26 +00:00
Craig Drummond
42bc396b32 Use HTTPS for all image searches 2021-03-16 12:06:04 +00:00
Craig Drummond
8bec9dd1f8 Remove option to select cover image providers, always use all.
Issue #1694
2021-03-16 12:05:28 +00:00
fenuks
8afd749743 Make cantata configuration wizard usable on smaller screens 2021-02-17 15:10:58 +01:00
Craig Drummond
9df2a54761 Disable scrollbing support, as auth changed.
Closes #1661
2021-01-03 10:15:42 +00:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Craig Drummond
07838308fd Remember, and restore, main window position.
Closes #1653
2020-11-22 14:57:35 +00:00
Craig Drummond
82a6798c83 - Better handling of CUE tracks when MPD is set to list as directory.
- Disable CUE parsing in cantata by default, as MPD handles this better now.

Issues #1650 and #1652
2020-11-17 12:06:04 +00:00
Craig Drummond
4d9bb761e6 Remove dirble from radio section, as its no longer active. 2020-11-08 10:46:17 +00:00
Julian Weissgerber
36ee751b77 Change default CDDB server from dead FreeDB to GnuDB 2020-06-29 21:55:41 +02:00
Thomas Uhle
afc0b2fcc1 Replace Utils::random() by QRandomGenerator::global()
qrand() and qsrand() which are used by Utils::random() and Utils::initRand()
respectively are deprecated. Utils::random() and Utils::initRand() are no
longer necessary because QRandomGenerator supports everything what is
needed.
2020-06-12 16:10:56 +02:00
Thomas Uhle
b797e225d4 Fix MainWindow::moveSelectionAfterCurrentSong()
Ignore current song in selection when moving selected songs within the play
queue to play them next.
2020-06-10 12:44:33 +02:00
Thomas Uhle
0df2710b9e Fix enabling of play queue navigation actions 'next' and 'previous'
To enable or disable 'next' action, just rely on MPD's status value
'nextSongId'. Enable 'previous' action when there is more than one item in
the play queue or one item for which its duration is known and this is more
than 5 seconds. That is to also support the feature to go to the start of a
track if already played 5 seconds of it at least (which was introduced in
version 2.4.0). Corresponding implementation of Mpris and ThumbnailToolBar
updated accordingly.
2020-05-30 17:00:12 +02:00