Commit Graph

742 Commits

Author SHA1 Message Date
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
c6c17831a5 Only need to download/parse streams (to check if they are a playlist) when
added from the streams page. (Streams in an MPD playlist will not be
playlists themselves, as MPD does not support this.)
2012-10-16 18:07:10 +00:00
craig.p.drummond@gmail.com
e6b4f5c10e Sort indexes before adding to playqueue 2012-10-16 12:22: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
475c33c57e selectedFiles() is not used. 2012-10-15 18:41:28 +00:00
craig.p.drummond
5458ac2e11 Move menu icon itno Icons 2012-10-15 18:41:00 +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
9da2c2e9ae By default i18n strings are american english. 2012-10-12 12:18:29 +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
334397fe94 - Remove cover fetching from dyanmizer
- Only add config item for dynamizer port, as remote dynamizer should really be on the same machine as MPD.
2012-10-10 19:00:28 +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@gmail.com
c325a9ed28 Move cacheDir/configDir helpers into Utils 2012-10-08 11:35:29 +00:00
craig.p.drummond@gmail.com
67e6bac8d9 Move most of Utils into support lib 2012-10-08 11:22:54 +00:00
craig.p.drummond@gmail.com
bac416a47d Configured filename is only name part, no extension. Allows for ${coverName}.jpg and ${coverName}.png
BUG: 104
2012-10-08 11:06:48 +00:00
craig.p.drummond
04a0c519a2 Add setting to control name of downloaded cover files.
BUG: 104
2012-10-07 19:27:29 +00:00
craig.p.drummond
831ca93bce ToggleButton is never used... 2012-10-07 15:51:38 +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
868e662b2c Fix missing icons in windows build. 2012-10-05 11:03:07 +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
a7dc456a8f Create PageWidget class, to reduce KDe/Qt differences in preferences dialog 2012-10-03 19:16:01 +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@gmail.com
cdf96543f6 Fix image/icon size, and spacing issues, in sync dialog when the library view is set to use icon/list style.
BUG:99
2012-10-02 11:18:07 +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
7b766008d7 Fi we get to the 'similar' section of the last.fm response before finding an image, stop looking.
BUG:94
2012-09-22 13:33:48 +00:00
craig.p.drummond@gmail.com
92a5c76179 Add 10% extra height for sizeHint()'s of artist/track labels.
BUG:93
2012-09-21 17:01:22 +00:00
craig.p.drummond@gmail.com
7f1707e1e4 Only look at images within artst/album section.
BUG:94
2012-09-21 11:46:07 +00:00
craig.p.drummond@gmail.com
ee479a3493 Add a custom spinbox to closer match Gtk3's large button spinbox style. Only for linux builds NOT run under KDE, and using QGtkStyle. 2012-09-21 11:08:09 +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
f969fb4345 Add a ON/OFF style checkbox for linux builds when NOT run under KDE. 2012-09-19 18:42:14 +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