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
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