Skip to content

Conversation

teo
Copy link
Member

@teo teo commented Mar 17, 2013

A resolver bundle is a directory, which may or may not be compressed into an archive, that contains all the files that belong to a resolver plus metadata.

This pull request adds support for installing (and removing) resolver bundles, both compressed and uncompressed. It also allows Tomahawk to display some metadata about a non-Attica resolver, and load additional scripts before the main script.

Please take special care when reviewing commit 4d2a942, I'm not very happy about how it passes around the additional script paths but haven't found a better solution.

See tomahawk-player/tomahawk-resolvers#38 for the resolvers part of this pull request.

teo added 9 commits March 10, 2013 13:02
The good:
 * you can now add multiple scripts to be loaded for a single resolver before the main script, specified in metadata.json in a bundle.
The bad:
 * it adds some complexity, and it's not tested at all.
The ugly:
 * passing configuration from ResolverAccountFactory as QVariantHash, but that's not new,
 * changing ResolverFactoryFunc,
 * an added optional QStringList parameter to Pipeline::addScriptResolver,
 * the inevitable uselessness of this parameter in ScriptResolver.
muesli added a commit that referenced this pull request Mar 23, 2013
@muesli muesli merged commit a7ead0c into master Mar 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants