Commit Graph

678 Commits

Author SHA1 Message Date
craig.p.drummond
49cc24eb46 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
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
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
3976961311 Connect to replayFinishied signal of job, not manager. 2012-08-27 19:38:09 +00:00
craig.p.drummond
03b1427477 Improve cover fetching? 2012-08-27 19:37:33 +00:00
craig.p.drummond@gmail.com
9fd4109300 Fix MPD dir accessibility check for qt builds 2012-08-23 17:49:59 +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
def05566fc Include kdeversion.h for KDE_IS_VERSION macro 2012-08-22 12:22:30 +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
d96f457a6b 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
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
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
e0eb891c29 Fix spelling mistakes.
BUG:55
2012-08-19 10:29:23 +00:00
craig.p.drummond@gmail.com
458cead912 Dont need to stop dynamizer unless connection details have changed. 2012-08-16 17:14:32 +00:00
craig.p.drummond@gmail.com
5a61cf0609 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
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
c7088e59bf Dont attempt to get current song if we are still inactive 2012-08-15 11:12:13 +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
e398cd39e6 Check file exists before tryng to read tags 2012-08-13 18:56:28 +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@gmail.com
266171697b 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
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
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
319293c6f6 Fix some sizing issues 2012-08-10 12:39:37 +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
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
6a09f94b64 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
d3f8a54311 When restoring window from notification area, also raise and activate the window. 2012-08-08 11:42:32 +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
6c379c693d Rename 'small' parameter - to fix build issue with windows. 2012-08-06 19:07:12 +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
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
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
e611822ae1 Oops! Remove forcnig of http downloads... 2012-07-10 19:55:20 +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
7a4257127b Ensure correct phonon state at start-up. 2012-07-10 17:14:35 +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
craig.p.drummond
2154e0088c Dont attempt to rename a playlist to its current name - otherwise it is deleted! 2012-07-09 18:42:12 +00:00
craig.p.drummond
9e9d390b21 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