Comments (7)
I guess you can comment out init() entirely.
from youtubedl.
That's old code I don't use now. You better call yt_dlp().
from youtubedl.
Hi @kewlbear, I face the crash when I try to download another video after finishing the first downloading,
it occurs after this line:
let context = Context()
why do we need to set typealias Context = YoutubeDL
?
from youtubedl.
As you can see it's just an alias, there should be no change in behavior.
from youtubedl.
Hi @kewlbear the problem is when the Context init, it calls:
public override init() {
super.init()
_ = postDownloadTask
}
when _ = postDownloadTask
be called, the app get the crash
_Concurrency/AsyncStreamBuffer.swift:253: Fatal error: attempt to await next() on more than one task 2023-08-18 10:03:38.043840+0700 {project_name} _Concurrency/AsyncStreamBuffer.swift:253: Fatal error: attempt to await next() on more than one task
from youtubedl.
Thread 8: Fatal error: Could not access PythonObject member 'Popen'
from youtubedl.
@kewlbear Thread 8: Fatal error: Could not access PythonObject member 'Popen'
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
- Downloading m3u8 file issue - only works from Xcode and json.decoder.JSONDecodeError HOT 4
- visionOS Support
- HookMain crash when using `extractInfo` HOT 4
- How to cancel ongoing download HOT 3
- You have requested downloading the video partially, but ffmpeg is not installed HOT 1
- Downloading video is stuck on "Extracting...
- Downloading video is stuck on "Extracting...", when not connected to debugger HOT 2
- Redefinition of module 'SwiftBridging'
- Works only in Debugger Mode?
- 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.