Move track to transcode package

This commit is contained in:
George Lacey 2025-01-18 13:57:40 +00:00
parent 3bf2ad38c2
commit ceae96422b
4 changed files with 4 additions and 1 deletions

0
src/__init__.py Normal file
View File

View File

@ -1 +0,0 @@
from .track import Track

View File

@ -1 +1,2 @@
from .track import Track
from .transcoder import Transcoder

View File

@ -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