Commit Graph

391 Commits

Author SHA1 Message Date
David Sansome 2bde36a1c2 Fix timestamps on scrobbled songs 2010-03-21 00:22:15 +00:00
David Sansome 1a930bf2b5 Add a menu item to the library for forcing albums to appear under Various Artists.
Fixes issue #43
2010-03-20 23:59:39 +00:00
John Maguire 758f99be49 Support unicode-aware comparisons in Sqlite3.
Fixes issue #71
2010-03-20 23:41:59 +00:00
David Sansome e1c44cdc77 Add options for choosing or disabling the analyzer.
Fixes issue #75.
2010-03-20 22:45:54 +00:00
David Sansome 595877445b Multiple selections in the album cover manager 2010-03-20 22:03:58 +00:00
John Maguire 417b6af911 Update slovak translation.
Fixes issue #79
2010-03-19 13:20:54 +00:00
David Sansome 257170b212 Add support for showing the filename without the path - thanks ralf.neupert
Fixes issue #80
2010-03-19 10:39:22 +00:00
John Maguire 7e7aa6a0c4 Fix crash in last.fm radio when the user's subscription expires. 2010-03-18 17:18:54 +00:00
John Maguire fd2daf6fa2 Fixes issue #3 \o/
A reminder for next time: enable various "Universal Access" options.
2010-03-17 17:16:05 +00:00
John Maguire 84bede61d3 Fix compiler warning from Clang. 2010-03-17 15:07:49 +00:00
John Maguire 4a26d10e7e Build fixes for mac. 2010-03-16 15:09:08 +00:00
David Sansome 6a4d1734b6 Add the shuffle and repeat menus to the menubar as well 2010-03-12 01:03:43 +00:00
David Sansome e1952e7ff2 Fix the cover manager behaviour when there are unknown albums or albums by various artists. 2010-03-12 00:54:18 +00:00
John Maguire e809019bef Fix code review comment for r353
Add more tests for XSPF parser.
2010-03-11 15:25:25 +00:00
Andrew Udvare 116204d58e Start of event handling to capture keys with virtual function event() 2010-03-11 09:56:02 +00:00
Andrew Udvare f9711d414f More implementation of ShortcutsDialog and settings 2010-03-11 06:00:47 +00:00
John Maguire eb5d4cc309 XSPF support in the GUI 2010-03-10 21:39:25 +00:00
David Sansome 65d88ac831 Fix strangeness when rearranging the playlist with shuffle disabled 2010-03-10 14:09:35 +00:00
David Sansome 4988d45f23 Fix a crash bug when clearing the playlist, and then advancing to the next track 2010-03-10 14:06:34 +00:00
David Sansome b8d7773776 Updated spanish translation 2010-03-10 00:43:36 +00:00
David Sansome e7c3174109 Fix a segfault. This got lost in the merge 2010-03-10 00:09:49 +00:00
David Sansome aee1cbb4fd Revert the multiple playlist commits until they can be cleaned up a bit. These are: r324, r326, r327, r328, r335, r336, r337, r338, and r339. 2010-03-10 00:04:04 +00:00
David Sansome 5294ea1276 Update translation sources 2010-03-09 22:49:14 +00:00
David Sansome cecc6def3c Get the translated version of this string - thanks Mariano Copetti 2010-03-09 22:47:36 +00:00
John Maguire 11330d0177 XSPF parser with test. 2010-03-09 17:17:32 +00:00
John Maguire 4eb51bf6d9 Remove pointless cpp file. 2010-03-09 15:46:26 +00:00
John Maguire 95c1f702c5 Oops. s/OS/WS/
Updates issue #6.
2010-03-09 14:31:30 +00:00
John Maguire b66370ed87 Enable global shortcuts for all X11 platforms instead of just Linux.
Updates issue #6
2010-03-09 14:28:58 +00:00
David Sansome 9f0e399fba Fix a failing test 2010-03-08 18:07:18 +00:00
David Sansome 67214bf4dc Rename ShuffleRepeatWidget to PlaylistSequence 2010-03-08 18:05:41 +00:00
David Sansome 85d5e398da Shuffle and repeat buttons now work.
Fixes issue #20
2010-03-08 17:55:40 +00:00
David Sansome d15fffc802 Do something more sensible with negative times. 2010-03-08 14:13:22 +00:00
David Sansome c9ddf09869 Add shuffle and repeat options. These don't do anything yet.
Updates issue #20
2010-03-08 14:08:54 +00:00
David Sansome 427e24dece Show the time remaining as negative, like amarok 2010-03-08 12:30:55 +00:00
David Sansome ee5facbd01 Fix the size of the time elapsed and time remaining labels on the track slider, so they don't move the slider around while it's being dragged. 2010-03-08 12:13:11 +00:00
David Sansome 7d0bc4830f Set the source properly for tracks from last.fm radio
Fixes issue #62
2010-03-07 23:39:28 +00:00
David Sansome 6f2119bce0 Fix a bug that meant the track progress slider was greyed out on the first song in a last.fm radio stream 2010-03-07 23:28:40 +00:00
David Sansome 3d34aa240c Add albumartist, composer, file type and date columns to the playlist. Also add columns to the database for rating, playcount, and lastplayed (not used yet).
Fixes issue #66
2010-03-07 22:46:41 +00:00
Bartek Taczała 030e454d1e Enabling removal of playlist. Slightly changing how informatiion about playlists are stored in QSettings 2010-03-07 20:55:02 +00:00
Bartek Taczała 6f2754bcba Changing tabWidget to tab_widget 2010-03-07 20:21:20 +00:00
Bartek Taczała b303d59b4c Saving qtab current index ( current playlist ). 2010-03-07 20:19:35 +00:00
Bartek Taczała 0a1e7916d8 Ensure one playlist at startup if no restoring. Minor code modifications to compatibility with code guidelines. 2010-03-07 20:14:05 +00:00
Bartek Taczała 8ae713802d Playlist manager for handling multiple playlists. Storing/restoring is enabled. 2010-03-07 20:06:00 +00:00
John Maguire 1aebf19077 Ensure Song is valid from m3u parser.
Fix tests.
2010-03-07 15:26:54 +00:00
John Maguire 768bf85cd7 M3U support in the UI from "Add Media" \o/ 2010-03-07 14:42:51 +00:00
John Maguire 08416e2c51 Make M3U parser grab tags from file. 2010-03-07 14:04:17 +00:00
John Maguire 4219dfa718 Add test for taglib usage in Song, will be more helpful testing M3U/XSPF parsing.
Dave: I'm sorry.
2010-03-06 20:08:01 +00:00
John Maguire a4b1452a22 Fix annoying disconnect() messages. 2010-03-06 15:35:02 +00:00
John Maguire 3fe0213106 Make tabbed playlists store & restore.
Fix style issues.
2010-03-06 15:33:57 +00:00
John Maguire 28f4b4de0b add at least one playlist tab at startup 2010-03-06 14:35:06 +00:00
John Maguire 1ad24804cc Finish m3u parser 2010-03-05 11:57:06 +00:00
Bartek Taczała 4773d7cadc Adding support for multiple playlists ( as in foobar ) 2010-03-05 10:55:37 +00:00
John Maguire 64abef1cd4 Make tracks with no album show up.
Fixes issue #57
2010-03-05 10:51:16 +00:00
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