osd lyricsをコンパイルしてエビから歌詞をダウンロードすることができます


1.osd lyricsソースコードのダウンロード
からhttps://code.google.com/p/osd-lyrics/downloads/listダウンロード、git:
git clone git://github.com/osdlyrics/osdlyrics.git

2.ソースパッケージの解凍
tar -zxf osdlyrics-0.4.3.tar.gz
mv osdlyrics-0.4.3 osdlyrics
cd osdlyrics
(gitでダウンロードした場合は、ソースディレクトリに直接アクセス)
3.src/ol_の変更lrc_fetch_xiami.cのTITLE_PATTERNおよびARTIST_PATTERN変数の内容は、34、35行から次のように変更されます.
static const char *TITLE_PATTERN = "href=\"http://www.xiami.com/song/";
static const char *ARTIST_PATTERN = "href=\"http://www.xiami.com/artist/";
4. インストール依存:https://code.google.com/p/osd-lyrics/wiki/InstallSourceインストールに必要な依存関係、すなわち
For deb systems
build-essential
autoconf automake libtool intltool
libgtk2.0-dev >= 2.12.0
libdbus-glib-1-dev
libcurl3-dev
libnotify-dev
libsqlite3-dev >= 3.3.0
libmpd-dev (this is unnecessary if you configure with --disable-mpd option)
libxmmsclient-dev (this is unnecessary if you configure with --disable-xmms2 option)
libappindicator-dev (Optional for Ubuntu 10.04 or later, support for indicator-applet)
For rpm systems
gcc gcc-c++
autoconf automake libtool intltool
gtk2-devel >= 2.12.0
dbus-glib-devel
libcurl-devel
libnotify-devel
sqlite-devel
libmpd-devel (this is unnecessary if you configure with --disable-mpd option)
xmms2-devel (this is unnecessary if you configure with --disable-xmms2 option)
5. コンパイル
./configure
make
(実行./configureアラートに依存パッケージが欠けている場合は、アラートに従ってインストールしてください)
6.コンパイルに成功しました.使用可能なコマンドmake installに従い、make uninstallをアンインストールし、権限の問題に注意します.
参照先:
https://code.google.com/p/osd-lyrics/wiki/InstallSource
https://code.google.com/p/osd-lyrics/issues/detail?id=313