test_file_info.go 759 B

12345678910111213141516171819202122232425
  1. package read
  2. import "github.com/felamaslen/gmus-backend/pkg/types"
  3. const TestDirectory = "pkg/read/testdata"
  4. var TestSong = types.Song{
  5. TrackNumber: 23,
  6. Title: "Impact Moderato",
  7. Artist: "Kevin MacLeod",
  8. Album: "YouTube Audio Library",
  9. Duration: 74,
  10. BasePath: TestDirectory,
  11. RelativePath: "file_example_OOG_1MG.ogg",
  12. }
  13. var TestSongNested = types.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. BasePath: TestDirectory,
  20. RelativePath: "nested/14 Clementi Piano Sonata in D major, Op 25 No 6 - Movement 2 Un poco andante.ogg",
  21. }