Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
4fc5249c0b
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import os
|
||||
import math
|
||||
import time
|
||||
|
||||
class Media:
|
||||
_id_counter = 0
|
||||
|
|
@ -98,8 +99,9 @@ class Media:
|
|||
}
|
||||
|
||||
def to_dict_stat(self):
|
||||
return {self.id: {
|
||||
return {time.time(): {
|
||||
# source
|
||||
"id": self.id,
|
||||
"source_file_name": self.source_file_name,
|
||||
"source_file": self.source_file,
|
||||
"source_duration": self.source_duration,
|
||||
|
|
|
|||
Loading…
Reference in a new issue