Skip to content

Commit

Permalink
fix: set fallback track title without extension
Browse files Browse the repository at this point in the history
  • Loading branch information
faradox committed Mar 1, 2024
1 parent 65b5cf5 commit 06396e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nendo/library/sqlalchemy_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def _create_track_from_file(
)

if "title" not in meta or meta["title"] is None:
meta.update({"title": os.path.basename(file_path)})
meta.update({"title": os.path.splitext(os.path.basename(file_path))[0]})

resource = schema.NendoResource(
file_path=self.storage_driver.get_file_path(
Expand Down

0 comments on commit 06396e6

Please sign in to comment.