Commit Graph

52 Commits

Author SHA1 Message Date
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
craig.p.drummond
b7963d1507 Remove deprecated warnings 2013-08-12 18:29:29 +00:00
craig.p.drummond
7ef7aa3f00 Add stop after current to mpris interface 2013-05-29 19:02:55 +00:00
craig.p.drummond
e36a77abea Attmept to reconnect with gnome settings daemon restarts 2013-04-08 17:13:50 +00:00
craig.p.drummond
febed0d45a Add year info to mpris 2013-04-08 17:11:28 +00:00
craig.p.drummond
4b0dba4f93 Fix seek via mpris 2013-04-06 07:45:57 +00:00
craig.p.drummond
ff97adbb1a Call stopPlayback so that users stop preference (immediately/after-current) is taken into account. 2013-03-29 21:03:46 +00:00
craig.p.drummond
3d1629ab35 Implement 'Stop after current track' 2013-03-29 20:58:28 +00:00
craig.p.drummond
d94e9ea92a If configured to use GNOME MediaKeys, then start dbus service if it is not already started. 2013-03-28 19:15:09 +00:00
craig.p.drummond
7ccb5c0bd5 If we are not running under KDE, then attempt to start GNOME media keys daemon if it is not already started. 2013-03-27 22:03:29 +00:00
craig.p.drummond
c0e4dcca5e If song id changes, ensure we also update position 2013-03-24 16:38:01 +00:00
craig.p.drummond
d64e9e6d4b convertTime() 2013-03-24 16:00:17 +00:00
craig.p.drummond
804344f9e8 Formatting 2013-03-22 21:17:54 +00:00
craig.p.drummond
a4d3bdb6f2 Fix MPRIS position reporting 2013-03-22 20:59:40 +00:00
craig.p.drummond
88477affc1 Oops!!! 2013-03-21 13:05:28 +00:00
craig.p.drummond
4d02bf8598 Fix logic 2013-03-21 13:03:54 +00:00
craig.p.drummond
fe24faa873 Update notification and mpris when song in stram changes 2013-03-20 21:28:36 +00:00
craig.p.drummond
1db6bd079d Improve MPRIS interface - fix CanPlay/CanPause status update, and use micro seconds for times. 2013-03-20 19:34:10 +00:00
craig.p.drummond
c65fc7713c Support for Qt5 2013-02-08 17:57:02 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
102beb6d86 Use com.googlecode.cantata instead of org.kde.cantata for DBUS service, etc. 2013-01-22 18:09:21 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond@gmail.com
ef7d099c45 Use UPower (Linux/Qt) to detect when being resumed, and if so reconnect to MPD. 2012-12-03 12:27:55 +00:00
craig.p.drummond
4c083dcf3b Improve MPRIS data.
- Send AlbumArtist, if different from Artist
- Send Genre
- Artist, AlbumArtist, and Genre should be lists of strings
- Fix file/stream URLs

BUG:133
2012-11-22 21:12:27 +00:00
craig.p.drummond
13d97d7146 For Linux Qt builds, use dbus to determine single app status. 2012-10-30 20:47:15 +00:00
craig.p.drummond@gmail.com
610ef1b8b5 - Remove setting of dockmanager item to current cover. This is better handled by an extrna dockmanager helper script, as per amarok, etc.
- Remove option to enable/disable MPRIS interface, and always have enabled.
2012-10-11 11:05:21 +00:00
craig.p.drummond
fbbf8b6618 Fix mpris updates. Stops sound menu ccrashing, and shows cover art. 2012-10-08 20:56:36 +00:00
craig.p.drummond
863c6598c5 Add option to support GNOME media keys. 2012-10-05 21:36:50 +00:00
craig.p.drummond
68b259ea37 Q_SLOTS 2012-10-05 17:30:21 +00:00
craig.p.drummond
f0a49da90b Fix strings 2012-10-05 17:16:06 +00:00
craig.p.drummond
5f6352b593 Improve MPRISv2 interface. 2012-09-25 20:18:57 +00:00
craig.p.drummond@gmail.com
7e9d278cf0 Use freedesktop notifications spec for Qt-only Linux builds. 2012-09-24 17:14:25 +00:00
craig.p.drummond
d06dbf624d Have cantata-dynamic helper script send a dbus message when it starts and stops - so that cantata main window can show the current status if the helper is started externally. 2012-05-18 16:37:27 +00:00
craig.p.drummond@gmail.com
19300a508b - Move showPage dbus command out of Mpris class and into mainwindow
- Make MainWindow::showError visible on dbus interface
- When cantata-dynamic fails to locate any songs it will now emit an error and terminate.
2012-04-20 11:20:44 +00:00
craig
1f5a6d254f Remove 2012-04-17 15:54:53 +00:00
craig
693b26e27d - Add showPAge to MPRIS interface
- Add a 'search' action (Ctrl-F) that will move focus to curent tab's search
field - or to play queue search field (if play queue has focus).
2012-04-16 18:38:00 +00:00
craig
7912fea3e9 Correct kde4 desktop name 2012-04-16 18:36:46 +00:00
craig
70f456a446 Coding standard 2012-04-16 18:36:34 +00:00
craig
c30a67bf56 Support MPRIS Raise command 2012-04-16 18:36:24 +00:00
craig
7d67855fe7 Add now playing info to MPRIS interface 2012-04-14 10:43:14 +00:00
craig
693bf86889 When using MPRISv2 interface, dont attempt to play a song if the playqueue is empty! 2012-04-04 18:44:37 +00:00
craig
b450c6ad45 Reduce QMutex usage - have MPDStats/MPDStatus emitted as objects, and
stored in relevant classes.
2012-03-13 19:31:25 +00:00
craig
2f891a3b29 Add a workaround for dockmanager issues - dealy registration for .25secs. 2012-02-26 15:01:39 +00:00
craig
67366303a6 Delay checking of dockmanager running for 1/2 second - so that this does not happen immediately at start-up, othwise cantata hangs! 2012-01-04 19:20:50 +00:00
craig
73bc659d43 Cleanup 2012-01-04 19:19:13 +00:00
craig
7dad99ec88 Update copyright statements. 2012-01-04 19:15:55 +00:00