Commit Graph

97 Commits

Author SHA1 Message Date
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
92502ea92e Use qlonglong for Position
Issue #1227
2018-03-01 23:42:28 +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
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
dacf12e62d Fix MPRIS length field.
Issue #1119
2017-11-10 23:38:52 +00:00
Craig Drummond
0810ec9e5b MPRIS: Fix updating of can go next/previous 2017-09-08 18:59:11 +01:00
Craig Drummond
9f747a4413 Set correct mpris:trackid
Issue #1082
2017-09-08 18:51:54 +01:00
Craig Drummond
ee8c4be50f 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
93f5e89dd5 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
5e95ceab61 Fix CanSeek
Issue #1034
2017-06-22 21:07:51 +01:00
Craig Drummond
e22dcf6d8c 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
41544ebabe Use newly correct MediaKeys dbus service name -
org.gnome.SettingsDaemon.MediaKeys
Issue #1010
2017-04-26 18:08:52 +01:00
Craig Drummond
5b96027fe4 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
1344695b8a No longer used 2017-04-22 11:16:35 +01:00
Craig Drummond
b4c533045b Show more radio stream data in MPRIS
Issue #1005
2017-04-20 18:07:46 +01:00
Craig Drummond
e67d6e3a23 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
98936e0504 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
b0eac263fd CanPause, Play, etc, never change - so no need to add to notification 2016-07-03 22:48:25 +01:00
Craig Drummond
c2ae75e4bf Always return true for MPRIS CanPlay, CanPause, etc. 2016-07-02 16:09:44 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
2d754d8ac1 Add option to disable MPRIS interface.
#707
2015-07-25 18:07:15 +01:00
Craig Drummond
31dbc7e2f9 Use mpd.cantata as DBus service name. 2015-04-25 15:23:28 +01:00
craig.p.drummond
12b7bf0e83 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
d902485e8c Add 'setCollection' to Cantata's DBUS interface.
BUG: 634
2015-02-25 18:24:22 +00:00
craig.p.drummond
2b92fa941a For Linux non-KDE builds, use login1 interface to detect system resuming. 2015-02-04 21:59:29 +00:00
craig.p.drummond
79e2880e1b Connect MPRIS stopAfterCurrent signal to correct action. 2014-10-01 11:03:32 +00:00
craig.p.drummond
c9cb3f6b5f Don't make media keys backend configurable, auto detect the best one. 2014-09-29 11:26:05 +00:00
craig.p.drummond
52b0af84ea Semi colon not needed after Q_UNUSED 2014-07-23 18:04:26 +00:00
craig.p.drummond
593acd3b3e Store radio station 'name' field in extra map 2014-06-16 19:14:18 +00:00
craig.p.drummond
acb78fd5fa No need to include mainwindow.h 2014-05-19 18:26:46 +00:00
craig.p.drummond
d29d9a8781 Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
0f320b7631 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
d0c0cfdeb0 Fix notification mem-leak 2014-03-06 20:07:34 +00:00
craig.p.drummond
9f17d0f02d - 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
2589ab2530 Auto-scroll lyrics
BUG: 405
2014-02-18 19:34:37 +00:00
craig.p.drummond
d63cdab075 ...actually, just remove showPage altogether... 2014-02-06 19:52:45 +00:00
craig.p.drummond
5fd0e072bc Make showPage take an integer, and not page name. 2014-02-06 19:51:26 +00:00
craig.p.drummond
88e7a4f700 If file path starts with /, then its not an MPD file 2014-01-16 19:31:12 +00:00
craig.p.drummond
85cba00e01 Correct assignment!!!! :-( 2014-01-08 19:48:29 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
81ebccd6c1 - Optionally support Qxt global shortcuts for Qt-only (Qt4) Linux, and Windows, builds.
- Move media-keys setting into shortcuts page.
2013-10-04 18:42:56 +00:00
craig.p.drummond@gmail.com
09eb6fe494 Clean up inhibit code, place logic into powermanagement class. 2013-09-03 11:25:23 +00:00
craig.p.drummond@gmail.com
b5bd20199a Inhibit suspend if this is enabled whilst playing 2013-09-03 11:16:45 +00:00
craig.p.drummond@gmail.com
fd14f3e988 Fix KDE compile 2013-09-03 11:14:09 +00:00
craig.p.drummond
a0ee974374 Add option to prevent system from suspending whilst playing (Linux only). 2013-09-02 18:25:54 +00:00
craig.p.drummond
4cc00b7aa1 For Qt4 less than 4.8.0, then use old dbus Qt type annotations. 2013-08-29 18:24:22 +00:00