Skip to content

A cli utility to import audio files. Uses the SinusBot REST API. Written in Python.

License

Notifications You must be signed in to change notification settings

SinusBot/audio-file-importer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 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

Example:

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 - Please apply the backtrace! :)

About

A cli utility to import audio files. Uses the SinusBot REST API. Written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%