izderadicka / audioserve

Simple personal server to serve audiofiles files from folders. Intended primarily for audio books, but anything with decent folder structure will do.
723 stars 36 forks source link

RSS / atom feed support #382

Open hugo-akaora opened 3 weeks ago

hugo-akaora commented 3 weeks ago

Hello,

Would be great to be able to turn a folder of media files into a RSS / atom feed for syncing with an app (e.g: AntennaPod on Android).

In rust's world, I found https://github.com/passy/podserve

Thank you for audioserve :)

izderadicka commented 3 weeks ago

Check rss branch - there is initial version of RSS support (also audioserve-web has rss branch - it adds icon with RSS link). RSS link is very similar to folder link - http:////feed/path/to/folder (so it's feed instead of folder). Audioserve must be run with --url-base argument - as server does not know published URL and absolute URLs are needed for RSS. Also to consume RSS in exterternal apps audioserve should run without authentication - e.g. --no-authentication argument. Also as cache structure has changed run audioserve with --force-cache-update - at least one time.

Feedback is welcomed, as I'll not use this functionality myself much.

hugo-akaora commented 2 weeks ago

Hello, thank you, that looks great! I'll dedicate time next week to try it (I'm not familiar yet with building audioserve nor audioserve-web).

Not using authentification is not a trouble for me at all, as my audioserve instance will not be available on Internet. Actually it's better for me that way :)