Board.KolibriOS.org
https://board.kolibrios.org/

Internet radio (proof of concept)
https://board.kolibrios.org/viewtopic.php?f=38&t=4242
Page 1 of 1

Author:  hidnplayr [ Fri May 22, 2020 7:02 pm ]
Post subject:  Internet radio (proof of concept)

Proof of concept MP3/OGG/FLAC/AAC/.. over HTTP player.

Requires night build #8024 or newer.
Requires minimp3.obj (13kb), stb_vorbis.obj (21kb), dr_flac.obj (22kb) and uaac.obj (72kb)

TODO:
- Bugfixes, sanity checks, improved buffering..
- WAV, OGG Vorbis, (OGG/Native) FLAC, (MP4) AAC(-HC), OGG Opus.. support
- Automatic content type detection from file/stream
- Play files from disk
- Playlists (PLS/M3U/M3U8)
- MPD protocol support
- ...

EDIT: updated TODO list, updated attachment

Attachments:
File comment: Source code and binary for proof of concept player with MP3,OGG,FLAC and AAC support. Decoder libraries not included.
player.7z [13.34 KiB]
Downloaded 33 times

Author:  Leency [ Sat May 23, 2020 12:57 am ]
Post subject:  Re: Internet radio (proof of concept)

1. Listeting for a Radio 20 min in Qemu => OK.

2. I think it would be nice to use: player <radio_url>
If <radio_url> is not set then use default one.

3. Probably a simple GUI like /sys/network/downloader could be the case for this player.

4. I will add a Radio support into a Pixie.
Logic is the next: have a new type of file:
icecast.vrtcdn.be.netradio
last.fm.netradio
Each file contains just an URL.
Pixie with show a list of files in folder so user could switch between them.

Author:  hidnplayr [ Sun May 24, 2020 3:37 pm ]
Post subject:  Re: Internet radio (proof of concept)

Leency wrote:
4. I will add a Radio support into a Pixie.
Logic is the next: have a new type of file:
icecast.vrtcdn.be.netradio
last.fm.netradio
Each file contains just an URL.
Pixie with show a list of files in folder so user could switch between them.


Since I prefer not to spend too much time to create the UI, I think it's a good idea to separate the player back end from the user interface.
My proposal however would be to use an already established protocol, which has many advantages.
(Player can be controlled from other PC, app on phone, ... Or KolibriOS if someone writes/ports MPD client)

https://en.wikipedia.org/wiki/Music_Player_Daemon
(protocol is quite simple, see reference: https://www.musicpd.org/doc/html/protocol.html)

Author:  hidnplayr [ Sun May 31, 2020 12:41 pm ]
Post subject:  Re: Internet radio (proof of concept)

Now with OGG vorbis!

Author:  hidnplayr [ Sun May 31, 2020 12:51 pm ]
Post subject:  Re: Internet radio (proof of concept)

Leency wrote:
4. I will add a Radio support into a Pixie.
Logic is the next: have a new type of file:
icecast.vrtcdn.be.netradio
last.fm.netradio
Each file contains just an URL.
Pixie with show a list of files in folder so user could switch between them.


No need for a new type of file, you can give such file M3U extension!
https://web.archive.org/web/20110716014 ... st_m3u.asp

It is the way many webradios work, they link to a .m3u file containing the actual URL of the radio.

Author:  hidnplayr [ Sat Jun 06, 2020 12:43 am ]
Post subject:  Re: Internet radio (proof of concept)

Added support for (OGG)FLAC and (MP4)AAC radio!

:!: Unfortunately, AAC has some licensing blabla which currently prevents me from releasing the binaries for it..

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/