Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix audio sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 5, 2023
1 parent d75cab1 commit 648ce77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.36"
__version__ = "5.0.37"
2 changes: 1 addition & 1 deletion cyberdrop_dl/utils/sorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def sort_audio(self, file: Path, base_name: str) -> None:
"""Sorts an audio file into the sorted audio folder"""
self.audio_count += 1

file_info = mutagen.FileType(file).info
file_info = mutagen.File(file).info
length = file_info.length
bitrate = file_info.bitrate
sample_rate = file_info.sample_rate
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.0.36"
version = "5.0.37"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 648ce77

Please sign in to comment.