SongUpdate: move code to handle_lsinfo()
Don't create a temporary Song object in handle_lsinfo(). Instead, print all tags while parsing the remote file.
This commit is contained in:
@@ -20,11 +20,18 @@
|
||||
#ifndef MPD_TAG_PRINT_HXX
|
||||
#define MPD_TAG_PRINT_HXX
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
enum TagType : uint8_t;
|
||||
|
||||
struct Tag;
|
||||
class Client;
|
||||
|
||||
void tag_print_types(Client &client);
|
||||
|
||||
void
|
||||
tag_print(Client &client, TagType type, const char *value);
|
||||
|
||||
void
|
||||
tag_print(Client &client, const Tag &tag);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user