This commit is contained in:
parent
b36719f182
commit
1a185c20b7
1 changed files with 9 additions and 0 deletions
9
doc/todo/git_annex_open.mdwn
Normal file
9
doc/todo/git_annex_open.mdwn
Normal file
|
@ -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]]
|
Loading…
Reference in a new issue