importer.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #pragma once
  2. #include "../plist/types.h"
  3. #include "../../General/gen_ml/ml.h"
  4. // header for local filenames
  5. #define ITUNES_FILENAME_HEADER L"file://localhost/"
  6. enum
  7. {
  8. IT_TRACKID=0,
  9. IT_NAME,
  10. IT_ARTIST,
  11. IT_ALBUMARTIST,
  12. IT_ALBUM,
  13. IT_GENRE,
  14. IT_COMMENTS,
  15. IT_KIND,
  16. IT_SIZE,
  17. IT_TOTALTIME,
  18. IT_TRACKNUM,
  19. IT_TRACKCOUNT,
  20. IT_YEAR,
  21. IT_DATEMODIFIED,
  22. IT_DATEADDED,
  23. IT_BITRATE,
  24. IT_RATING,
  25. IT_SAMPLERATE,
  26. IT_LOCATION,
  27. IT_FOLDERCOUNT,
  28. IT_LIBFOLDERCOUNT,
  29. IT_PLAYCOUNT,
  30. IT_PLAYDATE,
  31. IT_PLAYDATE_UTC,
  32. IT_COMPOSER,
  33. IT_PUBLISHER,
  34. IT_DISCNUMBER,
  35. IT_DISCCOUNT,
  36. IT_BPM,
  37. IT_HAS_VIDEO,
  38. IT_GROUPING,
  39. IT_PRODUCER,
  40. IT_DIRECTOR,
  41. IT_ARTWORK_COUNT,
  42. IT_PERSISTENT_ID,
  43. IT_TRACK_TYPE,
  44. IT_HD,
  45. IT_VIDEO_WIDTH,
  46. IT_VIDEO_HEIGHT,
  47. IT_MOVIE,
  48. IT_RELEASE_DATE,
  49. IT_NORMALIZATION,
  50. IT_SORTNAME,
  51. IT_PURCHASED,
  52. IT_ITUNESU,
  53. IT_SKIPCOUNT,
  54. IT_SKIPDATE,
  55. IT_SORTALBUM,
  56. IT_SORTCOMPOSER,
  57. IT_PART_OF_GAPLESS_ALBUM,
  58. IT_COMPILATION,
  59. IT_SORT_ALBUM_ARTIST,
  60. IT_SORT_ARTIST,
  61. };
  62. void Importer_AddKeyToItemRecord(const plistKey *prop, itemRecordW &ir);
  63. int ImportPlaylists(HWND parent, const wchar_t *library_file);
  64. void setDialogIcon(HWND hwndDlg);