David Sansome
e4d9d54414
Link Clementine against SIP and PyQt on Windows, and add the modules to python's inittab
2011-01-31 23:44:44 +00:00
John Maguire
9786570f35
Add support for saving album covers/kittens.
...
Fixes issue #1395
2011-01-31 20:53:38 +00:00
Paweł Bara
5b5d3f0c2e
watch out for optional last.fm dependencies in AlbumCoverChoiceController -> fixes issue #1393
...
from the creators of "david is always right" movie -> maybe fix issue #1396
2011-01-31 15:21:32 +00:00
Paweł Bara
2959dbff85
'show duplicates only' view for library where you can see which songs in your library are duplicated and delete unnecessary duplicates (fixes issue #1328 )
2011-01-30 21:00:49 +00:00
Paweł Bara
35441d829e
fixed a bug where 'Show cover in full size' and 'Unset cover' actions were incorrectly being disabled in the 'Now playing' widget
2011-01-30 20:17:09 +00:00
John Maguire
06c62f169f
Set default mac sidebar to Large and allow building on mac without tunepimp & scripting.
2011-01-29 21:28:11 +00:00
Arnaud Bienner
9159e3c47e
Oups... miss to also correct this
2011-01-29 16:11:20 +00:00
Arnaud Bienner
8b681a5dd2
Allow autotagging for non-library music files. Fixes issue 1389
2011-01-29 16:02:23 +00:00
Arnaud Bienner
6c42240b02
Minor correction in tagfetcher. Thanks David
2011-01-29 15:32:55 +00:00
Arnaud Bienner
e9f19f2cdb
Correct regression introduced in r2705. Partially fixes issue 1390
2011-01-29 15:18:14 +00:00
David Sansome
618aec2c74
Clean module dicts properly when unloading a script - works around a bug in Python 2.7.0 only
2011-01-29 00:57:58 +00:00
David Sansome
bcc35ec29c
Add a test for stuff in the module's global dict
2011-01-28 21:43:10 +00:00
David Sansome
9ca237bfa2
Add a unit test for some basic python scripting functionality
2011-01-28 20:52:38 +00:00
John Maguire
ba0c7bab65
Change "kittens" feature to fetch the kittens tag instead of cat tag for fluffier kittens.
2011-01-27 16:54:03 +00:00
John Maguire
703a3b43d6
Mac build fixes for musicbrainz integration.
2011-01-27 14:48:58 +00:00
Arnaud Bienner
05a4cae370
Add track seeking from playlistview
2011-01-26 23:20:56 +00:00
Paweł Bara
2fec795b89
fixed an error where entering the Cover Searcher dialog without query would make it show the busy indicator forever
...
further refactoring of album cover changes (QMenu in controller)
2011-01-25 23:33:27 +00:00
Andrea Decorte
4e9aef16cb
forgot to add these files, sorry
2011-01-25 20:13:28 +00:00
Andrea Decorte
f98b89a2d8
Fixed issue #764
2011-01-25 19:15:51 +00:00
David Sansome
f929a88473
Fix mpris
2011-01-24 21:25:09 +00:00
David Sansome
0beb12fc14
Add some options to control what happens when you double click or use the menu to add tracks to the playlist
2011-01-24 21:16:26 +00:00
John Maguire
2ad5acdd29
Move version information in to separate file to decrease churn on svn up.
...
Fix inverted error message for Avahi.
2011-01-24 20:45:15 +00:00
David Sansome
5e9edd52fe
Hold the taglib mutex while loading embedded cover art from files. Fixes issue #1350
2011-01-24 20:06:59 +00:00
Paweł Bara
4a9d38bbdd
final refactoring stage of cover changing code (common QAction*s)
...
reset URL in 'Cover from URL' dialog on reentrance
2011-01-24 18:32:09 +00:00
Paweł Bara
ebfbdba8a9
further refactoring of cover changing code (saving covers in controller)
2011-01-24 17:53:31 +00:00
John Maguire
c39a514f2b
Add close shortcut to script dialog.
2011-01-24 17:06:21 +00:00
Arnaud Bienner
03df8195b0
Minors modification on TagFetcher. Fixes issue #1346
2011-01-24 17:03:36 +00:00
John Maguire
ed3719a950
Fix release build.
...
Fixes issue #1355
2011-01-24 12:44:19 +00:00
Paweł Bara
8bce92e69b
refactoring the code that handles common UI album cover related actions into a common controller
...
fixes a bug where cancelling the 'cover from URL' dialog would set the cover to a previously chosen URL
2011-01-24 00:09:57 +00:00
Paweł Bara
3e2ffd3647
ability to load cover from URL in all the usual places: cover manager, now playing widget and edit tag dialog (fixes issue #517 )
2011-01-23 20:24:17 +00:00
David Sansome
30019a9624
Update Turkish translation. Thanks H. İbrahim Güngör
2011-01-23 15:56:19 +00:00
David Sansome
4291d21eab
Load embedded cover art from ogg files. Thanks markwatkinson. Fixes issue #1232
2011-01-23 15:50:59 +00:00
David Sansome
fe818e5597
Don't drop the embedded art indicator from songs when updating the library. Thanks markwatkinson
2011-01-23 15:36:09 +00:00
Paweł Bara
fae96f00de
thanks to translators in 'about' dialog
2011-01-23 11:58:35 +00:00
David Sansome
795a4df422
Fix compilation on mac and windows
2011-01-22 14:13:56 +00:00
David Sansome
2ecf61a57e
Move everything DBus related back to the main thread and use synchronous method calls everywhere
2011-01-22 12:47:19 +00:00
David Sansome
7880026767
Add some better error handling to the WMDM device lister if parts of WMP aren't installed
2011-01-22 11:29:47 +00:00
Arnaud Bienner
c929db4637
Oops...
2011-01-20 23:55:22 +00:00
Arnaud Bienner
729e8e729d
Adding track selection dialog for tag fetcher results. Also corrected tagfetcher to prevent from infinite loop when no result is found
2011-01-20 23:42:28 +00:00
David Sansome
d32ec67b8a
Add Keiran to the about dialog
2011-01-20 21:55:01 +00:00
David Sansome
ee06d779f2
Fix a bug that would occasionally cause an extra track to be skipped when a track ended. Fixes issue #1233
2011-01-20 21:29:48 +00:00
Paweł Bara
be5eb7a9fb
smart playlists: 'on date' (equals for dates) operator was too precise (fixes issue #1174 )
2011-01-20 18:55:28 +00:00
Paweł Bara
3b7ae72f82
smart playlists are incorrectly filtering ratings (fixes issue #1113 )
2011-01-20 18:35:38 +00:00
Paweł Bara
cc05ce55ca
visual tweaks of edit tag dialog's summary tab
2011-01-20 17:29:04 +00:00
Paweł Bara
1c1d9551bb
fixes issue #553 ('seek forward' and 'seek backward' hotkeys worked wrong)
2011-01-19 16:05:16 +00:00
Paweł Bara
a575dac451
restoring CUE related files in playlist after Clementine's restart (fixes issue #68 )
2011-01-19 15:36:40 +00:00
David Sansome
3f9dec3808
Add an "Install script from file..." button
2011-01-18 23:10:22 +00:00
John Maguire
4db998c0b6
Script for shutting down clementine at the end of the current playlist.
...
Fixes issue #271
2011-01-18 22:56:47 +00:00
David Sansome
046c75380c
Merge translations from Launchpad
2011-01-18 19:07:54 +00:00
Paweł Bara
70952d94d8
I wonder how those Cisco routers are so good if people responsible for them are SLACKERS!
2011-01-18 17:20:42 +00:00
Paweł Bara
e24e786a5d
incorporating David's suggestions
2011-01-18 17:12:05 +00:00
Paweł Bara
07739d6c68
Python bindings for LibraryView + new UI hook for plugins: the view's context menu
...
support for IN operator in LibraryQuery.AddWhere
2011-01-18 16:34:43 +00:00
John Maguire
2c9964ffa9
zomg scripting support on Mac.
2011-01-18 14:02:51 +00:00
John Maguire
b10422c575
Build fix for Gentoo.
...
Fixes issue #1314
Thanks Nickollai.
2011-01-18 13:54:32 +00:00
David Sansome
472ab04e97
Make libarchive optional, disable loading scripts from archives if it's not present.
2011-01-18 13:44:12 +00:00
Arnaud Bienner
abb93cd020
Minor modification to tag fetcher (including adding mutex to prevent crashes) and changing cursor during tag fetching
2011-01-17 22:58:16 +00:00
Paweł Bara
3cfca9e926
fixes segfault introduced in last commit
2011-01-17 20:57:00 +00:00
David Sansome
35a61de0a4
Refactor ScriptInfo into another class, add some (currently unused) code to read scripts from archives.
2011-01-17 20:01:16 +00:00
Paweł Bara
a883630ab3
duplicate remover script ( fixes #21 )
...
fix a scripting crash when one native object was registered more than once
veto mechanism for inserting songs into playlist
2011-01-16 23:46:58 +00:00
David Sansome
b9b504be30
Fix a crash on exit when you have the Magnatune list open
2011-01-16 17:58:46 +00:00
John Maguire
d7df24816c
Fix mac build.
2011-01-16 17:26:25 +00:00
David Sansome
7e9452f48d
Fix the mac and windows builds
2011-01-16 16:43:19 +00:00
David Sansome
5eb916cdff
Watch script directories for changes
2011-01-16 15:11:23 +00:00
David Sansome
2c8e038b44
Make the Windows 7 thumbbar actually work. Move it to a different class that deals with QActions. Fixes issue #851
2011-01-16 00:39:51 +00:00
David Sansome
da2ab82712
Be sure to translate strings in the edittagdialog
2011-01-15 21:13:43 +00:00
David Sansome
f79c10f41e
Add some buttons to the Windows 7 taskbar list. They don't do anything yet, but they sure look pretty!
2011-01-15 20:51:48 +00:00
Arnaud Bienner
55f212a713
Oops..
2011-01-15 20:35:12 +00:00
Arnaud Bienner
d53e74a91f
Start auto tagging support (using MusicBrainz)
2011-01-15 20:00:39 +00:00
Paweł Bara
ddd3f119d3
CUE songs are now properly updated in library - you can delete a CUE sheet, add it, you can change section markers in it etc. and everything should work as expected
...
Song now knows it's cue path (if any)
2011-01-15 18:46:23 +00:00
David Sansome
5c29a62b19
Convert QObject subclasses to clementine wrapped python types properly when calling python functions
2011-01-15 17:59:33 +00:00
David Sansome
839e81b674
Fix a segfault when unloading a script that has registered actions, but they are deleted during unload
2011-01-15 16:55:21 +00:00
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