-
Notifications
You must be signed in to change notification settings - Fork 37
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
Skip temporarily failed entries #90
Comments
I'm having the same issue. |
I have run into this problem in the last year of using greg (podcasts which greg can't sync but which I want to keep checking in case they fix their problems). My solution was to write a sh script which uses 'greg list' into a temp file and then loops on the file line by line with 'greg sync ${i}' ($i is the loop variable so it changes on each loop). Each greg invocation is a process which can abend while the shell script will keep chugging. Its brute force but works so I have one command which I can run until each feed shows up as DONE or gives a consistent error. Script below. If the script quits when you run into the first feed with an error, the fix is to tweak the shell config in this script so it ignores return codes. I'm not addressing how to do that here. I run greg as root on busybox. This script may need a sudo here or there on your machine if you are not running as root. echo "" PODLIST=$(mktemp) # Feeds echo "First get all Podcast feeds into a temp file" echo "Now sync each podcast feed" while read i ; do #cleanup code |
I love Greg, it's the best podcast downloader I've ever used.
I recently found a podcast that contained a bad URL entry. Greg at this point detects the failure and exits, leaving all the other podcasts that were not yet checked, unchecked or undownloaded.
To fix the problem, I manually edited the
~/Podcasts/.greg/data
file and commented on the problematic podcast section, so that the others could synchronize.This solution worked, but when I went to uncomment the podcast to restore it to its initial state, I found that the commented section had disappeared. Apparently Greg regenerates the file every time instead of editing it. I had to add the sources of this podcast again to get back to normal.
A few days later they corrected the faulty URL in the feed and everything worked again.
The question is, in this scenario, how can I omit a particular podcast source? I haven't found any documentation on the subject.
The text was updated successfully, but these errors were encountered: