Open Microturbine opened 8 months ago
Can you download videos? Subtitles?
I couldn't download subtitles either.I was able to download the video.
Check your download menu settings. Are the folders selected properly? It's not enough that they show correctly in the app. Your document provider also has to give proper access to that particular folder to the app (Storage Access Framework shenanigans).
I checked under different conditions. Save to internal storage → video, audio, and subtitles are all possible. Save to SD card → Only video can be saved, others will have errors. How do I save audio directly to an SD card?
If you try to select a folder inside your SD card as your Audio download folder in the settings, what does it say?
These three steps are displayed.
Thanks. After you select a folder in the last step, and then try to download an audio, does it work?
I still get a notification that the download failed. However, when I checked the file manager, the audio file was generated. I tried to play it on YoutubeMusic,
In the case of opus, the seek bar cannot be moved, but playback is possible.
In the case of m4a, the seek bar can be moved and playback is possible.
Also, I think the volume level is slightly different for the different codecs. (Is it due to the difference in bit rate?)
Hmmm. Could you try this on a fresh profile of Newpipe? You don't have to touch your current app. Just download the latest RC from the pinned issue and try downloading audio.
I tried NewPipe_v0.26.0_RC3_release. The situation is exactly the same as before, I get an error notification, but the file was generated.
Alright, I'm out of ideas. Thanks for testing. Until this gets solved, you could download to internal storage and move audios to the SD card in batches, I suppose.
Thank you for your efforts in resolving the issue. I can close the issue, right?
We just landed on a workaround, not an actual solution to the error you've posted in the description. Let this stay open.
ok
Checklist
Affected version
0.26.0
Steps to reproduce the bug
1, Search 2, Select video 3, Press the download button 4, Select download music (any codec, any bitrate) 5, Download failed
Expected behavior
Music can be downloaded in any codec and at any bit rate.
Actual behavior
The notification box will say that the download failed.
Screenshots/Screen recordings
No response
Logs
Exception
Crash log
``` java.io.IOException: Operation not permitted at sun.nio.ch.FileDispatcherImpl.truncate0(Native Method) at sun.nio.ch.FileDispatcherImpl.truncate(FileDispatcherImpl.java:101) at sun.nio.ch.FileChannelImpl.truncate(FileChannelImpl.java:406) at us.shandian.giga.io.FileStreamSAF.setLength(FileStreamSAF.java:138) at us.shandian.giga.io.CircularFileWriter.finalizeFile(CircularFileWriter.java:147) at us.shandian.giga.postprocessing.Postprocessing.run(Postprocessing.java:177) at us.shandian.giga.get.DownloadMission.doPostprocessing(DownloadMission.java:700) at us.shandian.giga.get.DownloadMission.$r8$lambda$TfhfQRw7BXa67GG5rH8lpt1NlmQ(DownloadMission.java:0) at us.shandian.giga.get.DownloadMission$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0) at java.lang.Thread.run(Thread.java:1012) ```
Affected Android/Custom ROM version
MIUI Global 14.0.3
Affected device model
Redmi Note 11 Pro 5G
Additional information
No response