From dddfa33f682764532fa0aa61e2787dd1d98e4736 Mon Sep 17 00:00:00 2001 From: badetitou Date: Thu, 13 Jun 2019 19:22:45 +0200 Subject: [PATCH] tracks are number --- src/EMM-Importer/EMMLibraryImporter.class.st | 2 +- src/EMM-WebApplication/EMMListModule.class.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EMM-Importer/EMMLibraryImporter.class.st b/src/EMM-Importer/EMMLibraryImporter.class.st index cf3ad8b..0eef023 100644 --- a/src/EMM-Importer/EMMLibraryImporter.class.st +++ b/src/EMM-Importer/EMMLibraryImporter.class.st @@ -27,7 +27,7 @@ EMMLibraryImporter >> createSongFromFile: file [ folder addSong: song. song folder: folder. song title: id3parser id3v2Tag title. - song track: id3parser id3v2Tag track. + song track: id3parser id3v2Tag track asInteger. [ song length: id3parser id3v2Tag length ] on: FrameNotFoundError do: [ song length: self notDefineTextValue ]. diff --git a/src/EMM-WebApplication/EMMListModule.class.st b/src/EMM-WebApplication/EMMListModule.class.st index 3cd7f29..adfb32b 100644 --- a/src/EMM-WebApplication/EMMListModule.class.st +++ b/src/EMM-WebApplication/EMMListModule.class.st @@ -51,7 +51,7 @@ EMMListModule >> renderContentOn: html [ html tableRow: [ html mdlTableCell - with: song track. + with: song track asString. html mdlTableCell nonNumerical; with: song title.