Removed additional file_name parameter
This commit is contained in:
parent
63b3d196e8
commit
e9425236a9
1 changed files with 1 additions and 4 deletions
|
@ -379,14 +379,11 @@ class VideoOmxplayerPlugin(Plugin):
|
||||||
if torrent_file:
|
if torrent_file:
|
||||||
files = [os.path.join(
|
files = [os.path.join(
|
||||||
self.download_dir,
|
self.download_dir,
|
||||||
torrent_file.files().file_path(i),
|
torrent_file.files().file_path(i))
|
||||||
torrent_file.files().file_name(i))
|
|
||||||
for i in range(0, torrent_file.files().num_files())
|
for i in range(0, torrent_file.files().num_files())
|
||||||
if self._is_video_file(torrent_file.files().file_name(i))
|
if self._is_video_file(torrent_file.files().file_name(i))
|
||||||
]
|
]
|
||||||
|
|
||||||
print(files)
|
|
||||||
|
|
||||||
self.torrent_state['progress'] = 100 * status.progress
|
self.torrent_state['progress'] = 100 * status.progress
|
||||||
self.torrent_state['download_rate'] = status.download_rate
|
self.torrent_state['download_rate'] = status.download_rate
|
||||||
self.torrent_state['upload_rate'] = status.upload_rate
|
self.torrent_state['upload_rate'] = status.upload_rate
|
||||||
|
|
Loading…
Reference in a new issue