Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add the whole file path #8

Closed
facuacostag opened this issue Feb 24, 2018 · 3 comments
Closed

Suggestion: Add the whole file path #8

facuacostag opened this issue Feb 24, 2018 · 3 comments

Comments

@facuacostag
Copy link

Right now, the asset object return an uri like assets-library://asset/asset.mp4?id=7ED0862F-75A0-4EDE-8096-0F5F695045C2&ext=mp4 is it possible to also retrieve the path like
file:///Users/pentarex/Library/Developer/CoreSimulator/Devices/81873DB4-A220-4F60-88B8-87521BB231E6/data/Containers/Data/Application/91EE6566-4D04-4E33-9608-EDB06DA6C6D2/Documents/8DAEDFBC-9E16-442D-A98F-E145F429DA0B.m4v to use it with other libraries?

@pentarex
Copy link
Owner

Apple API is not returning the absolute url because of sandboxing. In order to retrieve this path I have to do additional request which probably will slow down this library.
The converted video path is like this because I am already editing the video and I have the path already.

I am not sure what are you trying to do, maybe you can use the id or the filename of the asset.

@numandev1
Copy link

i also want to get file path not assets-library:// path

@numandev1
Copy link

@FacuAcosta did you got any solution?

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

No branches or pull requests

3 participants