Commit Graph

19 Commits

Author SHA1 Message Date
Felipe M ef03e13e86
Typo 2021-04-12 22:43:10 +02:00
Felipe M befcc3376e
Replaced arguments with CLIOptions struct
This is a way more convenient way for the underlying providers to
access the input in which the software was called. Having the input
path in providers that already discover path will allow users to
override paths easily, and this way we could also add more flags that
some providers would need and others ignore without changuing function calls.
2021-02-16 13:28:43 +01:00
Felipe M 3ec1042ef5
Create folders only if there are screenshots for the game 2021-01-14 20:32:36 +01:00
Felipe M 5d814b8539
RetroArch support
- Added the retroarch provider
- Fixed some `path.X` references (moved to filepath)

Note: In order to use RetroArch specific settings on the app are
required. Read the top comment on the provider module to know how
to start.
2021-01-14 20:28:37 +01:00
Felipe M f5991dfd21 Base PlayStation 4 support
This only add support for those screenshots that contain
a datetime in their name, skipping otherwise.

Closes #7
2021-01-05 23:17:36 +01:00
Felipe M 1a29fb3c78 Fix: Remove downloadCovers switch reference 2021-01-05 19:17:52 +01:00
Felipe M 55b884e17f Only store covers if there's one 2021-01-05 18:22:23 +01:00
Felipe M 0b33e24472 Windows: Using slugify names on errors
On windows filesystems no special characters can be used on path routes,
so when we fail to create (MkdirAll) the path for a certain
game and a failure happens, we use a slugified version of the name
instead.
2021-01-05 16:55:31 +01:00
Felipe M ae6f7372a2 Download steam game covers (optional flag) 2021-01-05 15:19:21 +01:00
Felipe Martin 0b1f6d3231
Nintendo Switch Provider [WIP]
#2
2020-11-19 23:19:45 +01:00
Felipe Martin e3c7da17ce
games.Game.ID string (from uint64) 2020-11-19 23:05:14 +01:00
Felipe Martin 5d64f5d035
Golang have switch..case 2020-11-15 22:37:40 +01:00
Felipe Martin dcc450d583
dry-run no longer creates directories
Closes #5
2020-11-14 23:30:57 +01:00
Felipe Martin 31c46a3e5d
path.Join -> path/filepath.Join 2020-11-14 11:59:40 +01:00
Felipe Martin 8153b81cba
Added Minecraft provider
Closes #1
2020-11-13 12:47:59 +01:00
Felipe Martin bc26e6e787
Allow setting custom screenshot filename on struct 2020-11-12 20:46:05 +01:00
Felipe Martin 771d88aff5
Added flags for the output path and dry run 2020-11-09 21:13:05 +01:00
Felipe Martin ef8f0436dd
Using relative output path 2020-11-08 21:31:31 +01:00
Felipe M d7f0a68b08
WIP 2020-11-08 21:28:15 +01:00