I'm implementing media support for F-Droid now, and one question I have
is what we should use for the unique ID for each media file.  With
Android apps, it is easy: the "package name" is a requirement for being
an Android app.  A couple of quick thoughts:

* use the hash of the media file as the unique ID, that guarantees
uniqueness, but is not human readable and might hide when the same file
has really tiny modifications like date metadata or something

* use the filename, that could easily conflict with other files but
would represent when the same file has slight changes that are not
rarely meaningful to the user (e.g. different timestamps in the internal
metadata)

* something else generated from some combo of
title/filename/hash/creator/etc.

.hc
_______________________________________________
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
To unsubscribe, email:  [email protected]

Reply via email to