test_file_info.go 688 B

12345678910111213141516171819202122232425
  1. package read
  2. const TestDirectory = "pkg/read/testdata"
  3. var TestSong = Song{
  4. TrackNumber: 23,
  5. Title: "Impact Moderato",
  6. Artist: "Kevin MacLeod",
  7. Album: "YouTube Audio Library",
  8. Duration: 74,
  9. DurationOk: true,
  10. BasePath: TestDirectory,
  11. RelativePath: "file_example_OOG_1MG.ogg",
  12. }
  13. var TestSongNested = Song{
  14. TrackNumber: 14,
  15. Title: "Clementi: Piano Sonata in D major, Op 25 No 6 - Movement 2: Un poco andante",
  16. Artist: "Howard Shelley",
  17. Album: "Clementi: The Complete Piano Sonatas, Vol. 4",
  18. Duration: 166,
  19. DurationOk: true,
  20. BasePath: TestDirectory,
  21. RelativePath: "nested/14 Clementi Piano Sonata in D major, Op 25 No 6 - Movement 2 Un poco andante.ogg",
  22. }