Commit Graph

384 Commits

Author SHA1 Message Date
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
craig.p.drummond@gmail.com
4b17e32a13 Add option to specify HTTP server listen address/interface. 2012-06-15 11:40:53 +00:00
craig.p.drummond
21c5ae883b Show tab short-cut in tooltip. 2012-06-14 19:06:34 +00:00
craig.p.drummond
3f81b8888f Control active connection with 'Ctrl+<num>', and control outputs with 'Meta+<num>' 2012-06-14 19:06:21 +00:00
craig.p.drummond
1682fd955e If widget style returns -1 for spacing, default to 4 pixels instead.
BUG:35
2012-06-14 19:05:51 +00:00
craig.p.drummond
6859a15082 Use Q_OS_XXX not Q_WS_XXX 2012-06-12 20:41:08 +00:00
craig.p.drummond
746192d4a3 - Allow Icon/List for library view.
- Add option to show artist images in library view.
BUG:30
2012-06-11 21:07:24 +00:00
craig.p.drummond
28947a62b0 Disable volume control if MPD returns a volume of -1 - as it does when the mixer is disabled.
BUG:23
2012-06-10 13:45:12 +00:00
craig.p.drummond
7c07988436 Fix song duration display when playing a stream 2012-06-10 13:18:04 +00:00
craig.p.drummond
fe4eaae159 Show connection name in window titlebar - if we have multiple servers defined. 2012-06-10 12:54:17 +00:00
craig.p.drummond
18457828c1 Fix update when chaning connection 2012-06-09 12:27:15 +00:00
craig.p.drummond
e2f63f26ec Multiple server support fixes 2012-06-08 17:54:59 +00:00
craig.p.drummond
614ad21b64 If an MPD connection has more than 1 output, show an 'Outputs' sub menu in the settings menu. 2012-06-08 17:54:25 +00:00
craig.p.drummond
632bc04c9b Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond
649a43f9dd Fix size of playback buttons in qt-only build. Force icons to have a 28x28 setting. 2012-06-01 16:28:48 +00:00
craig.p.drummond
b1bf0738fb Read MPD dir setting at start-up, so that the is-readable flag is set. 2012-06-01 16:27:35 +00:00