MythTV master
filelyrics.py
Go to the documentation of this file.
1# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil; -*-
2
3import os
4from common import culrcwrap
5from common.filelyrics import LyricsFetcher
6# make sure this-------^^^^^^^^^ matches this file's basename
7
8info = {
9 'name': '*FileLyrics',
10 'description': 'Search the same directory as the track for lyrics',
11 'author': 'Paul Harrison',
12 'priority': '90', # before all remote web scrapers 100+
13 'version': '2.0',
14 'syncronized': True,
15 'artist': 'Robb Benson',
16 'title': 'Lone Rock',
17 'album': 'Demo Tracks',
18 'filename': os.path.dirname(os.path.abspath(__file__)) + '/examples/filelyrics.mp3',
19}
20
21if __name__ == '__main__':
22 culrcwrap.main(__file__, info, LyricsFetcher)
23
24# most of the code moved to common/filelyrics.py and common/main.py