2020-04-30 17:26:36 +02:00
|
|
|
package entity
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2020-05-08 14:18:11 +02:00
|
|
|
var editTime = time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC)
|
2020-05-14 14:17:12 +02:00
|
|
|
var deleteTime = time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
|
2021-08-04 18:43:39 +02:00
|
|
|
var checkedTime = time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC)
|
2020-05-08 14:18:11 +02:00
|
|
|
|
2020-05-10 19:43:49 +02:00
|
|
|
type PhotoMap map[string]Photo
|
|
|
|
|
|
|
|
func (m PhotoMap) Get(name string) Photo {
|
|
|
|
if result, ok := m[name]; ok {
|
|
|
|
return result
|
|
|
|
}
|
|
|
|
|
|
|
|
return Photo{PhotoName: name}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m PhotoMap) Pointer(name string) *Photo {
|
|
|
|
if result, ok := m[name]; ok {
|
|
|
|
return &result
|
|
|
|
}
|
|
|
|
|
|
|
|
return &Photo{PhotoName: name}
|
|
|
|
}
|
|
|
|
|
|
|
|
var PhotoFixtures = PhotoMap{
|
2021-08-16 15:17:43 +02:00
|
|
|
"19800101_000002_D640C559": { //JPG, Imported, No Geo-information
|
2021-08-05 10:30:08 +02:00
|
|
|
ID: 1000000,
|
2021-08-04 18:43:39 +02:00
|
|
|
// UUID:
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0yh7",
|
2021-08-05 12:33:02 +02:00
|
|
|
TakenAt: time.Date(2008, 7, 1, 10, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2008, 7, 1, 12, 0, 0, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "meta",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
2021-08-04 18:43:39 +02:00
|
|
|
TypeSrc: "",
|
2021-08-05 12:33:02 +02:00
|
|
|
PhotoTitle: "Lake / 2790",
|
2020-04-30 17:26:36 +02:00
|
|
|
TitleSrc: "",
|
2020-05-18 22:18:58 +02:00
|
|
|
PhotoDescription: "photo description lake",
|
2021-08-05 12:33:02 +02:00
|
|
|
DescriptionSrc: "meta",
|
|
|
|
PhotoPath: "2790/07",
|
|
|
|
PhotoName: "27900704_070228_D6D51B6C",
|
|
|
|
OriginalName: "Vacation/exampleFileNameOriginal",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoFavorite: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
//PhotoSingle
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-08-05 12:33:02 +02:00
|
|
|
TimeZone: "Europe/Berlin",
|
2021-08-04 18:43:39 +02:00
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-08-05 12:33:02 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
|
|
|
PhotoYear: 2790,
|
2021-08-05 12:33:02 +02:00
|
|
|
PhotoMonth: 7,
|
|
|
|
PhotoDay: 4,
|
|
|
|
PhotoIso: 200,
|
|
|
|
PhotoExposure: "1/80",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoFNumber: 5,
|
2021-08-05 12:33:02 +02:00
|
|
|
PhotoFocalLength: 50,
|
|
|
|
PhotoQuality: 3,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoResolution: 2,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2020-05-29 18:04:30 +02:00
|
|
|
CameraSerial: "",
|
2021-08-05 12:33:02 +02:00
|
|
|
CameraSrc: "meta",
|
2021-08-04 18:43:39 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000000),
|
2020-05-14 14:17:12 +02:00
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("bridge"),
|
|
|
|
},
|
2020-05-11 14:41:20 +02:00
|
|
|
Albums: []Album{
|
|
|
|
AlbumFixtures.Get("holiday-2030"),
|
|
|
|
},
|
|
|
|
Files: []File{},
|
2020-05-11 08:57:58 +02:00
|
|
|
Labels: []PhotoLabel{
|
2020-05-10 19:43:49 +02:00
|
|
|
LabelFixtures.PhotoLabel(1000000, "flower", 38, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(1000000, "cake", 38, "manual"),
|
|
|
|
},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-05 12:33:02 +02:00
|
|
|
PhotoColor: 9,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 3,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-08-16 15:17:43 +02:00
|
|
|
"Photo01": { //DNG + XMP, Indexed, lat/lng manually set
|
2020-04-30 17:26:36 +02:00
|
|
|
ID: 1000001,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0yh8",
|
2020-05-08 14:18:11 +02:00
|
|
|
TakenAt: time.Date(2006, 1, 1, 2, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2006, 1, 1, 2, 0, 0, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "meta",
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoType: "raw",
|
2021-08-04 18:43:39 +02:00
|
|
|
TypeSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2020-05-18 22:18:58 +02:00
|
|
|
PhotoDescription: "photo description blacklist",
|
2021-08-04 18:43:39 +02:00
|
|
|
DescriptionSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoPath: "2790/02",
|
|
|
|
PhotoName: "Photo01",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-05-01 14:13:59 +02:00
|
|
|
PhotoFavorite: true,
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "Europe/Berlin",
|
2021-08-16 15:17:43 +02:00
|
|
|
Place: PlaceFixtures.Pointer("Germany"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("Germany").ID,
|
|
|
|
PlaceSrc: "manual",
|
|
|
|
Cell: CellFixtures.Pointer("Neckarbrücke"),
|
|
|
|
CellID: CellFixtures.Pointer("Neckarbrücke").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoCountry: "de",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoYear: 2790,
|
|
|
|
PhotoMonth: 2,
|
|
|
|
PhotoDay: 12,
|
2020-05-01 14:13:59 +02:00
|
|
|
PhotoIso: 0,
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoExposure: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 2,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2020-04-30 17:26:36 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000001),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
2020-04-30 17:26:36 +02:00
|
|
|
Files: []File{},
|
2020-05-29 18:04:30 +02:00
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000001, "no-jpeg", 20, "image"),
|
|
|
|
},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-08-16 15:17:43 +02:00
|
|
|
UpdatedAt: time.Date(2020, 3, 28, 14, 6, 0, 0, time.UTC),
|
2021-08-05 10:30:08 +02:00
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoColor: 3,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 0,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-08-16 15:17:43 +02:00
|
|
|
"Photo02": { //JPG, Indexed, No Geo-information
|
2020-04-30 17:26:36 +02:00
|
|
|
ID: 1000002,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0yh9",
|
2021-08-16 15:17:43 +02:00
|
|
|
TakenAt: time.Date(1990, 3, 2, 0, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(1990, 3, 2, 0, 0, 0, 0, time.UTC),
|
|
|
|
TakenSrc: "manual",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoPath: "London",
|
|
|
|
PhotoName: "bridge1",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
|
|
|
PhotoYear: 1990,
|
|
|
|
PhotoMonth: 3,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDay: 2,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 2,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000002),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000002, "cake", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-08-16 17:14:18 +02:00
|
|
|
UpdatedAt: time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC),
|
2020-05-29 18:04:30 +02:00
|
|
|
EditedAt: nil,
|
2021-08-04 18:43:39 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-08-16 15:17:43 +02:00
|
|
|
PhotoColor: 12,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 1,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-08-16 17:14:18 +02:00
|
|
|
"Photo03": { // JPG + JPG (same instance ID) + MP4, Indexed, Place from metadata
|
2020-04-30 17:26:36 +02:00
|
|
|
ID: 1000003,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0yh0",
|
2021-08-16 17:14:18 +02:00
|
|
|
TakenAt: time.Date(1990, 4, 18, 1, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(1990, 4, 18, 1, 0, 0, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "meta",
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoType: "video",
|
2022-10-02 22:09:02 +02:00
|
|
|
PhotoDuration: time.Hour * 2,
|
2021-08-04 18:43:39 +02:00
|
|
|
TypeSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoPath: "1990/04",
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoName: "bridge2",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2020-07-12 08:27:05 +02:00
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
2021-08-16 17:14:18 +02:00
|
|
|
PlaceSrc: "meta",
|
2020-07-12 08:27:05 +02:00
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
2020-07-12 08:27:05 +02:00
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoYear: 1990,
|
|
|
|
PhotoMonth: 4,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDay: 18,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 4,
|
|
|
|
PhotoResolution: 2,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("bridge", 1000003),
|
2020-04-30 17:26:36 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-11 08:57:58 +02:00
|
|
|
Labels: []PhotoLabel{
|
2020-05-10 19:43:49 +02:00
|
|
|
LabelFixtures.PhotoLabel(1000003, "cow", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(1000003, "updatePhotoLabel", 20, "manual"),
|
2020-05-29 18:04:30 +02:00
|
|
|
LabelFixtures.PhotoLabel(1000000, "landscape", 10, "location"),
|
2020-05-10 19:43:49 +02:00
|
|
|
},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoColor: 12,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 1,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-08-16 17:14:18 +02:00
|
|
|
"Photo04": { //JPG, Indexed, Place estimated
|
2020-04-30 17:26:36 +02:00
|
|
|
ID: 1000004,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y11",
|
2020-04-30 17:26:36 +02:00
|
|
|
TakenAt: time.Date(2014, 7, 17, 15, 42, 12, 0, time.UTC),
|
2021-08-16 17:14:18 +02:00
|
|
|
TakenAtLocal: time.Date(2014, 7, 17, 17, 42, 12, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "meta",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoTitle: "Neckarbrücke",
|
|
|
|
TitleSrc: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoPath: "Germany",
|
|
|
|
PhotoName: "bridge",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-08-16 17:14:18 +02:00
|
|
|
TimeZone: "Europe/Berlin",
|
|
|
|
Place: PlaceFixtures.Pointer("Germany"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("Germany").ID,
|
|
|
|
PlaceSrc: "estimate",
|
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
|
|
|
PhotoCountry: PlaceFixtures.Pointer("Germany").CountryCode(),
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoYear: 2014,
|
|
|
|
PhotoMonth: 7,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDay: 10,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 2,
|
2020-05-13 19:46:49 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
2020-05-25 19:10:44 +02:00
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-13 19:46:49 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
2020-05-25 19:10:44 +02:00
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000004),
|
2020-05-11 14:41:20 +02:00
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("bridge"),
|
2020-07-13 12:29:11 +02:00
|
|
|
KeywordFixtures.Get("flower"),
|
2020-05-11 14:41:20 +02:00
|
|
|
},
|
|
|
|
Albums: []Album{
|
|
|
|
AlbumFixtures.Get("berlin-2019"),
|
|
|
|
},
|
2021-08-05 10:30:08 +02:00
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000004, "batchdelete", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoColor: 12,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2022-04-22 10:48:07 +02:00
|
|
|
PhotoFaces: 3,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-08-16 17:14:18 +02:00
|
|
|
"Photo05": { //JPG, Imported, File error, TakenAtSrc Name, titleSrc Name
|
2020-04-30 17:26:36 +02:00
|
|
|
ID: 1000005,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y12",
|
2021-08-16 17:14:18 +02:00
|
|
|
TakenAt: time.Date(2015, 11, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2015, 11, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
TakenSrc: "name",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoTitle: "Reunion",
|
2021-08-16 17:14:18 +02:00
|
|
|
TitleSrc: "name",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoPath: "2015/11",
|
|
|
|
PhotoName: "20151101_000000_51C501B5",
|
|
|
|
OriginalName: "2015/11/reunion",
|
2020-04-30 17:26:36 +02:00
|
|
|
PhotoFavorite: false,
|
2020-05-14 14:17:12 +02:00
|
|
|
PhotoPrivate: true,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-08-16 17:14:18 +02:00
|
|
|
TimeZone: "America/Mexico_City",
|
2020-05-25 19:10:44 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
2020-05-29 12:56:24 +02:00
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-16 17:14:18 +02:00
|
|
|
PlaceSrc: "meta",
|
2021-08-04 18:43:39 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: -21.342636,
|
|
|
|
PhotoLng: 55.466944,
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoYear: 2015,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 0,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 2,
|
2020-05-13 19:46:49 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
2020-05-25 19:10:44 +02:00
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "123",
|
|
|
|
CameraSrc: "",
|
2020-05-13 19:46:49 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
2020-05-25 19:10:44 +02:00
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000005),
|
2020-05-04 17:54:42 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-10 19:43:49 +02:00
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000005, "updateLabel", 20, "image")},
|
2020-05-04 17:54:42 +02:00
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-04 18:43:39 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-04 17:54:42 +02:00
|
|
|
DeletedAt: nil,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoColor: 6,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
2022-04-22 10:48:07 +02:00
|
|
|
PhotoFaces: 2,
|
2020-05-04 17:54:42 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo06": { // PNG + JPG, Private, Indexed
|
2020-05-04 17:54:42 +02:00
|
|
|
ID: 1000006,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y13",
|
2020-05-04 17:54:42 +02:00
|
|
|
TakenAt: time.Date(2016, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 11, 11, 9, 7, 18, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "meta",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-04 17:54:42 +02:00
|
|
|
PhotoTitle: "ToBeUpdated",
|
2021-09-02 17:43:46 +02:00
|
|
|
TitleSrc: SrcMeta,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-05-04 17:54:42 +02:00
|
|
|
PhotoPath: "2016/11",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo06",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-05-04 17:54:42 +02:00
|
|
|
PhotoFavorite: false,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoPrivate: true,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Place: &UnknownPlace,
|
2020-05-29 12:56:24 +02:00
|
|
|
PlaceID: UnknownPlace.ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: -21.342636,
|
|
|
|
PhotoLng: 55.466944,
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 2,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000006),
|
2020-04-30 17:26:36 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-10 19:43:49 +02:00
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000006, "updatePhotoLabel", 20, "image")},
|
2020-04-30 17:26:36 +02:00
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-04 18:43:39 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-04-30 17:26:36 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 4,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-04-30 17:26:36 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo07": { // Heif, Hei.JPG, Indexed
|
2020-05-08 14:18:11 +02:00
|
|
|
ID: 1000007,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y14",
|
2021-09-02 17:43:46 +02:00
|
|
|
TakenAt: time.Date(2016, 11, 12, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 11, 12, 9, 7, 18, 0, time.UTC),
|
2020-05-08 14:18:11 +02:00
|
|
|
TakenSrc: "",
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-08 14:18:11 +02:00
|
|
|
PhotoTitle: "ToBeUpdated",
|
2021-09-02 17:43:46 +02:00
|
|
|
TitleSrc: SrcMeta,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-05-08 14:18:11 +02:00
|
|
|
PhotoPath: "2016/11",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo07",
|
2021-08-04 18:43:39 +02:00
|
|
|
OriginalName: "",
|
2020-05-08 14:18:11 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Place: &UnknownPlace,
|
2020-05-29 12:56:24 +02:00
|
|
|
PlaceID: UnknownPlace.ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 12,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-04 18:43:39 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000007),
|
2020-05-08 14:18:11 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-10 19:43:49 +02:00
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000007, "landscape", 20, "image")},
|
2020-05-08 14:18:11 +02:00
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: &editTime,
|
2021-08-04 18:43:39 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-08 14:18:11 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 4,
|
2021-08-04 18:43:39 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-08 14:18:11 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo08": { // JPG, Indexed, Monochrome, Places meta
|
2020-05-08 15:46:16 +02:00
|
|
|
ID: 1000008,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y15",
|
2021-11-22 18:18:41 +01:00
|
|
|
TakenAt: time.Date(2016, 11, 11, 8, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 11, 11, 8, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-08 15:46:16 +02:00
|
|
|
PhotoTitle: "Black beach",
|
2021-09-02 17:43:46 +02:00
|
|
|
TitleSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-05-08 15:46:16 +02:00
|
|
|
PhotoPath: "2016/11",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo08",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-08 15:46:16 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 16:56:57 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-09-02 17:43:46 +02:00
|
|
|
PlaceSrc: SrcManual,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-02-11 19:48:33 +01:00
|
|
|
PhotoLat: 19.681944,
|
|
|
|
PhotoLng: -98.84659,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000008),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-08 15:46:16 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo09": { // jpg + jpg, stack sequential name, indexed
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000009,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y16",
|
2021-11-22 18:18:41 +01:00
|
|
|
TakenAt: time.Date(2016, 11, 11, 8, 6, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 11, 11, 8, 6, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoPath: "2016/11",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo09",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 16:56:57 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-11-24 12:49:20 +01:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-11-24 16:56:57 +01:00
|
|
|
PhotoLat: 19.681944,
|
|
|
|
PhotoLng: -98.846590,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000009),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-08-16 17:14:18 +02:00
|
|
|
"Photo10": { //mp4 + mp4 with error + jpg in sidecar, Indexed
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000010,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y17",
|
2020-05-11 17:01:05 +02:00
|
|
|
TakenAt: time.Date(2016, 11, 11, 9, 7, 18, 0, time.UTC),
|
2021-08-16 17:14:18 +02:00
|
|
|
TakenAtLocal: time.Date(2016, 11, 11, 11, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: "manual",
|
|
|
|
PhotoType: "video",
|
2022-10-02 22:09:02 +02:00
|
|
|
PhotoDuration: time.Minute * 2,
|
2021-08-05 10:30:08 +02:00
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoPath: "Holiday",
|
|
|
|
PhotoName: "Video",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-08-16 17:14:18 +02:00
|
|
|
TimeZone: "Europe/Berlin",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("holidaypark"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("holidaypark").ID,
|
2021-08-16 17:14:18 +02:00
|
|
|
PlaceSrc: "meta",
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("hassloch"),
|
|
|
|
CellID: CellFixtures.Pointer("hassloch").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoLat: 49.31,
|
|
|
|
PhotoLng: 8.30,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("holidaypark").CountryCode(),
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 10000010),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-08-16 17:14:18 +02:00
|
|
|
PhotoColor: 9,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 1,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo11": { // JPG
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000011,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y18",
|
2021-09-02 17:43:46 +02:00
|
|
|
TakenAt: time.Date(2016, 12, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 12, 11, 9, 7, 18, 0, time.UTC),
|
2020-05-11 17:01:05 +02:00
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoPath: "2016/12",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo11",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: PlaceFixtures.Pointer("emptyNameLongCity"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("emptyNameLongCity").ID,
|
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: CellFixtures.Pointer("emptyNameLongCity"),
|
|
|
|
CellID: CellFixtures.Pointer("emptyNameLongCity").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("emptyNameLongCity").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 12,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 10000011),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo12": { //JPG
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000012,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y19",
|
2021-09-02 17:43:46 +02:00
|
|
|
TakenAt: time.Date(2016, 01, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 01, 11, 9, 7, 18, 0, time.UTC),
|
2020-05-11 17:01:05 +02:00
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoPath: "2016/01",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo12",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: PlaceFixtures.Pointer("emptyNameShortCity"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("emptyNameShortCity").ID,
|
|
|
|
PlaceSrc: "",
|
|
|
|
Cell: CellFixtures.Pointer("emptyNameShortCity"),
|
|
|
|
CellID: CellFixtures.Pointer("emptyNameShortCity").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("emptyNameShortCity").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 1,
|
|
|
|
PhotoDay: 11,
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: &Details{},
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-11 17:01:05 +02:00
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-11 17:01:05 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo13": { //JPG
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000013,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y20",
|
2021-09-02 17:43:46 +02:00
|
|
|
TakenAt: time.Date(2016, 06, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2016, 06, 11, 9, 7, 18, 0, time.UTC),
|
2021-11-24 16:56:57 +01:00
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoPath: "2016/06",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo13",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 16:56:57 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2020-05-25 19:10:44 +02:00
|
|
|
Place: PlaceFixtures.Pointer("veryLongLocName"),
|
2020-05-29 12:56:24 +02:00
|
|
|
PlaceID: PlaceFixtures.Pointer("veryLongLocName").ID,
|
2021-11-24 12:49:20 +01:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("veryLongLocName"),
|
|
|
|
CellID: CellFixtures.Pointer("veryLongLocName").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-11-24 16:56:57 +01:00
|
|
|
PhotoLat: 19.681944,
|
|
|
|
PhotoLng: -98.846590,
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("veryLongLocName").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2016,
|
|
|
|
PhotoMonth: 6,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: &Details{},
|
2020-05-11 17:01:05 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000008, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-11 17:01:05 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo14": { //JPG
|
2020-05-11 17:01:05 +02:00
|
|
|
ID: 1000014,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y21",
|
2021-09-02 17:43:46 +02:00
|
|
|
TakenAt: time.Date(2018, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2018, 11, 11, 9, 7, 18, 0, time.UTC),
|
2021-11-24 16:56:57 +01:00
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoTitle: "Title",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoPath: "2018/11",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo14",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-11 17:01:05 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 16:56:57 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mediumLongLocName"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mediumLongLocName").ID,
|
2021-11-24 12:49:20 +01:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mediumLongLocName"),
|
|
|
|
CellID: CellFixtures.Pointer("mediumLongLocName").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
2021-11-24 16:56:57 +01:00
|
|
|
PhotoLat: 19.681944,
|
|
|
|
PhotoLng: -98.846590,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mediumLongLocName").CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2018,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: &Details{},
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(1000014, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-29 18:04:30 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 0,
|
2020-05-12 11:51:28 +02:00
|
|
|
},
|
2021-08-16 18:18:37 +02:00
|
|
|
"Photo15": { // JPG FileMissing = true, Indexed
|
2020-05-12 11:51:28 +02:00
|
|
|
ID: 1000015,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y22",
|
2020-05-12 11:51:28 +02:00
|
|
|
TakenAt: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
2021-11-24 16:56:57 +01:00
|
|
|
TakenSrc: SrcName,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoTitle: "TitleToBeSet",
|
2021-08-16 18:18:37 +02:00
|
|
|
TitleSrc: SrcName,
|
2020-05-18 22:18:58 +02:00
|
|
|
PhotoDescription: "photo description blacklist",
|
2021-08-16 18:18:37 +02:00
|
|
|
DescriptionSrc: SrcMeta,
|
2020-05-30 15:42:04 +02:00
|
|
|
PhotoPath: "1990",
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoName: "missing",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "Europe/Berlin",
|
2021-08-16 18:18:37 +02:00
|
|
|
Place: PlaceFixtures.Pointer("Germany"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("Germany").ID,
|
|
|
|
PlaceSrc: SrcMeta,
|
|
|
|
Cell: CellFixtures.Pointer("Neckarbrücke"),
|
|
|
|
CellID: CellFixtures.Pointer("Neckarbrücke").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoCountry: "de",
|
|
|
|
PhotoYear: 2013,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("blacklist", 1000015),
|
2020-05-12 11:51:28 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(10000015, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-12 11:51:28 +02:00
|
|
|
DeletedAt: nil,
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoColor: 6,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-12 11:51:28 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo16": { //JPG
|
2020-05-12 11:51:28 +02:00
|
|
|
ID: 1000016,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y23",
|
2020-05-12 11:51:28 +02:00
|
|
|
TakenAt: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoTitle: "ForDeletion",
|
2021-09-02 17:43:46 +02:00
|
|
|
TitleSrc: SrcName,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-09-02 17:43:46 +02:00
|
|
|
DescriptionSrc: "",
|
2020-05-30 15:42:04 +02:00
|
|
|
PhotoPath: "1990",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo16",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-09-20 14:05:44 +02:00
|
|
|
PhotoScan: true,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
2021-09-02 17:43:46 +02:00
|
|
|
PlaceSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: UnknownCountry.ID,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2013,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2020-05-12 11:51:28 +02:00
|
|
|
PhotoIso: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
2020-05-13 11:51:51 +02:00
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{LabelFixtures.PhotoLabel(10000015, "landscape", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-13 11:51:51 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-13 11:51:51 +02:00
|
|
|
},
|
2021-08-17 16:40:24 +02:00
|
|
|
"Photo17": { // JPG, Indexed, Favorite, Quality 1, Places from metadata
|
2020-05-13 11:51:51 +02:00
|
|
|
ID: 1000017,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y24",
|
2020-05-13 11:51:51 +02:00
|
|
|
TakenAt: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-13 11:51:51 +02:00
|
|
|
PhotoTitle: "Quality1FavoriteTrue",
|
2021-08-16 18:18:37 +02:00
|
|
|
TitleSrc: SrcName,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-16 18:18:37 +02:00
|
|
|
DescriptionSrc: SrcAuto,
|
2020-05-30 15:42:04 +02:00
|
|
|
PhotoPath: "1990/04",
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoName: "Quality1FavoriteTrue",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-13 11:51:51 +02:00
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-16 18:18:37 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2020-05-13 11:51:51 +02:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoYear: 2013,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2020-05-13 11:51:51 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-14 14:17:12 +02:00
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000015, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-16 18:18:37 +02:00
|
|
|
PhotoColor: 6,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-14 14:17:12 +02:00
|
|
|
},
|
2021-08-17 16:40:24 +02:00
|
|
|
"Photo18": { // JPG, Indexed, Archived, Chroma 0
|
2020-05-14 14:17:12 +02:00
|
|
|
ID: 1000018,
|
2020-05-23 20:58:58 +02:00
|
|
|
PhotoUID: "pt9jtdre2lvl0y25",
|
2020-05-14 14:17:12 +02:00
|
|
|
TakenAt: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2013, 11, 11, 9, 7, 18, 0, time.UTC),
|
2021-08-17 16:40:24 +02:00
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-14 14:17:12 +02:00
|
|
|
PhotoTitle: "ArchivedChroma0",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-17 16:40:24 +02:00
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "Archived",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoName: "Photo18",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-14 14:17:12 +02:00
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-17 16:40:24 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2020-05-14 14:17:12 +02:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoYear: 2013,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2020-05-14 14:17:12 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 0,
|
|
|
|
PhotoResolution: 0,
|
2020-05-29 18:04:30 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-29 18:04:30 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2020-07-06 19:15:57 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
2020-05-29 18:04:30 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
2020-05-14 14:17:12 +02:00
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2019, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: &deleteTime,
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoColor: 9,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-11 17:01:05 +02:00
|
|
|
},
|
2021-08-17 16:40:24 +02:00
|
|
|
"Photo19": { // JPG, Indexed, Low Quality
|
2020-05-25 19:10:44 +02:00
|
|
|
ID: 1000019,
|
2020-12-12 22:02:14 +01:00
|
|
|
UUID: "123e4567-e89b-12d3-a456-426614174000",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoUID: "pt9jtxrexxvl0yh0",
|
|
|
|
TakenAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-08-17 16:40:24 +02:00
|
|
|
TakenAtLocal: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
2020-05-25 19:10:44 +02:00
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoPath: "1990/04",
|
2020-12-12 22:02:14 +01:00
|
|
|
PhotoName: "Photo19",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Place: &UnknownPlace,
|
2020-05-29 12:56:24 +02:00
|
|
|
PlaceID: UnknownPlace.ID,
|
2020-07-14 14:42:23 +02:00
|
|
|
PlaceSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2020-07-14 14:42:23 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoYear: 2008,
|
|
|
|
PhotoMonth: 1,
|
|
|
|
PhotoDay: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: -1,
|
|
|
|
PhotoResolution: 2,
|
2020-07-14 14:42:23 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-07-14 14:42:23 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("bridge", 1000019),
|
2020-07-14 14:42:23 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{},
|
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-08-17 16:40:24 +02:00
|
|
|
UpdatedAt: time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC),
|
2020-07-14 14:42:23 +02:00
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-07-14 14:42:23 +02:00
|
|
|
DeletedAt: nil,
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoColor: 12,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-07-14 14:42:23 +02:00
|
|
|
},
|
2021-09-02 17:43:46 +02:00
|
|
|
"Photo20": { // JPG
|
2020-07-14 14:42:23 +02:00
|
|
|
ID: 1000020,
|
|
|
|
PhotoUID: "pt9jtxrexxvl0y20",
|
|
|
|
TakenAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Time{},
|
|
|
|
TakenSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2020-07-14 14:42:23 +02:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2020-07-14 14:42:23 +02:00
|
|
|
PhotoPath: "1990/04",
|
2020-12-12 22:02:14 +01:00
|
|
|
PhotoName: "Photo20",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2020-07-14 14:42:23 +02:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2020-07-14 14:42:23 +02:00
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
2020-07-12 08:27:05 +02:00
|
|
|
PlaceSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
PhotoCountry: UnknownPlace.CountryCode(),
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoYear: 2008,
|
|
|
|
PhotoMonth: 1,
|
|
|
|
PhotoDay: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 1,
|
|
|
|
PhotoResolution: 2,
|
2020-05-25 19:10:44 +02:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2020-05-25 19:10:44 +02:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("bridge", 1000019),
|
2020-05-25 19:10:44 +02:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{},
|
|
|
|
CreatedAt: time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2020-05-25 19:10:44 +02:00
|
|
|
DeletedAt: nil,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoColor: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2020-05-25 19:10:44 +02:00
|
|
|
},
|
2021-08-23 17:20:03 +02:00
|
|
|
"Photo21": { // mp4 + mp4.jpg, Imported, Estimated Location
|
2021-02-05 18:32:32 +01:00
|
|
|
ID: 1000021,
|
|
|
|
PhotoUID: "pt9jtxrexxvl0y21",
|
2021-08-23 17:20:03 +02:00
|
|
|
TakenAt: time.Date(2018, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-02-05 18:32:32 +01:00
|
|
|
TakenAtLocal: time.Time{},
|
|
|
|
TakenSrc: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoType: "video",
|
2021-08-05 10:30:08 +02:00
|
|
|
TypeSrc: "",
|
2021-02-05 18:32:32 +01:00
|
|
|
PhotoTitle: "",
|
|
|
|
TitleSrc: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoPath: "2018/01",
|
|
|
|
PhotoName: "20180101_130410_418COOO0",
|
|
|
|
OriginalName: "my-videos/IMG_88888",
|
2021-02-05 18:32:32 +01:00
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-08-23 17:20:03 +02:00
|
|
|
TimeZone: "Europe/Berlin",
|
|
|
|
Place: PlaceFixtures.Pointer("Germany"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("Germany").ID,
|
|
|
|
PlaceSrc: "estimate",
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: &UnknownLocation,
|
|
|
|
CellID: UnknownLocation.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("Germany").CountryCode(),
|
|
|
|
PhotoYear: 2018,
|
|
|
|
PhotoMonth: 1,
|
|
|
|
PhotoDay: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 1,
|
|
|
|
PhotoResolution: 2,
|
2021-02-05 18:32:32 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-02-05 18:32:32 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: DetailsFixtures.Pointer("bridge", 1000019),
|
2021-02-05 18:32:32 +01:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{},
|
2021-08-23 17:20:03 +02:00
|
|
|
CreatedAt: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
2021-02-05 18:32:32 +01:00
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2021-02-05 18:32:32 +01:00
|
|
|
DeletedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2021-02-05 18:32:32 +01:00
|
|
|
},
|
2021-08-23 17:20:03 +02:00
|
|
|
"Photo22": { // JPG + JPG (place&time stack)
|
2021-02-25 15:17:47 +01:00
|
|
|
ID: 1000022,
|
|
|
|
PhotoUID: "pt9jtxrexxvl0y22",
|
|
|
|
TakenAt: time.Date(2001, 1, 1, 7, 0, 0, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2001, 1, 1, 7, 0, 0, 0, time.UTC),
|
2021-08-23 17:20:03 +02:00
|
|
|
TakenSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoType: "image",
|
2021-08-05 10:30:08 +02:00
|
|
|
TypeSrc: "",
|
2022-04-02 13:31:04 +02:00
|
|
|
PhotoTitle: "Lake / 2001",
|
2021-08-05 10:30:08 +02:00
|
|
|
TitleSrc: "",
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoPath: "Mexico-With-Family",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoName: "Photo22",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
2021-02-25 15:17:47 +01:00
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-23 17:20:03 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
|
|
|
PhotoYear: 2001,
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoMonth: 1,
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoDay: 1,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 1,
|
|
|
|
PhotoResolution: 2,
|
2021-02-25 15:17:47 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
Details: &Details{},
|
2021-02-25 15:17:47 +01:00
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{},
|
|
|
|
CreatedAt: time.Date(2010, 1, 1, 8, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2010, 1, 1, 8, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
CheckedAt: &checkedTime,
|
2021-02-25 15:17:47 +01:00
|
|
|
DeletedAt: nil,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2021-02-25 15:17:47 +01:00
|
|
|
},
|
2021-08-23 17:20:03 +02:00
|
|
|
"Photo23": { //JPG, Favorite
|
2021-02-25 15:17:47 +01:00
|
|
|
ID: 1000023,
|
|
|
|
PhotoUID: "pt9jtdre2lvl0y43",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoTitle: "ForMerge",
|
2021-08-23 17:20:03 +02:00
|
|
|
TitleSrc: SrcManual,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
DescriptionSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoPath: "2020/vacation",
|
|
|
|
PhotoName: "PhotoMerge",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-23 17:20:03 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoIso: 0,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoExposure: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
2021-02-25 15:17:47 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2021-02-25 15:17:47 +01:00
|
|
|
},
|
2021-08-23 17:20:03 +02:00
|
|
|
"Photo24": { // CR2 + JPG in Sidecar, Indexed
|
2021-02-25 15:17:47 +01:00
|
|
|
ID: 1000024,
|
|
|
|
PhotoUID: "pt9jtdre2lvl0y44",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoType: "raw",
|
2021-08-05 10:30:08 +02:00
|
|
|
TypeSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoTitle: "ForMerge2",
|
2021-08-23 17:20:03 +02:00
|
|
|
TitleSrc: SrcManual,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-23 17:20:03 +02:00
|
|
|
DescriptionSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoPath: "2020/vacation",
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoName: "PhotoMerge2",
|
2021-08-05 10:30:08 +02:00
|
|
|
OriginalName: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-23 17:20:03 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-23 17:20:03 +02:00
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
2021-02-25 15:17:47 +01:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
2021-02-25 15:17:47 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-02-25 15:17:47 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
2021-02-25 15:17:47 +01:00
|
|
|
},
|
2021-08-17 16:40:24 +02:00
|
|
|
"Photo25": { // JPG, Indexed, Photo edited, Panorama true, Unstacked
|
2021-03-03 11:49:32 +01:00
|
|
|
ID: 1000025,
|
|
|
|
PhotoUID: "pt9jtdre2lvl0y45",
|
|
|
|
TakenAt: time.Date(2007, 1, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2007, 1, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2021-03-03 11:49:32 +01:00
|
|
|
PhotoTitle: "photowitheditedatdate",
|
2021-08-17 16:40:24 +02:00
|
|
|
TitleSrc: SrcManual,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-17 16:40:24 +02:00
|
|
|
DescriptionSrc: "",
|
2021-03-10 11:30:09 +01:00
|
|
|
PhotoPath: "2007/12",
|
2021-03-03 11:49:32 +01:00
|
|
|
PhotoName: "PhotoWithEditedAt",
|
2021-08-17 16:40:24 +02:00
|
|
|
OriginalName: "",
|
2021-03-03 11:49:32 +01:00
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: true,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-17 16:40:24 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2021-03-03 11:49:32 +01:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
|
|
|
PhotoYear: 0,
|
|
|
|
PhotoMonth: 0,
|
|
|
|
PhotoDay: 4,
|
2021-03-03 11:49:32 +01:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
2021-03-03 11:49:32 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-03-03 11:49:32 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-17 16:40:24 +02:00
|
|
|
CreatedAt: time.Date(2007, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2007, 3, 1, 0, 0, 0, 0, time.UTC),
|
2021-08-05 10:30:08 +02:00
|
|
|
EditedAt: &editTime,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoColor: 12,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoStack: IsUnstacked,
|
|
|
|
PhotoFaces: 0,
|
2021-03-03 11:49:32 +01:00
|
|
|
},
|
2021-08-23 17:20:03 +02:00
|
|
|
"Photo26": { // JPG, Indexed, Panorama, Unstacked
|
2021-03-10 15:52:38 +01:00
|
|
|
ID: 1000026,
|
|
|
|
PhotoUID: "pt9jtdre2lvl0y90",
|
|
|
|
TakenAt: time.Date(2007, 1, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2007, 1, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoTitle: "phototobebatchapproved",
|
2021-08-17 16:40:24 +02:00
|
|
|
TitleSrc: SrcAuto,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-17 16:40:24 +02:00
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2007/12",
|
|
|
|
PhotoName: "PhotoWithEditedAt_2",
|
2021-03-10 15:52:38 +01:00
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: true,
|
2021-11-24 14:32:40 +01:00
|
|
|
TimeZone: "America/Mexico_City",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-17 16:40:24 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoLat: 1.234,
|
|
|
|
PhotoLng: 4.321,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-17 16:40:24 +02:00
|
|
|
PhotoYear: 2007,
|
|
|
|
PhotoMonth: 1,
|
|
|
|
PhotoDay: 11,
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 1,
|
|
|
|
PhotoResolution: 0,
|
2021-03-10 15:52:38 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-03-10 15:52:38 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: IsUnstacked,
|
|
|
|
PhotoFaces: 0,
|
2021-03-10 15:52:38 +01:00
|
|
|
},
|
2021-08-17 17:26:39 +02:00
|
|
|
"Photo27": { // live (mp4 + jpg)
|
2021-03-10 15:52:38 +01:00
|
|
|
ID: 1000027,
|
|
|
|
PhotoUID: "pt9jtdre2lvl0y50",
|
2021-08-17 17:26:39 +02:00
|
|
|
TakenAt: time.Date(2000, 12, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2000, 12, 11, 4, 7, 18, 0, time.UTC),
|
2021-03-10 15:52:38 +01:00
|
|
|
TakenSrc: SrcMeta,
|
2021-08-17 17:26:39 +02:00
|
|
|
PhotoType: "live",
|
2021-08-05 10:30:08 +02:00
|
|
|
TypeSrc: "",
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoTitle: "phototobebatchapproved2",
|
2021-08-17 17:26:39 +02:00
|
|
|
TitleSrc: SrcName,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoDescription: "",
|
2021-08-17 17:26:39 +02:00
|
|
|
DescriptionSrc: "",
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoPath: "2000/12",
|
|
|
|
PhotoName: "PhotoToBeBatchApproved2",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: true,
|
|
|
|
PhotoPrivate: false,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoScan: false,
|
2021-08-17 17:26:39 +02:00
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico",
|
2021-08-05 10:30:08 +02:00
|
|
|
Place: PlaceFixtures.Pointer("mexico"),
|
|
|
|
PlaceID: PlaceFixtures.Pointer("mexico").ID,
|
2021-08-17 17:26:39 +02:00
|
|
|
PlaceSrc: SrcMeta,
|
2021-08-05 10:30:08 +02:00
|
|
|
Cell: CellFixtures.Pointer("mexico"),
|
|
|
|
CellID: CellFixtures.Pointer("mexico").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
2021-08-17 17:26:39 +02:00
|
|
|
PhotoLat: 19.682,
|
|
|
|
PhotoLng: -98.84,
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoCountry: PlaceFixtures.Pointer("mexico").CountryCode(),
|
2021-08-17 17:26:39 +02:00
|
|
|
PhotoYear: 2000,
|
|
|
|
PhotoMonth: 12,
|
|
|
|
PhotoDay: 11,
|
2021-03-10 15:52:38 +01:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
2021-08-05 10:30:08 +02:00
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoQuality: 1,
|
|
|
|
PhotoResolution: 0,
|
2021-03-10 15:52:38 +01:00
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
2021-08-05 10:30:08 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2021-03-10 15:52:38 +01:00
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
2021-08-05 10:30:08 +02:00
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
2021-08-17 17:26:39 +02:00
|
|
|
PhotoColor: 12,
|
|
|
|
PhotoStack: IsStackable,
|
2021-09-02 17:43:46 +02:00
|
|
|
PhotoFaces: 3,
|
2021-03-10 15:52:38 +01:00
|
|
|
},
|
2021-11-22 18:18:41 +01:00
|
|
|
"PhotoTimeZone": {
|
2021-11-21 21:25:11 +01:00
|
|
|
ID: 1000028,
|
2021-11-22 18:18:41 +01:00
|
|
|
PhotoUID: "pr2xmef3ki00x54g",
|
2021-11-21 21:25:11 +01:00
|
|
|
TakenAt: time.Date(2015, 5, 17, 23, 2, 46, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2015, 5, 17, 23, 2, 46, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "Estimate / 2015",
|
|
|
|
TitleSrc: SrcName,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2015/05",
|
|
|
|
PhotoName: "Estimate",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "",
|
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
|
|
|
PlaceSrc: SrcAuto,
|
|
|
|
Cell: nil,
|
|
|
|
CellID: UnknownPlace.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
|
|
|
PhotoCountry: UnknownCountry.ID,
|
|
|
|
PhotoYear: 2015,
|
|
|
|
PhotoMonth: 5,
|
|
|
|
PhotoDay: 17,
|
|
|
|
PhotoIso: 100,
|
|
|
|
PhotoExposure: "1/50",
|
|
|
|
PhotoFNumber: 2.6,
|
|
|
|
PhotoFocalLength: 3,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: &Details{
|
|
|
|
PhotoID: 1000028,
|
|
|
|
CreatedAt: TimeStamp(),
|
|
|
|
UpdatedAt: TimeStamp(),
|
|
|
|
},
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: nil,
|
|
|
|
EstimatedAt: nil,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 12,
|
|
|
|
PhotoStack: IsStackable,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
2021-11-22 18:18:41 +01:00
|
|
|
"VideoTimeZone": {
|
|
|
|
ID: 1000029,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk2u",
|
|
|
|
TakenAt: time.Date(2015, 5, 17, 17, 48, 46, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2015, 5, 17, 17, 48, 46, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "video",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "Estimate / 2015",
|
|
|
|
TitleSrc: SrcName,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2015/05",
|
|
|
|
PhotoName: "Estimate",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "UTC",
|
|
|
|
Place: &UnknownPlace,
|
|
|
|
PlaceID: UnknownPlace.ID,
|
|
|
|
PlaceSrc: SrcAuto,
|
|
|
|
Cell: nil,
|
|
|
|
CellID: UnknownPlace.ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 0,
|
|
|
|
PhotoLat: 0,
|
|
|
|
PhotoLng: 0,
|
|
|
|
PhotoCountry: UnknownCountry.ID,
|
|
|
|
PhotoYear: 2015,
|
|
|
|
PhotoMonth: 5,
|
|
|
|
PhotoDay: 17,
|
|
|
|
PhotoIso: 100,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFNumber: 2.6,
|
|
|
|
PhotoFocalLength: 3,
|
|
|
|
PhotoQuality: 3,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: &Details{
|
|
|
|
PhotoID: 1000029,
|
|
|
|
CreatedAt: TimeStamp(),
|
|
|
|
UpdatedAt: TimeStamp(),
|
|
|
|
},
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "landscape", 20, "image"),
|
|
|
|
LabelFixtures.PhotoLabel(10000018, "likeLabel", 20, "image")},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: nil,
|
|
|
|
EstimatedAt: nil,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 12,
|
|
|
|
PhotoStack: IsStackable,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
2022-03-30 18:21:14 +02:00
|
|
|
"%photo28": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 10000029,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk21",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "%Salad",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "%abc/%folderx",
|
|
|
|
PhotoName: "%photo28",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("%toss"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
2022-04-01 16:24:45 +02:00
|
|
|
LabelFixtures.PhotoLabel(10000029, "%tennis", 20, "image"),
|
2022-03-30 18:21:14 +02:00
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo29%": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000030,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk22",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "cloud%",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "abc%/folde%",
|
|
|
|
PhotoName: "photo29%",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("magic%"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000030, "cell%", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo%30": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000031,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk23",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "hon%ey",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "ab%c/fol%de",
|
|
|
|
PhotoName: "photo%30",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("ca%t"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000031, "chem%stry", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"&photo31": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000032,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk24",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "&dad",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "&abc/&folde",
|
|
|
|
PhotoName: "&photo31",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("&hogwarts"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "&friendship", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo&32": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000033,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk25",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "leader&ship",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "tes&r/lo&c",
|
|
|
|
PhotoName: "photo&32",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("love&trust"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "construction&failure", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo33&": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000034,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk26",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "mom&",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2020&/vacation&",
|
|
|
|
PhotoName: "photo33&",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("countryside&"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "goal&", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"'photo34": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000035,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk27",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "'poetry'",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "'2020/'vacation",
|
|
|
|
PhotoName: "'photo34",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("'grandfather"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "'activity", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo'35": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000036,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk28",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "amaz'ing",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "20'20/vacat'ion",
|
|
|
|
PhotoName: "photo'35",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
2022-04-02 20:13:56 +02:00
|
|
|
PhotoMonth: 12,
|
|
|
|
PhotoDay: 17,
|
2022-03-30 18:21:14 +02:00
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
2022-04-02 20:13:56 +02:00
|
|
|
Camera: CameraFixtures.Pointer("apple-iphone-se"),
|
|
|
|
CameraID: CameraFixtures.Pointer("apple-iphone-se").ID,
|
2022-03-30 18:21:14 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
2022-04-02 20:13:56 +02:00
|
|
|
Lens: LensFixtures.Pointer("4.15mm-f/2.2"),
|
|
|
|
LensID: LensFixtures.Pointer("4.15mm-f/2.2").ID,
|
2022-03-30 18:21:14 +02:00
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("grandma's"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "funera'l", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo36'": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000037,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk29",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "pollution'",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2020'/vacation'",
|
|
|
|
PhotoName: "photo36'",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
2022-04-02 20:13:56 +02:00
|
|
|
Camera: CameraFixtures.Pointer("apple-iphone-7"),
|
|
|
|
CameraID: CameraFixtures.Pointer("apple-iphone-7").ID,
|
2022-03-30 18:21:14 +02:00
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("cheescake'"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "technology'", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"*photo37": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000038,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk30",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "*area",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "*2020/*vacation",
|
|
|
|
PhotoName: "*photo37",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("*rating"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "*tea", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo*38": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000039,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk31",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "farm*animal",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "202*3/vac*ation",
|
|
|
|
PhotoName: "photo*38",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("three*four"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "soup*menu", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo39*": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000040,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk32",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "engine*",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2023*/vacatio*",
|
|
|
|
PhotoName: "photo39*",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("tree*"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "proposal*", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"|photo40": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000041,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk33",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "|football",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "|202/|vacation",
|
|
|
|
PhotoName: "|photo40",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("|mystery"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "|college", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo|41": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000042,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk34",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "pain|ting",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "20|22/vacat|ion",
|
|
|
|
PhotoName: "photo|41",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("run|stay"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "potato|couch", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo42|": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000043,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk35",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "supermarket|",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2022|/vacation|",
|
|
|
|
PhotoName: "photo42|",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("pillow|"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "mall|", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"43photo": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000044,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk36",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "123community",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2000/holiday",
|
|
|
|
PhotoName: "43photo",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("1dish"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "2020-world", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"pho44to": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000045,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk37",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "cli44mate",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2000/02",
|
|
|
|
PhotoName: "pho44to",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("nothing4you"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "sport-2021-event", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo45": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000046,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk38",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "guest456",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2000/02",
|
|
|
|
PhotoName: "photo45",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("joyx2"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "oven-3000", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"\"photo46": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000047,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk39",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "\"member",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "\"2000/\"02",
|
|
|
|
PhotoName: "\"photo46",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("\"electronics"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "\"king", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo\"47": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000048,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk40",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "sol\"ution",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "20\"00/0\"2",
|
|
|
|
PhotoName: "photo\"47",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("sal\"mon"),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "town\"ship", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo48\"": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000049,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk41",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "desk\"",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2000\"/02\"",
|
|
|
|
PhotoName: "photo48\"",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("fish\""),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "ladder\"", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
" photo49": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000050,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk42",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: " chair",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: " 2000/ 02",
|
|
|
|
PhotoName: " photo49",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("fish\""),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "ladder\"", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo 50": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000051,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk43",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "air craft",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "20 00/ 0 2",
|
|
|
|
PhotoName: "photo 50",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("fish\""),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "ladder\"", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
|
|
|
"photo51 ": { //JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000052,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk44",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "image",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "love ",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2000 /02 ",
|
|
|
|
PhotoName: "photo51 ",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{
|
|
|
|
KeywordFixtures.Get("fish\""),
|
|
|
|
},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{
|
|
|
|
LabelFixtures.PhotoLabel(1000032, "ladder\"", 20, "image"),
|
|
|
|
},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
2022-04-20 14:47:27 +02:00
|
|
|
"photo52": { //GIF + JPG, Geo from metadata, indexed
|
|
|
|
ID: 1000053,
|
|
|
|
PhotoUID: "pr2xu7myk7wrbk45",
|
|
|
|
TakenAt: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenAtLocal: time.Date(2020, 11, 11, 9, 7, 18, 0, time.UTC),
|
|
|
|
TakenSrc: SrcMeta,
|
|
|
|
PhotoType: "animated",
|
|
|
|
TypeSrc: "",
|
|
|
|
PhotoTitle: "My pretty animated GIF",
|
|
|
|
TitleSrc: SrcManual,
|
|
|
|
PhotoDescription: "",
|
|
|
|
DescriptionSrc: "",
|
|
|
|
PhotoPath: "2020/GIF",
|
|
|
|
PhotoName: "photo52",
|
|
|
|
OriginalName: "",
|
|
|
|
PhotoFavorite: false,
|
|
|
|
PhotoPrivate: false,
|
|
|
|
PhotoScan: false,
|
|
|
|
PhotoPanorama: false,
|
|
|
|
TimeZone: "America/Mexico_City",
|
|
|
|
Place: CellFixtures.Pointer("caravan park").Place,
|
|
|
|
PlaceID: CellFixtures.Pointer("caravan park").Place.ID,
|
|
|
|
PlaceSrc: "meta",
|
|
|
|
Cell: CellFixtures.Pointer("caravan park"),
|
|
|
|
CellID: CellFixtures.Pointer("caravan park").ID,
|
|
|
|
CellAccuracy: 0,
|
|
|
|
PhotoAltitude: 3,
|
|
|
|
PhotoLat: 48.519234,
|
|
|
|
PhotoLng: 9.057997,
|
|
|
|
PhotoCountry: CellFixtures.Pointer("caravan park").Place.CountryCode(),
|
|
|
|
PhotoYear: 2020,
|
|
|
|
PhotoMonth: 11,
|
|
|
|
PhotoDay: 11,
|
|
|
|
PhotoIso: 0,
|
|
|
|
PhotoExposure: "",
|
|
|
|
PhotoFocalLength: 0,
|
|
|
|
PhotoFNumber: 0,
|
|
|
|
PhotoQuality: 5,
|
|
|
|
PhotoResolution: 0,
|
|
|
|
Camera: CameraFixtures.Pointer("canon-eos-6d"),
|
|
|
|
CameraID: CameraFixtures.Pointer("canon-eos-6d").ID,
|
|
|
|
CameraSerial: "",
|
|
|
|
CameraSrc: "",
|
|
|
|
Lens: LensFixtures.Pointer("lens-f-380"),
|
|
|
|
LensID: LensFixtures.Pointer("lens-f-380").ID,
|
|
|
|
Details: DetailsFixtures.Pointer("lake", 1000015),
|
|
|
|
Keywords: []Keyword{},
|
|
|
|
Albums: []Album{},
|
|
|
|
Files: []File{},
|
|
|
|
Labels: []PhotoLabel{},
|
|
|
|
CreatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
UpdatedAt: time.Date(2021, 1, 1, 0, 0, 0, 0, time.UTC),
|
|
|
|
EditedAt: nil,
|
|
|
|
CheckedAt: &checkedTime,
|
|
|
|
DeletedAt: nil,
|
|
|
|
PhotoColor: 14,
|
|
|
|
PhotoStack: 0,
|
|
|
|
PhotoFaces: 0,
|
|
|
|
},
|
2020-04-30 17:26:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// CreatePhotoFixtures inserts known entities into the database for testing.
|
2020-05-01 14:13:59 +02:00
|
|
|
func CreatePhotoFixtures() {
|
2020-04-30 17:26:36 +02:00
|
|
|
for _, entity := range PhotoFixtures {
|
2020-05-01 14:13:59 +02:00
|
|
|
Db().Create(&entity)
|
2020-04-30 17:26:36 +02:00
|
|
|
}
|
|
|
|
}
|