Giter Club home page Giter Club logo

Comments (14)

Jokler avatar Jokler commented on September 28, 2024

Do you have an example of what browsing the files would look like?

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

Either this could be done from the web interface. This would make it much easier to navigate or a command such as !view could be added which would show all the folders in the Music folder on the hard drive and then !view Lionel Richi to view the files in that folder. Then using !add Lionel Richi/Easy.flac to play it. Not sure how the folder name with spaces would work maybe use “”. Of course if you have a better idea feel free to post it! Thanks again for your hard work on the bot!

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

Spaces shouldn't be a problem as long as the command only has one argument, I don't think !add is a good idea though since that is already used for links. Unless you want something like !add local:Lionel Richi/Easy.flac another command would be better.

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

That is true either we could use !add local:Lionel Richi/Easy.flac or we could add another command such as !local or something like that. Seeing as it is adding it to the queue just like an online source I thought it might be a good idea to use one command for everything but I understand this could be an issue.

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

Just to give you an update:
It is very easy to add playback for local files but I don't know what the best way to collect the metadata would be yet. As a result I have stopped working on it for a while now since it is not that important to me personally.

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

It is not essential but if I do add it I would like it to at least have some amount of quality.

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

It ended up being easier than I expected, sorry I didn't look into it earlier. :)

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

That’s fine! Thanks a lot for implementing it!

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

I will probably implement #80 with fuzzy finding soon so that the !search command will search local files first and then youtube. :)

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

Thanks! How do I add the local folder? I can't see anything new in the config.toml.

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

I kind of forgot about the example in the config file.
It is updated now.

from pokebot.

Jokler avatar Jokler commented on September 28, 2024

Use !add file://relative/path/to/file.mp3 for now.

from pokebot.

TheGreatestJannet avatar TheGreatestJannet commented on September 28, 2024

from pokebot.

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.