mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[Bug]: Podcasts not auto downloading #404
Closed
opened 2026-04-24 23:07:58 +02:00 by adam
·
16 comments
No Branch/Tag Specified
master
book_tags_genres_dedupe
episode_download_fallback
Issue-4540-SortBy-StartedDate-and-FinishedDate
episode_meta_tagging
fix_authorize_race_condition
redirect_transcode_requests
progress_updated_sort
fix_ereader_socket_event
fix_change_empty_root_password
fix_podcast_session_track_index
fix_set_token
session_modal_user
localize_durations
fix_oidc_create_user
jwt_auth_refactor
fix_scanner_deleting_single_file_books
fix_mediaprogress_updatedat_2
experimental_next_client
podcast_episode_duration
episode-timestamps-clickable
book_author_secondary_sort_title
podcast_useragents
pathexists_user_access
fix_pathexists_join
book_author_secondary_sort
clean_duplicate_mediaprogress
sanitize_html_description
trix_prevent_attachments
check_path_api_fix
fix_mediaprogress_updatedat
increase_express_json_limit
fix_dockerfile_nunicode
search_episodes
audiobook_tools_update
episode_secondary_sorts
hls_stream_url_update
new_session_track_endpoint
audiobook_tools_enhancements
watcher_rescans_update
player_track_tooltip
fix_exclude_prefixes_crash
socket_item_events
fix_podcast_episode_scanner_promise
new_stats_controller
count_cache_for_userpermissions
parsing-opf-v3
validate_migration_files
fix-quick-match-all-crash
fix-chapter-end-sleep-timer
stringify_sequelize_query
remove-col-ambiguity
fix_next_prev_edit_description
details_trim_whitespace
fix_content_url_basepath
fix_logger_fatal
progress_bar_visibility
batch-edit-populate-map-details
feed_generator_updates
bookmark-modal-updates
migrate-library-item-in-scanner
migrate-new-library-items
migrate-podcasts-new-library-item-2
migrate-podcasts-new-library-item
fix-remove-episode-from-playlist
playback-session-use-new-library-item
refactor-library-item
fix-heatmap-caption
feed-episodes-upsert
share-media-player-media-session-api
remove-old-playlist
remove_old_collection_object
plugin-implementation-demo
feed_migration
refactor-feeds-from-item
fix_remove_authors_no_books
v2.17.3-fk-constraints-migration
migrations-first-upgrade
sqlite_2
feature/nuxt-target-server
waveform
sqlite
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3.4
v1.3.3
v1.3.1
v1.2.8
v1.2.6
v1.2.5
v1.2.4
v1.2.1
v1.1.15
v1.1.14
v1.1.13
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.0.0
0.9.61-beta.0
0.9.61-beta
Labels
Clear labels
authentication
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
pull-request
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
Mirrored from GitHub Pull Request
No Label
bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
adam (Adam Melkus)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/audiobookshelf#404
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andonevris on GitHub (Jun 1, 2022).
Describe the issue
Waited for a new episode of a podcast to be released, by the next morning it still hasn't auto downloaded.
If I do a manual scan for new episodes no new episodes are found.
If I set the date back a day (in the search for new episodes dialog) the new episode is found.
Could this be a time zone thing?
LOGS:
2022-06-01 08:00:20 (AUTO CHECK FINDS NOTHING)
INFO
[PodcastManager] checkForNewEpisodes: "Security Now (Audio)" | Last check: Wed Jun 01 2022 07:00:18 GMT+0000 (Coordinated Universal Time) | No latest episode
2022-06-01 08:23:54 (MANUAL CHECK FINDS NOTHING)
INFO
[PodcastManager] checkAndDownloadNewEpisodes for "Security Now (Audio)" - Last episode check: Wed Jun 01 2022 08:00:00 GMT+0000 (Coordinated Universal Time)
2022-06-01 08:23:54
INFO
[PodcastManager] No new episodes found for podcast "Security Now (Audio)"
2022-06-01 08:24:17 (MANUAL CHECK MANUALLY SETTING YESTERDAY'S DATE FINDS NEW EPISODE)
INFO
[PodcastManager] checkAndDownloadNewEpisodes for "Security Now (Audio)" - Last episode check: Tue May 31 2022 08:23:00 GMT+0000 (Coordinated Universal Time)
2022-06-01 08:24:17
INFO
[PodcastManager] Found 1 new episodes for podcast "Security Now (Audio)" - starting download
Steps to reproduce the issue
Audiobookshelf version
2.0.18
How are you running audiobookshelf?
Docker
@kurumushi commented on GitHub (Jun 1, 2022):
I noticed that most podcasts use a RFC 2822 formatted pubDate in their feeds:
<pubDate>Sun, 13 Mar 2022 19:00:00 -0400</pubDate>But the feed for the podcast you're pulling, Security Now uses RFC 822 format:
<pubDate>Tue, 31 May 2022 20:40:03 PDT</pubDate>I believe this are both valid formats for a date in a podcast feed, so it's not a buggy feed itself.
I'm not so well versed in JavaScript, but I don't think the Date() object in the parser supports anything other than RFC2822
My guess is that the parser is ignoring the timezone with the RFC 822 date, and parsing the date as if it were GMT+0.
@advplyr commented on GitHub (Jun 1, 2022):
I just tested the js date object with both of those pubDate formats
They both look like they parsed correctly. PDT offset is -7 hours.
@advplyr commented on GitHub (Jun 19, 2022):
Are you able to provide reproducible steps for this?
@andonevris commented on GitHub (Jun 19, 2022):
Auto download has not worked once for me. I have to manually download each episode by using the trick above (setting date back one day)
For me it happens constantly, steps to reproduce are wait for next episode to come out and it won't download.
Steps to reproduce the issue
@advplyr commented on GitHub (Jun 19, 2022):
Can you give me an example podcast so I can add it and test
@andonevris commented on GitHub (Jun 19, 2022):
Sure as per the intial logs, the "security now" podcast has done this every week since I set it up.
New episodes come out on Tuesday, I have to do the date trick every Wednesday to get the new episode. All my other podcasts also do the same thing but for testing you can use "security now"
Not sure if this would make any difference but I always delete podcasts after listening, could the fact that the podcast is always "empty" i.e. zero current episodes have an effect on new episode downloads?
@RandomWare commented on GitHub (Jun 21, 2022):
I have the same issue. I am running v2.0.22 in docker on ubuntu.
After several podcasts have been downloaded (over 100GB of files) downloads seem to stop. Logs are unclear and I can't find any obvious interface to centrally monitor downloads and their status.
I recreated the entire container stack and queued up other downloads. I found this one case where it seems to stick.
Logs don't show anything even in DEBUG.
I cleared the download queue from the web UI and deleted the write-protected file from the disk. Then I queued just
It Could Happen Here Weekly 39to download but there's no indication that it had started downloading.After a while I got this in the logs:
The podcast downloader seems very obscure and does not expose enough status information to the user, or even in the logs. Is there any way to improve that?
@kormoc commented on GitHub (Aug 21, 2022):
I'm having an different issue.
When I added "99% Invisible", only the latest 3 episodes were found. When I run "Look for new episodes after this date" with the current time, it doesn't find any additional episodes. If I change the date to be way in the past, it'll find 3 additional episodes every time I check for new episodes, however it doesn't seem to download any additional episodes on its own.
I would presume new episodes would download, however, I generally listen to podcasts from the first episode on and would want the complete archive downloaded.
@jvonhoff commented on GitHub (Aug 21, 2022):
@kormoc , I think you might be hitting this line, which says to only grab the latest 3 episodes. I've had to set that date back several times to get it to download all the missing episodes (assuming that's what you're wanting). Possibly some room for improvement here (like a "grab all episodes" button or something)?
@advplyr commented on GitHub (Aug 21, 2022):
Right now max episodes for auto download is set to 3. We can make that number adjustable in settings in the future.
You can bulk download by pressing the search button on the podcast page
@lakoliu commented on GitHub (Aug 22, 2022):
My podcasts also are not downloading automatically. I am running Audiobookshelf in Docker and have 4 podcasts. None of them had the episodes download automatically. I had to manually search for new episodes for each of them.
If I can get this worked out then Audiobookshelf will definitely be my new go-to podcast player, I'm really loving it!
@advplyr commented on GitHub (Aug 23, 2022):
@lakoliu Please make sure you are using the latest server version and re-enable the auto-downloader.
You can see in your server log files every hour the episodes are checked for and whether or not it succeeds or fails. If it fails 24 hours in a row then it will disable the auto-download option.
The latest server also allows changing schedule that episodes are checked for, the default is every hour.
@kormoc commented on GitHub (Aug 24, 2022):
I would love it if the auto-disable was customizable. I personally would disable it, as there are times that I'm without internet for over 24 hours and wouldn't like to have to remember to re-enable all my podcast downloads.
@lakoliu commented on GitHub (Aug 24, 2022):
I am using the latest version. It seems my issue is mostly with one podcast. Some of the errors in my logs:
I added the feed using the search function of Audiobookshelf. Anything I can fix to make it stop failing?
@lakoliu commented on GitHub (Aug 24, 2022):
Never mind, everything seems to be good now. It's auto-downloading. Not sure what the issue was, but thank you for your help @advplyr!
@advplyr commented on GitHub (Sep 30, 2022):
I believe this has been fixed for a while now