Arduino DLNA Server
Loading...
Searching...
No Matches
MediaItem.h
Go to the documentation of this file.
1#pragma once
2
3namespace tiny_dlna {
4
6struct MediaItem {
7 const char* id = nullptr;
8 const char* parentID = "0";
9 bool restricted = true;
10 const char* title = nullptr;
11 const char* res = nullptr; // resource URL
12 const char* mimeType = nullptr;
13 // Additional optional metadata fields could be added here (duration,
14 // creator...)
15};
16
17} // namespace tiny_dlna
Definition: Allocator.h:6
Media item description used to build DIDL-Lite entries.
Definition: MediaItem.h:6
const char * parentID
Definition: MediaItem.h:8
const char * res
Definition: MediaItem.h:11
const char * mimeType
Definition: MediaItem.h:12
bool restricted
Definition: MediaItem.h:9
const char * title
Definition: MediaItem.h:10