Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
988 stars 229 forks source link

some ideas/wishes in case a station is an m3u file of mp3 #156

Open tobiasfaust opened 6 years ago

tobiasfaust commented 6 years ago

first, big thanks for that module! Its works with first try of compiling

Its possible to add some ideas/wishes in case a station is an m3u file of mp3 ?

nice-to-have:

Example of an m3u: http://192.168.10.10:82/tracklist.m3u http://192.168.10.20/manage/shares/Music/TRACK10.MP3 http://192.168.10.20/manage/shares/Music/TRACK09.MP3 http://192.168.10.20/manage/shares/Music/TRACK08.MP3

Because and what i want? I have some Sonos and MPD Player and visualized via an Frontend, (FHEM -> Tablet-UI) The playlist will be compiled from my big NAS Music Store via same frontend too, see screenshot. I want the same for ESP32Radio :) and integrate this with full functionality

tablet-ui

What now works perfect:

tobiasfaust commented 6 years ago

at least the essential of sharing the default playing position i have been integrated. It would be nice if this changes can be integrate in master branch

339: int playlistpos = 0;

515: enum { MQTT_IP, MQTT_ICYNAME, MQTT_STREAMTITLE, MQTT_NOWPLAYING, MQTT_PRESET, MQTT_VOLUME, MQTT_PLAYING ,MQTT_PLAYLISTPOS } ;

541: { "playlist/pos", MQINT8, &playlistpos, false }, // Definition for MQTT_PLAYLISTPOS

4503: playlistpos=playlist_num; mqttpub.trigger ( MQTT_PLAYLISTPOS ) ;

Edzelf commented 6 years ago

I will do that in the next release.

tobiasfaust commented 6 years ago

Hi Ed, many thanks :) Its possible to add the other features described above too?

Edzelf commented 6 years ago

Yes, of course. You may add anything you like.