Comments (3)
Hey @hileo . Got more time to work on this, and here's what I came up with.
- Add package YoutubeDL-iOS locally. Had to do some changes on the package so I had to add it locally.
- Look for the yt_dlp function, 'public func yt_dlp(argv: ...', and make the progress parameter a throwing closure.
- Throw an error from the download call. 'try await yt_dlp(argv: argv) { ... '
I think throwing is the right approach, as the original function already throws. Though I haven't checked deeper on how it affects the process, etc. Let us know what you think. @kewlbear
from youtubedl.
Adding crash info:
from youtubedl.
I have the same problem, how to cancel it manually?😭
from youtubedl.
Related Issues (20)
- Dependencies could not be resolved HOT 4
- ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location HOT 11
- get stream URL HOT 9
- Thread 8: Fatal error: attempt to await next() on more than one task HOT 7
- Downloading m3u8 file issue - only works from Xcode and json.decoder.JSONDecodeError HOT 4
- visionOS Support
- HookMain crash when using `extractInfo` HOT 4
- You have requested downloading the video partially, but ffmpeg is not installed HOT 1
- App crashes when installed from Testflight HOT 4
- Downloading video is stuck on "Extracting...
- Downloading video is stuck on "Extracting...", when not connected to debugger HOT 2
- Redefinition of module 'SwiftBridging'
- Support Audio only(.wav)
- Requirements for the code to run elsewhere? (files, packages, libraries, etc.) HOT 1
- how can I access downloaded videos using a button in app ? HOT 3
- Merging never finishes
- Downloading some videos at the same time conflicts. HOT 2
- Support all flags HOT 1
- Can not add YoutubeDL-iOS package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtubedl.