đž Archived View for bbs.geminispace.org âē s âē Lagrange âē 20932 captured on 2024-12-17 at 15:11:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
hello!
i made a script which generates rss feed for my dj sets. it also generates gemini page with links to mp3 files.
however lagrange does not play those files. but it plays kwiecien.us files. maybe because those are .ogg? is that because of .mp3 format i chose for reencoding? or any mp3 is not supported by lagrange?
i was able to get the mp3 filese with gemget.
Oct 16 ¡ 2 months ago
đ clseibold ¡ Oct 16 at 23:58:
Afaik, mp3 should play in lagrange on desktop.
đšī¸ skyjake [mod...] ¡ Oct 17 at 02:57:
Check the mime types returned by your server. Looks like it's claiming these are "application/octet-stream", which will not open the inline audio player. It should be "audio/mpeg".
If I open your links in a new tab and manually view as "audio/mpeg", it will play the audio.
Lagrange will play MP3 files if the build includes the optional library mpg123. The prebuilt binaries I provide are using it. On some platforms like iOS, the app uses hardware MP3 decoding.
đ norayr [OP] ¡ Oct 18 at 11:06:
indeed, in gmid i had to add:
types { audio/mpeg mp3; }
at the end of my config file
đ norayr [OP] ¡ Oct 21 at 07:46:
i can play with desktop appimage, and with my maemo-leste mobile linux distribution packaged version. however people with android and ios say they cannot playback. can someone check?
đšī¸ skyjake [mod...] ¡ Oct 21 at 07:56:
It does work on iOS at least, however you need to wait a long time until the whole file has been buffered. The UI has no indication that it's doing anything while buffering...
IIRC, the iOS MP3 player does not support streaming mode. The Android one is probably the same. This is because the data is passed to the native playback API only after the Gemini request has finished receiving all the data.
đ norayr [OP] ¡ Oct 22 at 23:47:
what if i use ogg, will it be streamed?
đšī¸ skyjake [mod...] ¡ Oct 23 at 03:49:
Generally, Ogg audio is streamed in the inline player. However, I remember having some audio issues on Android with the non-native SDL playback. Haven't tested myself in a while...
đ norayr [OP] ¡ Oct 23 at 11:22:
thank you, i may try to convert everything to ogg then for gemini capsule.