Commit Graph

422 Commits

Author SHA1 Message Date
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
craig.p.drummond@gmail.com
08decd9648 Fix MPD dir accessibility check for qt builds 2012-08-23 17:49:59 +00:00
craig.p.drummond@gmail.com
7babf2210f Include kdeversion.h for KDE_IS_VERSION macro 2012-08-22 12:22:30 +00:00
craig.p.drummond@gmail.com
f351b411f0 For KDE<4.9 or Qt (Linux) builds, monitor /proc/mounts for changes - to know whether MPD dir is accessible or not. 2012-08-22 11:28:00 +00:00
craig.p.drummond@gmail.com
6274223406 When displaying year, get the year from the album - as this maybe different per track of album (if the album is a compilation) 2012-08-21 17:55:30 +00:00
craig.p.drummond@gmail.com
4e92b257d8 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
87bc6a442d If we have no song tag details, show filename in playqueue.
BUG:59
2012-08-21 11:28:52 +00:00
craig.p.drummond@gmail.com
0cf607d85b Dont need to stop dynamizer unless connection details have changed. 2012-08-16 17:14:32 +00:00
craig.p.drummond@gmail.com
65170508fe When press CTRL-F, put focus on playqueue search if its currently on one of the playqueue buttons. 2012-08-15 11:13:49 +00:00
craig.p.drummond@gmail.com
8cfb8a8380 Allow 'showPage' dbus command to also show playqueue (if this has been placed in the sidebar) 2012-08-15 11:12:55 +00:00
craig.p.drummond@gmail.com
df457ff5a2 More consistent control of prev/next buttons. 2012-08-15 11:12:33 +00:00
craig.p.drummond@gmail.com
025ff2ee76 Dont attempt to get current song if we are still inactive 2012-08-15 11:12:13 +00:00
craig.p.drummond@gmail.com
7d8691a642 Use QWIDGETSIZE_MAX and not INT_MAX to set maximum height of expanded interface. 2012-08-15 11:11:36 +00:00
craig.p.drummond
129521949f If 'showPage' is called (via DBUS interface), ensure interface is expanded. 2012-08-13 18:55:33 +00:00
craig.p.drummond@gmail.com
ce6244a874 Cant use 'isVisible' to detect when expanded/collapsed - as we might be hidden in system tray!! 2012-08-13 11:07:32 +00:00
craig.p.drummond
3acb9b0329 Show current song details in tooltip of notification icon for Qt builds as per KDE builds. 2012-08-12 17:15:59 +00:00
craig.p.drummond
f89c6435ee In Qt (Linux) build, also register org.kde.cantata service - so that messages from dynamic helper can be recieved. 2012-08-12 14:13:33 +00:00
craig.p.drummond@gmail.com
bd5e78b4ce Fix some sizing issues 2012-08-10 12:39:37 +00:00
craig.p.drummond
19092d1c1f - Reset status when connection lost.
- Dont attempt to send commands if not connected.
2012-08-09 20:57:15 +00:00
craig.p.drummond
f172d389c1 If we show an error, or info, message whilst using compact interface - then adjust size to take message widget into account. 2012-08-09 20:26:42 +00:00
craig.p.drummond
76ac26c2b7 More work on reconnectnig after 'resume'
- Use a QTimer, so that we can have queued connection
- Show info mesasge (if taken longer than 1 second) to indicate that we are resuming
2012-08-09 19:44:33 +00:00
craig.p.drummond@gmail.com
a77766af8a When restoring window from notification area, also raise and activate the window. 2012-08-08 11:42:32 +00:00
craig.p.drummond
40a5663293 To help with windows build, embed pre-rendered versions of main icon. 2012-08-07 19:38:33 +00:00
craig.p.drummond
8a1cd70eba Rename 'small' parameter - to fix build issue with windows. 2012-08-06 19:07:12 +00:00
craig.p.drummond@gmail.com
979e819121 Fix crash when toggling playqueue in sidebar at application start-up.
BUG:48
2012-07-23 10:51:46 +00:00
craig.p.drummond
b6e5592884 When fading on stop, reset original volume immediately before sending stop.
BUG:46
2012-07-10 20:18:35 +00:00
craig.p.drummond
ef39409fd4 Dont update MPD volume just after we receive a status update - as MPD already has that setting! Fixes an issue with pulseaudio setups - where MPD disconnects from pulse audio, tells cantata that volume is -1, and cantata attempts to set volume to 0.
BUG:46
2012-07-10 20:09:10 +00:00
craig.p.drummond@gmail.com
a82277d880 When expanding interface, set max size to INT_MAX. Otherwise, on windows at least, the maximise button can get disabled.
BUG:45
2012-07-10 17:36:01 +00:00
craig.p.drummond@gmail.com
d09399dc27 Ensure correct phonon state at start-up. 2012-07-10 17:14:35 +00:00
craig.p.drummond@gmail.com
2eb2ffb081 Display version number in Qt-only about dialog. 2012-07-10 12:06:53 +00:00
craig.p.drummond
a949d4a322 Detect when this is the first time a user has run Cantata. If so, don't place the play queue in the sidebar. 2012-07-09 18:41:44 +00:00
craig.p.drummond
92a6d518ef Fix auto-hiding splitter issues when toggle playqueue in sidebar:
1. Autohide is off, play queue is placed in the right part of the splitter (as in previous versions of Cantata), and the splitter handle is set to about 0.5 of whole windows width
2. Turn on sidebar autohide
3. Place the play queue in the sidebar
4. Remove the play queue from the sidebar
5. Result: the sidebar autohides (as expected), but occupies the whole width when expanded (and not the 0.5, as previously). 

Patch by Piotr Wicijowski
2012-07-03 19:35:46 +00:00
craig.p.drummond
1c8fac8e8d Fix spelling!!!! 2012-07-03 18:43:42 +00:00
craig.p.drummond
432df7fdc4 Add default priority action 2012-07-03 18:40:33 +00:00
craig.p.drummond
30b35f9dca Stop position timer whilst dragging slider. 2012-07-03 18:40:09 +00:00
craig.p.drummond
5b51354e24 Fix setting custmo priority in play queue. 2012-07-03 18:39:51 +00:00
craig.p.drummond
169f8a97d9 - Use better names for library/folder loading signals.
- Don't pass dbDateTime into load function, instead store dbDateTime in connection and use this.
- Don't store db time all over the place in the GUI thread, turn MPDStats into a singleton like MPDStatus and use that
2012-06-27 17:05:48 +00:00
craig.p.drummond@gmail.com
261782f8c6 Create a dummy clas for PlayQueuePage, so that when we save its name to the config file we get a more meaningfull name. 2012-06-26 11:10:39 +00:00