Commit Graph

1840 Commits

Author SHA1 Message Date
David Sansome d78ad452f2 Make the "No cover" image the same size as the cover art when showing cover art in the library. Thanks markwatkinson. Fixes issue #785. 2011-01-02 18:58:52 +00:00
Paweł Bara bbe97b00a2 make engine 'multiple-section songs' aware -> you should now be able to play your .cue related music 2011-01-02 18:53:45 +00:00
David Sansome bbe07cef44 Add a couple more menus for scripts to use 2011-01-02 18:52:24 +00:00
David Sansome 9da56fd916 Always compile basic scripting support 2011-01-02 18:44:45 +00:00
David Sansome 45caf3b6f4 Fix the windows build 2011-01-02 18:33:31 +00:00
David Sansome 385753ad4f Oops 2011-01-02 18:22:22 +00:00
David Sansome a79ca8c556 Let scripts register actions at predefined locations in the UI 2011-01-02 18:10:26 +00:00
David Sansome cfffa59b9b Initialise the scripts only after everything else has loaded 2011-01-02 16:17:36 +00:00
David Sansome fdc2ec2e73 Better (read: some) error handling when the clementine module can't be imported 2011-01-02 16:09:14 +00:00
David Sansome b2f22cf3a3 Add the extra sip dependencies as actual dependencies 2011-01-02 15:30:15 +00:00
David Sansome 43940de195 Add an option to show cover art in the library view. Thanks markwatkinson. Fixes issue #785 2011-01-02 14:51:01 +00:00
David Sansome a466cff48a Reload all settings from one function 2011-01-02 14:50:17 +00:00
David Sansome c80a4301cc Don't statically initialise the RadioModel's services map 2011-01-02 14:49:55 +00:00
David Sansome cdac0c6c86 Add python bindings for Playlist and PlaylistManager 2011-01-02 03:25:15 +00:00
David Sansome cfbbd3665c Show the script console tab in red if an error has occurred 2011-01-02 02:46:16 +00:00
David Sansome 5cadf923fc Unload scripts properly 2011-01-02 02:23:10 +00:00
David Sansome 7a7597500b Set __path__ properly so scripts can import other modules, and put all scripts in a namespace 2011-01-02 01:33:54 +00:00
David Sansome c8d8ef208d Don't create a separate interpreter for each script (it's not very well supported), instead create a module for each one. Redirect sys.stdout and sys.stderr to the clementine console. 2011-01-02 01:07:19 +00:00
David Sansome 11f4157f6f Let scripts show a settings dialog 2011-01-01 19:03:33 +00:00
David Sansome 2bbbda7714 Add buttons to the script manager to enable and disable scripts, and remember which ones were enabled and start them on startup 2011-01-01 18:37:08 +00:00
David Sansome dac0d071ea Add bindings for Song, PlaylistItem, PlaylistItemPtr and EngineBase, add a "player" attribute to the clementine module 2010-12-31 20:29:52 +00:00
David Sansome 5b1000834f Add some basic script loading support and add python bindings for the Player class 2010-12-31 18:13:28 +00:00
David Sansome 6ea9ea3b4d Add a linebreak to a tooltip 2010-12-30 18:26:13 +00:00
David Sansome 92b6c3a3ec Work around QTBUG-11620 (fixed in 4.7) that causes a crash when skipping through tracks with the Artist Info tab open. Fixes issue #935 2010-12-30 17:35:10 +00:00
David Sansome b578c61b36 Fix loading songs with non-ascii characters in the filename on Windows. Fixes issue #1207. Fixes issue #531. Fixes issue #813. 2010-12-30 17:13:11 +00:00
David Sansome 398f5d7f66 Use qtsparkle instead of winsparkle 2010-12-30 16:20:33 +00:00
John Maguire bc2eb6ad65 Fix release build. 2010-12-30 13:35:36 +00:00
John Maguire a44fef5028 Remove extraneous code. 2010-12-30 13:06:22 +00:00
John Maguire ce65c95580 Beginnings of remote control support. 2010-12-30 13:03:36 +00:00
David Sansome 45a7780f95 Add winsparkle support (doesn't work yet) 2010-12-29 17:53:28 +00:00
Paweł Bara 234465874c remember the track number when parsing .cue 2010-12-29 15:46:01 +00:00
David Sansome ca032eb445 Add an "Enqueue to playlist" menu item. Thanks bendarb. Fixes issue #980 2010-12-29 15:08:43 +00:00
David Sansome 9c03677143 Make the track slider popup a normal widget instead of a top-level window. Removes a lot of the complexity and fixes some bugs 2010-12-29 14:49:39 +00:00
David Sansome 5b4b4a98c7 Don't show the slider popup when the slider is disabled, and remove some window flags 2010-12-29 14:32:16 +00:00
David Sansome a9a8b849ca Add some safeguards to the merged proxy model against dereferencing child models that have been deleted 2010-12-28 23:21:56 +00:00
David Sansome d1d0236385 Make the "show full size" menu item in the now playing widget and edit tag dialog work with embedded covers 2010-12-28 22:20:54 +00:00
David Sansome d2fda6875f Pass wheel events through the track slider popup too 2010-12-28 21:04:55 +00:00
Paweł Bara da5f941333 consider .cues when scanning the library
persist the new 'beginning' marker of songs
fixed a bug where %allsongstables script would not update the attached databases
2010-12-28 15:36:01 +00:00
David Sansome 1362809b5d Make the library scanner use filter words for selecting cover art. Thanks markwatkinson. Fixes issue #634 2010-12-28 12:52:58 +00:00
David Sansome 6456665066 Cache the background pixmap, and add support for X without transparency 2010-12-27 19:37:36 +00:00
David Sansome 62e21d64f3 Make the track slider popup more accurate, make the text bold, make the shadow bigger but fade out towards the bottom, and make it close when the mouse leaves the area of the slider. 2010-12-27 19:23:12 +00:00
John Maguire 72da76a71a Fix track slider popup on Mac. 2010-12-27 17:41:59 +00:00
David Sansome fbbd4d4b27 Add a picker to the seek slider. Fixes issue #1050 2010-12-27 16:34:00 +00:00
David Sansome 97d7fe764a Download higher resolution images from last.fm. Thanks markwatkinson. Fixes issue #1187 2010-12-26 20:19:12 +00:00
David Sansome d08782b720 Don't automatically expand items in tree views when clicking them if a modifier key is pressed as well. 2010-12-26 18:07:57 +00:00
David Sansome 35242f740e Fix dbus 2010-12-26 17:24:44 +00:00
David Sansome b49fd1903d Add menu items to set the cover art to the context menu of the now playing widget. Fixes issue #906 2010-12-26 17:16:40 +00:00
David Sansome dc31a0be7e Make it possible to disable all lyric providers. 2010-12-26 15:06:11 +00:00
David Sansome fd00924f26 Fix parsing non-ascii filenames passed on the commandline (or through a file browser). Fixes issue #773. Fixes issue #752. 2010-12-26 14:54:46 +00:00
David Sansome e3a9bd7b26 Make DBUS bits optional on Linux. Thanks Nickollai. Fixes issue #1177 2010-12-26 13:38:35 +00:00
David Sansome 6737b8a5c2 Always use the gstreamer engine, remove xine, vlc and phonon engines. 2010-12-26 13:01:35 +00:00
David Sansome 41c42fe3a2 Fix compilation of the edit tag dialog when lastfm is compiled out 2010-12-26 12:42:47 +00:00
David Sansome b5942aa7d6 Fix network access on linux without a proxy 2010-12-26 12:03:10 +00:00
David Sansome e6561a0122 Fix a race condition on startup that might lead to two instances of Clementine being started. 2010-12-25 17:49:04 +00:00
David Sansome ae9ada254c Maybe fix build error 2010-12-25 17:41:18 +00:00
David Sansome 9b22f2ce40 Proxy support. Fixes issue #38 2010-12-25 17:25:29 +00:00
David Sansome eca62e037b Don't re-read song tags from files while loading a playlist if they're already avaiable in the library. Fixes issue #1165 2010-12-25 14:41:31 +00:00
David Sansome ced9a8b6e2 Test we can connect to udisks before connecting signals and reset the pointer of the interface. Thanks mail@holger-mense.de. 2010-12-25 14:25:05 +00:00
David Sansome 843cd92615 Increment play counts even if the song is shorter than 30 seconds. Fixes issue #1172 2010-12-25 13:37:45 +00:00
David Sansome 9b1765d1b0 The DeviceKit service not being around is not necessarily an error - it might get started automatically. Thanks mail@holger-mense.de. Fixes issue #1060 2010-12-25 13:23:25 +00:00
David Sansome 9b82ecbb72 Add tag completers for albumartist, composer and genre, and load completion models in background threads 2010-12-25 13:11:09 +00:00
David Sansome 8cdce2767b Implement the reset play counts button 2010-12-25 11:54:21 +00:00
David Sansome e21307e087 Non-const references put me on santa's naughty list 2010-12-25 00:43:55 +00:00
David Sansome c2bd0bbb05 Make the rating widget work 2010-12-25 00:33:53 +00:00
David Sansome 31005e5943 Update the cover art on other cached songs that would be changed anyway when changing cover art. 2010-12-25 00:15:05 +00:00
David Sansome 33b5bebb95 Add keyboard shortcuts for the previous and next song buttons 2010-12-24 23:35:34 +00:00
David Sansome b3450e9853 It's "edit track information", not "edit tracks information" in english 2010-12-24 23:29:13 +00:00
David Sansome f09aa34bb1 Edit tag dialog changes: remove the statistics tab and put its fields into the Summary tab, make right clicks on the album art do the same as clicking "change cover art", grey the field labels a bit, make sure large filenames don't make the dialog bigger. 2010-12-24 23:22:09 +00:00
Paweł Bara d7fe4600b8 an initial version of .cue sheets parser
initial support for multipart media files in Song ('beginning' and 'end' fields)
2010-12-23 21:13:43 +00:00
John Maguire cd4ecc1f8e Fix compiling with Sparkle support. 2010-12-22 15:41:30 +00:00
David Sansome 95ef57cf1e Add column text alignment options to the playlist header menu. Thanks brunciter! 2010-12-22 10:45:14 +00:00
John Maguire 2c0cd683db Typo in comment. 2010-12-21 15:49:17 +00:00
John Maguire 718be22d0d Automatically bump the max file descriptors for clementine to the maximum on Mac. 2010-12-21 15:48:30 +00:00
John Maguire 596b5471b1 Nicer fix for mac crash. 2010-12-21 14:55:42 +00:00
John Maguire a139d46114 "Fix" for mac crash. Somehow adding an eventFilter prevents the stack overflow.
Fixes issue #1109
2010-12-21 14:41:02 +00:00
David Sansome 8453e9e768 Make the edit tag dialog save tags, also make it load them in a background thread. 2010-12-21 13:42:06 +00:00
Arnaud Bienner ccd26b4002 Removing trackSkipped when stopping: even if Amarok wasn't acting like this, in my opinion, a 'stopped' track should not be considered as 'skipped' 2010-12-21 00:38:07 +00:00
Arnaud Bienner 3218e08118 Displaying different text depending on the number of selected songs 2010-12-21 00:20:36 +00:00
David Sansome d531d01f60 Fix Windows \\ paths when preloading files as well as when playing them initially. 2010-12-20 19:00:48 +00:00
David Sansome 998f9e1af5 Add next and previous buttons to the edit tag dialog 2010-12-20 16:36:16 +00:00
David Sansome 2a63a746fe Allow changing the cover art from the edit tag dialog 2010-12-20 15:46:38 +00:00
John Maguire 4e2d82f3fb Fix mac build. 2010-12-20 14:49:47 +00:00
David Sansome b0d4d72b42 Add some information to the summary and statistics tabs in the edit tags dialog. 2010-12-20 14:12:40 +00:00
David Sansome c8520021d7 Start of a new edit tag dialog. Lots of things don't work and it doesn't actually save tags yet (so it's about as useful as before). 2010-12-19 23:40:36 +00:00
David Sansome a97c23d173 Fix liblastfm detection. Protip: variables can't be used before they're set. 2010-12-19 15:10:26 +00:00
David Sansome 2d8028d89a Use a smaller cover in the tray icon tooltip again. Fixes issue #1135 2010-12-19 15:04:22 +00:00
David Sansome 8bc23a4d66 Keep hold of the generator object while updating the smart playlist preview. Fixes issue #1139 2010-12-19 14:37:25 +00:00
David Sansome a21320e635 Make the sidebar larger by default 2010-12-19 14:29:25 +00:00
David Sansome afdf02e37b Hide the score and comment columns by default 2010-12-19 14:27:07 +00:00
David Sansome eb61b67dd1 Oops, remove debug output 2010-12-19 14:22:47 +00:00
David Sansome a348a4529d Make the pretty OSD snap to the center of the screen while dragging. Thanks brunciter. 2010-12-19 14:06:51 +00:00
David Sansome 7fd29f160d Add a configurable timeout to song and artist info network requests. Default to 2.5 seconds 2010-12-19 13:58:53 +00:00
David Sansome a6445f2fe7 Don't strip off file extensions in the OSD. Fixes issue #1066 2010-12-18 20:40:35 +00:00
David Sansome 05a1bf6e37 Make the clear button a part of the search textbox. Fixes issue #1071 2010-12-18 20:32:05 +00:00
David Sansome 75fad2ff60 Blur the sidepanel again if it was resized while blurred. Also make it opaque to mouse events while blurred. Fixes issue #1092 2010-12-18 19:56:05 +00:00
David Sansome c133a8db7c Don't scale album art when saving it to /tmp. Fixes issue #1096 2010-12-18 19:42:06 +00:00
David Sansome 85d1f16c5e Fix a crash when removing the active playlist when it is the first playlist. Fixes issue #1097 2010-12-18 19:37:29 +00:00
David Sansome f1f0a384a5 Sort songs loaded from directories by filename if there are no other tags present. Fixes issue #1104 2010-12-18 18:47:44 +00:00
David Sansome a8a035a13a Use the system libechonest if it's installed 2010-12-18 18:36:56 +00:00
Paweł Bara 5b2625f420 fixes a crash when trying to rate the current song if there's none (rate using global shortcut) 2010-12-18 17:41:03 +00:00