3148 Commits

Author SHA1 Message Date
David Sansome
8ce66bcbd2 Fix memory leak 2010-05-09 15:53:28 +00:00
David Sansome
6b8d6c93f9 Add a MergedProxyModel that lets us merge two models into one... 2010-05-09 15:51:04 +00:00
David Sansome
1b00aaa8b3 Big refactoring of the Library <-> LibraryBackend <-> SQLite interaction.
The LibraryBackend has now been split into a Database class that deals with setting up sqlite, and PlaylistBackend that contains the functions for persisting the playlist.  The LibraryBackend now only contains functions for accessing "a collection of songs", and can be parameterised with table names to access different collections.  It also no longer lives in a background thread, and follows the Qt memory management model instead of using shared_ptr.
Most of Library has been moved into LibraryModel - a QAbstractItemModel for any LibraryBackend.  What's left of Library is now specific to the user's local library on disk.
2010-05-09 00:10:26 +00:00
David Sansome
cd8fc47bf3 A little refactoring of Library - pass in a table to get songs from 2010-05-08 21:54:36 +00:00
David Sansome
72dbfd51c5 Start of a Magnatune service that downloads the list of songs and prints them on stdout. 2010-05-08 20:56:39 +00:00
David Sansome
980d61a583 If we're not crossfading, keep the same pipeline when changing tracks and just swap out the gstreamer source - this should allow for completely gapless playback. 2010-05-08 17:39:12 +00:00
David Sansome
8ea3213f09 Codereview comments from r861 >.> 2010-05-08 15:45:09 +00:00
David Sansome
9cd0fa6d7d Better error handling for the transcoder, and a log to show the user what's going on 2010-05-08 15:36:12 +00:00
David Sansome
b304b1a5a0 Remember the last used output format in the transcoder dialog 2010-05-08 14:09:56 +00:00
David Sansome
5cbed1c6b3 Use uridecodebin to pick the right source for us, rather than using giosrc sometimes, and soup/neon for http. Fixes issue #290 2010-05-08 13:54:12 +00:00
John Maguire
b909f56dbb Stupid msgmerge fix. 2010-05-07 12:30:06 +00:00
David Sansome
1f0733caf5 Cancelling the transcoder now works 2010-05-06 16:28:19 +00:00
David Sansome
1287254897 Merged translations from launchpad 2010-05-06 12:52:19 +00:00
David Sansome
8c9b546cc5 Show the console window in debug mode on Windows 2010-05-05 16:56:55 +00:00
David Sansome
38d4cb40c8 Fix an infinite recursion bug. Fixes issue #284 2010-05-05 16:56:42 +00:00
David Sansome
a81d0c55e7 Fix some indentation in CMakeLists 2010-05-05 16:56:35 +00:00
John Maguire
a7d9c4d0dc Support drag from Finder to playlist on Mac.
Fix small build thing.
2010-05-05 11:50:45 +00:00
David Sansome
19b08540ef Force the directsound sink on windows 2010-05-04 15:51:23 +00:00
David Sansome
e862555f56 Oops, AAC works better in a container... 2010-05-03 22:58:18 +00:00
David Sansome
6e3cab8667 Make the pretty OSD skip the taskbar on Windows. 2010-05-03 22:36:28 +00:00
David Sansome
b114b76e10 Don't overwrite existing files 2010-05-03 21:24:43 +00:00
David Sansome
c1384f0a0c Make this comment a bit more helpful 2010-05-03 20:10:55 +00:00
David Sansome
e24efe390c Fix compilation on Windows 2010-05-03 20:01:23 +00:00
David Sansome
6fa0f28ca4 Working transcoder. No error handling yet 2010-05-03 19:56:21 +00:00
David Sansome
d5c52f32d8 Add an almost working music transcoder. Also some small translation fixes. 2010-05-03 18:52:35 +00:00
John Maguire
7b420b6845 Some defensive programming for r819. 2010-05-03 14:55:00 +00:00
John Maguire
3adc74dfab Disable gstengine's timer when it's stopped. 2010-05-03 14:15:42 +00:00
David Sansome
7039d04ee6 Keep all the version numbers in one file, so we don't have to change it in hundreds of places each release. 2010-05-03 13:58:41 +00:00
David Sansome
d3cbeed9b7 Merge translations from launchpad 2010-05-03 13:10:38 +00:00
David Sansome
6f7dbf3286 Make local file playback work on Windows again 2010-05-01 14:01:01 +00:00
David Sansome
5a7437ddd6 Fix the "add media" dialog on windows 2010-05-01 13:49:07 +00:00
David Sansome
f8d68d3956 Always show icons in the menus, even on gnome in lucid 2010-05-01 13:40:21 +00:00
David Sansome
b319bdfe8e Set the glib application name so Clementine shows up in the gnome-volume-control 2010-04-30 19:45:43 +00:00
David Sansome
266ad640de Fix character decoding from gstreamer errors.
Update issue 263
Status: Fixed
Nevermind, I worked out out - should be fixed now!
2010-04-30 15:37:57 +00:00
David Sansome
260fe95a93 Fix an infinite loop when a radio stream finishes 2010-04-30 15:29:33 +00:00
David Sansome
0fb1a02df5 Show the more meaningful delegate's displayText in the playlist tooltips, rather than the naked Qt::ToolTipRole text.
Update issue 267
Status: Fixed
I've fixed the strange values for numeric fields and the length field - they
should now all show the same text as shown in the playlist.
I think it's going to be harder to inhibit the tooltip if all the text is
already displayed though.
2010-04-30 15:23:52 +00:00
David Sansome
148bd538f7 Merge 0.3 rc1 tag changes back into trunk 2010-04-30 11:13:37 +00:00
David Sansome
0c9e69ed30 Group "remove" undo commands in the playlist. Fixes issue #262 2010-04-29 23:58:31 +00:00
David Sansome
70565565c7 Don't reshuffle the playlist every time the user presses next 2010-04-29 23:30:24 +00:00
David Sansome
bd0b0ae0aa Change the application version to 0.3 rc1 2010-04-29 20:25:44 +00:00
David Sansome
3a52920671 Remember to pass timer events back down to the baseclass. Fixes issue #258 2010-04-29 15:54:32 +00:00
David Sansome
299783d097 Use QBasicTimer for the playlist glow as well 2010-04-28 11:09:57 +00:00
David Sansome
29a623739b Italian translation from Vincenzo Reale 2010-04-28 10:29:26 +00:00
David Sansome
d5a3c74043 Make analyzers use QBasicTimer instead of QTimer 2010-04-27 21:40:28 +00:00
John Maguire
f1ff15d2f7 Fix crash when using the services menu on mac. 2010-04-27 18:44:19 +00:00
David Sansome
9d72d85f09 Don't crash when asked to load a file that doesn't exist on Windows 2010-04-27 17:53:52 +00:00
David Sansome
48bd5020cd Don't crash when editing a song that doesn't exist any more, also don't even add deleted songs to the playlist. Fixes issue #253. 2010-04-27 17:37:26 +00:00
David Sansome
0579b18850 Accept empty fields in the edit tags dialog. Fixes issue #251. 2010-04-27 17:19:07 +00:00
David Sansome
3f360d254f Renumber tracks correctly starting from the top one even when the user selects them "backwards" (starting from the bottom). 2010-04-27 17:15:11 +00:00
David Sansome
30daf4aca2 Merge translations from launchpad 2010-04-27 13:51:25 +00:00