Move track to transcode package
This commit is contained in:
parent
3bf2ad38c2
commit
ceae96422b
0
src/__init__.py
Normal file
0
src/__init__.py
Normal file
|
@ -1 +0,0 @@
|
|||
from .track import Track
|
|
@ -1 +1,2 @@
|
|||
from .track import Track
|
||||
from .transcoder import Transcoder
|
||||
|
|
|
@ -5,6 +5,9 @@ class Track:
|
|||
def __init__(self, location: Path):
|
||||
self.path = location
|
||||
|
||||
def __str__(self):
|
||||
return str(self.path)
|
||||
|
||||
@property
|
||||
def filename(self) -> str:
|
||||
return self.path.name
|
Loading…
Reference in New Issue
Block a user