Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f482a41c authored by Marco Nelissen's avatar Marco Nelissen
Browse files

When encountering a .nomedia file, notify the MediaScannerClient,

so that it can erase the data column for entries that are in the
folder containing the .nomedia file. This prevents us from
deleting (via a delete trigger) files when somebody adds a
.nomedia file after the fact.
parent bc327427
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ public:
    virtual bool scanFile(const char* path, long long lastModified, long long fileSize) = 0;
    virtual bool handleStringTag(const char* name, const char* value) = 0;
    virtual bool setMimeType(const char* mimeType) = 0;
    virtual bool addNoMediaFolder(const char* path) = 0;

protected:
    void convertValues(uint32_t encoding);