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

Course bars: Download videos to device and Select download quality bars #239

Merged

Conversation

eyatsenkoperpetio
Copy link
Contributor

Add Progress Downloads View #166
The user can view the download statuses or the number of downloads in the Download Progress section.

Add notification about downloading a large video #167
Need to add notification about downloading a large video.

Bulk Download of Course Videos #168
Add the option to download all videos at once on the video tab.

Add an controller to select Quality of the downloadable video #217
User should be able to choose the quality of the downloadable video. Roughly the way it is implemented in the current application (this controller can be opened from course -> videos and from users Profile)

Add download pause/resume action after collapse/expand the app #228
Add auto pause/resume action for downloadable content after collapse and expand the app.

Add ability to open and download currently unsupported videos #229
find out the reason why these videos are not open
find out how to download this content for offline mode

Screen.Recording.2024-01-17.at.14.13.11.mov

…uality

# Conflicts:
#	Course/Course/SwiftGen/Strings.swift
#	Course/Course/en.lproj/Localizable.strings
#	Course/Course/uk.lproj/Localizable.strings
# Conflicts:
#	Course/Course/Presentation/Outline/ContinueWithView.swift
#	Profile/Profile.xcodeproj/project.pbxproj
Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If I turned off the download to device toggle while downloading the videos, on turning on the toggle again won't download the videos.
  • I guess we do need to add another copy of confirmation alert, for turning off the toggle while downloading the videos.

saeedbashir
saeedbashir previously approved these changes Jan 31, 2024
Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

rnr
rnr previously approved these changes Jan 31, 2024
@@ -62,6 +62,7 @@
"SETTINGS.WIFI_TITLE" = "Тільки Wi-fi";
"SETTINGS.WIFI_DESCRIPTION" = "Завантажувати відео, лише коли Wi-Fi увімкнено";
"SETTINGS.VIDEO_QUALITY_TITLE" = "Якість потокового відео";
"SETTINGS.VIDEO_DOWNLOAD_QUALITY_TITLE" = "Video download quality";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eyatsenkoperpetio should we add the same in en.lproj?

try await manager.cancelDownloading(task: task)
downloads.removeAll(where: { $0.id == task.id })
} catch {
print(error)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eyatsenkoperpetio could you use debugLog here instead please?

for record in records {
context.delete(record)
try context.save()
print("File erased successfully")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eyatsenkoperpetio could you use debugLog here instead please?

Podfile.lock Outdated Show resolved Hide resolved
@volodymyr-chekyrta
Copy link
Contributor

Ready to merge

@volodymyr-chekyrta volodymyr-chekyrta merged commit a050bf0 into openedx:develop Feb 1, 2024
3 checks passed
@forgotvas forgotvas deleted the feat/course-download-quality-bars branch June 20, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants