Commit Graph

459 Commits

Author SHA1 Message Date
craig.p.drummond
37a4bf6d05 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
ef551186e4 Apply some cppcheck and scan-build suggestions...
BUG:129
2012-11-05 20:41:30 +00:00
craig.p.drummond
456ad135fc - 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
13d97d7146 For Linux Qt builds, use dbus to determine single app status. 2012-10-30 20:47:15 +00:00
craig.p.drummond
7a9fd754df Add 'Show Window' to KDE builds as well 2012-10-23 14:56:58 +00:00
craig.p.drummond@gmail.com
2c8f3d4177 Update displayed details when sream song changes.
BUG:116
2012-10-17 17:09:27 +00:00
craig.p.drummond
e2a4f2ba9a - 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
e474e095ee Put system-tray code into its own class 2012-10-15 18:43:30 +00:00
craig.p.drummond
237ba51f1b Add a GenreCombo class 2012-10-15 18:42:39 +00:00
craig.p.drummond@gmail.com
3852b6cdde Sort selected playqueue indexes before adding to stored playlist.
BUG:108
2012-10-15 11:12:31 +00:00
craig.p.drummond@gmail.com
a4c055159e Make quit/minimise-to-systray on close configurable.
BUG:103
2012-10-11 17:03:18 +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
e6d2094c86 - Fix missing 'edit' icons in non-oxygen icon sets
- Add icon to createAction
2012-10-10 18:41:43 +00:00
craig.p.drummond
467f920666 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
4a58dabadf 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
9573e1deb0 Cleanup network classes... 2012-10-08 17:24:26 +00:00
craig.p.drummond
863c6598c5 Add option to support GNOME media keys. 2012-10-05 21:36:50 +00:00
craig.p.drummond@gmail.com
e073d261e7 Only save settings when modified. 2012-10-05 11:05:49 +00:00
craig.p.drummond@gmail.com
76a0b78047 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
e228928571 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
a0c0cd9634 Support for modifiable keyboard shortcuts in Qt-only builds. (Code stolen from Quassel!) 2012-10-03 19:58:42 +00:00
craig.p.drummond
7562762728 Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
ee306b3d9f Add 'Add to playlist' action to playqueue context menu.
BUG:100
2012-10-02 11:19:05 +00:00
craig.p.drummond
c54feb8ca9 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
c40b32591f Re-add unity menubar, and closeEvent(), that were reverted by mistake! 2012-09-28 16:20:11 +00:00
craig.p.drummond
5f6352b593 Improve MPRISv2 interface. 2012-09-25 20:18:57 +00:00
craig.p.drummond
32f88a785a Only show OSD when we are actually playing a song. 2012-09-25 19:46:09 +00:00
craig.p.drummond
a713035a09 Show menubar when run under Unity. 2012-09-24 20:14:56 +00:00
craig.p.drummond
77f9e20a5d 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
7e9d278cf0 Use freedesktop notifications spec for Qt-only Linux builds. 2012-09-24 17:14:25 +00:00
craig.p.drummond@gmail.com
0fa2e1f3d3 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
486ba25e11 Only override closeEvent when we have a trayItem
BUG:96
2012-09-23 16:39:30 +00:00
craig.p.drummond@gmail.com
d3219a0ac7 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
f508ddbbc2 - 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
73d94a01e5 Add a shuffle icon that matches the repeat icon better. 2012-09-18 20:18:28 +00:00
craig.p.drummond
80ebbf5780 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
187636898e 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
258cca6d40 Fix saving/restore of window sizes 2012-09-12 18:57:03 +00:00
craig.p.drummond@gmail.com
3a665f7047 Fix some CMake issues
BUG:75
2012-09-10 12:32:58 +00:00
craig.p.drummond@gmail.com
5a7476b80b When refreshing DB, make sure Albums view is at top level.
BUG:78
2012-09-10 11:25:09 +00:00
craig.p.drummond
9654ce15a9 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
affa21ccc5 Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond
d5c7e9eac1 Consistency... 2012-09-03 19:06:57 +00:00
craig.p.drummond
0c61131818 Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond@gmail.com
e5059c0a48 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
6a29c8a261 Fix compilation!!!! 2012-09-02 20:17:35 +00:00
craig.p.drummond
5669f724f6 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
fad8f81f84 Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond
f4adbaf6a4 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
819344a6ac 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