summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2014-11-10 11:42:38 +0000
committerGravatar admin <admin@branchable.com>2014-11-10 11:42:38 +0000
commit7a07c784067db189f991c21fbc65fede65ccc49d (patch)
treebcc7f0ce7a48039b3e1d472b8db9d8f0af52db07
parent00a99324f3d96f41c64fe1bcd1a0e15014707e98 (diff)
-rw-r--r--doc/todo/git_annex_open.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/git_annex_open.mdwn b/doc/todo/git_annex_open.mdwn
new file mode 100644
index 000000000..8cb32bd0a
--- /dev/null
+++ b/doc/todo/git_annex_open.mdwn
@@ -0,0 +1,9 @@
+I had an idea the other night that there could be a `git annex open` command. What this would do would be the following:
+
+* if the file is already present locally: just `xdg-open` it
+* if it is not present and cannot be streamed: `git annex get "$@" && xdg-open "$@"`
+* if it can be streamed: `git annex get "$@"` and `xdg-open` when enough content has been streamed that we are confident it will play completely (unless network conditions change)
+
+This would need some [[metadata]] support partly to guess if the file can be streamed, but also to find the content. It would also assume some more intelligence in `git annex get` where git annex would have progress information (maybe through [[chunking]]?).
+
+How does that idea sound? --[[anarcat]]