Commit Graph

36 Commits

Author SHA1 Message Date
Felipe M 7f3d2564db
Update README 2021-02-16 13:30:25 +01: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 18f006bafe
PlayStation 4 Provider improvements
* Using EXIF data for screenshots which is more accurate and doesn't
require parsing the filename (which not always contains the date)
* Relying on the date parsing for videos for now since I haven't found
a game that didn't have the datetime on the video filename. This could
change in the future.
2021-01-31 13:51:49 +01:00
Felipe M 0b6cedb658
retroarch: Download covers from libretro 2021-01-14 23:07:50 +01:00
Felipe M ce81ba63b3
bugfix: Close tempfile after writting 2021-01-14 23:07:07 +01:00
Felipe M 2b28de7403
RetroArch: Also rename RetroAchievement screenshots 2021-01-14 22:44:33 +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 ffa6db5c28 switch: Added platform name as constant 2021-01-05 23:17:47 +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 0764d40e96 Updated README with cover mention 2021-01-05 19:11:35 +01:00
Felipe M 55b884e17f Only store covers if there's one 2021-01-05 18:22:23 +01:00
Felipe M fa7016eb61 Moved Download function to an helper module 2021-01-05 18:22:04 +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 M ae632293f9 Nintendo Switch: Used new JSON file 2021-01-03 22:29:03 +01:00
Felipe Martin 3a698b63f0
Added tests for file helpers 2020-12-03 21:08:45 +01:00
Felipe Martin aa007eb2da
Added alternative Flatpak Minecraft path
Closes #8
2020-12-01 18:14:09 +01:00
Felipe Martin c5341a7e5b
Typo 2020-11-29 18:23:08 +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 ba5b373fa0
Helper method for HTTP requests 2020-11-19 20:27:37 +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 6ac8d9e684
Updated README.md 2020-11-14 12:00:32 +01:00
Felipe Martin 0d2a59a474
Update issue templates 2020-11-14 11:59:40 +01:00
Felipe Martin 31c46a3e5d
path.Join -> path/filepath.Join 2020-11-14 11:59:40 +01:00
Felipe Martin 56b2faf88a
Steam: Cross-Platform support 2020-11-14 11:59:37 +01:00
Felipe Martin 602f00d359
Updated README 2020-11-13 12:49:20 +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 0e4bfcdb91
Added README 2020-11-09 21:16:13 +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