Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

A CLI Tool to Import audio files via the HTTP API. Written in Python.

License

Notifications You must be signed in to change notification settings

Xuxe/Sinusbot-File-Importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Sinusbot - File Importer

A CLI Tool to Import audio files via the HTTP API. Written in Python.

Usage:

  • Non SSL -> ./sinusbot_uploader.py 123.124.125.1 8087 admin foobar /myfolder
  • SSL -> ./sinusbot_uploader.py 123.124.125.1 8087 admin foobar /myfolder SSL

Result:

xuxe@sinus:~$ python ./sinusbot_upload.py 127.0.0.1 8087 admin foobar /home/xuxe/test/
Success Authenticated!
Success uploaded: /home/xuxe/test/The+Echelon+Effect+-+Your+First+Light+My+Eventide.mp3
Success uploaded: /home/xuxe/test/subdir/Glowworm+-+Periphescence.mp3
Success uploaded: /home/xuxe/test/subdir/Death+Grips+-+Come+Up+and+Get+Me.mp3
Completed -> Uploaded 3 files with 0 errors.

SUPPORTED FILE TYPES: extensions=['mp3', 'mp4', 'wav', '3gp'] - i have added at the moment only mp3, mp4, wav and 3gp. If you need others you can add your own or report it and i will add it!

I tested it only on Python 2.7 Debian & Ubuntu.

If you encounter an issue open a Report here: [Report a bug] (https://github.com/Xuxe/Sinusbot-File-Importer/issues/new) - Please apply the backtrace! :)

About

A CLI Tool to Import audio files via the HTTP API. Written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages