diff --git a/wa/workloads/exoplayer/__init__.py b/wa/workloads/exoplayer/__init__.py index 9a35e9ba..eb5609e5 100644 --- a/wa/workloads/exoplayer/__init__.py +++ b/wa/workloads/exoplayer/__init__.py @@ -133,7 +133,8 @@ class ExoPlayer(ApkWorkload): if not files: # Download a file with the requested format url = DOWNLOAD_URLS[self.format] - filepath = os.path.join(self.video_directory, os.path.basename(url)) + filename = '{}_{}'.format(format_resolution, os.path.basename(url)) + filepath = os.path.join(self.video_directory, filename) self.logger.info('Downloading {} to {}...'.format(url, filepath)) urllib.urlretrieve(url, filepath) return filepath