Repository: xbmc/xbmc
File: xbmc/video/VideoDatabase.h (C/C++)

Code before:
                              const KODI::ART::Artwork& artwork,
                              const KODI::ART::SeasonsArtwork& seasonArt);
  int SetDetailsForSeason(const CVideoInfoTag& details,
                          const KODI::ART::Artwork& artwork,
                          int idShow,
                          int idSeason = -1);
  int SetDetailsForEpisode(CVideoInfoTag& details,
                           const KODI::ART::Artwork& artwork,
                           int idShow,
                           int idEpisode = -1);

  enum UpdateOrInsert : bool
  {
    INSERT,
    UPDATE
  };

  struct MediaFileInfo
  {
    std::string fileName;
    VideoDbContentType type{};
    int idFile{-1};
    int idOldFile{-1};
    int idMedia{-1}; // idMovie etc..
    int idPath{-1};
    CDateTime dateAdded{};
    int playcount{0};
    CDateTime lastPlayed{};
  };

  std::string FormatInsertOrUpdateFilesSql(const MediaFileInfo& fileInfo,
                                           UpdateOrInsert updateOrInsert) const;
  int SetFileForMedia(MediaFileInfo fileInfo);

  int SetDetailsForMusicVideo(CVideoInfoTag& details,
                              const KODI::ART::Artwork& artwork,
                              int idMVideo = -1);
  bool SetStreamDetailsForFile(const CStreamDetails& details,
                               const std::string& strFileNameAndPath);

  int AddMovieVersion(CFileItem& item, int idMovie, const KODI::ART::Artwork& art);

  /*!
   * \brief Clear any existing stream details and add the new provided details to a file.
   * \param[in] details New stream details
   * \param[in] idFile Identifier of the file
   * \return operation success. true for success, false for failure
   */
  bool SetStreamDetailsForFileId(const CStreamDetails& details, int idFile);

  struct PlaylistInfo

Review comment (suggestion):
Can you remove the `{}` from CDateTime? It's also a class with a constructor.

Code after:
                              const KODI::ART::Artwork& artwork,
                              const KODI::ART::SeasonsArtwork& seasonArt);
  int SetDetailsForSeason(const CVideoInfoTag& details,
                          const KODI::ART::Artwork& artwork,
                          int idShow,
                          int idSeason = -1);
  int SetDetailsForEpisode(CVideoInfoTag& details,
                           const KODI::ART::Artwork& artwork,
                           int idShow,
                           int idEpisode = -1);

  /*!
   * @brief The FileInfo structure represents a DB record of the files table.
   */
  struct FileRecord
  {
    int m_idFile{-1};
    int m_playCount{-1};
    CDateTime m_lastPlayed{};
    CDateTime m_dateAdded{};
  };

  int SetFileForMedia(const std::string& fileAndPath,
                      VideoDbContentType type,
                      int mediaId,
                      FileRecord oldFile);

  int SetDetailsForMusicVideo(CVideoInfoTag& details,
                              const KODI::ART::Artwork& artwork,
                              int idMVideo = -1);
  bool SetStreamDetailsForFile(const CStreamDetails& details,
                               const std::string& strFileNameAndPath);

  int AddMovieVersion(CFileItem& item, int idMovie, const KODI::ART::Artwork& art);

  /*!
   * \brief Clear any existing stream details and add the new provided details to a file.
   * \param[in] details New stream details
   * \param[in] idFile Identifier of the file
   * \return operation success. true for success, false for failure
   */
  bool SetStreamDetailsForFileId(const CStreamDetails& details, int idFile);

  struct PlaylistInfo
  {
    int playlist{-1};
    int idFile{-1};
    VideoDbContentType mediaType{-1};
    int idMedia{-1};
  };