podsync icon indicating copy to clipboard operation
podsync copied to clipboard

"min_duration" filter not working

Open 1uqtpfcn6hh8 opened this issue 2 years ago • 2 comments

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!

1uqtpfcn6hh8 avatar Mar 27 '23 12:03 1uqtpfcn6hh8

same issue, did you find a fix?

mmcmd avatar Oct 23 '23 01:10 mmcmd

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

mmcmd avatar Oct 23 '23 02:10 mmcmd

Duplicates https://github.com/mxpv/podsync/issues/509

mxpv avatar Apr 01 '24 01:04 mxpv