Giter Site home page Giter Site logo

Comments (6)

shivasiddharth avatar shivasiddharth commented on August 16, 2024

Any reason for adding playshell.stdin.write(bytes('1' + '\n')) in the youtube function ? The last two lines are out of format for the function !

from gassistpi.

santoshmohan avatar santoshmohan commented on August 16, 2024

As playshell.stdin.write(bytes('/' + track + '\n1\n')) thing wasn't working, I had to split them in to two.
But still it didn't work

from gassistpi.

shivasiddharth avatar shivasiddharth commented on August 16, 2024

I tested the "Play shape of you" command and i can confirm that it works. Please remove the changes that you made and make sure that the code is formated properly and try again. Sometimes due to slow internet connection, i might take some time.

from gassistpi.

santoshmohan avatar santoshmohan commented on August 16, 2024

screen shot 2017-10-28 at 10 10 54 pm

Still I am facing the same issue. I am using same code.

from gassistpi.

shivasiddharth avatar shivasiddharth commented on August 16, 2024

What is "the same code" ? Your edited version or the unedited version? It will fetch only the best and topmost rest from YouTube search. It's not Google to fetch some random song. If it did not find a matching result it will return an error.. some song is too vague query.

from gassistpi.

santoshmohan avatar santoshmohan commented on August 16, 2024

Issue resolved by changing the below:
playshell.stdin.write(bytes('/' + track + '\n1\n','utf-8'))

from gassistpi.

Related Issues (20)

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.