66 lines
1.1 KiB
C
66 lines
1.1 KiB
C
#pragma once
|
|
#include "../plist/types.h"
|
|
#include "../../General/gen_ml/ml.h"
|
|
|
|
// header for local filenames
|
|
#define ITUNES_FILENAME_HEADER L"file://localhost/"
|
|
|
|
enum
|
|
{
|
|
IT_TRACKID=0,
|
|
IT_NAME,
|
|
IT_ARTIST,
|
|
IT_ALBUMARTIST,
|
|
IT_ALBUM,
|
|
IT_GENRE,
|
|
IT_COMMENTS,
|
|
IT_KIND,
|
|
IT_SIZE,
|
|
IT_TOTALTIME,
|
|
IT_TRACKNUM,
|
|
IT_TRACKCOUNT,
|
|
IT_YEAR,
|
|
IT_DATEMODIFIED,
|
|
IT_DATEADDED,
|
|
IT_BITRATE,
|
|
IT_RATING,
|
|
IT_SAMPLERATE,
|
|
IT_LOCATION,
|
|
IT_FOLDERCOUNT,
|
|
IT_LIBFOLDERCOUNT,
|
|
IT_PLAYCOUNT,
|
|
IT_PLAYDATE,
|
|
IT_PLAYDATE_UTC,
|
|
IT_COMPOSER,
|
|
IT_PUBLISHER,
|
|
IT_DISCNUMBER,
|
|
IT_DISCCOUNT,
|
|
IT_BPM,
|
|
IT_HAS_VIDEO,
|
|
IT_GROUPING,
|
|
IT_PRODUCER,
|
|
IT_DIRECTOR,
|
|
IT_ARTWORK_COUNT,
|
|
IT_PERSISTENT_ID,
|
|
IT_TRACK_TYPE,
|
|
IT_HD,
|
|
IT_VIDEO_WIDTH,
|
|
IT_VIDEO_HEIGHT,
|
|
IT_MOVIE,
|
|
IT_RELEASE_DATE,
|
|
IT_NORMALIZATION,
|
|
IT_SORTNAME,
|
|
IT_PURCHASED,
|
|
IT_ITUNESU,
|
|
IT_SKIPCOUNT,
|
|
IT_SKIPDATE,
|
|
IT_SORTALBUM,
|
|
IT_SORTCOMPOSER,
|
|
IT_PART_OF_GAPLESS_ALBUM,
|
|
IT_COMPILATION,
|
|
IT_SORT_ALBUM_ARTIST,
|
|
IT_SORT_ARTIST,
|
|
};
|
|
void Importer_AddKeyToItemRecord(const plistKey *prop, itemRecordW &ir);
|
|
int ImportPlaylists(HWND parent, const wchar_t *library_file);
|
|
void setDialogIcon(HWND hwndDlg); |