Commit Graph

5388 Commits

Author SHA1 Message Date
David Sansome 35a306b9a7 Install .desktop file and icon. Also add an "uninstall" target.
Fixes issue #52
2010-03-04 16:41:14 +00:00
John Maguire 7b520ab361 Fix code review comments for r313. 2010-03-03 20:35:19 +00:00
John Maguire 7763d7da89 Add test for AlbumCoverFetcher.
Comes with infrastructure for testing network requests.
2010-03-03 19:14:14 +00:00
David Sansome 15797e07c6 Test updating and deleting songs 2010-03-03 18:38:20 +00:00
David Sansome 7a1f7438d7 Updated spanish translation 2010-03-03 18:06:44 +00:00
David Sansome 101b30c4b5 Add some more options to the album cover manager: show fullsize, fetch automatically, choose manually, unset cover 2010-03-03 14:29:53 +00:00
David Sansome 3f861654ec Some more backend tests 2010-03-03 00:33:31 +00:00
David Sansome 3296bf7b7d LibraryBackend tests should test at a higher level 2010-03-02 23:37:12 +00:00
David Sansome 4d3bd03f16 More windows fixes 2010-03-02 22:02:43 +00:00
David Sansome 72aa271b23 Fixes for mingw32 cross-compiling 2010-03-02 20:46:46 +00:00
John Maguire 08778f3f2c Fixes issue 47 2010-03-02 18:44:46 +00:00
David Sansome 5e503cbe64 Try the application's directory as well 2010-03-02 17:48:56 +00:00
David Sansome 111c019edd Load translations from the current directory so translators don't have to recompile to test their translations 2010-03-02 17:29:43 +00:00
John Maguire 54a5bd2c8e Everyone loves scoped_ptr. 2010-03-02 12:30:14 +00:00
John Maguire 864215cb23 Adds a test for LibraryBackend (not as trivial as it sounds :-)
Adds Googlemock.
Adds mock Qt database drivers.
2010-03-01 22:00:15 +00:00
David Sansome dae28e10ab Remember to actually load the translation resources 2010-03-01 17:36:50 +00:00
David Sansome a0c551f7a7 Remove the qmake project files 2010-03-01 17:33:31 +00:00
David Sansome 0dc1a87781 Automatically generate the qm files, and the translations qrc file 2010-03-01 17:31:54 +00:00
John Maguire 84786c7bc8 Add more tests to m3uparser including one windows-only test.
Fix code review comments from r291.
2010-03-01 16:31:19 +00:00
John Maguire c043eaba0c Add mostly done M3UParser with basic unit tests.
Add lots of test infrastructure.
2010-03-01 15:40:12 +00:00
John Maguire 7e500a2fa8 fix build and move gtest to 3rdparty 2010-03-01 12:55:51 +00:00
John Maguire e7c064809c Link resources into library & init in main(). 2010-03-01 12:15:15 +00:00
John Maguire 461157bbc9 Mac build & deploy updates. 2010-03-01 12:13:11 +00:00
John Maguire 42fd8c6f1e Seems resources need to be linked directly in the binary. 2010-03-01 02:49:47 +00:00
John Maguire 269957e7ca Add infrastructure for unit tests. 2010-03-01 01:47:50 +00:00
David Sansome 91958d0fd2 Change the data returned from sqlite a bit so the library view can use cover art too. Still a couple of TODOs in here. 2010-02-28 22:07:59 +00:00
Andrew Udvare 235a015a6f Updated Shortcuts dialog to use native widget for OK/Cancel 2010-02-28 21:46:25 +00:00
David Sansome b6330db85c More file renames 2010-02-28 21:40:21 +00:00
David Sansome 787a3d2625 Forgot to rename this file in the qmake project 2010-02-28 21:38:52 +00:00
John Maguire 30fa135521 cmake fix 2010-02-28 20:56:27 +00:00
John Maguire ad52c825ae Mac deploy script - generates most of the commands necessary for an app bundle. 2010-02-28 20:55:10 +00:00
David Sansome 16d991b76a Scroll the album cover manager view more sensibly 2010-02-28 19:56:18 +00:00
David Sansome 605e3a87cc Fetch missing album covers from last.fm :) 2010-02-28 19:25:52 +00:00
John Maguire eb3b286f0d Fix broken include. 2010-02-28 18:09:58 +00:00
David Sansome 12273256e5 Album cover art manager. So far this only displays cover art that was loaded from disk. 2010-02-28 18:04:50 +00:00
John Maguire f9ad923f3a CMake support \o/
Also fixes xine deprecation messages.
2010-02-28 17:28:56 +00:00
David Sansome 2c04b4a23a Start Slovak translation 2010-02-28 14:10:32 +00:00
David Sansome e2e2e153c0 Oops, we always want to set these 2010-02-28 01:25:00 +00:00
David Sansome 4d8636874e Add an option to turn off album art in the OSD 2010-02-28 01:08:18 +00:00
David Sansome 6436c53705 Smooth scale cover art for notifications, and display an empty album cover for tracks that have no artwork 2010-02-28 01:03:13 +00:00
David Sansome c811505d45 Save and restore album art in the playlist 2010-02-28 00:57:51 +00:00
David Sansome 1a26380e3f Load album cover art from files on disk 2010-02-28 00:35:20 +00:00
David Sansome a338707388 Maybe fix crash 2010-02-27 21:01:04 +00:00
David Sansome 669a0263ff Improved various artists detection - inspired by Amarok.
Also support updates to the database schema.
Fixes issue #18
2010-02-27 20:12:22 +00:00
Andrew Udvare bbe0f81c2b Implementation of global shortcuts dialog, no settings saved yet; Start of fix for issue #6 2010-02-27 18:20:20 +00:00
David Sansome e365baf7d1 Oops, now with lrelease-qt4 2010-02-27 17:08:15 +00:00
David Sansome 17bf68798b Updated translations 2010-02-27 17:07:46 +00:00
David Sansome 1297e8d6ce Update translations 2010-02-27 17:01:57 +00:00
David Sansome 5edc2c84bc Fix a typo in last.fm config dialog 2010-02-27 17:01:15 +00:00
David Sansome b47d53d569 Another attempt to avoid duplicate notifications 2010-02-27 16:57:43 +00:00
Andrew Udvare cd8243b58f Fix variable name style, settings->settings_ 2010-02-27 16:52:18 +00:00
David Sansome c5b1e2a0e3 Set the volume on the audio engine after it's finished loading.
Fixes issue #40
2010-02-27 16:47:31 +00:00
David Sansome cf2a8e73e2 Make the colours in the stylesheet obey the Qt colour scheme.
Fixes issue #37
2010-02-27 16:36:25 +00:00
Andrew Udvare bdae62d502 Move settings to be private member of class MainWindow 2010-02-27 08:57:43 +00:00
David Sansome f7d99ad720 Make it an option whether to show the OSD when the volume changes, and disable it by default.
Fixes issue #31
2010-02-27 00:48:27 +00:00
David Sansome 9993342ead Fixes for code review comments for r252 2010-02-27 00:39:46 +00:00
David Sansome 04fda5badd Add a platform-specific OSD flag for tray-bubble support.
Disable the "native" option on Linux compiled without libnotify.
Fixes issue #22
2010-02-26 22:37:48 +00:00
David Sansome e4a724198a Don't show duplicate metadata from xine 2010-02-26 22:17:52 +00:00
David Sansome dd04274e64 Don't show the dash when starting a radio stream 2010-02-26 22:13:13 +00:00
David Sansome b3acccac97 Don't show two notifications when skipping track 2010-02-26 22:10:58 +00:00
Andrew Udvare be9f587da6 System tray icon hiding support with setting 2010-02-26 18:22:44 +00:00
John Maguire b82301013a Refactor album cover fetching for last.fm radio.
Waits 5s on first tune to hopefully get the first album cover; nice side effect of letting the stream started notification fade.
2010-02-26 14:50:02 +00:00
John Maguire 44ca7adf14 Fix mac crash on growl notification. 2010-02-25 18:01:49 +00:00
John Maguire 16d88ff914 qDeleteAll() is awesome 2010-02-25 17:47:01 +00:00
David Sansome 1c0dc4c89c Update translations 2010-02-25 15:25:05 +00:00
John Maguire cd10fda8b7 Clear playlist on Tune()
Updates issue 17
2010-02-25 01:20:59 +00:00
John Maguire f471d4bfe1 Scales the album art to a height of 100px in x11.
Code review comments for r236
Updates issue 17
2010-02-25 01:16:58 +00:00
John Maguire 9767843caf Shows album art for last.fm radio.
Update issue 17
2010-02-25 00:18:32 +00:00
David Sansome 73739af762 QUrl::fromUserInput is Qt 4.6 only 2010-02-24 23:49:14 +00:00
John Maguire 4332bf6f71 Icon support in X11 notifications.
Update issue 17
2010-02-24 22:38:35 +00:00
David Sansome 294eae80dd Menu items to add files and streams by URL.
Fixes issue #10
2010-02-24 22:26:01 +00:00
John Maguire ad56fdc932 Updates for r231 code review. 2010-02-24 22:03:30 +00:00
John Maguire 1c6eead38e Native use of growl on mac.
Allows use of custom icons in notifications (eg. album covers issue #17 ).

Objective-C++ is nasty.
2010-02-24 21:44:14 +00:00
David Sansome 27fe713113 Phonon already makes volume logarithmic - no need to do it twice.
Fixes issue #8.
2010-02-24 20:23:12 +00:00
David Sansome 0c6121ac94 Let the user click on the track slider to move it
Fixes issue #9
2010-02-24 20:14:40 +00:00
David Sansome 7e99c8f6a2 Updated spanish translation 2010-02-24 11:36:32 +00:00
David Sansome 37f08a6ed6 Updated greek translation 2010-02-24 11:35:09 +00:00
John Maguire df139dec55 Fixes for code review comments for r225 2010-02-23 19:56:38 +00:00
John Maguire 992ce7ed0d Add album cover fetcher (not used yet). 2010-02-23 19:26:21 +00:00
David Sansome 441895a331 Fix a couple of spanish items 2010-02-23 18:35:48 +00:00
David Sansome e117b7eb15 i18n support 2010-02-23 18:33:09 +00:00
David Sansome 3975234566 Write UTF-8 tags properly 2010-02-23 14:52:22 +00:00
John Maguire 09eabcc90e Enable warnings for non virtual destructors. 2010-02-23 12:26:29 +00:00
David Sansome 93771c8238 Fix last.fm scrobbling for local tracks - oops 2010-02-22 21:26:49 +00:00
David Sansome dda8dfc6a9 Add a "nolibnotify" qmake option 2010-02-22 19:46:48 +00:00
David Sansome 4c0e8fb6a9 Fix the colour of the dividers 2010-02-21 22:28:19 +00:00
David Sansome 042c37ab40 Hopefully fix bug with 0-9 dividers 2010-02-21 22:25:38 +00:00
David Sansome f8808baa1d Phonon on windows, xine on everything else 2010-02-21 21:55:03 +00:00
David Sansome c16288874d Fixes for phonon 2010-02-21 21:45:50 +00:00
David Sansome 0ba179f54f Phonon engine works 2010-02-21 21:23:06 +00:00
David Sansome 65ce08ae85 First go at a phonon engine 2010-02-21 20:49:38 +00:00
John Maguire fe45d1ee7d copypasta gone wrong 2010-02-16 11:14:18 +00:00
John Maguire d244a81e66 Check pkg-config for glib-2.0. 2010-02-15 13:13:08 +00:00
John Maguire 7737154772 actually fix whitespace 2010-02-15 10:24:20 +00:00
John Maguire e59c4d1a1c whitespace fix 2010-02-15 10:23:29 +00:00
David Sansome 3fa2818b6c Dos2unix on src.pro 2010-02-14 20:08:40 +00:00
David Sansome 14445f03b0 Fix a xine race condition on win32 by showing the debug console :S 2010-02-14 20:08:24 +00:00
David Sansome 7551ed06cd Windows icon and RC file 2010-02-14 17:34:34 +00:00
John Maguire 0d61fda4d7 mac fixes 2010-02-14 00:37:44 +00:00
John Maguire b243d4bc3b build fix 2010-02-13 23:17:36 +00:00
David Sansome 03b12786cf More descriptive sqlite errors 2010-02-13 22:55:48 +00:00
David Sansome 9baf5483e7 Buildsystem fixes for mingw cross compiling 2010-02-13 18:58:01 +00:00
David Sansome e1880477e8 More windows fixes 2010-02-13 16:45:01 +00:00
David Sansome e358350309 Using setenv is better 2010-02-12 19:18:09 +00:00
John Maguire bd1354ff47 Missed a bit :-) 2010-02-10 15:06:33 +00:00
John Maguire 4c0e5974d2 Massive whitespace fix 2010-02-10 15:04:15 +00:00
John Maguire 5d23888e17 mac build stuff 2010-02-10 13:50:01 +00:00
John Maguire 61e5428be9 Mac build fixes 2010-02-10 13:15:18 +00:00
David Sansome 379f000224 Fix name of qtsingleapplication file on windows 2010-02-05 02:22:33 +00:00
David Sansome 4b1be3d540 Show the length of streams 2010-02-04 17:24:01 +00:00
David Sansome aa06377684 Save the playlist more 2010-02-04 00:09:59 +00:00
David Sansome 8eb42b5ab8 Shuffle playlist 2010-02-03 23:56:41 +00:00
David Sansome b10bf1e40d Fix a race condition on startup, and a crash when trying to play a stream's next track 2010-02-03 23:12:21 +00:00
David Sansome 98f23c3ddc Use stream metadata 2010-02-03 22:20:31 +00:00
David Sansome 226bfb43ee Fix volume restoring 2010-02-03 22:05:39 +00:00
David Sansome 90f7e2f9d2 Load xine in a background thread 2010-02-03 21:48:00 +00:00
David Sansome 8da8b04813 Fix persistent indexes when rearranging the playlist 2010-02-03 21:26:54 +00:00
David Sansome d9727f2731 About box 2010-02-03 20:45:32 +00:00
David Sansome 8dd3242cd6 Last.fm config 2010-02-03 18:32:48 +00:00
David Sansome 4aa1cdfa52 Notifications settings 2010-02-03 17:21:25 +00:00
David Sansome b0cad6cee9 Make the playback settings work properly 2010-02-03 16:51:56 +00:00
David Sansome eb6a836b53 Config dialog 2010-02-03 16:17:04 +00:00
David Sansome b4313e3410 Don't crash when doing stuff after clearing the playlist 2010-02-03 14:21:53 +00:00
David Sansome 67479c0530 Remove radio loading indicator 2010-01-18 20:17:39 +00:00
David Sansome 491f1184b8 Icons and right click menu for SomaFM 2010-01-18 02:49:07 +00:00
David Sansome 4777b3eab1 SomaFM streams 2010-01-18 02:23:55 +00:00
David Sansome 5d1bc87b76 RPM spec 2010-01-17 22:12:17 +00:00
David Sansome 1230084dbf If there's only one node in a library item then expand it when expanding the parent 2010-01-17 21:22:56 +00:00
David Sansome f950701620 Tray icon gets dimmer when you play more of a track 2010-01-17 21:11:03 +00:00
David Sansome 0d4e1e0bdf Maybe fix crash bug when scanning library 2010-01-17 19:03:54 +00:00
David Sansome e43a9266f9 Desktop file, icon, and install targets 2010-01-17 16:52:20 +00:00
David Sansome 4f2017a078 Only allow one instance of clementine 2010-01-17 16:10:26 +00:00
David Sansome 63d7afb404 Really don't allow pausing last.fm streams 2010-01-17 15:48:31 +00:00
David Sansome 3526fb3bdc Add a little spinner 2010-01-16 17:52:51 +00:00
David Sansome 82b010eeba More sensible maximums 2010-01-16 17:21:24 +00:00
David Sansome 541f3be7ba Watch subdirectories in the library 2010-01-16 17:17:00 +00:00
David Sansome 4108dc7c73 Basic tag editing 2010-01-16 16:12:47 +00:00
David Sansome e0bb24af07 Use shared data for song 2010-01-15 21:57:22 +00:00
David Sansome 07ef49f380 Obey the filter when updating songs in the database/library. 2010-01-15 21:43:57 +00:00
David Sansome 70613f5299 Track slider and seeking 2010-01-15 17:12:47 +00:00
David Sansome 28e9bf4ac5 Another seperator in the tray icon menu 2010-01-15 16:44:54 +00:00
David Sansome b4c7b92fac Don't lazy populate all the children of library items 2010-01-15 16:36:34 +00:00
David Sansome a49f5506ac More items in playlist context menu 2010-01-15 16:22:19 +00:00
David Sansome e7b94dfafc Enter on playlist plays 2010-01-14 14:42:23 +00:00
David Sansome 27315ac631 Delete on playlist selects next item 2010-01-14 14:38:27 +00:00
David Sansome 4ab13c03de Clear playlist 2010-01-14 12:27:50 +00:00
David Sansome 13c64ac33f Escape HTML characters in notify strings 2010-01-08 19:50:29 +00:00
David Sansome 8095e3ce1e Volume OSD 2010-01-08 16:40:34 +00:00
David Sansome 62794cdf70 Rename tangerine to clementine 2010-01-08 16:21:22 +00:00
David Sansome b7a493b9eb Use growl on mac 2010-01-08 15:37:35 +00:00
David Sansome 6acb908c10 Reuse the same notification 2010-01-08 15:16:59 +00:00
David Sansome d701e8e5ac Basic libnotify OSD implementation 2010-01-08 14:52:05 +00:00
David Sansome 56b0d89261 Try global shortcuts... 2009-12-30 16:24:55 +00:00
David Sansome 28cf9e11d7 Add backspace shortcut 2009-12-30 14:31:04 +00:00
David Sansome d63001af02 More logic for enabling ban and love buttons when the user logs in to Last.fm 2009-12-30 04:14:29 +00:00
David Sansome daaec56b4b Enable the pause button on normal tracks - oops 2009-12-30 04:08:43 +00:00
David Sansome 7749386aff More columns in the playlist 2009-12-30 04:05:33 +00:00
David Sansome 107e6210b7 Add a menu item to remove tags and artists 2009-12-30 02:23:09 +00:00
David Sansome efefc35d6e Tag and artist radio 2009-12-30 02:15:38 +00:00
David Sansome bfc81e4d5c Play in last.fm context menu 2009-12-30 01:41:37 +00:00
David Sansome 9608e8fb32 Display other types of station for friends and neighbours 2009-12-30 01:29:47 +00:00
David Sansome 56e685bb3b Friend and neighbour radio 2009-12-30 00:31:00 +00:00
David Sansome 92db175819 Double-click on radio items to play 2009-12-29 23:17:54 +00:00
David Sansome 939e4b5264 Context menu to configure Last.fm 2009-12-29 23:01:07 +00:00
David Sansome b5be7d6cb9 Love, ban, skip last.fm tracks 2009-12-29 20:48:50 +00:00
David Sansome 5e514c42b6 Actually scrobble 2009-12-29 20:11:03 +00:00
David Sansome 72f793a002 Scrobble tracks 2009-12-29 19:57:33 +00:00
David Sansome 38feb17697 "Now listening" last.fm notifications 2009-12-29 19:22:02 +00:00
David Sansome 62dda6430c Disable pause on last.fm tracks 2009-12-29 16:15:21 +00:00
David Sansome 8957dad3bb Flags for playlist items 2009-12-29 16:12:08 +00:00
David Sansome 14bdc4294b Fix string formatting 2009-12-29 15:56:14 +00:00
David Sansome c98427aeae Stop after stream track works, and updated todo 2009-12-26 23:43:38 +00:00
David Sansome 9206cad0cf Play the next track in a last.fm stream, and handle the end of stream properly 2009-12-26 22:59:11 +00:00
David Sansome 9e285efea7 Temporary metadata from Last.fm 2009-12-26 22:15:57 +00:00
David Sansome 7a3678e806 Simple last.fm streaming works 2009-12-26 21:35:45 +00:00
David Sansome 4cbad8929d Last.fm authentication 2009-12-26 17:19:14 +00:00
David Sansome bd30d815d1 Don't resort the playlist when reloading 2009-12-26 15:21:36 +00:00
David Sansome 9430a8fd2f Refactor more common stuff out of the library model, and add a simple last.fm service 2009-12-26 15:13:38 +00:00
David Sansome 9b2a5b1535 Move some bits out of LibraryItem 2009-12-26 13:49:18 +00:00
David Sansome 203bd77f38 Keep section widths sensible 2009-12-25 17:05:19 +00:00
David Sansome 18b7cc2870 Right click on playlist column headers to hide and show them 2009-12-25 16:12:07 +00:00
David Sansome 3659fabeaf Add directory contents in order 2009-12-24 22:44:12 +00:00
David Sansome 66478974cd Right click menu for the file view 2009-12-24 22:26:58 +00:00
David Sansome 15158805af Fix sort order for numbers 2009-12-24 21:09:18 +00:00
David Sansome cca66d4e21 Drag & drop directories 2009-12-24 20:40:03 +00:00
David Sansome 0e2f542fcb Drag & drop from the file list to the playlist 2009-12-24 20:33:31 +00:00
David Sansome 930fbaeac1 Move fileview to its own class, remember where it was 2009-12-24 20:27:32 +00:00
David Sansome 5b0496bf8f Move everything to trunk 2009-12-24 19:16:07 +00:00