Cassette Player - HTML5 audio stream player
CPlayer Extension
This is a companion app: I was always looking for a good multi-platform (Linux/ChromeOS/Android in my case) stream player that can play my MPD audio stream managed through Audioloader.
I recently stumbled across an old project and after a bit of tweaking this little HTML5 based music player seems to be perfectly capable to do the job.
The result of this tweaking is this little extension.
You might think how weird it is to display a cassette during listening to an audio stream, there should be rather a radio displayed. As a matter of fact, this is not really a valid concern in my case: Audioloader is designed to play albums, which were kept on cassettes in my case. (I still have around a hundred of them in the basement.)
The various parts of the code are released under various licences, I kept those. All my modifications (ie. changes after the initial seed) are released under GPLv3.
The whole app speaks for itself, there is no need to further explanation, happy listening!
TODOs/Known issues:
HTML audio element is not the best for radio streams, anomalies/slow response can be expected once playback is stopped and restarted. Reload the app if it became unresponsive–––actually as of my experience the simplest is to close and open again–––any hints are welcome, I tried to debug/optimize quite much, no real success.
Read more
I recently stumbled across an old project and after a bit of tweaking this little HTML5 based music player seems to be perfectly capable to do the job.
The result of this tweaking is this little extension.
You might think how weird it is to display a cassette during listening to an audio stream, there should be rather a radio displayed. As a matter of fact, this is not really a valid concern in my case: Audioloader is designed to play albums, which were kept on cassettes in my case. (I still have around a hundred of them in the basement.)
The various parts of the code are released under various licences, I kept those. All my modifications (ie. changes after the initial seed) are released under GPLv3.
The whole app speaks for itself, there is no need to further explanation, happy listening!
TODOs/Known issues:
HTML audio element is not the best for radio streams, anomalies/slow response can be expected once playback is stopped and restarted. Reload the app if it became unresponsive–––actually as of my experience the simplest is to close and open again–––any hints are welcome, I tried to debug/optimize quite much, no real success.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "version": "1.0", "name": "CPlayer", "description": "Cassette Player - HTML5 audio stream player", "icons": { "16": "images/name-16.png", "48": "images/name-48.png", "128": "images/name-128.png" }, "permissions": ["storage"], "action": { "default_icon": { "48": "images/name-48.png" }, "default_title": "CPlayer", "default_popup": "popup.html" }, "offline_enabled": true, "options_page": "index.html", "web_accessible_resources": [{ "resources": ["*.html","*.json","*.js","js/*", "images/*", "css/*", "sounds/*"], "matches": ["http://*/*","https://*/*"], "extension_ids": [] }]}
Read more