Skip to content

Commit 5b0dd9d

Browse files
committed
fix duration method
1 parent c9b5ac6 commit 5b0dd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

just_playback/playback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def paused(self) -> bool:
159159

160160
@property
161161
def duration(self) -> float:
162-
return self.__ma_attrs.duration
162+
return self.__file_duration
163163

164164
@property
165165
def volume(self) -> float:

0 commit comments

Comments
 (0)