diff --git a/__init__.py b/__init__.py index 1e832e6..7826ade 100644 --- a/__init__.py +++ b/__init__.py @@ -24,6 +24,7 @@ media (Media Tools) __DEPENDENCIES__ = [] import logging +from media import metadata logger_name = 'MEDIA' logger = logging.getLogger(logger_name) @@ -37,7 +38,6 @@ __INTERPRETER__ = (3, ) def get_media_data(full_path): - from media import metadata ft = metadata.get_filetype(full_path) # if ft == metadata.FILETYPE_AUDIO: diff --git a/_testresults_/coverage.xml b/_testresults_/coverage.xml index afb7c22..4c4cc18 100644 --- a/_testresults_/coverage.xml +++ b/_testresults_/coverage.xml @@ -1,5 +1,5 @@ - + @@ -12,11 +12,11 @@ - + - - - + + + diff --git a/_testresults_/unittest.json b/_testresults_/unittest.json index 78cfc24..840a0be 100644 --- a/_testresults_/unittest.json +++ b/_testresults_/unittest.json @@ -35,48 +35,48 @@ }, { "coverage_state": "covered", - "end": 26, + "end": 27, "start": 26 }, { "coverage_state": "clean", - "end": 27, - "start": 27 - }, - { - "coverage_state": "covered", - "end": 29, + "end": 28, "start": 28 }, + { + "coverage_state": "covered", + "end": 30, + "start": 29 + }, { "coverage_state": "clean", - "end": 31, - "start": 30 + "end": 32, + "start": 31 }, { "coverage_state": "covered", - "end": 32, - "start": 32 - }, - { - "coverage_state": "clean", - "end": 34, + "end": 33, "start": 33 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 35, - "start": 35 + "start": 34 + }, + { + "coverage_state": "covered", + "end": 36, + "start": 36 }, { "coverage_state": "clean", - "end": 38, - "start": 36 + "end": 39, + "start": 37 }, { "coverage_state": "covered", "end": 41, - "start": 39 + "start": 40 }, { "coverage_state": "clean", @@ -503,7 +503,7 @@ "Name": "media", "State": "Released", "Supported Interpreters": "python3", - "Version": "f44d258110e088423a3132bd52534f53" + "Version": "9e6f9c0bef4dee208308971155bc254c" }, "testrun_list": [ { @@ -527,8 +527,8 @@ "testcases": { "_XzMFcHYZEem_kd-7nxt1sg": { "args": null, - "asctime": "2020-01-30 22:06:34,253", - "created": 1580418394.2534032, + "asctime": "2020-01-30 23:35:34,229", + "created": 1580423734.2293775, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -539,13 +539,13 @@ "message": "_XzMFcHYZEem_kd-7nxt1sg", "module": "__init__", "moduleLogger": [], - "msecs": 253.4031867980957, + "msecs": 229.37750816345215, "msg": "_XzMFcHYZEem_kd-7nxt1sg", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 58.33578109741211, + "relativeCreated": 57.25598335266113, "stack_info": null, "testcaseLogger": [ { @@ -553,8 +553,8 @@ "None", "" ], - "asctime": "2020-01-30 22:06:34,253", - "created": 1580418394.2539485, + "asctime": "2020-01-30 23:35:34,229", + "created": 1580423734.2299068, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -569,8 +569,8 @@ "args": [ "/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt" ], - "asctime": "2020-01-30 22:06:34,253", - "created": 1580418394.2535973, + "asctime": "2020-01-30 23:35:34,229", + "created": 1580423734.2295656, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -580,15 +580,15 @@ "lineno": 50, "message": "Filetype not known: /user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt", "module": "__init__", - "msecs": 253.59725952148438, + "msecs": 229.56562042236328, "msg": "Filetype not known: %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 58.52985382080078, + "relativeCreated": 57.444095611572266, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -597,8 +597,8 @@ "None", "" ], - "asctime": "2020-01-30 22:06:34,253", - "created": 1580418394.2538524, + "asctime": "2020-01-30 23:35:34,229", + "created": 1580423734.2298157, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -608,15 +608,15 @@ "lineno": 22, "message": "Result (Media data for unknown.txt): None ()", "module": "test", - "msecs": 253.85236740112305, + "msecs": 229.81572151184082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 58.78496170043945, + "relativeCreated": 57.694196701049805, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -625,8 +625,8 @@ "None", "" ], - "asctime": "2020-01-30 22:06:34,253", - "created": 1580418394.2539005, + "asctime": "2020-01-30 23:35:34,229", + "created": 1580423734.2298617, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -636,37 +636,37 @@ "lineno": 26, "message": "Expectation (Media data for unknown.txt): result = None ()", "module": "test", - "msecs": 253.90052795410156, + "msecs": 229.86173629760742, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 58.83312225341797, + "relativeCreated": 57.740211486816406, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 253.94845008850098, + "msecs": 229.90679740905762, "msg": "Media data for unknown.txt is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 58.88104438781738, + "relativeCreated": 57.7852725982666, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 4.792213439941406e-05 + "time_consumption": 4.506111145019531e-05 }, { "args": [ "{'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True}", "" ], - "asctime": "2020-01-30 22:06:34,316", - "created": 1580418394.3162963, + "asctime": "2020-01-30 23:35:34,290", + "created": 1580423734.2906947, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -683,8 +683,8 @@ "{ 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True }", "" ], - "asctime": "2020-01-30 22:06:34,315", - "created": 1580418394.3159626, + "asctime": "2020-01-30 23:35:34,290", + "created": 1580423734.2902982, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -694,15 +694,15 @@ "lineno": 22, "message": "Result (Media data for audio.mp3): { 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True } ()", "module": "test", - "msecs": 315.962553024292, + "msecs": 290.2982234954834, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 120.8951473236084, + "relativeCreated": 118.17669868469238, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -711,8 +711,8 @@ "{ 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'time': 1451606398, 'tm_is_subst': True, 'size': 8580366 }", "" ], - "asctime": "2020-01-30 22:06:34,316", - "created": 1580418394.316178, + "asctime": "2020-01-30 23:35:34,290", + "created": 1580423734.2905095, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -722,37 +722,37 @@ "lineno": 26, "message": "Expectation (Media data for audio.mp3): result = { 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'time': 1451606398, 'tm_is_subst': True, 'size': 8580366 } ()", "module": "test", - "msecs": 316.1780834197998, + "msecs": 290.5094623565674, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 121.11067771911621, + "relativeCreated": 118.38793754577637, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 316.2963390350342, + "msecs": 290.6947135925293, "msg": "Media data for audio.mp3 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 121.22893333435059, + "relativeCreated": 118.57318878173828, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.000118255615234375 + "time_consumption": 0.00018525123596191406 }, { "args": [ "{'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True}", "" ], - "asctime": "2020-01-30 22:06:34,377", - "created": 1580418394.3774264, + "asctime": "2020-01-30 23:35:34,354", + "created": 1580423734.354267, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -769,8 +769,8 @@ "bitrate", "bitrate" ], - "asctime": "2020-01-30 22:06:34,376", - "created": 1580418394.3767884, + "asctime": "2020-01-30 23:35:34,353", + "created": 1580423734.3536484, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -780,15 +780,15 @@ "lineno": 142, "message": "Can't convert 'N/A' (bitrate) for bitrate", "module": "metadata", - "msecs": 376.7883777618408, + "msecs": 353.64842414855957, "msg": "Can't convert %s (%s) for %s", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 181.72097206115723, + "relativeCreated": 181.52689933776855, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -797,8 +797,8 @@ "{ 'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True }", "" ], - "asctime": "2020-01-30 22:06:34,377", - "created": 1580418394.3772197, + "asctime": "2020-01-30 23:35:34,354", + "created": 1580423734.3540657, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -808,15 +808,15 @@ "lineno": 22, "message": "Result (Media data for audio_fail_conv.mp3): { 'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True } ()", "module": "test", - "msecs": 377.21967697143555, + "msecs": 354.0656566619873, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 182.15227127075195, + "relativeCreated": 181.9441318511963, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -825,8 +825,8 @@ "{ 'duration': 281.991837, 'bitrate': 228298, 'artist': 'Lana Del Rey', 'title': 'Video Games (Album Version Remastered)', 'album': 'Born To Die', 'track': 4, 'genre': 'Pop', 'year': 2012, 'time': 1325375995, 'tm_is_subst': True, 'size': 8047290 }", "" ], - "asctime": "2020-01-30 22:06:34,377", - "created": 1580418394.377325, + "asctime": "2020-01-30 23:35:34,354", + "created": 1580423734.3541644, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -836,37 +836,37 @@ "lineno": 26, "message": "Expectation (Media data for audio_fail_conv.mp3): result = { 'duration': 281.991837, 'bitrate': 228298, 'artist': 'Lana Del Rey', 'title': 'Video Games (Album Version Remastered)', 'album': 'Born To Die', 'track': 4, 'genre': 'Pop', 'year': 2012, 'time': 1325375995, 'tm_is_subst': True, 'size': 8047290 } ()", "module": "test", - "msecs": 377.32505798339844, + "msecs": 354.16436195373535, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 182.25765228271484, + "relativeCreated": 182.04283714294434, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 377.4263858795166, + "msecs": 354.266881942749, "msg": "Media data for audio_fail_conv.mp3 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 182.358980178833, + "relativeCreated": 182.145357131958, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.00010132789611816406 + "time_consumption": 0.00010251998901367188 }, { "args": [ "{'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': {'lon': 12.140646934444444, 'lat': 53.68635940527778}, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09'}", "" ], - "asctime": "2020-01-30 22:06:34,394", - "created": 1580418394.3949149, + "asctime": "2020-01-30 23:35:34,371", + "created": 1580423734.371667, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -883,8 +883,8 @@ "{ 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09' }", "" ], - "asctime": "2020-01-30 22:06:34,394", - "created": 1580418394.3947024, + "asctime": "2020-01-30 23:35:34,371", + "created": 1580423734.3714578, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -894,15 +894,15 @@ "lineno": 22, "message": "Result (Media data for image_exif_gps.jpg): { 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09' } ()", "module": "test", - "msecs": 394.7024345397949, + "msecs": 371.4578151702881, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 199.63502883911133, + "relativeCreated": 199.33629035949707, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -911,8 +911,8 @@ "{ 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'camera': 'HUAWEI: EVA-L09', 'size': 4342955 }", "" ], - "asctime": "2020-01-30 22:06:34,394", - "created": 1580418394.3948064, + "asctime": "2020-01-30 23:35:34,371", + "created": 1580423734.3715613, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -922,37 +922,37 @@ "lineno": 26, "message": "Expectation (Media data for image_exif_gps.jpg): result = { 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'camera': 'HUAWEI: EVA-L09', 'size': 4342955 } ()", "module": "test", - "msecs": 394.8063850402832, + "msecs": 371.56128883361816, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 199.7389793395996, + "relativeCreated": 199.43976402282715, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 394.9148654937744, + "msecs": 371.66690826416016, "msg": "Media data for image_exif_gps.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 199.84745979309082, + "relativeCreated": 199.54538345336914, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.00010848045349121094 + "time_consumption": 0.00010561943054199219 }, { "args": [ "{'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09'}", "" ], - "asctime": "2020-01-30 22:06:34,398", - "created": 1580418394.3987355, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3753371, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -969,8 +969,8 @@ "{ 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09' }", "" ], - "asctime": "2020-01-30 22:06:34,398", - "created": 1580418394.3985393, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.375182, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -980,15 +980,15 @@ "lineno": 22, "message": "Result (Media data for image_exif_no_gps.jpg): { 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09' } ()", "module": "test", - "msecs": 398.53930473327637, + "msecs": 375.1819133758545, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 203.47189903259277, + "relativeCreated": 203.06038856506348, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -997,8 +997,8 @@ "{ 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'camera': 'HUAWEI: EVA-L09', 'size': 2837285 }", "" ], - "asctime": "2020-01-30 22:06:34,398", - "created": 1580418394.3986442, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3752575, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1008,37 +1008,37 @@ "lineno": 26, "message": "Expectation (Media data for image_exif_no_gps.jpg): result = { 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'camera': 'HUAWEI: EVA-L09', 'size': 2837285 } ()", "module": "test", - "msecs": 398.64420890808105, + "msecs": 375.2574920654297, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 203.57680320739746, + "relativeCreated": 203.13596725463867, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 398.73552322387695, + "msecs": 375.3371238708496, "msg": "Media data for image_exif_no_gps.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 203.66811752319336, + "relativeCreated": 203.2155990600586, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 9.131431579589844e-05 + "time_consumption": 7.963180541992188e-05 }, { "args": [ "{'size': 1139092, 'time': 1449870515, 'tm_is_subst': True}", "" ], - "asctime": "2020-01-30 22:06:34,399", - "created": 1580418394.399145, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3757436, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1053,8 +1053,8 @@ "args": [ "/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg" ], - "asctime": "2020-01-30 22:06:34,398", - "created": 1580418394.3989413, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3755352, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -1064,15 +1064,15 @@ "lineno": 152, "message": "/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg does not have any exif information", "module": "metadata", - "msecs": 398.9412784576416, + "msecs": 375.535249710083, "msg": "%s does not have any exif information", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 203.873872756958, + "relativeCreated": 203.413724899292, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1081,8 +1081,8 @@ "{ 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True }", "" ], - "asctime": "2020-01-30 22:06:34,399", - "created": 1580418394.3990424, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3756378, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1092,15 +1092,15 @@ "lineno": 22, "message": "Result (Media data for image_non_exif.jpg): { 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True } ()", "module": "test", - "msecs": 399.04236793518066, + "msecs": 375.6377696990967, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 203.97496223449707, + "relativeCreated": 203.51624488830566, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1109,8 +1109,8 @@ "{ 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 }", "" ], - "asctime": "2020-01-30 22:06:34,399", - "created": 1580418394.399093, + "asctime": "2020-01-30 23:35:34,375", + "created": 1580423734.3756888, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1120,37 +1120,37 @@ "lineno": 26, "message": "Expectation (Media data for image_non_exif.jpg): result = { 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 } ()", "module": "test", - "msecs": 399.0929126739502, + "msecs": 375.6887912750244, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 204.0255069732666, + "relativeCreated": 203.5672664642334, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 399.14488792419434, + "msecs": 375.7436275482178, "msg": "Media data for image_non_exif.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 204.07748222351074, + "relativeCreated": 203.62210273742676, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 5.1975250244140625e-05 + "time_consumption": 5.4836273193359375e-05 }, { "args": [ "{'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D'}", "" ], - "asctime": "2020-01-30 22:06:34,403", - "created": 1580418394.4032836, + "asctime": "2020-01-30 23:35:34,379", + "created": 1580423734.3798156, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1165,8 +1165,8 @@ "args": [ "{0: b'\\x02\\x02\\x00\\x00'}" ], - "asctime": "2020-01-30 22:06:34,403", - "created": 1580418394.403025, + "asctime": "2020-01-30 23:35:34,379", + "created": 1580423734.379549, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -1176,15 +1176,15 @@ "lineno": 258, "message": "GPS data extraction failed for {0: b'\\x02\\x02\\x00\\x00'}", "module": "metadata", - "msecs": 403.02491188049316, + "msecs": 379.5490264892578, "msg": "GPS data extraction failed for %s", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 207.95750617980957, + "relativeCreated": 207.4275016784668, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1193,8 +1193,8 @@ "{ 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D' }", "" ], - "asctime": "2020-01-30 22:06:34,403", - "created": 1580418394.403149, + "asctime": "2020-01-30 23:35:34,379", + "created": 1580423734.3796718, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1204,15 +1204,15 @@ "lineno": 22, "message": "Result (Media data for image_extraction_failed.jpg): { 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D' } ()", "module": "test", - "msecs": 403.148889541626, + "msecs": 379.6718120574951, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 208.08148384094238, + "relativeCreated": 207.5502872467041, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1221,8 +1221,8 @@ "{ 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'camera': 'Canon: Canon EOS 40D', 'size': 1301272 }", "" ], - "asctime": "2020-01-30 22:06:34,403", - "created": 1580418394.4032133, + "asctime": "2020-01-30 23:35:34,379", + "created": 1580423734.3797376, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1232,37 +1232,37 @@ "lineno": 26, "message": "Expectation (Media data for image_extraction_failed.jpg): result = { 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'camera': 'Canon: Canon EOS 40D', 'size': 1301272 } ()", "module": "test", - "msecs": 403.2132625579834, + "msecs": 379.73761558532715, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 208.1458568572998, + "relativeCreated": 207.61609077453613, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 403.28359603881836, + "msecs": 379.81557846069336, "msg": "Media data for image_extraction_failed.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 208.21619033813477, + "relativeCreated": 207.69405364990234, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 7.033348083496094e-05 + "time_consumption": 7.796287536621094e-05 }, { "args": [ "{'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345}", "" ], - "asctime": "2020-01-30 22:06:34,458", - "created": 1580418394.4580746, + "asctime": "2020-01-30 23:35:34,435", + "created": 1580423734.4350774, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1279,8 +1279,8 @@ "{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }", "" ], - "asctime": "2020-01-30 22:06:34,457", - "created": 1580418394.457794, + "asctime": "2020-01-30 23:35:34,434", + "created": 1580423734.434815, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1290,15 +1290,15 @@ "lineno": 22, "message": "Result (Media data for video.3gp): { 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 } ()", "module": "test", - "msecs": 457.7939510345459, + "msecs": 434.8149299621582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 262.7265453338623, + "relativeCreated": 262.6934051513672, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1307,8 +1307,8 @@ "{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }", "" ], - "asctime": "2020-01-30 22:06:34,457", - "created": 1580418394.457974, + "asctime": "2020-01-30 23:35:34,434", + "created": 1580423734.434988, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1318,37 +1318,37 @@ "lineno": 26, "message": "Expectation (Media data for video.3gp): result = { 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 } ()", "module": "test", - "msecs": 457.9739570617676, + "msecs": 434.98802185058594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 262.906551361084, + "relativeCreated": 262.8664970397949, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 458.07456970214844, + "msecs": 435.077428817749, "msg": "Media data for video.3gp is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 263.00716400146484, + "relativeCreated": 262.955904006958, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.00010061264038085938 + "time_consumption": 8.940696716308594e-05 }, { "args": [ "{'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508}", "" ], - "asctime": "2020-01-30 22:06:34,602", - "created": 1580418394.6029294, + "asctime": "2020-01-30 23:35:34,579", + "created": 1580423734.5798893, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1365,8 +1365,8 @@ "{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }", "" ], - "asctime": "2020-01-30 22:06:34,602", - "created": 1580418394.6025841, + "asctime": "2020-01-30 23:35:34,579", + "created": 1580423734.5796008, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1376,15 +1376,15 @@ "lineno": 22, "message": "Result (Media data for video.mp4): { 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 } ()", "module": "test", - "msecs": 602.5841236114502, + "msecs": 579.6008110046387, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 407.5167179107666, + "relativeCreated": 407.47928619384766, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1393,8 +1393,8 @@ "{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }", "" ], - "asctime": "2020-01-30 22:06:34,602", - "created": 1580418394.6028209, + "asctime": "2020-01-30 23:35:34,579", + "created": 1580423734.5797846, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1404,37 +1404,37 @@ "lineno": 26, "message": "Expectation (Media data for video.mp4): result = { 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 } ()", "module": "test", - "msecs": 602.820873260498, + "msecs": 579.784631729126, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 407.75346755981445, + "relativeCreated": 407.66310691833496, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 602.9293537139893, + "msecs": 579.8892974853516, "msg": "Media data for video.mp4 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 407.86194801330566, + "relativeCreated": 407.76777267456055, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.00010848045349121094 + "time_consumption": 0.00010466575622558594 }, { "args": [ "{'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622}", "" ], - "asctime": "2020-01-30 22:06:34,655", - "created": 1580418394.6559129, + "asctime": "2020-01-30 23:35:34,634", + "created": 1580423734.6340902, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1451,8 +1451,8 @@ "duration", "duration" ], - "asctime": "2020-01-30 22:06:34,655", - "created": 1580418394.6553006, + "asctime": "2020-01-30 23:35:34,632", + "created": 1580423734.6324155, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -1462,15 +1462,15 @@ "lineno": 142, "message": "Can't convert 'N/A' (duration) for duration", "module": "metadata", - "msecs": 655.3006172180176, + "msecs": 632.4155330657959, "msg": "Can't convert %s (%s) for %s", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 460.233211517334, + "relativeCreated": 460.2940082550049, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1479,8 +1479,8 @@ "{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }", "" ], - "asctime": "2020-01-30 22:06:34,655", - "created": 1580418394.6557658, + "asctime": "2020-01-30 23:35:34,633", + "created": 1580423734.6334946, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1490,15 +1490,15 @@ "lineno": 22, "message": "Result (Media data for video_special_time.avi): { 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 } ()", "module": "test", - "msecs": 655.7657718658447, + "msecs": 633.4946155548096, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 460.69836616516113, + "relativeCreated": 461.37309074401855, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1507,8 +1507,8 @@ "{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }", "" ], - "asctime": "2020-01-30 22:06:34,655", - "created": 1580418394.6558366, + "asctime": "2020-01-30 23:35:34,633", + "created": 1580423734.6338127, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1518,37 +1518,37 @@ "lineno": 26, "message": "Expectation (Media data for video_special_time.avi): result = { 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 } ()", "module": "test", - "msecs": 655.8365821838379, + "msecs": 633.812665939331, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 460.7691764831543, + "relativeCreated": 461.69114112854004, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 655.9128761291504, + "msecs": 634.0901851654053, "msg": "Media data for video_special_time.avi is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 460.8454704284668, + "relativeCreated": 461.96866035461426, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 7.62939453125e-05 + "time_consumption": 0.00027751922607421875 }, { "args": [ "{'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True}", "" ], - "asctime": "2020-01-30 22:06:34,716", - "created": 1580418394.7162106, + "asctime": "2020-01-30 23:35:34,690", + "created": 1580423734.6905332, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1565,8 +1565,8 @@ "{ 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True }", "" ], - "asctime": "2020-01-30 22:06:34,715", - "created": 1580418394.7158937, + "asctime": "2020-01-30 23:35:34,690", + "created": 1580423734.6902063, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1576,15 +1576,15 @@ "lineno": 22, "message": "Result (Media data for video_no_date.avi): { 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True } ()", "module": "test", - "msecs": 715.8937454223633, + "msecs": 690.2062892913818, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 520.8263397216797, + "relativeCreated": 518.0847644805908, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" }, { @@ -1593,8 +1593,8 @@ "{ 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'time': 1158528375, 'tm_is_subst': True, 'size': 2965248 }", "" ], - "asctime": "2020-01-30 22:06:34,716", - "created": 1580418394.716101, + "asctime": "2020-01-30 23:35:34,690", + "created": 1580423734.6904237, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1604,40 +1604,40 @@ "lineno": 26, "message": "Expectation (Media data for video_no_date.avi): result = { 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'time': 1158528375, 'tm_is_subst': True, 'size': 2965248 } ()", "module": "test", - "msecs": 716.1009311676025, + "msecs": 690.4237270355225, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 521.033525466919, + "relativeCreated": 518.3022022247314, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread" } ], - "msecs": 716.2106037139893, + "msecs": 690.5331611633301, "msg": "Media data for video_no_date.avi is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 27732, + "process": 7409, "processName": "MainProcess", - "relativeCreated": 521.1431980133057, + "relativeCreated": 518.4116363525391, "stack_info": null, - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.00010967254638671875 + "time_consumption": 0.00010943412780761719 } ], - "thread": 139823516395328, + "thread": 140036534933312, "threadName": "MainThread", - "time_consumption": 0.46280741691589355, - "time_finished": "2020-01-30 22:06:34,716", - "time_start": "2020-01-30 22:06:34,253" + "time_consumption": 0.46115565299987793, + "time_finished": "2020-01-30 23:35:34,690", + "time_start": "2020-01-30 23:35:34,229" } }, "testrun_id": "p3", - "time_consumption": 0.46280741691589355, + "time_consumption": 0.46115565299987793, "uid_list_sorted": [ "_XzMFcHYZEem_kd-7nxt1sg" ] diff --git a/_testresults_/unittest.pdf b/_testresults_/unittest.pdf index f526a6e..6d5adcb 100644 Binary files a/_testresults_/unittest.pdf and b/_testresults_/unittest.pdf differ diff --git a/metadata.py b/metadata.py index dffcd8e..db667b1 100644 --- a/metadata.py +++ b/metadata.py @@ -45,7 +45,7 @@ __KEY_CAMERA_MODEL__ = 'camera_model' def get_filetype(full_path): - ext = os.path.splitext(full_path)[1] + ext = os.path.splitext(full_path.lower())[1] if ext in EXTENTIONS_AUDIO: return FILETYPE_AUDIO elif ext in EXTENTIONS_IMAGE: