Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw exceptions #8

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Throw exceptions #8

merged 2 commits into from
Sep 6, 2024

Conversation

sin3point14
Copy link
Contributor

In the effort to add error handling everywhere, add a few checks.
The commits explain what they do

@sin3point14 sin3point14 requested a review from wryonik August 13, 2024 13:50
@sin3point14 sin3point14 changed the title Throw exceptions and normalise filepaths Throw exceptions Aug 13, 2024
@@ -1,36 +1,30 @@
import java.io.File

var SongExtensions = listOf("mp3", "wav", "flac", "opus", "m4a")
val SongExtensions = listOf("mp3", "wav", "flac", "opus", "m4a")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add all the media formats supported by all the three media player libraries. Maybe we can add it in the next PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is definitely not ideal, but we can figure that out later

@sin3point14 sin3point14 merged commit afbf7aa into dev Sep 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants