Commit Graph

2314 Commits

Author SHA1 Message Date
David Sansome 417bde98a0 Remove dependency on QtUiTools, remove QtUiTools bindings and port PyQt's pure python .ui file parser to use PythonQt. Change the di.fm script to use uic again. 2011-05-21 19:08:38 +00:00
Paweł Bara 46a411844a some more corrections of the python API for cover providers; still not working ;) 2011-05-21 12:19:35 +00:00
David Sansome 5234798a7f Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs. 2011-05-21 10:43:25 +00:00
David Sansome a18146bf8a Handle conversions of SongLists properly between python and Qt 2011-05-21 10:43:08 +00:00
David Sansome 5c1139747f Update a log line in the device kit lister 2011-05-19 23:02:30 +00:00
David Sansome 147bbb9928 Add some more python bindings 2011-05-19 23:02:15 +00:00
John Maguire 51e031df2b Add class for transcoding a Song into an OGG Vorbis stream. 2011-05-19 16:34:33 +00:00
John Maguire 83813bb788 Make ICESession a QIODevice. 2011-05-19 14:29:25 +00:00
David Sansome 09bde274ed Fix some ICE stuff 2011-05-19 13:21:12 +00:00
John Maguire 9afa223dbf Regenerate pythonqt bindings from Qt 4.6. 2011-05-18 15:19:02 +00:00
John Maguire eab423f84e 2-way test infrastructure for ICE tunnelling. 2011-05-18 13:54:26 +00:00
Paweł Bara e0ab8ae5f2 little improvements to the last commit 2011-05-17 18:02:39 +00:00
Paweł Bara d1d177769a cover providers are now recreated every search (this will lead to simpler API of theirs in a moment)
initial migration from SIP -> PythonQt in cover providers
2011-05-17 17:53:36 +00:00
John Maguire 69b2942566 Add dependency so spotify blob is built before clementine. 2011-05-17 11:53:17 +00:00
John Maguire 8dd745895a Add --version command line flag.
Fixes issue #1867
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 19:21:46 +00:00
John Maguire e7f635e507 Maybe fix mac spotify build. 2011-05-16 15:15:02 +00:00
John Maguire b175c36431 Add file type filtering to File view.
Fixes issue #361
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 15:08:17 +00:00
David Sansome d15c6ac495 Remove the timerEvent method from NetworkTimeouts 2011-05-15 16:19:47 +00:00
David Sansome 7b84b23366 Add bindings for classes from network.h 2011-05-15 16:12:49 +00:00
David Sansome 25e63e4b42 Add QtUiTools bindings 2011-05-15 16:12:38 +00:00
David Sansome 368c637ce7 Fix compilation in release mode and disable the python test for now 2011-05-15 15:46:42 +00:00
David Sansome d9bb8ffd8c Add the pythonqt bindings generator and make some bindings for RadioService and UrlHandler 2011-05-15 15:45:49 +00:00
David Sansome 930a2aa2bf Add an interactive Python console to the script manager 2011-05-15 13:44:06 +00:00
David Sansome 7c05b42dcd Add PythonQt to 3rdparty, use it in the python engine instead of SIP/PyQt. 2011-05-15 13:41:54 +00:00
David Sansome e2c6526840 Make dynamic playlists use the limit specified in the smart playlist dialog. Thanks google@robbertkrebbers.nl. Fixes issue 1082. Fixes issue 1192. 2011-05-14 13:44:10 +00:00
David Sansome 792352be3b When songs disappear from the filesystem (either they're deleted or are on a removable media that was unmounted), mark them as unavailable instead of removing them from the database. Thanks google@robbertkrebbers.nl. Fixes issue 401 2011-05-14 13:43:57 +00:00
David Sansome dfb0289987 Fix the byte order of album cover art images sent over dbus on big endian machines. Thanks Paul Wells 2011-05-14 13:43:33 +00:00
John Maguire c9a0318553 Revert to not scanning hidden directories. 2011-05-13 16:56:42 +00:00
Andrea Decorte dbde7ae118 Fixed icons 2011-05-09 20:37:14 +00:00
John Maguire 6c291c45db Add missing include. 2011-05-09 20:03:53 +00:00
Andrea Decorte ddbe03b526 Added Login button to Last.Fm and others online services. Fixes issue
1772
2011-05-09 19:54:04 +00:00
Andrea Decorte 56c8567fc7 Added missing NOT conditions in smart playlists. Fixes issue 1836 2011-05-04 18:47:48 +00:00
Andrea Decorte 2bcaba28ad Fixed translations when compiling without Spotify support 2011-05-04 18:00:48 +00:00
Arnaud Bienner d20f689ab4 Revert r3234 because, as discussed, this could lead to blocking behavior 2011-05-03 22:38:24 +00:00
Andrea Decorte 2dd2b615ef Show tooltips in the sidebar only in Tabs and IconsOnly modes 2011-05-03 18:06:17 +00:00
Arnaud Bienner 709d339866 Avoid to create a new thread when changing state. Make the UI more reactive, especially when Qt threadpool is already full (for example when fingerprinting several files in parallel for MusicBrainz autotagging) 2011-05-03 00:02:35 +00:00
David Sansome e6032a7c51 Use __stdcall for libspotify callbacks on windows, call the right executable 2011-04-30 18:22:14 +00:00
David Sansome d41916cf79 Update pot 2011-04-30 12:31:32 +00:00
David Sansome 70e6018b1e Add some spotify branding, display spotify login errors, add a button to the config dialog to download the blob, only make the config dialog try to login when it needs to, fix a bug where the Starred and Inbox items would sometimes not get created. 2011-04-30 12:31:20 +00:00
Andrea Decorte 1c0a0f17dd Added some debug output for last.fm tracks caching 2011-04-30 08:36:44 +00:00
David Sansome a2ceca673c Bump trunk's version to 0.7.1 (oops), show an error when the spotify blob crashes, actually use the LD_LIBRARY_PATH that is created 2011-04-29 21:49:48 +00:00
David Sansome c22c5eb917 Fix a build failure on Windows 2011-04-29 21:01:20 +00:00
David Sansome be69ad9225 Update the pot 2011-04-29 19:50:34 +00:00
David Sansome 3deb371537 If the spotify blob isn't installed, try to download it from the Clementine website. Also, make the blob separate from the core Spotify code in Clementine so you can build the core code without building the blob 2011-04-29 19:44:51 +00:00
John Maguire a1e06e6596 Fix opening the Spotify config dialog from the context menu. 2011-04-29 18:56:17 +00:00
David Sansome 0b4368aece Fix build error 2011-04-29 14:07:30 +00:00
David Sansome a2d4e7d843 Change the fonts in the did you mean... popup, and make it observe enter and escape keypresses 2011-04-29 14:01:59 +00:00
David Sansome 337ac0b9e1 Update pot 2011-04-29 13:41:53 +00:00
David Sansome 5efe63462c Get album art for Spotify tracks 2011-04-29 13:41:42 +00:00
David Sansome 35e34c6ca5 Hide the did you mean widget when leaving the search box, Don't lose the spotify tab icon when stopping playback, add a helpful label to the empty spotify search tab, remove the playlist CSS hook, fix double clicking the "Search spotify" item in the list 2011-04-29 11:24:58 +00:00
Paweł Bara b0688a2aa7 fixing compilation of remote control 2011-04-28 22:31:58 +00:00
David Sansome b20d280156 Add a "Did you mean ...?" widget when searching on spotify 2011-04-28 20:48:53 +00:00
John Maguire b45e11712a Correctly copy and fix up spotify blob on mac. 2011-04-28 20:37:13 +00:00
John Maguire d51c99382e Fix crash on Mac. 2011-04-28 20:19:48 +00:00
David Sansome 06852aaeb7 Show spotify search results in a separate playlist tab rather than in a tree in the sidebar. 2011-04-28 17:50:45 +00:00
David Sansome 255682b057 Remove the special load behaviour from Playlist Items and instead add URL Handlers that do the same job but for all playlist item types. 2011-04-28 15:10:28 +00:00
David Sansome ccb9f8cf94 Use URLs everywhere instead of filenames. Move the URL parsing and song loading code out of individual playlist parsers and into the base class. Fix the playlist parser unit tests. 2011-04-28 12:27:53 +00:00
Andrea Decorte 9dd45dbe82 Improved Last.fm scrobbling when connection is down 2011-04-28 10:32:56 +00:00
Paweł Bara 23fbada6c4 fixing a problem with disabled "save cover to file" action in the now playing widget (fixes issue #1721) 2011-04-27 19:44:38 +00:00
Paweł Bara 10fbbca82f disable some more stuff in the cover manager's window if there are no active cover providers 2011-04-27 19:36:42 +00:00
Paweł Bara fdda938c53 now that we have more cover providers, we're bringing the cover manager and the cover searcher goodness to our last.fm-less users 2011-04-27 19:10:37 +00:00
David Sansome b15156a7a3 Handle bigger protobuf messages, add spotify searching to the UI 2011-04-27 16:38:28 +00:00
John Maguire ff7d634fa4 Spotify on mac. 2011-04-26 22:20:11 +00:00
David Sansome 3d6677fe6d Allow radio services (Spotify) to store whole songs in playlist items 2011-04-26 22:06:58 +00:00
David Sansome 6f1f4484f4 Allow songs from the spotify service to be added to the playlist, and bodge a tcpserversrc into GstEnginePipeline 2011-04-26 18:39:38 +00:00
David Sansome 3a34d416f9 Get playlist contents from Spotify and display them in the UI 2011-04-26 17:06:36 +00:00
David Sansome 2bec9a00fc Add license headers to all the spotify source files and obfuscate the API key 2011-04-26 13:43:13 +00:00
David Sansome c4f1b3f002 Get the list of playlists from spotify. Also clean up the logging in the client, rename and refactor some classes. 2011-04-26 13:42:58 +00:00
David Sansome e152e3a3e3 Start of some spotify support - builds a binary blob linked against libspotify that Clementine starts as a separate process. 2011-04-25 19:16:26 +00:00
Andrea Decorte 4d19917b05 Length in smart playlists works again. Fixes issue 1796 2011-04-24 19:07:01 +00:00
David Sansome 071f1f4f7e Add loads more debug logging on startup 2011-04-24 18:07:09 +00:00
David Sansome 8b1cbc33c0 Fix a race condition on startup that would cause a crash if the album cover loader thread took too long to start (happened a lot on Windows) 2011-04-24 18:07:05 +00:00
Andrea Decorte c6c4902d3f Added two new options for date queries in smart playlists. Fixes issue
1141
2011-04-24 17:52:16 +00:00
David Sansome ec07d9d46f Don't statically initialise Python extensions on Windows, add some more debug logging 2011-04-24 17:02:32 +00:00
David Sansome 9d52951dea Add a compile time option to show the WIN32 console even outside debug mode 2011-04-24 17:02:26 +00:00
David Sansome d28e5ae09a Add a test for shared pointers in python 2011-04-22 18:53:33 +00:00
David Sansome 63b6c65b8f Make the script dialog list scroll more smoothly 2011-04-22 18:53:26 +00:00
David Sansome 101985defa Fix a build failure with glib >= 2.25 2011-04-22 17:52:09 +00:00
David Sansome 5a2f522895 Fix compilation on release builds 2011-04-22 17:17:37 +00:00
David Sansome df05bf1195 Fix a bounds check in PlaylistTabBar, convert a couple more things to use qLog() 2011-04-22 17:07:57 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
Arnaud Bienner 93eb4dea3f Revert r3155, as it seems this doesn't correct issue 1710 2011-04-21 22:23:44 +00:00
Arnaud Bienner be1ee059f2 Correct update lastfm's love/ban actions in tray icon 2011-04-21 22:19:28 +00:00
Paweł Bara b8e1880854 "remove deleted songs from playlists" action in the 'deleted songs invalidator' plugin (fixes issue #1594) 2011-04-21 21:56:37 +00:00
Paweł Bara 90470e1315 another plugin - Amazon provider for searching of covers 2011-04-21 19:07:39 +00:00
Arnaud Bienner 096c563a9c On Mac OS X, we shouldn't transmit the event to search box when backspace is pressed, but accept it (this should result in deleting the track from the view). Updates issue 1710 2011-04-19 23:56:18 +00:00
Arnaud Bienner 41a4393b24 Translate dynamic playlist names at runtime. 2011-04-19 21:39:02 +00:00
Arnaud Bienner 1cd1a4a641 Forgot to update translations. Also adding a key accelerator to 'Tools' menu text (while keeping already translated strings) 2011-04-19 20:31:41 +00:00
Arnaud Bienner 6653d740fc Adding shorcuts for navigating over the tabs. Fixes issue 1568 2011-04-19 20:11:24 +00:00
David Sansome 2f88d8b355 Change "drection" to "direction" in the mpris /Player schema 2011-04-19 19:22:58 +00:00
Paweł Bara 6841e183d3 in the Last.fm config dialog, hide the warning icon with the warning itself
David's POTs
2011-04-17 15:25:32 +00:00
David Sansome 05f73962a8 Oops, update playlist.sip 2011-04-17 15:23:11 +00:00
David Sansome 8f4c1dbbf6 When doing gapless playback, fix a bug where the TrackEnded signal would be emitted too early, before the track had actually ended. This caused the song after the current song to get scrobbled and its playcount increased. Fixes issue 1771 2011-04-17 14:11:37 +00:00
Andrea Decorte 9a31eb7fd4 When deleting items in playlist, select the next one. Fixes issue 1279 2011-04-17 13:48:02 +00:00
David Sansome 012eeee46a Only update a song's play count once if scrobbling is disabled. Fixes issue 1766 2011-04-16 23:17:48 +00:00
David Sansome 5ed1fcd5e1 Add a load of options to the transcoders. Fixes issue 415. 2011-04-16 23:04:15 +00:00
David Sansome 9030c5a49e Scrobble a track again if it's loved after it's scrobbled 2011-04-16 15:27:41 +00:00
David Sansome 343b6d6c3a Re-enable the love button after going to a different song in a radio stream. Fixes issue 1086 2011-04-16 15:27:34 +00:00
David Sansome 12b6bbd166 Scrobble radio streams even if we don't know the length of each individual part. Fixes issue 681 2011-04-16 15:13:53 +00:00
Arnaud Bienner f7e614684d Minor modifications thanks to David' comments. Adding some comments to explain the new process: hope it's clearer now 2011-04-16 15:06:13 +00:00