Copying Audio Files - Phone Didn't Notice

71 views
Skip to first unread message

James Cross

unread,
Jul 23, 2015, 5:33:58 AM7/23/15
to Automate
I don't think this is related or limited to Automate.

When I delete files using automate from a folder, the audio player application doesn't notice that they have been removed and chokes on a file it can't find.  When doing the same using astro file manager it doesn't have a problem.  Is there a database or manifest that needs to be refreshed?  - General android issue I think.

Automate developer

unread,
Jul 23, 2015, 2:46:55 PM7/23/15
to Automate, ja...@jcross.co.uk, ja...@jcross.co.uk
The file probably also has to removed from the media store. Currently Automate can only add new files to the media store using the Media store add block, but i'll add a remove block.

Until then, try using the Broadcast send block:
Action: "android.intent.action.MEDIA_SCANNER_SCAN_FILE"
Data URI: file://<path to removed file>

James Cross

unread,
Jul 24, 2015, 3:11:57 AM7/24/15
to Automate
Ah so that's what that does. Can't work out why I never associated it. I haven't got round to removing any old files yet my flow only copies new ones. I'll try to remove old ones when I compare the lists.
Reply all
Reply to author
Forward
0 new messages