|
myMPD
Internal API documentation
|
myMPD webradio favorites API More...


Go to the source code of this file.
Functions | |
| bool | mympd_api_webradio_favorite_save (struct t_webradios *webradio_favorites, struct t_webradio_data *webradio, sds old_name) |
| int | mympd_api_webradio_favorite_delete (struct t_webradios *webradio_favorites, struct t_list *names) |
myMPD webradio favorites API
| int mympd_api_webradio_favorite_delete | ( | struct t_webradios * | webradio_favorites, |
| struct t_list * | names | ||
| ) |
Deletes webradio favorites
| webradio_favorites | Webradio favorites struct |
| names | webradio ids to delete |
| bool mympd_api_webradio_favorite_save | ( | struct t_webradios * | webradio_favorites, |
| struct t_webradio_data * | webradio, | ||
| sds | old_name | ||
| ) |
Saves a webradio favorite. Removes the old_name and overwrites favorites with same name.
| webradio_favorites | Webradio favorites struct |
| webradio | webradio struct to save |
| old_name | old webradio name |