mmsync_ms_update_data_t

Data for MMSYNC_EVENT_MS_UPDATE event

Synopsis:

#include <mmsync/event.h>
typedef struct s_mmsync_ms_update_data {
    uint64_t added_filecount;
    uint64_t added_foldercount;
    uint32_t operation_id;
    uint32_t flags;
    uint64_t timestamp;
    uint64_t playlist_count;
    uint64_t pass_added_filecount;
    uint64_t pass_added_foldercount;
    uint64_t pass_playlist_count;
    uint64_t playlist_item_count;
} mmsync_ms_update_data_t;

Data:

uint64_t added_filecount
The number of files that had information added to the database.
uint64_t added_foldercount
The number of folders that had information added to the database.
uint32_t operation_id
The synchronization operation ID.
uint32_t flags
The synchronization pass (one of the MMSYNC_SYNC_OPTION_PASS_* flags).
uint64_t timestamp
The timestamp value assigned to the last_sync fields of all updated database entries.
uint64_t playlist_count
The number of playlists added/updated in this pass (applicable for the files and playlist pass; otherwise 0).
uint64_t pass_added_filecount
The total number of files added/updated in this pass (accumulative).
uint64_t pass_added_foldercount
The total number of folders added/updated in this pass (accumulative).
uint64_t pass_playlist_count
The total number of playlists added/updated in this pass (accumulative).
uint64_t playlist_item_count
The number of playlist items added/updated in this pass (applicable for the playlist pass; otherwise 0).

Library:

mmsyncclient