|
33 | 33 | ConfigSection,
|
34 | 34 | get_config,
|
35 | 35 | )
|
36 |
| -from picard.coverart.providers import ( |
37 |
| - CoverArtProvider, |
| 36 | +from picard.coverart.providers import CoverArtProvider |
| 37 | +from picard.extension_points.cover_art_providers import ( |
38 | 38 | register_cover_art_provider,
|
39 | 39 | )
|
| 40 | +from picard.extension_points.formats import register_format |
| 41 | +from picard.extension_points.item_actions import ( |
| 42 | + BaseAction, |
| 43 | + register_album_action, |
| 44 | + register_cluster_action, |
| 45 | + register_clusterlist_action, |
| 46 | + register_file_action, |
| 47 | + register_track_action, |
| 48 | +) |
| 49 | +from picard.extension_points.options_pages import register_options_page |
| 50 | +from picard.extension_points.script_functions import register_script_function |
40 | 51 | from picard.file import (
|
41 | 52 | File,
|
42 | 53 | register_file_post_addition_to_track_processor,
|
43 | 54 | register_file_post_load_processor,
|
44 | 55 | register_file_post_removal_from_track_processor,
|
45 | 56 | register_file_post_save_processor,
|
46 | 57 | )
|
47 |
| -from picard.formats.util import register_format |
48 | 58 | from picard.metadata import (
|
49 | 59 | register_album_metadata_processor,
|
50 | 60 | register_track_metadata_processor,
|
51 | 61 | )
|
52 | 62 | from picard.plugin3.manifest import PluginManifest
|
53 | 63 | from picard.plugin import PluginPriority
|
54 |
| -from picard.script.functions import register_script_function |
55 | 64 | from picard.webservice import WebService
|
56 | 65 | from picard.webservice.api_helpers import MBAPIHelper
|
57 | 66 |
|
58 |
| -from picard.ui.itemviews import ( |
59 |
| - BaseAction, |
60 |
| - register_album_action, |
61 |
| - register_cluster_action, |
62 |
| - register_clusterlist_action, |
63 |
| - register_file_action, |
64 |
| - register_track_action, |
65 |
| -) |
66 |
| -from picard.ui.options import ( |
67 |
| - OptionsPage, |
68 |
| - register_options_page, |
69 |
| -) |
| 67 | +from picard.ui.options import OptionsPage |
70 | 68 |
|
71 | 69 |
|
72 | 70 | class PluginApi:
|
|
0 commit comments