NoFoolLikeOne / EDMC-Screenshot

A plugin for EDMC that detects screenshot events are converts them to PNG format
GNU General Public License v3.0
34 stars 4 forks source link

Illegal characters in filename #27

Open TimMarchelli opened 5 years ago

TimMarchelli commented 5 years ago

Using a file mask with SYSTEM potentially results in a filename with an illegal character (e.g. Sagittarius A*).

Fank commented 4 years ago

Yea had the same problem today. Cut of my journal file:

{ "timestamp":"2019-10-02T20:57:14Z", "event":"Screenshot", "Filename":"\\ED_Pictures\\Screenshot_0000.bmp", "Width":3440, "Height":1440, "System":"Sagittarius A*", "Body":"Sagittarius A*" }
{ "timestamp":"2019-10-02T20:57:23Z", "event":"Screenshot", "Filename":"\\ED_Pictures\\HighResScreenShot_2019-10-02_20-57-22.bmp", "Width":13760, "Height":5760, "System":"Sagittarius A*", "Body":"Sagittarius A*" }
{ "timestamp":"2019-10-02T20:58:06Z", "event":"Screenshot", "Filename":"\\ED_Pictures\\HighResScreenShot_2019-10-02_20-58-04.bmp", "Width":13760, "Height":5760, "System":"Sagittarius A*", "Body":"Sagittarius A*" }

It was stuck in "Processing Screenshot", needed to restart edmc to fix it.