def register_plugin(manager):
manager.register_blueprint(player)<EOL>manager.register_mimetype_function(detect_playable_mimetype)<EOL>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>filename='<STR_LIT>'<EOL>)<EOL>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>filter=PlayableFile.detect<EOL>)<EOL>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>icon='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>filter=PlayListFile.detect<EOL>)<EOL>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>css='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>filter=PlayableFile.detect<EOL>)<EOL>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>css='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>filter=PlayListFile.detect<EOL>)<EOL>if manager.get_argument('<STR_LIT>'):<EOL><INDENT>manager.register_widget(<EOL>place='<STR_LIT>',<EOL>type='<STR_LIT>',<EOL>endpoint='<STR_LIT>',<EOL>text='<STR_LIT>',<EOL>filter=PlayableDirectory.detect<EOL>)<EOL><DEDENT>
Register blueprints and actions using given plugin manager.

:param manager: plugin manager
:type manager: browsepy.manager.PluginManager