Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ choose between screenshots or screencasts.
* screenshots fullscreen/monitor/area
* delay of screenshots
* screencasts of monitor/area
* upload screenshots/screencasts - teiler can also upload your files via scp, imgur or filebin, ix (for pastes) and amazon s3.
* upload screenshots/screencasts - teiler can also upload your files via scp, imgur or filebin, youtube-upload, ix (for pastes) and amazon s3.
* History of Images and Videos with support for
+ Viewing
+ Editing
Expand All @@ -33,5 +33,6 @@ choose between screenshots or screencasts.
* filebin (http://git.server-speed.net/users/flo/filebin)
* openssh (http://www.openssh.com)
* ix (http://ix.io)
* youtube-upload (https://github.com/tokland/youtube-upload)
* s3 cli tools

2 changes: 1 addition & 1 deletion config.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ always_ul=1

# Uploading options
# Possible Choices for img_ul: fb, scp, s3, imgur
# Possible Choices for vid_ul: fb, scp, s3
# Possible Choices for vid_ul: fb, scp, s3, youtube-upload
# Possible Choices for paste_ul: fb, scp, ix
img_ul=imgur
vid_ul=fb
Expand Down
2 changes: 2 additions & 0 deletions teiler_helper
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ elif [[ $vid_ul == "scp" ]]; then
videoUpload () { scpUpload "Video" "${vid_path}" "$1" "${scp_host}" "${scp_path_vid}" "${http_vid}"; }
elif [[ $vid_ul == "s3" ]]; then
videoUpload () { cd "${vid_path}"; s3cmd --no-progress put "{$1}" "s3://${s3_bucket}/${s3_path_vid}/"; notify-send -a "teiler" "Video Uploaded" "${s3_http_vid}/${1}"; echo -n "${s3_http_vid}/${1}" | xclip; x_clip; }
elif [[ $vid_ul == "yt" ]]; then
videoUpload () { echo -n "https://youtu.be/" | (cat; youtube-upload -t ${1} --privacy=unlisted ${vid_path}/${1}) | xclip; x_clip; notify-send -a "teiler" "Video Uploaded" "$(xclip -o)";}
else
videoUpload () { echo "No video uploader set. Check example config"; }
fi
Expand Down