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

Consider auto-translating path separators for the runtime OS when playing media #1143

Open
caprica opened this issue May 8, 2022 · 3 comments

Comments

@caprica
Copy link
Owner

caprica commented May 8, 2022

Or perhaps throw an exception e.g. if trying to play paths with "/" on Windows when it should be "\".

@caprica caprica added the Task label May 8, 2022
@caprica caprica added this to the vlcj 5.0.0 Release milestone May 8, 2022
@caprica
Copy link
Owner Author

caprica commented Jun 18, 2022

The difficulty is dealing with any Windows extended path syntax, like network paths.

@caprica
Copy link
Owner Author

caprica commented Jun 29, 2022

If we knew for certain the MRL was a File, we could use new FIle(mrl).getAbsolutePath().

@caprica
Copy link
Owner Author

caprica commented Jul 9, 2022

Maybe compromise solution to add overloads to play/prepare etc to pass a File or Path argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant