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

Fix PathNotFoundException when using LockCachingAudioSource #1076

Open
wants to merge 2 commits into
base: minor
Choose a base branch
from

Conversation

Colton127
Copy link

Relevant issue: #1032

I have this issue littered throughout my sentry logs. I can sometimes replicate it by setting a LockCachingAudioSource and then disposing of the audio player almost immediately afterwards. It appears that just_audio attempts to rename (or delete on error) the partial cache file, but does so without first checking to see if it exists. This pull request simply ensures the partial cache file exists before attempting to rename or delete it.

@Colton127
Copy link
Author

@ryanheise Any updates on this? Thank you for your time.

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.

1 participant