Formatted to conventions
This commit is contained in:
parent
ec5a26b603
commit
802b5b5928
2 changed files with 7 additions and 8 deletions
|
@ -19,6 +19,7 @@ from zotify.utils import (
|
||||||
fix_filename,
|
fix_filename,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class Collection:
|
class Collection:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.playables: list[PlayableData] = []
|
self.playables: list[PlayableData] = []
|
||||||
|
@ -30,7 +31,6 @@ class Collection:
|
||||||
library = Path(self.playables[0].library)
|
library = Path(self.playables[0].library)
|
||||||
output = self.playables[0].output_template
|
output = self.playables[0].output_template
|
||||||
metadata = self.playables[0].metadata
|
metadata = self.playables[0].metadata
|
||||||
id_type = self.playables[0].type
|
|
||||||
|
|
||||||
for meta in metadata:
|
for meta in metadata:
|
||||||
if meta.name in meta_tags:
|
if meta.name in meta_tags:
|
||||||
|
|
|
@ -125,5 +125,4 @@ class LocalFile:
|
||||||
tag: metadata tag to be retrieved
|
tag: metadata tag to be retrieved
|
||||||
"""
|
"""
|
||||||
f = load_file(self.__path)
|
f = load_file(self.__path)
|
||||||
|
|
||||||
return f[tag].value
|
return f[tag].value
|
Loading…
Add table
Reference in a new issue