Commit Graph

740 Commits

Author SHA1 Message Date
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
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 84441decce Actually ship the direct sound plugin as well... 2010-05-04 15:41:49 +00:00
David Sansome 8bc01c5d0d Use the waveform sink on windows instead of directsound 2010-05-04 13:31:44 +00:00
David Sansome 84a98a97c3 Better windows icon 2010-05-03 23:34:46 +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 c59afce5ee Include the vorbis encoder library with the Windows package, as libgstvorbis requires it. Also remove the theora library because we don't play video. 2010-05-03 22:18:27 +00:00
David Sansome b114b76e10 Don't overwrite existing files 2010-05-03 21:24:43 +00:00