Malopieds / InnerTune

A fork of InnerTune, a Material 3 YouTube Music client for Android
GNU General Public License v3.0
321 stars 17 forks source link

Some songs won't download #170

Open Deemitry88 opened 2 weeks ago

Deemitry88 commented 2 weeks ago

Checklist

Steps to reproduce the bug

  1. Go to a playlist
  2. Sometimes some songs wont download

Expected behavior

The songs should download...

Actual behavior

...but they don't

Screenshots/Screen recordings

Screenshot_20240706_011654_InnerTune

I just get this error that says "The download failed"

Logs

I don't have access to a pc right now

InnerTune version

0.5.7

Android version

Android 12

Additional information

No response

Malopieds commented 2 weeks ago

Sometimes some songs wont download

Sometimes as in some will never download or some will have to be downloaded again? Either way I can download both of them

Deemitry88 commented 2 weeks ago

They will never download, if I try to download them again they will just try to download indefinitely until I stop the download

Malopieds commented 2 weeks ago

They will never download, if I try to download them again they will just try to download indefinitely until I stop the download

Weird, even when only downloading one? I will need some log for this

Deemitry88 commented 2 weeks ago

How do I get thoses logs ? Even If I do logcat | grep com.malopieds.innertune I won't get any of innertune's logs but only android's one referencing innertune

Malopieds commented 2 weeks ago

Try the latest debug version, there should be the error in the notification (but the text might be too long) and the error on the logs under the tag Download failed, send them here !

Malopieds commented 2 weeks ago

Well I don't know why it doesn't want to build, it works well for me with the same command... You can clone the repo and try it yourself if you know how to do it. Ask me if you have any question

Deemitry88 commented 2 weeks ago

I got this error while trying to build logErrors.txt

Malopieds commented 2 weeks ago

To build the debug version use this command: ./gradlew assembleDebug lintFossDebug testFossDebugUnitTest --stacktrace -DskipFormatKtlint the output file will be in app/build/outputs/apk/foss/debug/app-foss-debug.apk

Deemitry88 commented 2 weeks ago

I can figure out how to make it work

Malopieds commented 2 weeks ago

I can figure out how to make it work

To make it build or to be able to download it?

malisipi commented 2 weeks ago

I think the reason is the rate limit, caching and the following issue. https://github.com/Malopieds/InnerTune/issues/178#issuecomment-2221804917

ElhamAryanpur commented 1 week ago

Yeah same issue happened to me, it straight up doesn't even play some songs in the playlist. I agree it might be ratelimit

Deemitry88 commented 2 days ago

Yeah, it is definitely rate limit, is there any way to wipe the cache so we can download those song again ?