EDDiscovery / EDDiscovery

Captains log and 3d star map for Elite Dangerous
Apache License 2.0
769 stars 171 forks source link

Documents text file spam #3495

Closed Minecrafter8001 closed 7 months ago

Minecrafter8001 commented 7 months ago

Can you put the ship files used for the ship/loadout menu in a folder instead of just in documents? I have 168 files in my documents, all named something like "Anaconda.2024-02-22T14.55.29," and it's getting annoying. image

Eahlstan commented 7 months ago

What makes you think that this is something done by EDDiscovery?

Minecrafter8001 commented 7 months ago

because the top of each file has

{
  "event": "Loadout",
  "Ship": "krait_light",
  "ShipID": 33,
  "ShipIdent": "MI-09K",

and the only app i have that would need to save this data is EDDiscovery

Minecrafter8001 commented 7 months ago

image

Minecrafter8001 commented 7 months ago

after looking at the code i belive i found why https://github.com/EDDiscovery/EDDiscovery/blob/b607f49397f2879e43d9a9635e03e6a8427b2f69/EDDiscovery/Forms/SafeModeForm.cs#L153 its related to backing up the DB

sorry for wasting your guys time

Eahlstan commented 7 months ago

I can guarantee that this is not done by EDDiscovery. EDMC has such an option on the first page of its settings menu. You might want to make sure you're not running EDMC in the background with this export option enabled.

klightspeed commented 7 months ago

Indeed, if the EDMC output directory is set to your Documents directory, and its export option is enabled, then it will create exactly these files. https://github.com/EDCD/EDMarketConnector/blob/5419e2e47f30c4dbcfc22b53308187d0c033d286/monitor.py#L2226-L2308 Indent=2, check Filename pattern is {shipname}-yyyy-MM-ddTHH:mm:ss.txt, check

Minecrafter8001 commented 7 months ago

yup it was EDMC thanks