File move and rename/tag edit HELP!

330 views
Skip to first unread message

logan...@hotmail.com

unread,
Apr 2, 2017, 9:47:40 PM4/2/17
to Automate
Hi

I am wanting to first let a user pick a file and set the path of it including file name as a variable. This part works fine.

I'm then wanting to automatically move that chosen file to a preset location (from internal phone memory to external SD card), but cannot get this to work. I've tried the built-in function as well as third party plugins but can't get anything to work. It throws an error:

2017-04-03 11:16:39.561 FAIL 164@99: com.llamalab.fs.NoSuchFileException: /storage/C883-7200/xxx.mp3

The above path in error log shows the destination not the source so I don't know why it's saying there is no such file? Is it a check after the move to confirm file exists in new location? Manually checking file manager shows the file hasn't moved and still exists in the source location.

Can someone please advise a simple way to pick a file and then auto move it to a preset location?

I'd also like to offer the user the opportunity to rename the file by user input, as well as editing the ID3 tabs of the file (artist, album, track). Is this possible?

Phone is not rooted.

Thanks !!!

Henrik "The Developer" Lindqvist

unread,
Apr 3, 2017, 9:36:10 AM4/3/17
to Automate, logan...@hotmail.com
Have you granted access to the C883-7200 disk in Automate settings?

Currently it only possible to read ID3 tags, using the Media tag read block.

Logan Cowan

unread,
Apr 3, 2017, 5:28:57 PM4/3/17
to Henrik "The Developer" Lindqvist, Automate

Hi

Yes the Storage permission is already set. The error seems wrong though or not accurate. Why does it say the destination file can't be found when it hasn't copies it. Is it reading destination instead of source as a check before moving? Or does it think it has completed the moving and is failing a check for the file in the destination directory?

Should I send you the the file?

I have upgraded to premium app as well but it's not working how I want it to and the error makes it unclear why.

Thanks
Logan

Sent from my HTC 10



From: Henrik "The Developer" Lindqvist <henrik.l...@gmail.com>
Sent: Tuesday, April 4, 2017 1:36:10 AM
To: Automate
Cc: logan...@hotmail.com
Subject: Re: File move and rename/tag edit HELP!
 

Logan Cowan

unread,
Apr 3, 2017, 5:34:54 PM4/3/17
to Logan Cowan, Henrik "The Developer" Lindqvist, Automate

Oddly enough I get a permission error when trying to browse for an internal memory directory and not on the SD card. Again not matching up to error received.

I can't see where to give the app permission to internal storage other than what I've already done?

Pls see screenshot and advise how to fix.

Thanks
Logan

Sent from my HTC 10



From: Logan Cowan <logan...@hotmail.com>
Sent: Tuesday, April 4, 2017 9:28:52 AM
To: Henrik "The Developer" Lindqvist; Automate
Screenshot_20170404-093253.png

Henrik "The Developer" Lindqvist

unread,
Apr 4, 2017, 7:44:13 AM4/4/17
to Automate, henrik.l...@gmail.com, logan...@hotmail.com
Grant access to the volume on the "External storage access" screen in Automate settings. Installing the Storage permission is not enough for removable SD cards.

It is possible to get the File not found error if any of the parent directories are missing.




On Monday, April 3, 2017 at 11:28:57 PM UTC+2, Logan Cowan wrote:

Hi

Yes the Storage permission is already set. The error seems wrong though or not accurate. Why does it say the destination file can't be found when it hasn't copies it. Is it reading destination instead of source as a check before moving? Or does it think it has completed the moving and is failing a check for the file in the destination directory?

Should I send you the the file?

I have upgraded to premium app as well but it's not working how I want it to and the error makes it unclear why.

Thanks
Logan

Sent from my HTC 10



 

matthias....@gmail.com

unread,
Aug 3, 2018, 6:03:15 AM8/3/18
to Automate
Hey Logan
I had the same problem and could solve it with adding the following privilege in Automate's Settings:
>> "full (superuser) access to all device features and storage"

Hope could help you or someone else with same issue.

Best regards,
Matthias

Henrik "The Developer" Lindqvist

unread,
Aug 3, 2018, 2:55:42 PM8/3/18
to Automate
False. The File blocks do not use root.

erle...@gmail.com

unread,
Aug 11, 2018, 8:50:30 AM8/11/18
to Automate
Hi logan! I had the same problem with permissions over my sd card.
Henrik was absolutely right: you must to grant access to your sd card in Automate settings, (it's a particular section just like Henrik said: "Installing the Storage permission is not enough for removable SD cards.")
But also, in my case, I had to reboot my celphone to changes take efect.
Reply all
Reply to author
Forward
0 new messages