Commit Graph

582 Commits

Author SHA1 Message Date
David Sansome b77a64a2f1 Ooops, forgot this file 2010-04-04 20:45:59 +00:00
David Sansome 993a4f0e43 Experimental VLC audio engine 2010-04-04 20:45:03 +00:00
David Sansome d5eb2297d2 Move the audio engines to their own directory 2010-04-04 17:50:11 +00:00
David Sansome 38400012e2 Update spanish translation 2010-04-04 17:10:07 +00:00
David Sansome 82f7df1cce Update translation sources 2010-04-04 17:09:11 +00:00
David Sansome 9f3fc3d8ab Add the library test back in 2010-04-04 16:28:34 +00:00
David Sansome dacdf4cc5a Clean up deleted subdirectories from the database properly. Fixes an issue where subdirectories in the library wouldn't be rescanned if they were removed and recreated. Updates issue #45. 2010-04-04 14:59:55 +00:00
David Sansome 9151ba05d4 Always watch new directories that were created while Clementine is running. Updates issue #45 2010-04-04 14:09:07 +00:00
David Sansome 90b125499e Filter the "Choose manual cover" dialog to just image files. Fixes issue #150 2010-04-04 13:42:56 +00:00
David Sansome 83194ecf74 "Add to playlist" context menu item for the library view. Fixes issue #153 2010-04-04 13:31:21 +00:00
David Sansome fa8f825f48 Update polish translation. Fixes issue #154 2010-04-04 13:18:51 +00:00
David Sansome 45f5219cde Updated slovak translation. Fixes issue #149 2010-04-04 13:07:22 +00:00
David Sansome 2803a071b6 Update translation sources 2010-04-01 17:21:18 +00:00
David Sansome ae3923f93b Set the "group_by" properties of the actions in code instead of in the .ui file, so the enum keys don't get translated. 2010-04-01 17:20:31 +00:00
David Sansome 2443ce6585 Reworked the library watcher to be much more efficient - the backend now holds a list of subdirectories within each library directory, and only the mtimes of these are checked on startup. 2010-04-01 16:59:32 +00:00
David Sansome 1f2220ac63 Add an option to disable the library view's behaviour of automatically opening nodes without many children. 2010-04-01 00:12:25 +00:00
David Sansome 7415b7f4bd Made mouse wheel events on both the tray icon and the volume widget change the volume by a smaller amount. Fixes issue #145 2010-03-31 23:45:52 +00:00
David Sansome 5c4118dff5 Stop every divider from being '0'. 2010-03-31 23:41:27 +00:00
David Sansome 134743bd29 Add an advanced grouping dialog for the library. boost::multi_index ftw. Fixes issue #94. 2010-03-31 23:11:45 +00:00
David Sansome 738fdb662d Better comments 2010-03-31 19:55:32 +00:00
David Sansome ce43f8dbf9 Make the "Edit tag..." menu item edit all selected tracks, and only show "Renumber selected tracks in this order" if the user right clicked on the track column. Thanks christoph.gysin. Fixes issue #139 2010-03-31 19:09:35 +00:00
David Sansome 2d12b59951 Move the GroupBy enum into library so we can get a QMetaEnum from it. Tidy up the logic for the "group by" options by moving it into properties in the .ui file. 2010-03-31 15:18:39 +00:00
John Maguire 3c60423e18 Add polish translation. 2010-03-31 10:46:47 +00:00
David Sansome a5412cc274 Make sure to hide the mainwindow on startup if it was hidden last time. Also fix the logic to ensure either the tray icon or the window is visible. 2010-03-31 03:07:11 +00:00
David Sansome 4c42813d9f Add "group by" support to the library, and improve the whole library model to make it more robust.
Still todo: the "Group by advanced..." dialog, unit tests.
Updates issue #94.
2010-03-31 00:30:57 +00:00
John Maguire df38ebf9d9 A few little mac fixes. 2010-03-30 15:53:45 +00:00
David Sansome c0da64c6a2 Make sure the playlist gets reshuffled when the user manually changes track. Fixes issue #137 2010-03-30 00:51:00 +00:00
David Sansome ef9780b44e Add a cmake option to use phonon even on unix. Also fix a strange bug with the phonon backend that stopped the track slider from working. 2010-03-30 00:38:32 +00:00
David Sansome 96802bdf6e Remove debug lines from the cmake script 2010-03-30 00:08:48 +00:00
David Sansome 4e5218a189 On linux, don't reuse the notification if it's already probably closed. Fixes nastyness on KDE4. Fixes issue #118.
Also merge the two ShowMessageNative functions to cut down on copypasta.
2010-03-30 00:08:16 +00:00
David Sansome 3a33d220f6 Update line numbers in other translations 2010-03-29 23:52:01 +00:00
David Sansome f7dee52e03 Updated spanish translation 2010-03-29 23:49:34 +00:00
David Sansome d68c61ff25 Reuse the same native notification popup on Linux. Fixes issue #118 2010-03-29 20:08:32 +00:00
David Sansome 48632b5fc0 Updated slovak translation from danovskyjan. Fixes issue #135 2010-03-29 19:39:27 +00:00
David Sansome ea1df6dbff Fix the translation resource file generation - thanks Henry Sylvain. Also add a test to make sure they're always found. 2010-03-29 19:12:06 +00:00
David Sansome afe2aadcf6 Use autocompletion in the edit tag dialog too. Thanks christoph.gysin. Fixes issue #130 2010-03-29 16:59:01 +00:00
David Sansome 227c64177c Automatically generate .po and .pot files from the translation sources, for launchpad 2010-03-29 16:05:23 +00:00
David Sansome c1308c1b6c Czech translation from Vít Pelčák 2010-03-29 14:14:57 +00:00
David Sansome 5367a01bb7 Using the stack works too... 2010-03-29 14:03:05 +00:00
David Sansome 0aec407984 Only prune the scope buffer list from a single thread. Maybe fixes issue #120 2010-03-29 14:00:44 +00:00
David Sansome ac33a53c5d Updated greek translation 2010-03-29 13:36:30 +00:00
David Sansome 8af5138758 Outputs go last :( 2010-03-29 13:28:29 +00:00
David Sansome 1433a53960 Fix behaviour when clicking on the system tray when clementine is minimized. Thanks christoph.gysin. Fixes issue #133 2010-03-29 13:24:40 +00:00
David Sansome f2d3644ca1 Support writing the special ID3/Xiph tags. Fixes issue #115 2010-03-29 13:15:47 +00:00
John Maguire 3980bfbd8f Update translation strings & french translation.
Thanks to Henry Sylvain.
2010-03-29 10:24:36 +00:00
John Maguire ee9e676df1 Add autocompletion to artist & album tags in playlist.
Thanks to christoph.gysin
Updates issue #130
2010-03-27 23:45:46 +00:00
David Sansome 0e4fb1b789 Fix loading songs with a # (or other URL special characters) in the name. Fixes issue #117 2010-03-27 15:53:02 +00:00
David Sansome c0a323b5ff Make sure the pretty osd is really the default on windows 2010-03-27 15:15:20 +00:00
David Sansome 6bad424058 Don't show these two columns by default 2010-03-27 15:10:52 +00:00
David Sansome 66df980238 French translation 2010-03-27 12:56:36 +00:00
John Maguire 2afd94ce47 Switch cover manager filter from OR to AND. 2010-03-26 15:04:38 +00:00
John Maguire 2b812a76fd Split search query in cover manager.
Add unit tests.
Fixes issue #119
2010-03-26 12:22:19 +00:00
David Sansome 5b468823d6 Simplify Prev/NextEditableIndex a bit. Thanks christoph.gysin 2010-03-26 00:32:44 +00:00
David Sansome 766429c860 Allow inline editing of tags in the playlist. Thanks christoph.gysin 2010-03-25 23:48:58 +00:00
John Maguire 11bd9966d1 Mac build fixes 2010-03-25 23:03:28 +00:00
David Sansome 40e7737ba3 Maybe global shortcuts on windows... 2010-03-25 22:37:00 +00:00
David Sansome 82cdab9047 Make the pretty OSD the default on platforms without a native notification (Windows). 2010-03-25 21:29:17 +00:00
David Sansome 9c3ea3599f Fade the OSD in and out on Windows 2010-03-25 21:24:19 +00:00
David Sansome 07ace1db70 Fix the size of the text label in the pretty osd 2010-03-25 20:57:34 +00:00
David Sansome cffa51a881 Make sure the pretty OSD stays in the same place between calls to show(). Fixes issue #121 2010-03-25 20:54:47 +00:00
David Sansome 3a726f71cd Fallback for the OSD on systems without transparant top level widgets 2010-03-25 19:57:52 +00:00
David Sansome b492a63dfa Fix errors in Qt < 4.6 2010-03-25 19:36:56 +00:00
David Sansome 7d5673930d Pretty OSD. 2010-03-25 19:30:10 +00:00
John Maguire fc2877dc30 Show radio icon rather than nothing in notification. 2010-03-25 18:38:20 +00:00
John Maguire 7250587c03 Remove dependency on libnotify and use dbus directly. 2010-03-25 17:52:28 +00:00
John Maguire 2e71390acd Switch from OR to AND in split queries.
Fixes issue #116
2010-03-25 15:59:58 +00:00
John Maguire 645b819b68 Actually use unicode aware LIKE() on win32. 2010-03-25 15:39:13 +00:00
John Maguire 502e346218 Forgot to update win32 sqlite functions. 2010-03-25 15:37:15 +00:00
David Sansome 38b114e4ad Show the basefilename in the title column if there's no title tag. Fixes issue #99 2010-03-25 15:00:56 +00:00
David Sansome d5762bbbd7 Fix codereview comments for r496 2010-03-25 14:47:41 +00:00
David Sansome 088d298c7d Stop scanning the library straight away if we're asked to quit. Fixes issue #114 2010-03-25 14:33:09 +00:00
John Maguire 95252ccc71 Support query splitting in library search.
Improve performance of LIKE().
Fixes issue #104
2010-03-25 13:58:24 +00:00
David Sansome 9adf70d77e Fix the alternate background colour 2010-03-25 13:38:57 +00:00
David Sansome 06555da965 Add another check to see if library files still exist between the two loops in the librarywatcher. Also make sure songs are valid before trying to insert them into the database (triggering not-null constraint violations). Fixes issue #113 2010-03-25 13:15:55 +00:00
David Sansome c1e2cbe800 This Qt bug was fixed in 4.7 2010-03-25 12:57:11 +00:00
John Maguire a1baa06dbf Remove debug 2010-03-25 11:41:07 +00:00
John Maguire 5dc9f2358f Forgot stylesheet changes :-) 2010-03-25 11:39:44 +00:00
John Maguire 6b6ce0e582 Enable alternating row colours for playlist... hackity hack.
Fixes issue #112
2010-03-25 11:38:28 +00:00
John Maguire a64e5fb17e I <3 Qt. 2010-03-24 22:31:34 +00:00
John Maguire ca774badc4 More bounds checking on dbus interface. 2010-03-24 22:29:17 +00:00
John Maguire c00493223d Fix segfault when GetMetadata() is called when no song is playing. 2010-03-24 22:17:56 +00:00
John Maguire b6e3c52f44 Fix comments from r482. 2010-03-24 21:46:00 +00:00
John Maguire 2e35831b0b Mac build fixes 2010-03-24 21:34:32 +00:00
John Maguire f9972183c5 ifdef dbus stuff for X11 only. 2010-03-24 21:07:16 +00:00
John Maguire a8a37264f7 Add MPRIS support (thanks Amarok ;-)
Fixes issue #29

