Commit Graph

1883 Commits

Author SHA1 Message Date
David Sansome dd5f5d16ae Move the script console into a developer mode extension 2011-01-15 16:20:16 +00:00
David Sansome c6d724f53a Add Python bindings for PlaylistParser 2011-01-15 13:59:34 +00:00
David Sansome 1344103515 Add a workaround for broken XML entities in ASX playlists 2011-01-15 13:58:35 +00:00
David Sansome 32b599f70c Add python bindings for the NetworkManager, SongLoader and IconLoader. Add a workaround for a SIP assertion bug (assign_helper != ((void *)0)) that was fixed in 4.10.3: http://www.riverbankcomputing.com/hg/sip/rev/3e647ed0f2a2 2011-01-15 00:55:45 +00:00
David Sansome f49457b416 Never cache the RadioService pointer in a playlist item - the service could get unloaded at any time 2011-01-15 00:53:39 +00:00
David Sansome 765d4bb172 Don't set the User-Agent again in the Soma.fm service, it's already set by the network manager 2011-01-15 00:53:10 +00:00
John Maguire 883826a113 Tidy up the mac build a bit. 2011-01-14 14:16:56 +00:00
David Sansome 3954186af8 Maybe fix the mac build 2011-01-13 12:34:14 +00:00
David Sansome 4e0cf13b26 Add python bindings for RadioService, RadioModel, MergedProxyModel, TaskManager and SettingsDialog. Make sure radio services are removed from the model when they are deleted (eg. when their python script gets unloaded) 2011-01-12 21:20:20 +00:00
David Sansome 03e6231483 Make the RadioModel's AddService method public, add a RemoveService method, and clean up the last.fm mess 2011-01-12 20:18:17 +00:00
David Sansome 0ba1962fc8 Lazy-load the RadioService in a RadioPlaylistItem that is loaded from the database on startup 2011-01-12 19:59:17 +00:00
John Maguire 9249952b03 Only guess tag encoding for id3v1/2 tags. 2011-01-12 18:46:23 +00:00
Paweł Bara 4f7e804638 library: watcher now updates CUE associated songs + ignores the not-CUE-associated songs in a CUE sheet
CueParser: properly update length for the last song from every FILE in multifile CUE sheet
new 'playlist_path' argument in the 'Load' part of PlaylistParser's API
2011-01-11 23:09:59 +00:00
John Maguire bc573d55f1 Forgotten DBus file. 2011-01-11 20:55:17 +00:00
John Maguire 48bf42b2a5 Linux support for Zeroconf using Avahi over DBus. 2011-01-11 20:36:16 +00:00
David Sansome 135b32642e Refactor all the code that handles adding items to the playlist - whether it be by a context menu item, double clicking in a view or dragging. Everything now uses the models' mimeData() instead of duplicating the same code everywhere. 2011-01-10 22:26:13 +00:00
David Sansome 7ce5cfb5a1 Always create the connection to the dbus session bus in the main thread 2011-01-09 23:42:56 +00:00
David Sansome d922a75327 Add some more tracing to MPRIS registration on startup 2011-01-09 23:14:44 +00:00
David Sansome 380fa71e86 Do gnome global shortcut registration in a background thread 2011-01-09 23:11:51 +00:00
David Sansome 2d53db13c3 Fix the scroll direction in the pretty image view. Fixes issue #1226 2011-01-09 19:10:15 +00:00
David Sansome 7e3c0911ee Pass the dotted version number to qtsparkle instead of the display version 2011-01-09 19:05:54 +00:00
David Sansome dc619eb437 Start refactoring the RadioModel to inherit from QStandardItemModel 2011-01-09 18:27:41 +00:00
David Sansome 9c273aa745 Updated Polish translation from Michał Ziąbkowski 2011-01-08 16:17:11 +00:00
David Sansome b15398e90d Connect to the notification daemon in a background thread 2011-01-08 16:06:28 +00:00
David Sansome b3c211e26a Move MPRIS setup to a background thread 2011-01-08 15:31:14 +00:00
David Sansome 7a089faa29 Fix a crash that ocurrs when something calls GetCaps over dbus before the playlist is initialised, and when a repeat mode is set. 2011-01-07 19:16:45 +00:00
Paweł Bara 9f95909848 exterminating a deceiving parameter name 2011-01-06 21:53:50 +00:00
Paweł Bara 55683887c0 implemented Seeked signal for MPRIS 2 2011-01-06 21:08:11 +00:00
Paweł Bara 3372340f6b fixes the DesktopEntry() property of MPRIS 2 2011-01-06 19:29:54 +00:00
John Maguire 6cbf825c41 Make remote control support optional. 2011-01-06 16:00:40 +00:00
John Maguire c9d5b8100b More remote work. Clementine now requires QJson. 2011-01-06 15:09:09 +00:00
Paweł Bara d4d7f19fab better .cue spec conformity (allow many files in one sheet, use the SONGWRITER field as song's composer, ignore data files) 2011-01-05 20:23:53 +00:00
Paweł Bara bb79a68be0 some minor .cue related changes 2011-01-04 17:12:29 +00:00
John Maguire dfa5b9f8ea Fix building without last.fm. 2011-01-04 15:11:38 +00:00
John Maguire 3f923d2cb1 Add default parameters to MPRIS constructors. 2011-01-04 11:53:37 +00:00
John Maguire bde7902686 Refactor some initial setup out of MainWindow::MainWindow(). 2011-01-04 11:33:22 +00:00
Paweł Bara 59378166b4 finalized the support for loading .cue based media using 'files' tab or drag and drop from the system's file browser
use FILE's PERFORMER as albumartist
2011-01-03 23:36:10 +00:00
Paweł Bara 34d496aadc cleaner forced end-of-track when media stream is past it's 'end' marker 2011-01-03 18:03:15 +00:00
David Sansome 3a3cba3a85 Add bindings for Queue and PlaylistSequence 2011-01-03 15:49:41 +00:00
David Sansome e1b899bc61 Add python bindings for the library 2011-01-03 15:15:51 +00:00
David Sansome 0fba393f6e Fix the version numbering mess 2011-01-03 14:21:10 +00:00
David Sansome 156f4a51c5 Remove the extra clear button from the icecast filter bar 2011-01-03 14:20:41 +00:00
David Sansome d5321475cd Make the scroll wheel on the pretty image view scroll through images. 2011-01-02 19:17:03 +00:00
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