Giter VIP home page Giter VIP logo

cmus-youtube's Introduction

cmus-youtube

A patch that allows you to download and play youtube songs using cmus

How to use ?

First , you have to download cmus code source , and build them .

$ git clone https://github.com/cmus/cmus.git

then go to cmus directory . Open the file command_mode.c , and add the content of patch-r1.c .

add this

{ "youtube",		cmd_youtube,	1, 1, NULL,		  0, 0 },

after

{ "wq",			cmd_quit,	0, 1, NULL,		  0, 0 },

save the command_mode.c file

and configure cmus .

List available optional features

$ ./configure --help

Auto-detect everything

$ ./configure

To disable some feature, arts for example, and install to $HOME run

$ ./configure prefix=$HOME CONFIG_ARTS=n

Now open the Makefile and go to line 19

CFLAGS += -D_FILE_OFFSET_BITS=64

add this

-D_YOUTUBE_DL=1

then build the source using

$ make 

open cmus using

$ ./cmus

#Command Line You can use cmus-youtube by using the command line :

:youtube <url>

cmus-youtube's People

Contributors

invicnaper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.