Commit Graph

399 Commits

Author SHA1 Message Date
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
craig.p.drummond
aa767c824e Always add auto-hide splitter action to sidebar menu. Just change the visibility of this when playqueue is added/removed from sidebar.
BUG:38
2012-06-25 18:03:26 +00:00
craig.p.drummond
9a41359def When main window recieves a closeEvent, ignore the event but call quit action. Destroy main window in app destructor.
BUG:39
2012-06-25 18:03:03 +00:00
craig.p.drummond
2396117f33 Android: More improvements, still not really useable. :-( 2012-06-23 11:59:15 +00:00
craig.p.drummond
c2cc874341 Android: configure colour, font, and some style settings 2012-06-22 15:57:16 +00:00
craig.p.drummond
d45292f9aa Only show number of tracks, and duration, in playqueue status - consistent with other players. 2012-06-22 15:53:40 +00:00
craig.p.drummond
5b32b51a23 Android: more sizing fixes 2012-06-22 15:51:13 +00:00
craig.p.drummond
e40afefb52 Save splitter state 2012-06-20 20:33:40 +00:00
craig.p.drummond
95aaaf57dc Resize message widget when change orientation 2012-06-20 17:02:47 +00:00
craig.p.drummond
1f5b2ec2a3 Android: Control location of sidebar depeding upon orientation. 2012-06-20 16:19:53 +00:00
craig.p.drummond
84f85cb0e6 More work on android build - now have icons :-) 2012-06-20 05:57:40 +00:00
craig.p.drummond
d932e73071 More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond
b689bfb693 Fix global shortcuts in qt-only build 2012-06-19 15:45:18 +00:00
craig.p.drummond
7e25cd0e30 Initial support for android (Necessitas) build.
NOTE: This is *very* much a WORK IN PROGRESS. There are *lots* of missing icons, fonts are a bit too big, etc.
2012-06-18 23:00:22 +00:00
craig.p.drummond
5706ab86d6 Add keyboard short-cut for 'back' icon in listviews. 2012-06-18 18:25:54 +00:00
craig.p.drummond
1cc61648ae Add option to place playqueue in sidebar. 2012-06-18 18:25:28 +00:00
craig.p.drummond
0e2c130002 - Adjust size of covers in grouped view, icons in views, and main cover preview based upon font size.
- Add an extra cover-size setting (Automatic) which will adjust the covers in library and albums view based upon font size.
2012-06-18 18:23:47 +00:00
craig.p.drummond
63e0431f6c Make TagLib optional. 2012-06-18 18:22:58 +00:00
craig.p.drummond
dc96d65f7d Fix saving/reading/updating connection details. 2012-06-15 22:36:55 +00:00
craig.p.drummond
849bdf153f Dont crash when close window! 2012-06-15 22:21:32 +00:00
craig.p.drummond
83d492e033 Only ignore closeEvent if this is a 'spontaneous' event and we have a tray icon.
BUG:21
2012-06-15 20:27:39 +00:00
craig.p.drummond
6981077c63 Correct icon! 2012-06-15 19:50:49 +00:00
craig.p.drummond
4c49bdc00a Adjust images when change sizes. 2012-06-15 19:40:41 +00:00
craig.p.drummond
09527996b1 Support MPD queue functionality. Add an 'Add With Priority' to menu of library, etc, views. Add a 'Set Priority' to play queue. Requires MPD 0.17.0 or newer. 2012-06-15 19:05:14 +00:00