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

How to play selected video from a library (folder)? #11

Open
zydjohnHotmail opened this issue Oct 11, 2022 · 0 comments
Open

How to play selected video from a library (folder)? #11

zydjohnHotmail opened this issue Oct 11, 2022 · 0 comments

Comments

@zydjohnHotmail
Copy link

Hello:
I am new to .NET MAUI, and I found your repo, it looks good.
But I have a question, I want to know if I can use some WinForm GUI toolbox control, like checkListBox or similar item in MAUI, so I can pick up or mark specific video from a list of videos.
For example: I have a total 10 videos in one folder: [D:\Videos], their names like:
1.mp4, 2.mp4, 3.mp4, 4.mp4, 5.mp4, 6.mp4, 7.mp4, 8.mp4, 9.mp4 and 10.mp4.
I want to be able to play those video one after another, like: play 1.mp4 first, 2.mp4 second, etc… until play 10.mp4 last.
For VLC media player, you can open a folder, so the media player will play all the videos inside that folder, you don’t have to manually play next one, after the current video playing is finished.
First, I want to know if I can write some code, just like VLC media player, so I can play all the videos inside one folder, so I don’t have to manually play next one?
If yes, please show me some code or some idea on how to do this.
Second, as I have multiple videos from different sources, but some of them are duplicate, for example, inside those 10 videos, I found 1.mp4 and 10.mp4 are actually the same video, therefore, I want to have some kind of mark to indication that they are duplicate, then later on, I can use C# code to delete all the duplicates, and keep only the first one?
If I can have some WinForm app toolbox control, like checkListBox, and indicate each video name in the all play list, then later on, I can use C# code to select all those items inside checkListBox, and delete all the duplicates and keep only the first video.
Since I don’t know much about .NET MAUI, I want to know what kind of controls can be used in .NET MAUI to work like checkListBox in Winform project.
Please advise,
Thanks,

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

No branches or pull requests

1 participant