TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

Add Webinterface

Open Splamy opened this issue 9 years ago • 14 comments

TODO:

  • [ ] Add command to get a website link
  • [ ] Create a link somewhere which automatically add the current user token https://test.de/?token=sadfasdf:asssdfg

Splamy avatar Apr 13 '16 10:04 Splamy

The webinterface is broken currently. You should set it to False and wait for Splamy to update this issue when it's working again.

Bluscream avatar Nov 16 '17 14:11 Bluscream

how can upload music from my computer to bot?

navidsky avatar Nov 16 '17 15:11 navidsky

Add it to some folder on the same machine as your bot.

Bluscream avatar Nov 16 '17 15:11 Bluscream

I can Add a music from my computer to the playlist with command cod? or can use the web interface?

navidsky avatar Nov 16 '17 15:11 navidsky

!list get <folder>
!list save <name>

Bluscream avatar Nov 16 '17 16:11 Bluscream

The bot currently provides no functions to upload music files. If you want to upload something you will need access to your vps with ssh, ftp or similar. You can set the setting MediaFactory::DefaultPath to a dedicated path where you put your music. This way you can play songs which are inside this folder just with !play song.mp3 instead of !play full/path/to/song.mp3

Splamy avatar Nov 16 '17 17:11 Splamy

If the bot has access to TeamSpeak servers file storage (files/virtualserver...), you can also upload files using TeamSpeak.

Flakebi avatar Nov 16 '17 18:11 Flakebi

Good idea tbh with a small implementation it would also work if the bot doesnt have access to the server fs

Bluscream avatar Nov 16 '17 18:11 Bluscream

If anybody don't have access to vps can use FileZilla (FTP) or a online file manager

navidsky avatar Nov 16 '17 18:11 navidsky

how can use cmd to play a folder from a host for example !play http://nicehost.com/filemanager/musicfolder but don't work on folder just most be file.mp3 or !list get http://nicehost.com/heloo/musicfolder Error: Unknown playlist type. Please use '!list from ' to specify your playlist type.

navidsky avatar Nov 16 '17 19:11 navidsky

Maybe try !help list from

Bluscream avatar Nov 16 '17 19:11 Bluscream

I can upload my mp3 file on a host server and give url to play a folder?

navidsky avatar Nov 17 '17 07:11 navidsky

Unfortunately that wont work since the bot cannot see how the network folder is structured. You could either upload a m3u playlist file containing all absolute links, or mount a network folder locally if you work on linux

Splamy avatar Nov 17 '17 09:11 Splamy

The bot could use wget to scrape all subfolders for media links :D

Bluscream avatar Nov 17 '17 12:11 Bluscream