podsync
                                
                                 podsync copied to clipboard
                                
                                    podsync copied to clipboard
                            
                            
                            
                        "min_duration" filter not working
Hello! I have a problem with the minimum duration filter (min_duration). Even if I think to have setup it correctly, it doesn't work at all.
My goal is to filter all the videos that has a duration < = 600 seconds (10 minutes), i configure it like this:
filters = { min_duration = 600 }
This is my complete configuration for reference:
[feeds] [feeds.QUAGLIETTA] url = "youtube.com/channel/UCM2MUPdexVVQpoqFHhwb6ow" page_size = 5
update_period = "12h"
quality = "high" # or "low" format = "video" # or "video" playlist_sort = "asc" # or "desc", which will fetch playlist items from the end
filters = { min_duration = 600 }
clean = { keep_last = 20 }
max_height = 1080
Thank you!
I think it will do exactly opposite what you want - it will keep videos of the MINIMUM length of 600s..
I have the same problem and I hope there is a detailed document on how to filter the data.
it seems like min_duration is at least for youtube in ms and not s. So 10min would be 600000
FYI for anyone having this issue in the future where the filter is not working, you are likely using an old docker images. Make sure to download the NIGHTLY version (latest won't work!):
sudo docker pull ghcr.io/mxpv/podsync:nightly