Board.KolibriOS.org

Official KolibriOS board
It is currently Thu May 28, 2020 12:04 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri May 22, 2020 7:02 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1267
Proof of concept MP3 over HTTP receiver/player

Requires night build #7969 or newer.
Requires minimp3.obj from here

TODO:
- Bugfixes, sanity checks,..
- User selectable source (hardcoded to flemish radio for now :) )
- User interface (GUI)
- WAV, OGG, FLAC, .. support?
- Play files from disk and other sources (some code already prepared)
- Playlists?
- ...


Attachments:
player.7z [5.54 KiB]
Downloaded 5 times

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Top
   
PostPosted: Sat May 23, 2020 12:57 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5274
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.

_________________
Звиздеть не мешки ворочать


Top
   
PostPosted: Sun May 24, 2020 3:37 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1267
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)

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited