|
myMPD
Internal API documentation
|
myMPD webradio favorites API More...
#include "compile_time.h"#include "src/mympd_api/webradio_favorites.h"#include "dist/rax/rax.h"#include "src/lib/log.h"#include <time.h>
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 |