Comments (14)
Do you have an example of what browsing the files would look like?
from pokebot.
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.
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.
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.
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.
from pokebot.
It is not essential but if I do add it I would like it to at least have some amount of quality.
from pokebot.
It ended up being easier than I expected, sorry I didn't look into it earlier. :)
from pokebot.
That’s fine! Thanks a lot for implementing it!
from pokebot.
I will probably implement #80 with fuzzy finding soon so that the !search
command will search local files first and then youtube. :)
from pokebot.
Thanks! How do I add the local folder? I can't see anything new in the config.toml.
from pokebot.
I kind of forgot about the example in the config file.
It is updated now.
from pokebot.
Use !add file://relative/path/to/file.mp3
for now.
from pokebot.
from pokebot.
Related Issues (20)
- Relative volume change
- Add a way of generating the inital identities for the config file
- Compile instructions HOT 21
- Bot doesn't play music when it joins a channel HOT 3
- Bot can still get stuck during shutdown
- Panic after a music bot got stuck
- Use Cow instead HOT 4
- Pokebot crashing panicked at 'Can find poke sender' HOT 4
- Reconnect automatically to server HOT 4
- Default channel does not work HOT 3
- Update readme HOT 6
- Investigate structuring the bot(s) using actors
- Add a config option for the default music bot volume
- Propagate errors out of the teamspeak module
- Pipe GStreamer logging to rust
- Gstreamer dash error message HOT 2
- Restructure MasterBotArgs into ConfigFile that contains Bot/Webserver configs
- Browse local files through chat commands HOT 3
- Tell users if the song is a local file or an online source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokebot.