Source

mediatr / filters / sample.py

"""
Sample skeleton for new filter.
"""

def enabled():
    """
    Various cheks goes here (settings, imports, etc)
    """
    return False

def filter_obj(objekt, params=None):
    """
    Main filter body. objekt is instance of mediatr.models.Item, params is a filter specific tunings.
    """