Example command lines:
dbus-send --print-reply --dest=org.mpris.clementine /Player org.freedesktop.MediaPlayer.Play
dbus-send --print-reply --dest=org.mpris.clementine / org.freedesktop.MediaPlayer.Identity
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetCurrentTrack
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetMetadata int32:0
2010-03-24 20:58:17 +00:00
David Sansome 1103ef77da More library tests 2010-03-24 19:05:49 +00:00
David Sansome da21f265c6 Fix the "verticalSpacer" warning 2010-03-24 16:51:12 +00:00
David Sansome 91b08cb4a3 Don't set the g++ warning flags on c files. Thanks christoph.gysin. Fixes issue #108 2010-03-24 16:45:44 +00:00
David Sansome 7d6a7101c9 Add a menu item to remove tracks from the playlist. Fixes issue #110 2010-03-24 16:36:44 +00:00
David Sansome ad30bad33c Check the playlist context menu index is valid before getting data from it. Fixes issue #109 2010-03-24 16:13:05 +00:00
David Sansome 70b6ba8c39 Fall back on sqlite's default non-unicode aware LIKE when we couldn't load the sqlite symbols. Fixes problems for slackware users (one of their problems anyway...). 2010-03-24 16:02:06 +00:00
David Sansome 4b4603e138 Make sure current_virtual_index_ is kept consistent when clearing or deleting items from the playlist. Fixes issue #107 2010-03-24 14:37:10 +00:00
David Sansome 92c7eff0fb Don't scrobble a track if we've been skipping through it. Fixes issue #105 2010-03-24 14:21:26 +00:00
David Sansome 16a953af11 Limit length of the "Set x to y..." menu item. Fixes issue #106 2010-03-24 14:14:17 +00:00
David Sansome 4271122976 Add an empty translation to make it easier for new translators to get started. 2010-03-24 13:45:39 +00:00
John Maguire f312b04df7 Enable more compiler warnings and fix them.
Fixes issue #108
2010-03-24 12:07:37 +00:00
David Sansome 821e524b5f Menu option to set all fields from selected tracks to the same value. Thanks christoph.gysin. Fixes issue #102 2010-03-24 00:12:52 +00:00
David Sansome bea2709186 Update the debian copyright file 2010-03-23 23:30:52 +00:00
David Sansome fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +00:00
David Sansome ea83789f17 Some more library model tests 2010-03-23 21:52:42 +00:00
David Sansome 4ab755c831 Don't try to load translations from a directory that contains another directory called "clementine". Fixes issue #88 2010-03-23 18:00:55 +00:00
David Sansome f8dd079cfd Fix codereview comments from r454 2010-03-23 17:56:24 +00:00
David Sansome 16e1deaade Make it possible for the LibraryBackend to be mocked, and add a simple test for Library. 2010-03-23 17:26:54 +00:00
David Sansome 051263c05d Enable playlist sorting on columns other than title, artist, album, track and length.
Fixes issue #97
2010-03-23 14:24:48 +00:00
David Sansome ceb6382e9f Fix compilation in release mode 2010-03-23 14:07:05 +00:00
David Sansome 7fee944b06 Updated spanish translation 2010-03-23 13:37:21 +00:00
David Sansome ed80c2e6c0 Update translations 2010-03-22 23:03:49 +00:00
John Maguire 3bc93339d9 Reduce watchers on mac (hitting 256 file descriptor limit). 2010-03-22 23:01:03 +00:00
David Sansome a82e4c5b9a Added track auto-numbering, thanks christoph.gysin.
Fixes issue #25
2010-03-22 22:46:53 +00:00
John Maguire 3e0e3f6889 Actually check for errors in AlbumCoverFetcher. 2010-03-22 21:36:02 +00:00
David Sansome 39a97d9878 Minor UI fix to the settings dialog 2010-03-22 19:46:42 +00:00
John Maguire 2aeff9b5e2 Fix compile on mac for old sqlite3 header. 2010-03-22 18:46:41 +00:00
David Sansome b1e1de709c Bring the QSQLITE plugin into the source tree and statically link it on Windows.
Also remove the unused xine windows patches, and move all the windows resources into dist/windows
2010-03-22 18:35:31 +00:00
John Maguire 6947fe2923 Set version to 0.2 for mac. 2010-03-22 16:18:03 +00:00
John Maguire 2f350c1ae6 Add unit tests for custom LIKE() function. 2010-03-22 16:03:24 +00:00
David Sansome ad3c77cb5a Fix compilation errors on ubuntu 2010-03-22 13:49:08 +00:00
David Sansome 41ab127d1a Set version to 0.2 2010-03-22 13:20:30 +00:00
David Sansome 91b2162d25 Enforce a minimum size for playlist columns when they're shown. This prevents 0-width columns appearing for whatever reason. Fixes issue #85 2010-03-22 12:13:04 +00:00
David Sansome 1879b6f858 Make this compile when DBUS isn't available 2010-03-21 23:19:56 +00:00
David Sansome 7191f968a6 Fix the memory leak!
The scope's buffer, used by the analyzers, wasn't being cleared when the mainwindow (or the analyzer) was hidden.  There was a timer that was supposed to clear it, but it wasn't being run because the xine engine is in a thread without an event loop.
Fixes issue #5
2010-03-21 23:11:34 +00:00
David Sansome 43a8b89732 Delete the divider entries properly from the library when deleting songs, and move songs to "Various artists" correctly. 2010-03-21 22:14:07 +00:00
David Sansome b5b61a2e0e Add a couple of indexes to the database to speed up searches on large libraries. 2010-03-21 21:17:01 +00:00
David Sansome eea777e74e Global shortcuts on gnome, with GSD over DBUS 2010-03-21 19:02:56 +00:00
David Sansome a2c5bebd25 Remove unused includes. Fixes issue #84 2010-03-21 18:13:22 +00:00
David Sansome 24541609d7 Fixed some RGB parameters out of range warnings 2010-03-21 17:28:54 +00:00
David Sansome d09eaac67a Fix up the other 2D analyzers 2010-03-21 17:22:05 +00:00
John Maguire 87b552d16d set background thread priority on mac 2010-03-21 16:45:34 +00:00
David Sansome 1314ef2e37 Remove the global shortcuts dialog from trunk 2010-03-21 16:37:38 +00:00
David Sansome 0b2bb418f3 Updated spanish translation from Mariano Copetti 2010-03-21 16:22:22 +00:00
David Sansome 0e42e0b9f7 Updated slovak translation
Fixes issue #83
2010-03-21 16:21:42 +00:00
David Sansome 2e1023457c Show the analyzer popup menu on a left click as well as a right click 2010-03-21 16:20:27 +00:00
John Maguire a7596959eb Compile fixes for mac for old sqlite3 header. 2010-03-21 16:11:26 +00:00
David Sansome 416670671f Run the background library scanner at IDLE io priority on linux 2010-03-21 15:55:58 +00:00
David Sansome 530d58b4cf Add some more strings for translation 2010-03-21 15:00:36 +00:00
David Sansome 56fb0663ee Fix segfault when a song's tag has changed inbetween runs 2010-03-21 14:47:59 +00:00
David Sansome cbb41cab46 Store these booleans as ints so sqlite doesn't get confused.
Fixes issue #82
2010-03-21 13:50:00 +00:00
John Maguire b468306d2f Stop linking against sqlite and use the loaded plugin. 2010-03-21 13:29:06 +00:00
David Sansome 645d7e48cc Translate this missing string - thanks Mariano Copetti 2010-03-21 13:07:02 +00:00
David Sansome da7e88d754 Update translations 2010-03-21 00:32:22 +00:00
David Sansome 8cebf0092f Updated greek translation 2010-03-21 00:31:19 +00:00
David Sansome 26098db9c8 Update the length of the first track on a last.fm stream 2010-03-21 00:30:05 +00:00
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