Live data from Hacker News

Audioserve: Simple personal server to serve audio files from directories

github.com

11–20 of 22 posts

Re: Audioserve: Simple personal server to serve audio files from directories

#11
Demo doesn't work for me on my Mac (I'm using Safari).

Jane Austen: "Player error: MEDIA_ERR_DECODE : Media failed to decode" Chesterton: No error, but silence when playing, and skips to next file. Perhaps server overload? Dumas: "Player error: MEDIA_ERR_SRC_NOT_SUPPORTED : Unsupported source type"

Re: Audioserve: Simple personal server to serve audio files from directories

#12
post #6

If you need something even more simple, a no-configuration audio streaming server is here: github.com/fgergo/boringstreamer I wrote boringstreamer to listen to my collection. I start one or more instances on different ports in different directories and connect to different ports similar to fm radio frequencies. (With tailscale I can listen from anywhere without any explicit access control.)

I like it! Clickable link: https://github.com/fgergo/boringstreamer

Re: Audioserve: Simple personal server to serve audio files from directories

#15
post #11

Demo doesn't work for me on my Mac (I'm using Safari). Jane Austen: "Player error: MEDIA_ERR_DECODE : Media failed to decode" Chesterton: No error, but silence when playing, and skips to next file. Perhaps server overload? Dumas: "Player error: MEDIA_ERR_SRC_NOT_SUPPORTED : Unsupported source type"

Apple platforms has by default problem with Auddioserve - my choice of default audio codec is opus (in ogg container) and Apple support of opus is not very good, to put it mildly (I think one can make Safari on MacOS to support opus, but no chance on iPhone/iPad AFAIK). So for Apple you'll need to change the default configuration. First thing to try is to put transcoding to None on client. Thus formats supported by Apple like mp3 will work. Next task is to change transcoding on serve and use aac instead of opus. Recently I added possibility to choose transcoding based on User-Agent string (regex match).

I'll add some chapter to README about this.

Re: Audioserve: Simple personal server to serve audio files from directories

#16
post #8

I like this. Might be a good contender for audiobookshelf. I like the simple design, I like the low level language. Only downside is low number of contributors but I've looked at the author and they look like a real decent person. They have a history of contributing to open source, which is a good sign.

Thanks for nice words, though I do suffer from above average affinity to beer (and Rust) I consider myself decent person.

As I'm using audioserve myself, I try to evolve it continuosly, however my view of good simple audiobooks streaming server might be quite optioned (prefer textual information to covers, strong preference of opus codec, etc.), but do not hesitate to share your experiences and ideas via issues on project.

Re: Audioserve: Simple personal server to serve audio files from directories

#17

nice, would it be possible to stream to clementine from it?

No unless somebody will make plugin for it - audioserve has it own API. I though about implementing Subsonic API, but it's design is much different from how audioserve works, so it'll require too much "interface code", so I doubt I'll get to it.

Re: Audioserve: Simple personal server to serve audio files from directories

#18

Sounds awesome! The missing piece for me is an Alexa skill so I can stream my MP3 audio books to Alexa :)

Looks like Amazon is retiring Alexa? Audioserve has generic web client - but not sure if it works on Alexa. If there are problems try with transcoding set to None.

Re: Audioserve: Simple personal server to serve audio files from directories

#19
post #9

This is really cool. Simple media servers are I think are where it's at. I know lots of people like applications to handle managing their media (a la iTunes) but I really prefer this type of organization method myself...it let me be a lot sloppier with the media metadata while still being able to find stuff in large collections. Being entirely selfish, I do wish audio servers would focus a bit more on what kind of au…

Adding not so common audio formats to audioserve will not be so different. We'll just need to add mime types (and extensions), that are recognized as audio. Also we will need to enforce mandatory transcoding for such formats.

Anything, which is supported by ffmpeg can be considered.

Re: Audioserve: Simple personal server to serve audio files from directories

#20
post #8

I like this. Might be a good contender for audiobookshelf. I like the simple design, I like the low level language. Only downside is low number of contributors but I've looked at the author and they look like a real decent person. They have a history of contributing to open source, which is a good sign.

Concerning audiobookshelf, I see it other way around, because I think audiobookshelf came after - so it's contender to audioserve. But it is definitely nice app. I tried and did like some things (especially turning books into HLS streams), however I ran into couple of issues, when trying:

- audiobookshelf requires some rules for directory structure (which caused that some subfolders from my collections were not loaded), audioserve serves any directory structure

- bigger collections - for collections with 10k audiobooks audiobookshelf was just too slow it went on for couple of hours loading before I kill it. Audioserve is able to handle within collections scan in tens of minutes.

Post reply on HN