@ldolse: The identifiers that download_cover will get depends on which result was selected as the final result. If that result comes from another plugin, then the identifiers will not be present when download_cover is called.
In such a case, you have to run identify from within download_cover in your plugin. Look at any of the builtin pugins for an example.
There is a slight optimization in that identify results are merged, so if your plugins' result is recognized by the download system as being the same as the final result that is picked, its identifiers will be merged. And so the identifiers will be present when download_cover is called, but this will not always happen.
|