Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
picard
featartist.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File featartist.py of Package picard
# -*- coding: utf-8 -*- PLUGIN_NAME = 'Feat. Artists' PLUGIN_AUTHOR = 'Lukas Lalinsky' PLUGIN_DESCRIPTION = 'Removes feat. artists from track titles.' PLUGIN_VERSION = "0.1" PLUGIN_API_VERSIONS = ["0.9.0", "0.10"] from picard.metadata import register_track_metadata_processor import re def remove_featartists(tagger, metadata, release, track): metadata["title"] = re.sub(r"\s+\(feat. [^)]*\)", "", metadata["title"]) register_track_metadata_processor(remove_featartists)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor