103 Commits

Author SHA1 Message Date
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Kai Uwe Broulik
139e0b8713 Set low urgency hint for notifications and send along desktop entry
Allows the notification server to better identify where the notification comes from and that
it is a non-important notification that shouldn't e.g. clutter up the notification backlog.
Moreover, according to freedesktop Notifications spec the "appName" is a user-visible
name, so use applicationDisplayName for it.
2019-04-17 12:36:22 +02:00
Craig Drummond
087d5a1223 Fix greyscale images in notifications.
Issue #1447
2019-02-06 18:30:37 +00:00
Craig Drummond
ed947e2052 Encode ampersands
Closes #1439
2019-01-24 21:32:40 +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
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
96af98b5cb Use qlonglong for Position
Issue #1227
2018-03-01 23:42:28 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
padertux
dc8cbed1eb Refactor code to use C++11 overriding 2018-01-08 22:51:48 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
33e1800f39 Fix MPRIS length field.
Issue #1119
2017-11-10 23:38:52 +00:00
Craig Drummond
003cc3889a MPRIS: Fix updating of can go next/previous 2017-09-08 18:59:11 +01:00
Craig Drummond
554d41783e Set correct mpris:trackid
Issue #1082
2017-09-08 18:51:54 +01:00
Craig Drummond
fe8a736947 To support older GNOME settings daemon installations, if fail to use the
new MediaKeys DBUS interface the use the previous.
2017-09-02 18:01:12 +01:00
Craig Drummond
ae47e34bc6 To support alder GNOME settings daemon installations, revert to the
previous MediaKeys DBUS interface.
Issue #1060
2017-08-15 12:07:57 +01:00
Craig Drummond
c2032575e5 Fix CanSeek
Issue #1034
2017-06-22 21:07:51 +01:00
Craig Drummond
665b2acbcc Don't always return true for CanSeek, CanGoNext, CanGoPrevious. There
was a reason for this, but I can't remember...
Issue #1034
2017-06-21 22:48:02 +01:00
Craig Drummond
b2f17f3066 Use newly correct MediaKeys dbus service name -
org.gnome.SettingsDaemon.MediaKeys
Issue #1010
2017-04-26 18:08:52 +01:00
Craig Drummond
ed83208630 Make all of Cantata's internal actions accessible via DBUS. These can
then be used to bind to global shortcuts.

Issues #1007 #1009
2017-04-22 11:56:46 +01:00
Craig Drummond
3348c7b545 No longer used 2017-04-22 11:16:35 +01:00
Craig Drummond
05dd63f984 Show more radio stream data in MPRIS
Issue #1005
2017-04-20 18:07:46 +01:00
Craig Drummond
b63c6fbe26 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
eaca1f34f3 When listing albums where composer is used for artist grouping, place album artist name after album name if different from composer.
Issue #896
2016-10-16 22:33:41 +01:00
Craig Drummond
63a5208b6d CanPause, Play, etc, never change - so no need to add to notification 2016-07-03 22:48:25 +01:00
Craig Drummond
0e5c172671 Always return true for MPRIS CanPlay, CanPause, etc. 2016-07-02 16:09:44 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
9215b4bdf5 Add option to disable MPRIS interface.
#707
2015-07-25 18:07:15 +01:00
Craig Drummond
a048f62137 Use mpd.cantata as DBus service name. 2015-04-25 15:23:28 +01:00
craig.p.drummond
93b70ec240 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
fe45cefb5b Add 'setCollection' to Cantata's DBUS interface.
BUG: 634
2015-02-25 18:24:22 +00:00
craig.p.drummond
190670a986 For Linux non-KDE builds, use login1 interface to detect system resuming. 2015-02-04 21:59:29 +00:00
craig.p.drummond
e9505ae2c0 Connect MPRIS stopAfterCurrent signal to correct action. 2014-10-01 11:03:32 +00:00
craig.p.drummond
452bc33b2d Don't make media keys backend configurable, auto detect the best one. 2014-09-29 11:26:05 +00:00
craig.p.drummond
3538ff6578 Semi colon not needed after Q_UNUSED 2014-07-23 18:04:26 +00:00
craig.p.drummond
0e4bfcea2a Store radio station 'name' field in extra map 2014-06-16 19:14:18 +00:00
craig.p.drummond
cfdeb0d1be No need to include mainwindow.h 2014-05-19 18:26:46 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
7bcb40d159 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
e03c3cf685 Fix notification mem-leak 2014-03-06 20:07:34 +00:00
craig.p.drummond
28526dcf06 - Remove corner cover widget.
- Remove collapsing of interface.
- Move position label inbetween controls.
- Use only 1 line for song details.
2014-02-19 20:39:12 +00:00
craig.p.drummond
5c4b8d1c47 Auto-scroll lyrics
BUG: 405
2014-02-18 19:34:37 +00:00
craig.p.drummond
6e83445b76 ...actually, just remove showPage altogether... 2014-02-06 19:52:45 +00:00
craig.p.drummond
8be4538d37 Make showPage take an integer, and not page name. 2014-02-06 19:51:26 +00:00
craig.p.drummond
4201e936b5 If file path starts with /, then its not an MPD file 2014-01-16 19:31:12 +00:00
craig.p.drummond
810abcf4f4 Correct assignment!!!! :-( 2014-01-08 19:48:29 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00