Commit Graph

7535 Commits

Author SHA1 Message Date
Laurent Monin
6e7d39866c Mark forgotten string for translation 2015-08-31 20:45:06 +02:00
Laurent Monin
2ed91b5aa2 Remove open/download plugins button 2015-08-31 20:43:04 +02:00
Laurent Monin
a1be8ec361 Introduce plugin.files_list, displayed in plugin details 2015-08-31 20:37:40 +02:00
Laurent Monin
f5a2faae24 Reformat plugin details
Drop file list for now.
2015-08-31 20:36:24 +02:00
Laurent Monin
c288f50aed PluginWrapper: add license and license_url properties 2015-08-31 20:32:02 +02:00
Laurent Monin
22f990ccc4 PluginWrapper: use @property decorator 2015-08-31 20:32:01 +02:00
Laurent Monin
0d19c2da1a Introduce PluginShared class as parent of PluginWrapper
It will be used later.
2015-08-31 20:32:01 +02:00
Laurent Monin
f31975f234 Use flags to store plugin state 2015-08-31 20:32:01 +02:00
Laurent Monin
86320f02d0 Merge pull request #419 from zas/futurize_stage1
Improve python3 compatibility, minor changes
2015-08-28 13:42:38 +02:00
Philipp Wolfer
6700ac993a Removed unused exception handler
UnknownFunction is a subclass of ScriptError, which is already handled.
2015-08-28 10:28:18 +02:00
Philipp Wolfer
bd83dac05a CAA: Fixed call to self.error with wrong number of arguments 2015-08-28 10:26:36 +02:00
Philipp Wolfer
5fdc5a945a Fixed test not run due to duplicated method name 2015-08-28 10:22:47 +02:00
Philipp Wolfer
d8ec03e05c Removed duplicated code 2015-08-28 10:19:34 +02:00
Laurent Monin
68a62b745a Fix up import 2015-08-26 17:28:15 +02:00
Laurent Monin
a12ee509aa import print_function 2015-08-25 11:16:05 +02:00
Laurent Monin
55b2207a27 import print_function 2015-08-25 11:15:15 +02:00
Laurent Monin
691db2bdde sys.maxint -> sys.maxsize 2015-08-25 11:14:23 +02:00
Laurent Monin
c4950c37ad next() 2015-08-25 11:14:03 +02:00
Laurent Monin
7a94d5b268 Python3-style lambda 2015-08-25 11:13:53 +02:00
Laurent Monin
9d6e5f15c6 print() and next() 2015-08-25 11:13:39 +02:00
Laurent Monin
c18284b0c5 import print_function 2015-08-25 11:13:10 +02:00
Laurent Monin
374a8cbc6a Absolute import 2015-08-25 11:13:00 +02:00
Laurent Monin
5004811f6f Python3-style lambda 2015-08-25 11:12:47 +02:00
Laurent Monin
669c7a9971 Python3-style exception handling 2015-08-25 11:10:42 +02:00
Laurent Monin
7d39a42292 import print_function 2015-08-25 11:10:17 +02:00
Laurent Monin
5d84c0f67b import print_function 2015-08-25 11:10:03 +02:00
Laurent Monin
405f4adedd Merge pull request #418 from Freso/recognise-m2a
Recognise .m2a file extension.
2015-07-31 11:13:32 +02:00
Frederik “Freso” S. Olesen
397152efe1 Recognise .m2a file extension.
Sometimes used as alternative for `.mp2`.
2015-07-31 10:51:12 +02:00
Laurent Monin
8eee8910ac Update picard.pot 2015-07-12 11:12:42 +02:00
Laurent Monin
a14d7f0183 Merge pull request #417 from zas/add_local_cover_art_support_3
Add support for local cover art
http://tickets.musicbrainz.org/browse/PICARD-137
2015-07-12 11:09:46 +02:00
Laurent Monin
905501ad5a Merge pull request #415 from zas/tags_count
Add an option to fallback on artist's tags
http://tickets.musicbrainz.org/browse/PICARD-738
2015-07-12 11:07:18 +02:00
Laurent Monin
e8aa4c7b31 Add method descriptions 2015-07-09 14:00:12 +02:00
Laurent Monin
435e72ec1f add_album_artist() -> append_album_artist()
Since add_*() methods aren't used to return something, rename it.
2015-07-09 13:59:40 +02:00
Laurent Monin
a3351d559b Use hasattr() instead a broad try/except
- try/except is more pythonic, but less readable, even if narrowed
- hasattr() is pythonic enough, and more readable
- isinstance() isn't pythonic enough (and forces to import the class)
2015-07-09 12:33:40 +02:00
Laurent Monin
4717b5208a Use a set instead of a dict
Suggested by Mineo
2015-07-09 12:16:56 +02:00
Laurent Monin
222e2bcae9 Add Local Files cover art provider and its options 2015-07-08 19:26:30 +02:00
Laurent Monin
10b375ccb9 CoverArt: add code to handle loading of local files as cover art 2015-07-08 18:20:15 +02:00
Laurent Monin
ce5d07c8ac Introduce CoverArtImageFromFile 2015-07-08 18:20:02 +02:00
Laurent Monin
bc3e6d9e3f Merge pull request #416 from zas/revamp_cover_providers_3
Revamp cover providers, make them sortable
2015-07-08 18:18:07 +02:00
Laurent Monin
51055af080 Make grid building code easier to read
Suggested by @mineo
2015-07-08 14:47:04 +02:00
Laurent Monin
4e5af8889a Enable sortable cover art provider-specific options
- modify cover art options main page UI
2015-07-08 14:47:04 +02:00
Laurent Monin
832f63608e CoverOptionsPage: introduce load_cover_art_providers()
Not used yet
2015-07-08 14:46:51 +02:00
Laurent Monin
2bc4dece03 Add CAA provider options UI, not yet used
- Set CAA Release Group provider OPTIONS to None, as it is shared with CAA provider
2015-07-08 14:37:15 +02:00
Laurent Monin
65ec7df680 Move CAATypesSelectorDialog to CAA provider 2015-07-08 14:37:15 +02:00
Laurent Monin
87b9f2c66b Introduce SortableCheckboxListWidget
- it is a QGridLayout, with re-orderable checkboxes using small up/down arrows
2015-07-08 14:37:15 +02:00
Laurent Monin
f101de35d0 Introduce ProviderOptions class
It is a template class for provider's options, it inherits from OptionsPage.
2015-07-08 14:37:15 +02:00
Laurent Monin
5f9f1d34a6 CoverArtProvider: use is_provider_enabled() and modify providers 2015-07-08 14:37:15 +02:00
Laurent Monin
ef52523b2e Convert CoverArtProvider class to new-style 2015-07-08 14:37:15 +02:00
Laurent Monin
a2d7cc9b7d Add is_provider_enabled() 2015-07-08 12:36:20 +02:00
Laurent Monin
e40c0eeb79 fallback -> fall back 2015-07-06 18:00:06 +02:00