Commit Graph

7 Commits

Author SHA1 Message Date
Felipe M 9ee5507d1f
refactor: removed nintendo switch provider
Nintendo now provides an easy way of getting Switch
screenshots directly to the computer using an USB connection
between the console and the computer.

For more information check: https://en-americas-support.nintendo.com/app/answers/detail/a_id/53664/~/how-to-transfer-screenshots-and-video-captures-to-a-computer-via-a-usb-cable
2022-03-13 20:42:21 +01:00
Felipe Martin Garcia 02f8f05538
feat: cache support (#19)
- Added file and memory cache handlers
- Steam provider now uses a cache to store the app list for 24h

Closes #12
2022-01-30 19:25:16 +01:00
Felipe M 967a03d394
feat: improved logging with logrus
Propagated a logrus.Logger/Entry along for the processor, registry and
providers to use for events that may not require to stop processing but
are useful to know otherwise.

Changed some functions to return errors instead of failing with a logger
trying to centralice the logging or returning of the main failing points
in the main components of the application.

Closes #13
2022-01-27 18:31:04 +01:00
Felipe M 61f6851e33
feat: concurrent processing
closes #14
2022-01-27 00:20:31 +01:00
Felipe M c03232381c
refactor: working on new version
- Refactored all providers, all following the same interface
- Added the registry component where all providers get initializated
- Added the processor component in charge of processing
  screenshots/covers
- Split configuration into Options and ProviderOptions
- Refactored the workaround for the covers, now the game provide a
  CoverURL and the processor decides to download it or not
- Made the providers folder hierarchy more clear, and moved helper
  functions to other files for sanity
- Simplified CLI
2022-01-23 21:47:18 +01:00
Felipe M 62241ff857
Comments 2021-05-16 15:46:25 +02:00
Felipe M d27e4947ae
Created internal/cmd folders 2021-05-08 11:37:52 +02:00
Renamed from pkg/cli/cli.go (Browse further)