TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
30.99k stars 3.02k forks source link

Cannot download music only #10689

Open Microturbine opened 8 months ago

Microturbine commented 8 months ago

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

Affected Android/Custom ROM version

MIUI Global 14.0.3

Affected device model

Redmi Note 11 Pro 5G

Additional information

No response

opusforlife2 commented 8 months ago

Can you download videos? Subtitles?

Microturbine commented 8 months ago

I couldn't download subtitles either.I was able to download the video.

opusforlife2 commented 8 months ago

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).

Microturbine commented 8 months ago

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?

opusforlife2 commented 8 months ago

If you try to select a folder inside your SD card as your Audio download folder in the settings, what does it say?

Microturbine commented 8 months ago

These three steps are displayed.

Screenshot_2023-12-25-00-39-53-593_com google android documentsui Screenshot_2023-12-25-00-38-33-897_org schabi newpipe Screenshot_2023-12-25-00-39-49-761_com google android documentsui
opusforlife2 commented 8 months ago

Thanks. After you select a folder in the last step, and then try to download an audio, does it work?

Microturbine commented 8 months ago

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,

Also, I think the volume level is slightly different for the different codecs. (Is it due to the difference in bit rate?)

Screenshot_2023-12-25-01-43-22-686_com mi android globalFileexplorer Screenshot_2023-12-25-01-42-47-172_app rvx android apps youtube music
opusforlife2 commented 8 months ago

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.

Microturbine commented 8 months ago

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.

Screenshot_2023-12-25-01-55-39-140_org schabi newpipe v0_26_0
opusforlife2 commented 8 months ago

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.

Microturbine commented 8 months ago

Thank you for your efforts in resolving the issue. I can close the issue, right?

opusforlife2 commented 8 months ago

We just landed on a workaround, not an actual solution to the error you've posted in the description. Let this stay open.

Microturbine commented 8 months ago

ok