advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
5.86k stars 408 forks source link

[Enhancement]: Filters for autodownloading episodes #1781

Open admlko opened 1 year ago

admlko commented 1 year ago

Describe the feature/enhancement

Some podcasts releases trailer and teaser episodes before the actual full episode. It would be nice to have an option to define filters to exclude episodes from autodownloading.

For example, when a podcast episode title contains [TEASER], skip autodownloading.

cocowash commented 1 year ago

@admlko currently I have the same issue, to solve this problem I use https://siftrss.com/ at the moment. I would love to see this enhancement implemented :)

undaunt commented 9 months ago

This would be an excellent enhancement, I think. I currently have one feed for a show that has 3 sub-shows, and a behind the scenes talkback. I separately get 1 of the shows, ad-free, from a paid feed, and would love to be able to exclude only that sub-show from the public feed downloads automatically.

JFPCreations commented 6 months ago

+1 Thank you

JFPCreations commented 6 months ago

Thank you for siftrss.com, it worked well, but I prefer to self-host everything, lol. I found this https://github.com/RSS-Bridge/rss-bridge and this work very well.

undaunt commented 6 months ago

@JFPCreations I stood up RSS-Bridge as per your suggestion, and I'm able to curl the feed from the command line within the abs docker, but whether I use the container + port or the FQDN within the podcast add page in abs, I'm getting a 404.

How are you generating it with the filter bridge, and which feed type do you use? I had created a filter feed and was using the Mrss format.

Thanks.

JFPCreations commented 6 months ago

@undaunt Hi, I'm not following the curl and command line part. I just install rss-bridge as a docker, use nginx for reverse proxy, as I do for all my other docker container, go to rss-bridge web page use the Filter section brave_PXDFhbZ2el Click generate feed, use the mrss as you did and paste the url in my audiobookshelf. If it is a new podcast the information are missing but if I just change the url with this one for a show I already have it's all good and it show only the filtered result.

undaunt commented 6 months ago

@JFPCreations When you're pasting the URL into audiobookshelf, I meant are you using the FQDN (domain.com/link) or are you using the local IP or container name of the rss-bridge container, like http://192.168. etc or http://rss-bridge:80, etc.

Also, I tested that my rss-bridge container could be seen by audiobookshelf by running the following:

docker exec -ti audiobookshelf bash -c 'curl http://rss-bridge:80/url' with the full URL to the mrss feed, and it loaded all of the episode info, but when I try to paste that same URL into Audiobookshelf, it gave me an error.

Thanks.

JFPCreations commented 6 months ago

@undaunt I use my reverse proxy domain. So https://rssbridge.domain.com/ Screenshot_20240124-040820~2 But it should work with the standard ip:port if you see it from audiobookshelf. I'll test later and let you know.

JFPCreations commented 6 months ago

@undaunt it does not work if I try with http://ip:port/url

undaunt commented 6 months ago

@JFPCreations I'm still having an issue, made a separate post https://github.com/advplyr/audiobookshelf/issues/2549