Commit Graph

354 Commits

Author SHA1 Message Date
craig.p.drummond
d931b9c72d Improve FancyTabWidget appearance for Gtk+ style - when hovering, draw selection into a QImage and set painter's opacity before drawing image. 2012-08-30 19:44:47 +00:00
craig.p.drummond
439046faff Spelling :-( 2012-08-30 19:44:14 +00:00
craig.p.drummond
5f0fd2a717 When looking for album covers, also check for "${file}.jpg/png", "${albumArtist} - ${album}.jpg/png" and "${album}.jpg/png" within current songs folder. (These are checked AFTER cover.jpg/png, etc.)
BUG:65
2012-08-30 19:38:45 +00:00
craig.p.drummond
2034c11660 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
01d0ee9851 Use correct palette (Active/Inactive) when drawing item text. 2012-08-30 11:58:06 +00:00
craig.p.drummond@gmail.com
7e79306010 Package missing edit-clear-locationbar-rtl.png icons so that clear button appears in windows line-edits. 2012-08-30 11:13:56 +00:00
craig.p.drummond@gmail.com
2342c1f3a0 Package Qt's jpeg image plugin with windows zip file - otherwise jpeg cover images cannot be loaded! 2012-08-30 11:09:40 +00:00
craig.p.drummond
6920496682 When displaying cover tooltip, if image is too big or image file is not found (as is the case for embedded covers), then save the image into a base64 array as a PNG - and have Qt use this in the 'img' tag.
BUG:64
2012-08-29 19:30:45 +00:00
craig.p.drummond@gmail.com
0f27a3d4a9 If not changing artist/albumartist/album of a track in tag editor, then just update track if possible - as opposed to removing and adding to list (which causes a complete refresh of list) 2012-08-23 17:49:32 +00:00
craig.p.drummond@gmail.com
b249b21b91 If the date string recieved from MPD is longer than 4 characters, just use the first 4 - as we are only interested in the year. 2012-08-23 11:04:34 +00:00
craig.p.drummond@gmail.com
935fd7787d Also qt-only 2012-08-22 12:33:32 +00:00
craig.p.drummond@gmail.com
56c05ef290 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
b9fd3eb225 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
ac5bcc0d31 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
d1822cefd6 Use "users" group and not "audio" when setting the group ID of covers, lyrics, and audio files.
BUG:54
2012-08-21 11:06:42 +00:00
craig.p.drummond@gmail.com
62611bad53 - Dont split albums based upon year - this messes up compilation albums, where each track may have a different year.
- To be consistent, use the year of the lowest track number to be an album's year.
BUG:56
2012-08-21 11:05:41 +00:00
craig.p.drummond@gmail.com
be707eaa3c Fix track order when adding newly added album, via folders page, to playqueue. 2012-08-20 11:36:51 +00:00
craig.p.drummond
417102c325 Fix handling of filename's with quotes.
BUG:58
2012-08-19 10:56:51 +00:00
craig.p.drummond@gmail.com
4147e69835 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
ac5ac8a177 More consistent control of prev/next buttons. 2012-08-15 11:12:33 +00:00
craig.p.drummond@gmail.com
4c8e7dd67b 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
ace2380cb1 Save MPD filename scheme settings with MPD server settings. 2012-08-13 18:56:01 +00:00
craig.p.drummond
33f4544361 If 'showPage' is called (via DBUS interface), ensure interface is expanded. 2012-08-13 18:55:33 +00:00
craig.p.drummond
9bbfe046c7 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
8cbc666e00 Use 'avcodec' if 'ffmpeg' is not found. 2012-08-12 14:14:42 +00:00
craig.p.drummond
04b7905d55 Update Polish translation. 2012-08-12 14:14:21 +00:00
craig.p.drummond
30e064e45b Update verison of KMessageWidget 2012-08-12 14:13:56 +00:00
craig.p.drummond
9fa4d74880 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
11f5ffec48 In Qt-builds, if we failt to update files (tag editor, replaygain) then show the list of failures in the 'detailed text' section. 2012-08-10 11:16:51 +00:00
craig.p.drummond
5dd0942066 - Reset status when connection lost.
- Dont attempt to send commands if not connected.
2012-08-09 20:57:15 +00:00
craig.p.drummond
89b811ad3d If we loose MPD connection, then show error widget. 2012-08-09 20:52:03 +00:00
craig.p.drummond
14bed7ca3a 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@gmail.com
22d314adb1 Fix issue with certain styles not drawing selection background in icon view. 2012-08-08 15:18:55 +00:00
craig.p.drummond@gmail.com
d3f8a54311 When restoring window from notification area, also raise and activate the window. 2012-08-08 11:42:32 +00:00
craig.p.drummond@gmail.com
41b7f8184f Attempt to reconnect every .5s (for 15s) when resuming 2012-08-08 11:16:26 +00:00
craig.p.drummond
abc80ebf47 To help with windows build, embed pre-rendered versions of main icon. 2012-08-07 19:38:33 +00:00
craig.p.drummond
44bc6d6587 With KDE builds (4.7 or later), and Windows Qt builds, reconnect to MPD when system is resumed. 2012-08-06 19:07:58 +00:00
craig.p.drummond@gmail.com
f49201fe19 Fix multiple downlod attempts when getting covers from HTTP. 2012-08-06 12:34:48 +00:00
craig.p.drummond@gmail.com
49003527c2 When requesting covers from a HTTP server, use QUrl::toPercentEncoding. 2012-08-06 12:24:56 +00:00
craig.p.drummond@gmail.com
ca1ae3808e Add CMake options to disable 'automagic' dependencies 2012-08-06 12:05:58 +00:00
craig.p.drummond@gmail.com
55af254f81 Fix crash when toggling playqueue in sidebar at application start-up.
BUG:48
2012-07-23 10:51:46 +00:00
craig.p.drummond@gmail.com
720a09d1c6 - Fix track order when adding newly added album to playqueue.
- When dragging one artist, or album, in treeview to play queue, show cover image (if possible).

BUG:48
2012-07-20 11:46:34 +00:00
craig.p.drummond
d47747127a Use command list when adding songs to playlist. 2012-07-12 17:57:52 +00:00
craig.p.drummond@gmail.com
0c6ae40474 Fix saving of library to XML cache when multiple artist albums are grouped under 'Various Artists' (only save artist attribute once!!)
BUG:47
2012-07-11 11:20:18 +00:00
craig.p.drummond
e8007615ee When fading on stop, reset original volume immediately before sending stop.
BUG:46
2012-07-10 20:18:35 +00:00
craig.p.drummond
65f03c0229 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
5917238c34 If 'Music folder' in settings dialog is a http folder (path starts with http://), then attempt to download cover-art from the http server. 2012-07-10 19:43:58 +00:00
craig.p.drummond@gmail.com
674fff8fed 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
0f5e9e9ffb Display version number in Qt-only about dialog. 2012-07-10 12:06:53 +00:00
craig.p.drummond
a54579801a When applying updates in tag editor, track organizer, or replay gain dialog show a progress bar to indicate activity. 2012-07-09 18:42:36 +00:00