Commit 8dd59acc authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

IMedia: Document media types

parent e7739c4c
...@@ -41,9 +41,28 @@ class IMedia ...@@ -41,9 +41,28 @@ class IMedia
public: public:
enum class Type : uint8_t enum class Type : uint8_t
{ {
/**
* Unknown media type. Type is used to avoid 0 being a valid value
* Media that are discovered by the medialibrary will not be
* added to the collection when their type can't be determined
*/
Unknown, Unknown,
/**
* Video media
*/
Video, Video,
/**
* Audio media
*/
Audio, Audio,
/**
* External media, ie. media that were not discovered by the media
* library, but that were added manually by the user.
* These media are not analyzed, so their subtype, tracks, or other
* details are not known.
* They can, however, be used to store meta or be included in the
* playback history.
*/
External, External,
}; };
enum class SubType : uint8_t enum class SubType : uint8_t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment