David Sansome
c6d724f53a
Add Python bindings for PlaylistParser
2011-01-15 13:59:34 +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
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
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
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
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
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
fdc2ec2e73
Better (read: some) error handling when the clementine module can't be imported
2011-01-02 16:09:14 +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