GithubHelp home page GithubHelp logo

ytmusic's Introduction

ytmusic

Script I found on r/unixporn. Do not use yet!

Original creator: https://www.reddit.com/user/appypolligies/

Quotes from creator: i am not very good at this stuff but i wanted something like this for a long while so i made it! and i am putting it out here because i know you guys will be able to do with it more than i ever could.

requires: yt-dlp (or youtube-dl - you'd have to switch the names) jq mpv ueberzug fzf

released to public domain. please improve this! some of the problems:

i don't know how to simultaneous play the file with mpv and display the thumbnail with uberzug. i have to ctrl-c the thumbnail/uberzug to get to the music.

if you use multi select but you filter with some characters before, the search is done with what you typed and the fzf selections.

grep complains about backslashes time to time as well as other deficiencies in getting the name of the artists (you will notice in the video the disorder). some features that would make this great:

some way to display ansii art? or just format all the text and thumbnail very nicely and put them in some sort of decorative box

ability to queue and search for other songs while the program is active as well as some way to remove/rearrange the queue this is really slow by the way because it gets a big json file, if you just need something quick and functional try these: pipe-viewer --no-interactive -n -A "$" or mpv --ytdl-format=bestaudio ytdl://ytsearch10:"$" (put them in a function in your shell rc)

ytmusic's People

Contributors

144reasons 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.