soundcloud命令行实用程序
soundcloud-cli的Python项目详细描述
soundcloud-cli是 SoundCloud。它允许你压缩和 上传音频到soundcloud等。
安装
首选的安装方法是pip:
$ pip install soundcloud-cli
安装sc后,应使用sc auth进行身份验证。
命令
检查详细参数的用法:
$ sc --help
认证
根据SoundCloud进行身份验证并保存访问令牌。必须 上传音频。
$ sc auth Enter username (zeekay): requite Enter password: Saved access_token.
以后可以运行sc auth来更改用户。
默认值
设置用作命令默认值的值。
$ sc defaults share_with zeekay set share_with = ['zeekay']
列表
列出您的曲目,或给定用户的曲目。
$ sc list sinerise tracks by sinerise: Dane Pedersen - Space Jambience (Sinerise Remix) http://soundcloud.com/sinerise/space-jambience-remix Strewn (51st Vocal Mix) feat. delica http://soundcloud.com/sinerise/strewn-51st-vocal-mix Calling (requite's bass refix) http://soundcloud.com/sinerise/calling-refix Can't Save Me http://soundcloud.com/sinerise/cant-save-me Strewn http://soundcloud.com/sinerise/strewn Calling (Original) http://soundcloud.com/sinerise/calling
上传
您可以使用sc upload命令将音频上载到soundcloud。如果 指定一个.wav文件sc将为您压缩音频(如果 lame已安装)。默认情况下,上载的音频设置为“专用”,并且 您将获得用于共享的机密链接:
$ sc honey.wav uploading honey.mp3 [==================================================] 100% http://soundcloud.com/requite/honey/s-nIqsG