Skip to content

Be able to get list of MediaFileInfo and MediaDirectoryInfo instead of path #135

@preuss

Description

@preuss

Today you have two functions for files and directries:
MediaDevice mediaDevice;

mediaDevice.EnumerateDirectories(string path)
mediaDevice.GetDirectories(path);

mediaDevice.EnumerateFiles(string path)
mediaDevice.GetFiles(path);

These returns IEnumerable strings of path in device.
But if you need to get all the info from each file, we could just return the data right away.
I would suggest two new functions for each type, that returns list of MediaFileInfo and MediaDirectoryInfo. The same as EnuerateDirectoryInfos and GetDirectoryInfos, EnumerateFileInfos and GetFileInfos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions