Closed majedoh closed 1 year ago
Easier steps to reproduce the first issue: 1- Edit Scheme 2- Run Tap 3- Change Launch configuration to " wait for executable to be launched" 4- Run the app, 5-Attempt to download the sample URL using the provided argv.
let argv: [String] = (
url.pathExtension == "mp4"
? ["-o", url.lastPathComponent,]
: [
"-f", "hls-2176",
"-S","ext:mp4:m4a",
]
)
+ [
"--no-check-certificates",
url.absoluteString,
]
@kewlbear Any tips on how can I address it?
For the second issue, you can see which field missing in the debugger and change it to optional. First issue may require adding some logging and watching it from console app.
Solution: The problem is occurring in the following line of var: lazy var popenHandler = PythonFunction { args in Specifically, the issue is with this line: result[0] = read(pipe: outPipe) To resolve this, simply set the value of the result[0] manually.
Hello,
I am encountering two issues with the argv for downloading an m3u8 file.
1st Issue: App functioning only when running from Xcode
The download only works when the app is run from Xcode. If I close Xcode and reopen it, the download no longer functions. Here are the steps to reproduce the issue:
I've included a screenshot of the issue:
2nd Issue: json.decoder.JSONDecodeError
While the app is running via Xcode and the download is complete, I encounter the following error:
Steps to reproduce the issue:
Here are the screenshots of the second issue:
I would appreciate any help or guidance with these issues.