-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added Subtitle Track selector #89
base: master
Are you sure you want to change the base?
Conversation
4c24b26
to
0941b9c
Compare
80dfb78
to
851c099
Compare
OneDrive-Cloud-Player/Exceptions/ServiceNotInitializedException.cs
Outdated
Show resolved
Hide resolved
b482f5d
to
3f4a80e
Compare
Still need to see about the user option change (removed, renamed?) |
Whatever we may decide on
|
3153c0d
to
bfc342e
Compare
bfc342e
to
e19ef3e
Compare
Could you test these changes again on your system @JohannesKauffmann? I added a couple more test media files to the test account for us to use. |
I decided to keep the original setting functionality intact. This needs to be tested by another set of eyes as well if possible. |
Other than my comment, the changes since last review look fine to me. |
de022ec
to
686df89
Compare
Implemented the ability to select a subtitle track on the video player page. Added a SubtitleAudioTrackSelector UserControl. This UserControl hosts the subtitle tracks and will also host the audio tracks from which a user can select a track. Introduced a MediaTrackService which can be injected to provider some methods. Methods it provide are at this moment the retrieval of subtitle tracks and the preferred subtitle track. Due to LibVLC not being able to be injected by a dependency injector due to several reasons, this service needs to be initialized by calling the initialize method and providing it with a reference to a (initialized!) MediaPlayer instance. This service can be expanded to perform more general MediaPlayer tasks as well in the future if need be. Added a ValueConverterGroup enabling the chaining of value converters. Added a custom exception which gets thrown when one of the the MediaTrackService methods get called without the service being initialized. Added MediaTrackService to the dependency Injector container in App.xaml.cs. Replaced public mediaplayer property calls with private.
686df89
to
5ae0be5
Compare
Implemented the ability to select a subtitle track on the video player page.
Added a SubtitleAudioTrackSelector UserControl. This UserControl hosts the subtitle tracks and will also host the audio tracks from which a user can select a track.
Introduced a MediaTrackService which can be injected to provide some methods. Methods it provide are at this moment the retrieval of subtitle tracks and the preferred subtitle track. Due to LibVLC not being able to be injected by a dependency injector due to several reasons, this service needs to be initialized by calling the initialize method and providing it with a reference to a (initialized!) MediaPlayer instance. This service can be expanded to perform more general MediaPlayer tasks as well in the future if need be.
Added a ValueConverterGroup enabling the chaining of value converters.
Added a custom exception which gets thrown when one of the the MediaTrackService methods get called without the service being initialized.
Added MediaTrackService to the dependency Injector container in App.xaml.cs.
resolves #86