Compiling the OSD lyrics allows it to download lyrics from shrimp

Source: Internet
Author: User

1. Download the OSD lyrics source code

You can download it from https://code.google.com/p/osd-lyrics/downloads/list, or use git:

git clone git://github.com/osdlyrics/osdlyrics.git

2. Extract the source code package

TAR-ZXF osdlyrics-0.4.3.tar.gzmv osdlyrics-0.4.3 osdlyricscd osdlyrics
(If you downloaded it from git, go directly to the source code directory)

3. Modify the contents of the Title_pattern and Artist_pattern variables of the src/ol_lrc_fetch_xiami.c, i.e., 34, 35 lines to:

static const char *title_pattern = "href=\" http://www.xiami.com/song/"; static const char *artist_pattern =" href=\ "http ://www.xiami.com/artist/";
4. Installation dependency: Install the necessary dependencies according to the Https://code.google.com/p/osd-lyrics/wiki/InstallSource, i.e.
For Deb systemsbuild-essentialautoconf automake libtool Intltoollibgtk2.0-dev >= 2.12.0libdbus-glib-1-devlibcurl3-devlibnotify-devlibsqlite3-dev >= 3.3.0libmpd-dev (This was unnecessary if you Configure with--DISABLE-MPD option) Libxmmsclient-dev (this was unnecessary if you configure with--DISABLE-XMMS2 option) Li Bappindicator-dev (Optional for Ubuntu 10.04 or later, support for Indicator-applet) for RPM SYSTEMSGCC gcc-c++autoconf AUT Omake libtool intltoolgtk2-devel >= 2.12.0dbus-glib-devellibcurl-devellibnotify-develsqlite-devellibmpd-devel ( This is unnecessary if you configure with--DISABLE-MPD option) Xmms2-devel (this is the unnecessary if you configure with--di SABLE-XMMS2 option)
5. Compiling
./configuremake
(If the./configure reminder is missing a dependent package, install it as a reminder)

6. Compile successfully, use command make install follow, make uninstall uninstall, pay attention to permissions issue


Reference:

Https://code.google.com/p/osd-lyrics/wiki/InstallSource

https://code.google.com/p/osd-lyrics/issues/detail?id=313


Compiling the OSD lyrics allows it to download lyrics from shrimp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.