Commit Graph

459 Commits

Author SHA1 Message Date
craig.p.drummond
c4bc722d1f If group single tracks, or multiple artists, settings are changed, then rebuild library and device models frmo existing set of songs - as opposed to re-reading all songs from mpd/device. 2012-11-16 19:43:53 +00:00
craig.p.drummond
dc190b16ca Apply some cppcheck and scan-build suggestions...
BUG:129
2012-11-05 20:41:30 +00:00
craig.p.drummond
b43e563d22 - Remove MediaDeviceCache - as was not really being used as a cache.
- Move Solid device code into DevicesModel
- When list of mount-points changes, rescan devices. /Might/ help with BUG:127
2012-11-05 20:08:10 +00:00
craig.p.drummond
ef3b86cd8c For Linux Qt builds, use dbus to determine single app status. 2012-10-30 20:47:15 +00:00
craig.p.drummond
cdc5743b2d Add 'Show Window' to KDE builds as well 2012-10-23 14:56:58 +00:00
craig.p.drummond@gmail.com
0073bdced3 Update displayed details when sream song changes.
BUG:116
2012-10-17 17:09:27 +00:00
craig.p.drummond
21824a6571 - Create class to store contents of /proc/mounts
- Only update on changes
- Use this in RemoteFsDevice to check if device is connected
2012-10-16 21:04:18 +00:00
craig.p.drummond
931331bd81 Put system-tray code into its own class 2012-10-15 18:43:30 +00:00
craig.p.drummond
f90a21b7ae Add a GenreCombo class 2012-10-15 18:42:39 +00:00
craig.p.drummond@gmail.com
9833e9f0d7 Sort selected playqueue indexes before adding to stored playlist.
BUG:108
2012-10-15 11:12:31 +00:00
craig.p.drummond@gmail.com
6e10970251 Make quit/minimise-to-systray on close configurable.
BUG:103
2012-10-11 17:03:18 +00:00
craig.p.drummond@gmail.com
d5b8dcac77 - 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
5c68ed6503 - Fix missing 'edit' icons in non-oxygen icon sets
- Add icon to createAction
2012-10-10 18:41:43 +00:00
craig.p.drummond
5baf752026 For KDE builds, if run under Unity set KStatusNotifierItem status to Active - otherwise no item appears. 2012-10-09 15:41:47 +00:00
craig.p.drummond
21417f79ab Only start to play if there are some tracks in the queue. 2012-10-08 20:13:46 +00:00
craig.p.drummond@gmail.com
f7f02057de Cleanup network classes... 2012-10-08 17:24:26 +00:00
craig.p.drummond
56570dc7db Add option to support GNOME media keys. 2012-10-05 21:36:50 +00:00
craig.p.drummond@gmail.com
70677e1591 Only save settings when modified. 2012-10-05 11:05:49 +00:00
craig.p.drummond@gmail.com
c1db2bada8 In windows build, when close button is pressed always terminate the app, even when we have a system tray icon. (Matchs VLC behaviour)
BUG:103
2012-10-05 11:02:44 +00:00
craig.p.drummond
ea091e660e Unity menubar support for Qt builds only - as mods for shortcuts means we're not using standard actions, etc. 2012-10-04 08:34:30 +00:00
craig.p.drummond
974b50814c Support for modifiable keyboard shortcuts in Qt-only builds. (Code stolen from Quassel!) 2012-10-03 19:58:42 +00:00
craig.p.drummond
094354c66b Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
e2af2b394a Add 'Add to playlist' action to playqueue context menu.
BUG:100
2012-10-02 11:19:05 +00:00
craig.p.drummond
293c8f4b5d Play/Pause track when middle click on tray icon for Qt-only builds (KDE builds already have this). Thanks to spartanj for the patch. 2012-09-30 20:16:54 +00:00
craig.p.drummond
81fc4ec952 Re-add unity menubar, and closeEvent(), that were reverted by mistake! 2012-09-28 16:20:11 +00:00
craig.p.drummond
8ab381fe8b Improve MPRISv2 interface. 2012-09-25 20:18:57 +00:00
craig.p.drummond
f4b456d8bb Only show OSD when we are actually playing a song. 2012-09-25 19:46:09 +00:00
craig.p.drummond
94f039071f Show menubar when run under Unity. 2012-09-24 20:14:56 +00:00
craig.p.drummond
4c4b3ae8df Pass closeEvent to derived class if we are not using tray items. 2012-09-24 18:45:17 +00:00
craig.p.drummond@gmail.com
de22c98007 Use freedesktop notifications spec for Qt-only Linux builds. 2012-09-24 17:14:25 +00:00
craig.p.drummond@gmail.com
e12f70bbd4 Add 'Show Window' action to Linux Qt-only build - so that we have a way of restoring the Cantata window from the Unity menubar. 2012-09-24 11:23:47 +00:00
craig.p.drummond
701fc18d8c Only override closeEvent when we have a trayItem
BUG:96
2012-09-23 16:39:30 +00:00
craig.p.drummond@gmail.com
e5793d6b52 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
e704299f24 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
d1cb1f9ae0 Add a shuffle icon that matches the repeat icon better. 2012-09-18 20:18:28 +00:00
craig.p.drummond
ee457e227c Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
173712493c Device sync support for Qt-only builds. To support this, a cut-down version of Solid is included. 2012-09-17 18:39:01 +00:00
craig.p.drummond
5412af31d1 Fix saving/restore of window sizes 2012-09-12 18:57:03 +00:00
craig.p.drummond@gmail.com
5189bb0906 Fix some CMake issues
BUG:75
2012-09-10 12:32:58 +00:00
craig.p.drummond@gmail.com
92a370c41f When refreshing DB, make sure Albums view is at top level.
BUG:78
2012-09-10 11:25:09 +00:00
craig.p.drummond
b877562085 Add a server mode (with HTTP API) to cantata-dynamic. Intended so that dynamizer can run on same host as mpd 2012-09-07 19:42:17 +00:00
craig.p.drummond
de7478723f Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond
e4ad38abdb Consistency... 2012-09-03 19:06:57 +00:00
craig.p.drummond
86a9b9db5c Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond@gmail.com
1832ab8dc7 Use lupdate/lrelease for generating Qt translations from KDE ones.
Hack-around issues with Qt plural forms - use 'Tracks: 2' instead of '2 Tracks'
2012-09-03 11:27:16 +00:00
craig.p.drummond
f3518db48b Fix compilation!!!! 2012-09-02 20:17:35 +00:00
craig.p.drummond
5c7d22c72d Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
c7006bfaab Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond
49cc24eb46 Completly remove android changes - this NEVER worked very well, and never will with QWidgets :-( 2012-08-30 19:43:32 +00:00
craig.p.drummond
2034c11660 Force single-click activation in views. To enable double-click mode (which depends upon the style), edit cantatarc (KDE) or cantata.conf (Qt only) and set 'forceSingleClick=false' in the '[General]' section. 2012-08-30 19:37:59 +00:00