safijari / Shotty

A plugin to automatically aggregate Steam Deck screenshots in a local folder
Other
20 stars 3 forks source link

Replace non Windows compatible characters #4

Open cimba007 opened 1 year ago

cimba007 commented 1 year ago

I would like to sync the shotty folder to my desktop pc via syncthing.

item "Screenshots\Divinity: Original Sin 2\20220803233445_1.jpg"): syncing: name is invalid, contains Windows reserved character (?, *, etc.)

Might be a good idear to replace those chars (":") with an underscore ("_")?

Thiscave3701365 commented 1 year ago

I'm having this issue now as well as the workaround is a nightmare. Any way we could boost this in priority?

fat0troll commented 8 months ago

Looks like there is an attempt to avoid it: https://github.com/safijari/Shotty/blob/main/main.py#L140, but it doesn't work unfortunately.

thousandsofthem commented 7 months ago

Fix is correct, the issue is current plugin version is using outdated file without this fix. Releasing new version should fix it

thousandsofthem commented 7 months ago

quickfix for everyone waiting for new version:

cd homebrew/plugins/Shotty/
chmod +w main.py
nano main.py
# apply change in that specific line
# save by ctrl-X, Y, Enter