foo-webview-sdk
    Preparing search index...

    Interface MetadbChangedTrackItem

    One changed track in metadb:changed.

    interface MetadbChangedTrackItem {
        artist?: string;
        handle: string;
        path: string;
        playCount?: number;
        rating?: number;
        subsong: number;
        title?: string;
    }
    Index
    artist?: string

    All ARTIST values joined with , , when the file has any.

    handle: string

    The track's key, built the way a track row's handle is: the native path (foobar2000's own path for a location that has none), with |subsong:N when subsong is not 0. It equals the handle of the same track in rows from library.query, playlist.getTracks and the like.

    path: string

    The file path in native form, or foobar2000's own path for a location that has none, such as a stream. It carries no subsong, so every track of a cue sheet or a multi-track file has the same path; handle tells them apart.

    playCount?: number

    The file's PLAY_COUNT tag, when it has one; not the playback statistics.

    rating?: number

    Rating 0 to 5, 0 for unrated, read the same way as rating.get. When foobar2000 holds no information for the track, only the playback statistics are read, and the key is absent unless they carry a rating.

    subsong: number

    Subsong identifier inside the file, as a track row's subsong; 0 for a whole file.

    title?: string

    The first TITLE value, when the file has one.