这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@brunelli
Copy link
Contributor

As I commented in #70 (comment), this PR implements a interface to the media scanner service.

A termux-media-scan script is available for testing in this gist, and I plan to open a PR in termux/termux-api-package if okayed.

Usage: termux-media-scan [-v] [-r] file [file...]
Scan the specified file(s) and add it to the media content provider."
  -r  scan directories recursively"
  -v  verbose mode

Fixes #70.

@Grimler91
Copy link
Member

Tested this. Works great, thanks

@fornwall fornwall merged commit 32c2781 into termux:master Feb 4, 2018
fornwall added a commit to termux/termux-api-package that referenced this pull request Feb 4, 2018
@fornwall
Copy link
Member

fornwall commented Feb 5, 2018

Nice work, thanks! This is now rolling out in the v0.16 update of the Termux:API app, and there is a termux-media-scan command (taken from your gist) available in the latest (v0.25) version of the termux-api package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants