-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cached podcast metadata won't update #145
Comments
Hey Josh, thank you for reporting this! I just tried replicating this with some test files and the metadata updated as expected when launching plappa (if the episodes are older, you might have to refresh the podcast by dragging down in the view where you see the list of episodes). It could be that plappa fails to parse the updated metadata for some reason (an unexpected date format for example). |
Hey Leo,
Thanks for getting back to me so quickly. I opened the podcast, dragged
down to refresh, played an episode with incorrect metadata and then went to
the debug logs. The below is all that was in there:
[03/07/2024, 12:10] [AudioBookShelfAPIHandler] Successfully pushed
playbackstates [03/07/2024, 12:11] [AudioBookShelfAPIHandler] Successfully
pushed playbackstates [03/07/2024, 12:11] [AudioBookShelfAPIHandler]
Successfully pushed playbackstates [03/07/2024, 12:11]
[AudioBookShelfAPIHandler] Successfully pushed playbackstates [03/07/2024,
12:11] [AudioBookShelfAPIHandler] Successfully pushed playbackstates
[03/07/2024, 12:11] [AudioBookShelfAPIHandler] Successfully pushed
playbackstates [03/07/2024, 12:11] [AudioBookShelfAPIHandler] Successfully
pushed playbackstates
…On Wed, 3 Jul 2024 at 12:08, Leo Wehrfritz ***@***.***> wrote:
Hey Josh, thank you for reporting this!
I just tried replicating this with some test files and the metadata
updated as expected when launching plappa (if the episodes are older, you
might have to refresh the podcast by dragging down in the view where you
see the list of episodes).
It could be that plappa fails to parse the updated metadata for some
reason (an unexpected date format for example).
Can you check the debug logs after trying to view the podcast (you can
find them at the bottom of Settings under "Get Debug Logs")?
—
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALRNSL4PT3ZMFEGITLFR5ATZKPLSLAVCNFSM6AAAAABKJIFETWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVHAZDANJRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you check if dragging down in the podcast or one of the affected episodes updates the metadata (also check the logs after pulling down)? |
I tried dragging down at episode and podcast level before I opened this bug report, I've also done it a few times since. I tried again just now and the logs don't show anything new. |
Do you have a lot of books/podcasts downloaded? If not, can you try if logging out and back in solves the issue? Also can you send me the API response from your server for that podcast? You can get there by opening the podcast in the ABS WebUI and replacing That way I can try parsing the response in my test environment and see where the parsing fails. |
Sure, here's the response for the podcast:
|
Logging out and back in hasn't resolved it unfortunately. |
Thank you very much for sending the API response! As I suspected, the date format seems to be the issue here. Funnily enough, I just released a TestFlight update implementing support for exactly this date format for another user. You can download it here: https://testflight.apple.com/join/oSAekRD5 Let me know if that helped :) |
Ah perfect. I tried the TestFlight version and it resolved my issue for most of the episodes. There were a few that still didn't display the date, so I went into Audiobookshelf and entered the date and time again for each of them and it fixed it. It seems those with the date formatting as below were still causing a problem. "pubDate": "2006-02-21 11:53", |
Glad to hear it worked now! Thank you again for taking the time :)
I'll make sure to add support for that as well! I find it interesting that ABS can handle so many formats internally without running into issues. |
I've just uploaded a new build to TestFlight that adds support for dates formatted as "yyyy-MM-dd HH:mm" (the format you mentioned). I'll close this issue now, feel free to reopen if a similar issue pops up. |
Describe the bug
I added around 70 podcast episodes to my Audiobookshelf server and worked through them, updating the metadata to include titles, subtitles, episode numbers and dates. Plappa is showing some of the episodes with the new metadata, but many of them have incorrect dates, episode numbers, etc.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Periodically check for metadata updates (this may be happening already and I just haven't waited long enough).
When pulling down from the top to initiate a refresh, check if metadata has changed and if so sync the new metadata from server.
Environment(please complete the following information):
The text was updated successfully, but these errors were encountered: