From 8f236ef3a3243e851301b1fdbbe7258e8070819e Mon Sep 17 00:00:00 2001 From: Renan Greca Date: Fri, 27 Oct 2017 16:24:56 -0200 Subject: [PATCH] added support for videos and a few games --- game_ids.json | 8 +++++++- organize_screenshots.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/game_ids.json b/game_ids.json index 8281634..2fa1212 100644 --- a/game_ids.json +++ b/game_ids.json @@ -17,6 +17,8 @@ "993B0B446253E7FDAAC3C1A7681F46FE": "Fast RMX", + "5B12FFF1991C5F076F945A1D8DA64BDF": "Golf Story", + "BB278FDC5DD434CF8F30F224CFBF517A": "Has-Been Heroes", "EA167CCACA37E364FF7957C68F12AA0E": "Human Resource Machine", @@ -40,6 +42,7 @@ "0585E865DFB68B5298F19360A730EDB3": "Puyo Puyo Tetris", "4CE9BA887E04FB8D36B745ECC8660DE6": "Rayman Legends Definitive Edition - Demo", + "11260164DFCCB4C1980A116D57B6C9F9": "Rocket Fist", "10913F964FE64B3373593633781B4FA9": "Severed", "65590FD04B4DF51BB1D8C39A50C8376C": "Shantae Half-Genie Hero", @@ -55,7 +58,10 @@ "CBA841B50A92A904E313AE06DF4EF71A": "Splatoon 2", "397A963DA4660090D65D330174AC6B04": "Splatoon 2", "96794F2558A5B75BC0DBCC69AA0119EE": "Super Bomberman R", + "8AEDFF741E2D23FBED39474178692DAF": "Super Mario Odyssey", "F1C11A22FAEE3B82F21B330E1B786A39": "The Legend of Zelda Breath of the Wild", - "23C8C1366F9A2FCCE85255D7889D3412": "Tumbleseed" + "23C8C1366F9A2FCCE85255D7889D3412": "Tumbleseed", + + "404652E38014828AC0ED1A3EE2F1DEA3": "VOEZ - Demo" } diff --git a/organize_screenshots.py b/organize_screenshots.py index e6d7da5..b82c52e 100644 --- a/organize_screenshots.py +++ b/organize_screenshots.py @@ -15,7 +15,7 @@ def list_images(dir): r = [] for root, dirs, files in os.walk(dir): for name in files: - if "jpg" in name: + if "jpg" in name or "mp4" in name: r.append(os.path.join(root, name)) return r