Code Monkey home page Code Monkey logo

Comments (22)

joelsgp avatar joelsgp commented on June 11, 2024 1

Oh no, I migrated the database when I got the phone, I only added this podcast feed and started the downloads this week

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024 1

I honestly don't know if this is the same issue. Well at least based on the initial description.
In my case I didn't add any new show and didn't have it download a whole lot of episodes at once.
I'm my case it's happening with shows that have been configured in this system for years.
I'd say it's happening at random and I can't reproduce it.

Once in a while, a new episode is downloaded and shows up in the queue. And when the previous episode in the queue finishes playing, it should start playing the affected episode. But it doesn't.
When I open the app to check what's happening, I can see the episode in the queue list. I hit play but it says the file is missing, or something similar. Need to pay close attention next time on the wording of the error message that pops up.
The play button transforms into a download button. I press it. It downloads the episode. The play button appears in place of the download button. I hit it and the episode starts playing.
Weird...

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024 1

If an episode can be played first but then gives "file missing" errors later, this is definitely not related to downloading. That makes it harder to export logs because we would need logs from when it gets deleted, not from when you try to play.

I suggest turning off all automatic deletion/cleanup settings and checking if that fixes the problem. Also, make sure to uninstall any "phone boost", "RAM cleaner", "cache cleaner", "SD Maid", duplicate file finder, etc apps that could be deleting the file in the background (and are usually just snake oil anyway).

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

We already check if the download was successful before we internally mark an episode as downloaded. This means that there might be something wrong with your SD card. In the past, there were multiple users reporting strange behavior like disappearing files and then after weeks of trying to find the reason they told us that their SD card in fact had died.

from antennapod.

joelsgp avatar joelsgp commented on June 11, 2024

This wasn't on an SD card, it was on the internal storage of a phone I only got last year that's been working fine. Is there any information I could provide to help debug the issue? I remember getting a lot of "download failed and will be retried" notifications but then the episodes being shown as downloaded.

from antennapod.

keunes avatar keunes commented on June 11, 2024

@joelsgp Was (part of) your database migrated from an old installation (e.g. on another phone)?

@ByteHamster could it be that we're relying on info (success/fail) from the system, and that something goes wrong if it sends ridiculous numbers of messages shortly after one another?

from antennapod.

joelsgp avatar joelsgp commented on June 11, 2024

I think I did migrate it from my previous phone yes

from antennapod.

keunes avatar keunes commented on June 11, 2024

Ah, then that's probably the issue. Because download states are migrated but the files are not, causing the mismatch (see #3037). In that situation if you press play, AP realises that the state is wrong and corrects it. Maybe what you're seeing is that download is skipped/fails in this situation.

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

Do you use automatic deletion or automatic episode cleanup? Can you reproduce this? Eg if you start many downloads again, does it happen again? Could you export the detailed logs from the "report bug" page afterwards and tell us exactly which files did not work?

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024

Ok, it says "file not found".

from antennapod.

keunes avatar keunes commented on June 11, 2024

Reviews mentioning potentially mentioning this issue:
1

Mediocre at best. I have been trying to find a replacement for Google Podcasts and have this a shot. Unfortunately AntennaPod falls short in a couple of key areas. It will occasionally just lose a downloaded file making me redownload a podcast. I would say this happens at least once a week.

from antennapod.

sim642 avatar sim642 commented on June 11, 2024

I believe I just encountered the same issue. Internal storage and nothing was ever migrated.

I'm guessing in my case it was somehow caused by terrible (throttled?) hotel WiFi collections. The downloads were stuck at 0% for a long time. Eventually they somehow got marked as downloaded, maybe because I toggled WiFi or temporarily used mobile data.

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

This is probably not a problem of the download. The items are only marked as downloaded if the file exists and the file has the correct size. The "file not found" message later means that there is no file at all. This means something must be deleting the file. Either AntennaPod or something else.

Do you use automatic deletion or automatic episode cleanup?

Without a log export from a case of this happening, there is a low chance that we can find out where it comes from.

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024

Interesting enough, I've had the same episode giving me issues more than once.

For instance, day 1 it was downloaded, I started hearing it but didn't finish on that day. Day 2 went to listen but file was missing so I redownload it and listened for another 5 minutes but had stop and leave the rest for another time. Day 3, file missing again so had to redownload it another time and then I finally finished listening the show.

Do you use automatic deletion or automatic episode cleanup?

Where the heck is the automatic episode cleanup these days...??

I used to have it configured for deletion 5 days after having listened to the show. But now I can't find that option...

from antennapod.

keunes avatar keunes commented on June 11, 2024

@rdscorreia74 Automatic clean-up is part of automatic downloads. If you search for it in the settings you'll be directed there...

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024

Without a log export from a case of this happening, there is a low chance that we can find out where it comes from.

How do I generate such a log? How do I export it? And where do I send it?

I can't replicate this, but it happens so often that it's just a matter of hours until it happens again. Easy to catch.

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024

That makes it harder to export logs because we would need logs from when it gets deleted, not from when you try to play

I see. So, is this a hopeless case? Is that it? Or is there anything we can do in order to track this down?
I can't replicate this but it is happening literally minutes after redownloading. 10/15 minutes. afterwards.

I've thought about the possibility of a damaged SD card. But this card is recent. Less than an year, 64GB Kingstone. It's being used for photos, music and podcasts. Haven't had any issues with neither photos/videos nor with music files. And I shoot pictures and download music on a daily basis.
Doesn't make much sense...

I don't have any phone boost / ram cleaner / duplicate file finder apps installed.
I do have Syncthing-fork (Syncthing is similar to OneDrive/Dropbox. That's basically the only app I downloaded and installed that keeps awake 24/7, although it's not watching the folder where I download my podcast shows.

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

If it is really just 15 minutes between playing successfully and pressing play on the same episode again (then with the "file not found" message), we could be lucky with the logs. Probably only if you don't press "download" afterwards, but go directly to the "report bug" screen in the settings and select "export full logs".

from antennapod.

rdscorreia74 avatar rdscorreia74 commented on June 11, 2024

@ByteHamster , I hope the full-log won't expose too much sensible information.
I will upload it here but please be so kind to remove it and keep it only for yourself if it is the kind of thing that exposes information that could get me in trouble regarding network safety and stuff like that.
full-logs.txt

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

Hmm, your logs indeed contain the successful download, then a few minutes of pause, and then AntennaPod detecting that the file does not exist. However, there is no trace of deleting anything. Whenever AntennaPod deletes a media file, it generates a log, but there is no log in your case. I'm out of ideas here. I still suspect that it is something outside of AntennaPod.

from antennapod.

keunes avatar keunes commented on June 11, 2024

Would it make sense to, when this happens, go to the file location and check which files are there and what their state is?

from antennapod.

ByteHamster avatar ByteHamster commented on June 11, 2024

Maybe. However, the file location is not accessible on most modern Android versions without using root or developer tools.

from antennapod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.