Commit Graph

2813 Commits

Author SHA1 Message Date
David Sansome 033918ff79 Remember any signals that are connected to Python objects and disconnect them when the script is unloaded so the references to those objects can be dropped 2011-05-30 14:53:59 +00:00
David Sansome fb25a3d4f4 Rename script to __script__ 2011-05-30 14:53:28 +00:00
David Sansome 143308d2d2 Fix the shutdown script to work with PythonQt 2011-05-30 14:53:18 +00:00
John Maguire 97a8aa54be Use SPMediaKeyTap for global media keys on Mac.
Thanks to: tyler.s.rhodes@gmail.com
2011-05-30 10:09:34 +00:00
Andrea Decorte 86c3ec269f Fix maximum size for pretty OSD when changing fonts 2011-05-29 19:44:03 +00:00
David Sansome 7de618beff Fix registration of metatypes for list handlers on Qt 4.7 2011-05-29 14:08:55 +00:00
David Sansome f8593f2b83 Oops, fix the tests 2011-05-29 13:50:55 +00:00
David Sansome 6dd1634946 Add Python bindings for Playlists, port the rainbowizer plugin to PythonQt and make its colours a bit more tasteful 2011-05-29 12:55:18 +00:00
Andrea Decorte 44302a59b3 Added option to disable pretty OSD timeout 2011-05-29 12:44:38 +00:00
David Sansome 1c53935c4e Initialise PythonQt shell POD return values to 0, so that if the wrapped method raises an exception an uninitialised value isn't returned to C++ 2011-05-28 16:01:05 +00:00
David Sansome 93e119c202 Use python logging in the google-covers script, handle Google API errors properly 2011-05-28 16:00:53 +00:00
David Sansome 9e6fea9d27 Refactor AlbumCoverFetcherSearch to not delete replies while they might still be used, and to remove unnecessary mutex locking 2011-05-28 16:00:46 +00:00
David Sansome 3ac2ae6a83 Fix a segfault that occurred when an album cover search finished - seen more often with Python providers. 2011-05-28 16:00:38 +00:00
Andrea Decorte 61092899c9 Add font choice for pretty OSD and fixed bugs in the notification
preview
2011-05-28 08:50:29 +00:00
John Maguire 516c9a8da5 Fix MPRIS test. 2011-05-26 16:52:18 +00:00
John Maguire 54a79f0665 Always pause on --pause.
Fixes issue #1599
2011-05-26 15:40:53 +00:00
John Maguire 799279afcd Untested attempt to read album artist tags from ogg/flac/mp4 properly.
Fixes issue #1624
2011-05-26 15:30:42 +00:00
John Maguire e8e882b33c Localise the song info play counts and listener counts.
Fixes issue #1834
2011-05-26 14:59:31 +00:00
John Maguire 8880b06833 Make backspace delete in playlist view on Mac.
Fixes issue #1710
2011-05-26 14:34:22 +00:00
John Maguire 5f7b085f12 Disable popup delay settings when Growl is selected.
Fixes issue #1891
2011-05-26 13:13:38 +00:00
John Maguire 163b50bbaa Remove obsolete PyQt mac deployment code. 2011-05-26 12:19:06 +00:00
John Maguire 5eedc1b548 Bump version of libspotify to download. 2011-05-25 14:56:03 +00:00
John Maguire 7d8a07e8de Bump spotify blob version 2011-05-25 14:50:50 +00:00
John Maguire 6a10d2a3dc Quit spotify blob if it gets disconnected. 2011-05-25 14:29:10 +00:00
John Maguire f246e44b92 Support making spotify playlists available offline. 2011-05-25 14:22:49 +00:00
Andrea Decorte 2f7ea0acbe New lines are now allowed in OSD if the notification type support them 2011-05-23 19:49:03 +00:00
John Maguire 3fd8d4f78e Fix showing hint in library filter widget on mac. 2011-05-23 12:52:27 +00:00
John Maguire 20534811c8 Fix crash in mac library filter widget.
Fixes issue #1914
Thanks to: tyler.s.rhodes@gmail.com
2011-05-23 09:41:08 +00:00
Andrea Decorte c2e9bee463 Add an option to customize OSD message on song change 2011-05-22 21:15:11 +00:00
David Sansome 1a38bebc88 Add a missing column to device-schema 2011-05-22 16:08:31 +00:00
David Sansome e61a8c84cb Re-enable and fix the python tests, add regression tests for the weird PythonQt bugs 2011-05-22 15:23:12 +00:00
David Sansome 20a11e28b5 Remove the embedded-struct-names patch - we don't have nested structs any more 2011-05-22 15:22:56 +00:00
David Sansome e1620385d5 Fix the Amazon covers script to work with PythonQt, and some minor style fixes 2011-05-22 14:11:02 +00:00
David Sansome fc97e4bb8c Convert CoverSearchResult lists correctly 2011-05-22 14:10:54 +00:00
David Sansome 2dbf6a4871 Fix a PythonQt bug where it would incorrectly report an error trying to convert the return value of a void slot(). 2011-05-22 14:10:38 +00:00
Paweł Bara 58b8af4d4a attempt to fix any of the python cover providers 2011-05-22 12:27:16 +00:00
David Sansome b70744266a Add libpythonqt.dll to the windows installer 2011-05-22 11:48:30 +00:00
David Sansome 7228eb8676 Buffer stdout and stderr properly, and integrate with python's logging module 2011-05-22 11:48:12 +00:00
David Sansome 797dfe9841 Fix some connect() warnings when starting a background stream 2011-05-21 19:27:23 +00:00
David Sansome 9cacd9027e Remove SIP and PyQt from the Windows installer, add the spotifyblob and the new Python .dll and .zip. 2011-05-21 19:08:55 +00:00
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 1822f8b75f Fix signal emission in the di script 2011-05-21 10:43:15 +00:00
David Sansome a18146bf8a Handle conversions of SongLists properly between python and Qt 2011-05-21 10:43:08 +00:00
David Sansome ef1358e5aa Update the digitallyimported-radio plugin to work with the new scripting api. Almost works - listing stations works, but can't play playlists yet because of QList<Song> binding problem 2011-05-19 23:02:37 +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
David Sansome 8422b844b1 Patch PythonQt:
- preserve the reference count of arguments passed to wrapped functions
 - don't dump all over the stack of functions that call PythonQtConv::ConvertPythonToQt
 - convert :: to _ in value type names
2011-05-19 23:02:03 +00:00
John Maguire 51e031df2b Add class for transcoding a Song into an OGG Vorbis stream. 2011-05-19 16:34:33 +00:00