Edzelf / ESP32-Radio

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

Enhancement Request: Button on Search Page #485

Open craiglindley opened 2 years ago

craiglindley commented 2 years ago

It would be really cool if there was a button on the Search page which would add the station you have selected and were listening to, to your presets. I know this can be done using cut and paste but a button would be really convenient.

EFWob commented 2 years ago

Coincidentally I have just coded this for my spinoff project (it was a wife request to be able to store a randomly selected station from the RDBS to recall it later).

I opted against adding to the presets though but added a second list of favorites (valid are fav_01 to fav_100) to the preference settings and there is a command interface to add ("favorite=+") or remove ("favorite=-") the current station from/to the favorite list at a free spot. A bit more defaults can be found here: https://github.com/EFWob/RetroRadio.

The project is PlatformIO only, however may be it helps you to add it to your version self.

I also added a dropdown list to select a favorite and an Add/Remove button to the main control page. Screenshot from 2021-11-27 17-59-11

craiglindley commented 2 years ago

Interesting that I am not the only one seeking this kind of feature. I'll look at your code and see if I can adapt it to what I want.

On Sat, Nov 27, 2021 at 10:11 AM EFWob @.***> wrote:

Coincidentally I have just coded this for my spinoff project (it was a wife request to be able to store a randomly selected station from the RDBS to recall it later).

I opted against adding to the presets though but added a second list of favorites (valid are fav_01 to fav_100) to the preference settings and there is a command interface to add ("favorite=+") or remove ("favorite=-") the current station from/to the favorite list at a free spot. A bit more defaults can be found here: https://github.com/EFWob/RetroRadio https://github.com/EFWob/RetroRadio#favorite-concept.

The project is PlatformIO only, however may be it helps you to add it to your version self.

I also added a dropdown list to select a favorite and an Add/Remove button to the main control page. [image: Screenshot from 2021-11-27 17-59-11] https://user-images.githubusercontent.com/53002012/143690506-53d61818-35cf-4438-a73a-4abcffc7a248.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Edzelf/ESP32-Radio/issues/485#issuecomment-980719017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH6K5DZSTIE2CWALT3IAQMLUOEGKPANCNFSM5IU426TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Craig Lindley / Heather Hubbard

New Recordings are here http://craigandheather.net/spellbound.html

Personal Website is here http://craigandheather.net

Please call the Rockrimmon house. Our cell phones don't work at home. Rockrimmon House: (719) 426-9873 Craig's Cell: (719) 502-7925 Heather's Cell: (719) 571-0944

If you’re one in a million, there are now more than seven thousand people exactly like you.