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

PICARD-2821: Playlist: Fix crash if playlist and audio file are on different drives #370

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

phw
Copy link
Member

@phw phw commented Jan 22, 2024

Fixes crash on Windows in playlist plugin if audio file and playlist are on different drives.

See PICARD-2821

https://docs.python.org/3/library/os.path.html#os.path.commonpath
https://docs.python.org/3/library/os.path.html#os.path.relpath

@phw phw marked this pull request as ready for review January 23, 2024 07:08
@phw phw requested a review from zas January 23, 2024 07:08
@phw
Copy link
Member Author

phw commented Jan 23, 2024

I tested on Linux and Windows (there with same and different drives). Also tested by chaban, see PICARD-2821

@phw phw merged commit 8b690ab into metabrainz:2.0 Jan 23, 2024
6 checks passed
@phw phw deleted the playlist-fix-relpath branch January 23, 2024 10:20
@phw phw added the bug label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants