Commit Graph

273 Commits

Author SHA1 Message Date
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