Commit Graph

374 Commits

Author SHA1 Message Date
craig.p.drummond
f969fb4345 Add a ON/OFF style checkbox for linux builds when NOT run under KDE. 2012-09-19 18:42:14 +00:00
craig.p.drummond
e704299f24 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
ee457e227c Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
173712493c Device sync support for Qt-only builds. To support this, a cut-down version of Solid is included. 2012-09-17 18:39:01 +00:00
craig.p.drummond
b089ab60ed Better Qt plurals for languages with one singular and one plural form. Others can still use "String: Val" style. 2012-09-14 19:19:54 +00:00
craig.p.drummond
17828203ee - Improve item-view mouse over for Gtk+ style - when hovering, draw selection into a QPixmap and set painter's opacity before drawing image.
- Workaround issue of sometimes having an item (in icon view) staying in mouse-over state, even though mouse has left view.
2012-09-12 18:58:09 +00:00
craig.p.drummond
95a3903721 Add support for 'Similar Artists' in dynamic mode. 2012-09-10 19:32:03 +00:00
craig.p.drummond@gmail.com
e181289b48 Set Artist, AlbumArtist, and Album of cue files to that of assigned album.
BUG:79
2012-09-10 12:07:19 +00:00
craig.p.drummond@gmail.com
92a370c41f When refreshing DB, make sure Albums view is at top level.
BUG:78
2012-09-10 11:25:09 +00:00
craig.p.drummond@gmail.com
a93dc24bf2 When sorting tracks, sort on duration after sorting on name, title, and genre. This way of tracks do not have a takc number, disc, year, etc, then we will sort on the name/title before duraiton. 2012-09-10 11:14:33 +00:00
craig.p.drummond@gmail.com
0b1791bc7b Add a gui setting to control the enforcement of single-click.
BUG:76
2012-09-10 11:09:43 +00:00
craig.p.drummond
b877562085 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@gmail.com
17d5f07732 Fix Qt-only compile. 2012-09-04 09:27:20 +00:00
craig.p.drummond
2f5452a14f Add 'Back' action to context menu of list/icon views. 2012-09-03 21:02:51 +00:00
craig.p.drummond
8ef1f54a26 Revert to using (e.g.) 'Albums: %1' syntax - as perviosu version could not possibly handle all plural forms. (I never knew there were so many!) 2012-09-03 20:46:25 +00:00
craig.p.drummond
de7478723f Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond
2d0539a85d If we are grouping multiple-artists albums under 'Various Artists', then we also need to place 'Various Artists' albums there as well. This oddity can occur when i18n('Various Artists') != 'Various Artists' 2012-09-03 19:03:37 +00:00
craig.p.drummond@gmail.com
a04cafb7c2 Dont clear genre list when clearing music library model.
BUG:66
2012-09-03 11:32:48 +00:00
craig.p.drummond@gmail.com
1832ab8dc7 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@gmail.com
beecc75f1e - Elide to right (or left for RTL) strings in sidebar.
- Use icon size when determining size of tabs
2012-08-31 11:09:46 +00:00
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