Comments (6)
You can look in the log file or the output lines of podsync to confirm the behavior of the filter.
For example, for me I have a feed with the following filter :
[feeds]
[feeds.SomeUserName]
url = "https://www.youtube.com/user/SomeUserName" # URL address of a channel, group, user, or playlist.
page_size = 25
update_period = "24h"
quality = "low"
format = "audio"
filters = { min_duration = 1800 }
clean = { keep_last = 100 } # Keep last X episodes (order desc by PubDate)
youtube_dl_args = ["--match-filter", "!is_live"]
And that's the log output :
$ cat /data/docker/podsync/podsync.log | grep "duration"
time="2023-03-21T19:52:33Z" level=info msg="skipping due to duration filter (1499s)" episode_id=XXXXX filter=min_duration
In this case, we can see that the episode got skipped because the duration of the episode is 1499 seconds, which is less than the value of 1800 configured in min_duration
from podsync.
You are using the filter in the wrong way.
When using max_duration
, it's only keeping the episodes that have a duration below the value provided.
In your case, you want to use min_duration
to only keep the episodes that have a duration greater than the value provided.
from podsync.
And also, 5 minutes = 300 seconds, not 360
from podsync.
I set filters = { min_duration = 300 } at first,but I only got audios less than 5 mins
from podsync.
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
from podsync.
Do we still need to use the nightly builds? Trying to figure out what I'm doing wrong with this feed:
[feeds]
[feeds.MYFEED] # Feed
url = "URL"
page_size = 3
update_period = "60m"
quality = "high"
max_height = 720
format = "video"
filters = { not_title = "watchalong", min_duration=1200 }
cover_art = "https://URL"
clean = { keep_last = 10 }
youtube_dl_args = ["--match-filter", "!is_live"]
from podsync.
Related Issues (20)
- how to pull the newest mxpv/podsync image? 请问怎么拉取最新的mxpv/podsync镜像? HOT 1
- How to download member only youtube videos?
- Episodes missing from the XML file HOT 1
- how to configure each video file's title & description & cover image?
- How to stop docker container/program when download has completed? HOT 1
- Not Found on Path
- it's impossible to download a video after live stream finished?
- put two playlists into one feed? HOT 2
- Feature request: bilibili download HOT 2
- Nebula support
- Cannot stream via Apple Podcasts HOT 1
- Why not use the Invidious API? Most instances have it public. And its Youtube API compatible. HOT 1
- How I can get regular and live videos?
- How to support links HOT 2
- Latest version not available on docker HOT 3
- Issues with youtube dl HOT 1
- Episode image are are off by 1
- Feature request: GUI for add a feed HOT 1
- Struggling to get working in docker and a bit lost now
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podsync.