-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can add EXIF tags to converted screenshots
- Loading branch information
1 parent
a7f63a0
commit e5d483f
Showing
43 changed files
with
734 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ major=0 | |
minor=6 | ||
patch=0 | ||
quality=a | ||
build_no=115 | ||
build_no=137 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package plugin | ||
package plugins | ||
|
||
import ( | ||
"bufio" | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
] | ||
}, | ||
"status": { | ||
"blacklist": ["*"] | ||
"blacklist": ["*"], | ||
"whitelist": ["Status"] | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Journal.xyz.log:1 { "timestamp":"2023-12-29T17:05:00Z", "event":"Commander", "FID":"F007", "Name":"J. Jameson" } | ||
Status { "timestamp":"2023-12-31T14:42:40Z", "event":"Status", "Flags":2097152, "Latitude": 10, "Longitude": 20, "Altitude": 99 } | ||
Journal.xyz.log:2 { "timestamp":"2023-12-29T17:05:19Z", "event":"Screenshot", "Filename":"\\ED_Pictures\\screenshot.bmp", "Width":5760, "Height":1080, "System":"Dehoae NH-R c6-1", "Body":"Dehoae NH-R c6-1" } |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ const ( | |
Minor = 6 | ||
Patch = 0 | ||
Quality = `a` | ||
BuildNo = 115 | ||
BuildNo = 137 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package edj | ||
|
||
import ( | ||
"path/filepath" | ||
"strings" | ||
) | ||
|
||
const ScreenshotTag = "Screenshot" | ||
|
||
type Screenshot struct { | ||
Event | ||
Filename string | ||
Width, Height int | ||
System string | ||
Body string | ||
} | ||
|
||
func (s *Screenshot) FilenameToOS() string { | ||
return strings.ReplaceAll(s.Filename, "\\", string(filepath.Separator)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package eds | ||
|
||
import "github.com/CmdrVasquess/watched/edj" | ||
|
||
const NavRouteTag = "NavRoute" | ||
|
||
type NavRoute struct { | ||
edj.Event | ||
Route []NavSystem | ||
} | ||
|
||
type NavSystem struct { | ||
StarSystem string | ||
SystemAddress uint64 | ||
StarPos [3]float32 | ||
StarClass string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
package eds | ||
|
||
import "github.com/CmdrVasquess/watched/edj" | ||
|
||
const StatusTag = "Status" | ||
|
||
type Status struct { | ||
edj.Event | ||
Flags StatusFlag | ||
Pips [3]int8 | ||
Firegroup int | ||
GuiFocus int | ||
Fuel struct{ FuelMain, FuelReservoir float64 } | ||
Cargo float64 | ||
// LegalState | ||
Latitude float64 | ||
Longitude float64 | ||
Altitude int | ||
Heading int | ||
BodyName string | ||
PlanetRadius float64 | ||
} | ||
|
||
func (s *Status) AnyFlag(fs StatusFlag) bool { | ||
return s.Flags&fs > 0 | ||
} | ||
|
||
func (s *Status) AllFlags(fs StatusFlag) bool { | ||
return s.Flags&fs == fs | ||
} | ||
|
||
type StatusFlag = uint32 | ||
|
||
// Read: https://forums.frontier.co.uk/forums/elite-api-and-tools/ | ||
const ( | ||
StatusDocked StatusFlag = (1 << iota) | ||
StatusLanded | ||
StatusGearDown | ||
StatusShieldsUp | ||
StatusSupercruise | ||
|
||
StatusFAOff | ||
StatusHPDeployed | ||
StatusInWing | ||
StatusLightsOn | ||
StatusCSDeployed | ||
|
||
StatusSilentRun | ||
StatusFuelScooping | ||
StatusSrvHandbrake | ||
StatusSrvTurret | ||
StatusSrvUnderShip | ||
|
||
StatusSrvDriveAssist | ||
StatusFsdMassLock | ||
StatusFsdCharging | ||
StatusCooldown | ||
StatusLowFuel | ||
|
||
StatusOverHeat | ||
StatusHasLatLon | ||
StatusIsInDanger | ||
StatusInterdicted | ||
StatusInMainShip | ||
|
||
StatusInFighter | ||
StatusInSrv | ||
StatusHudAnalysis | ||
StatusNightVis | ||
StatusAltAvgR | ||
|
||
StatusFSDJump | ||
StatusSrvHighBeam | ||
) | ||
|
||
type GuiFocus = int | ||
|
||
const ( | ||
StatusNoFocus GuiFocus = iota | ||
StatusInternalPanel | ||
StatusExternalPanel | ||
StatusCommsPanel | ||
StatusRolePanel | ||
StatusStationServices | ||
StatusGalaxyMap | ||
StatusSystemMap | ||
StatusOrrery | ||
StatusFSSMode | ||
StatusSAAMode | ||
StatusCodex | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/TestWriteJPEGFile.jpg |
Oops, something went wrong.