1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00
Commit Graph

751 Commits

Author SHA1 Message Date
David Sansome
f7c08d375a Add a "load" menu item to the library, files view, and radio view to replace the current playlist with the selection. Also add an option to make this the default. Fixes issue #311 2010-05-15 17:45:04 +00:00
David Sansome
c5db4c025c We don't need to link against libz on windows or linux for some reason. 900 GET 2010-05-11 20:07:00 +00:00
David Sansome
49f273edd2 Add an option to add a whole folder to the playlist 2010-05-11 20:02:19 +00:00
John Maguire
6794b67a2f Fix LibraryModel tests. 2010-05-11 19:03:29 +00:00
John Maguire
ae233ada44 Use canFetchMore/fetchMore instead of nasty const_casts. 2010-05-11 18:17:41 +00:00
David Sansome
51446cbb88 Implement canFetchMore and fetchMore in MergedProxyModel 2010-05-11 18:01:30 +00:00
John Maguire
ff4eb346da Fix mac build 2010-05-11 12:51:31 +00:00
John Maguire
5dd0a9c35f Autodetect weird encodings in ID3v1 tags.
Fixes issue #254
2010-05-11 12:03:55 +00:00
David Sansome
72f5307524 Fix a little race condition 2010-05-10 22:47:14 +00:00
David Sansome
7302854382 Oops, fix some crashes on startup 2010-05-10 22:09:16 +00:00
David Sansome
1aee5e4667 Split all the source files up into seven new directories. 2010-05-10 21:50:31 +00:00
David Sansome
481dbae992 Save magnatune playlist items properly, also fix tests from before 2010-05-10 14:19:43 +00:00
John Maguire
37960cb5df Start of (still disabled) ID3v1 encoding detector.
Comes with const_cast hackiness \o/
Updates issue #254
2010-05-10 13:46:06 +00:00
David Sansome
41f306fd2a Load cover art from Magnatune: make AlbumCoverLoader load from http, and make the OSD load artwork asynchronously. 2010-05-10 13:15:52 +00:00
David Sansome
58da0a2f64 Use the same QNetworkAccessManager for everything, and make it use a disk cache 2010-05-10 11:12:44 +00:00
David Sansome
4ed73d74b0 Replace readElementText properly, with one that doesn't error out when it sees a child element. 2010-05-10 10:58:02 +00:00
David Sansome
9e47eb420a Make this compile on Qt 4.5 2010-05-10 09:35:45 +00:00
David Sansome
a5102a2b27 Remove all existing magnatune songs before reloading the database 2010-05-09 21:31:52 +00:00
David Sansome
575d44144c Rename the "Radio" tab to "Internet" 2010-05-09 21:22:47 +00:00
David Sansome
739b0168ed Add an index to the magnatune table 2010-05-09 21:21:08 +00:00
David Sansome
bef59ffd22 Don't reset the whole merged model when one of the submodels changes 2010-05-09 21:16:54 +00:00
David Sansome
e2355d855d Move the library filter widget out of MainWindow into another class, and show the widget when magnatune is selected 2010-05-09 20:18:05 +00:00
David Sansome
7ef13ecf09 Display dividers properly in the Magnatune list 2010-05-09 18:55:33 +00:00
David Sansome
95bd58c5bb Load genres and cover art (although it's not used yet) 2010-05-09 18:50:54 +00:00
David Sansome
8d3353520a Magnatune context menu 2010-05-09 18:36:10 +00:00
David Sansome
8b76cfa19d Do something sensible with context menus 2010-05-09 17:53:27 +00:00
David Sansome
7ef82ef9c1 Playing Magnatune tracks now works 2010-05-09 17:32:07 +00:00
David Sansome
ff8c024692 Drag and drop from the merged model 2010-05-09 17:19:48 +00:00
David Sansome
88ab9a8299 Add a table for the Magnatune library, and add the Magnatune database to it when the Magnatune node is expanded. Sort the Magnatune library model properly, and don't crash when adding or removing items. 2010-05-09 16:53:35 +00:00
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
aba44b7a5a Remove unused file 2010-05-08 20:57:24 +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
b41716e520 Fail to configure if xgettext cannot be found.
Fixes issue #292
2010-05-07 13:10:21 +00:00
John Maguire
b909f56dbb Stupid msgmerge fix. 2010-05-07 12:30:06 +00:00
John Maguire
68a2ac5db5 Fixes to use Qt 4.7 beta on Leopard:
* Use the default install path rather than /usr/local by default
* Strip x86_64 from libraries
2010-05-07 12:17:18 +00:00
David Sansome
9afef36397 Add the diff from QtSingleApplication 2.6 2010-05-07 11:43:49 +00:00
David Sansome
1f0733caf5 Cancelling the transcoder now works 2010-05-06 16:28:19 +00:00
David Sansome
111f0d066b Version 0.3 of ubuntu and fedora packages 2010-05-06 13:05:00 +00:00
David Sansome
1287254897 Merged translations from launchpad 2010-05-06 12:52:19 +00:00
David Sansome
02d6d17f0b Kill the running clementine process before uninstalling. Fixes issue #279 2010-05-05 16:57:04 +00:00
David Sansome
8c9b546cc5 Show the console window in debug mode on Windows 2010-05-05 16:56:55 +00:00
David Sansome
ef36badd4c Delete the uninstaller when uninstalling 2010-05-05 16:56:49 +00:00