esmp3/include/playlist_manager.h

21 lines
446 B
C
Raw Normal View History

#pragma once
#include <vector>
#include <map>
#include <Arduino.h>
#include "playlist.h"
class PlaylistManager {
private:
Playlist get_playlist_for_tag_id(String id);
String current_rfid_tag_id;
uint32_t audio_current_time = 0;
public:
PlaylistManager();
std::map<String, String> map;
Playlist get_playlist(String rfid_id);
2022-08-21 09:37:42 +00:00
bool has_playlist(String rfid_id);
Playlist current_playlist;
void set_audio_current_time(uint32_t time);
};