Ensure the names are unique across picture folders in DCF

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
a year ago

People

(Reporter: hub, Unassigned)

Tracking

({foxfood})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Integrate the date in picture file names

Do so respecting DCF and not like Android.

Olympus does that where their format is Pmddnnnn, where m is the month (hex digit), dd is the day of the month and nnnn is the 4 digit sequence as per the standard.

This should alleviate most of the concerns.
(Reporter)

Updated

4 years ago
Keywords: foxfood
(Reporter)

Comment 1

4 years ago
Just to give an example:

P8070001.jpg would be today.
P8080002.jpg would be tomorrow
P8080003.jpg 
P8080004.jpg 
PC240010.jpg would be on Christmas eve
P1010012.jpg would be on new Years.
(Reporter)

Updated

4 years ago
Blocks: 1179570
(Reporter)

Comment 2

4 years ago
A better suggestion for us:

PYYMnnnn.jpg: where YY is the year in decimal and M the month in hex. With the consecutive numbering with have over a century worth of unique names unless you take more than 1000 pictures a month.

We could also do
YYMxnnnn.jpg with x being incremented as we cycle through nnnn.
(Reporter)

Comment 3

4 years ago
Of course as we cycle through nnnn we also create new directories as per the DCF standard.
(Reporter)

Updated

4 years ago
Summary: Integrate the date in picture file names → Ensure the names are unique across picture folders in DCF
(Reporter)

Comment 4

4 years ago
The goal is to deal with the use case of "I copy all the pictures into on directory". The proposed scheme is reasonably bullet proof.
(Reporter)

Comment 5

4 years ago
And we need to fix bug 1192171 as well.
Depends on: 1192171
(Reporter)

Updated

3 years ago
No longer depends on: 1192171
(Reporter)

Updated

3 years ago
Depends on: 1227568
(Reporter)

Updated

3 years ago
No longer blocks: 1179570

Comment 6

a year ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.