-
beans
@cvp Thank you for the information. Anyway, the code is very useful.
-
beans
@cvp I opened that iCloud folder from EXTERNAL FILES. The folder is shown in EXTERNAL FILES. The files existed in the folder are accessible as '/private/var...', however, the files newly added to that folder are not shown in the folder of EXTERNAL FILES and are not accessible as '/private/var...' The newly added files can be shown using os.listdir('/private/var...'). The file names are shown as '.filename.icloud' (they are not shown in the folder of EXTERNAL FILES). I assume the files are not imported to the device or not synced with EXTERNAL FILES and would like to know if any way to import the files by the code.
-
beans
@cvp Thank you very much. The code works as expected. Very helpful. Additionally I found another issue through testing the code: the file should be accessible as internal file, the file is only stored in iCloud Drive (not imported to the device as accessible) can not be added. I assume this is reasonable but if any way to start importing from iCloud Drive to the device by the code it will be further helpful. Any ideas ? Sorry for repeated asking.
-
beans
@cvp I tried the code. I can add the video to specified album. However, the code creates the album every time when adding another video to the album with same name (many 'my_album' are created); can not add the video to existing album. Any information or alternative way ?
-
beans
@cvp : Thank you very much for quick response and useful information. I will try the code on my plan and get back to you.
-
beans
I am new and learning now. This code is very useful because I just wanted to add videos to the camera roll. Additionally, I would like to add the videos to my album. I found that AssetCollection.add_assets(assets) enables this. However, I could not find how get the asset of added video using this code. Any way to get the asset ? It would be great if someone could help.