Package model

Examples of model.TrackDto


    String artist = tag.getFirst(FieldKey.ARTIST);
    String album = tag.getFirst(FieldKey.ALBUM);
    String title = tag.getFirst(FieldKey.TITLE);
    String nr = tag.getFirst(FieldKey.TRACK);
    String genre = tag.getFirst(FieldKey.GENRE);
    track = new TrackDto(nr, artist, album, title, genre, 0, t.getPath());
    return track;
  }
View Full Code Here


//              System.out.println("Album: "+album);
//              System.out.println("Title: "+title);
//              System.out.println("Genre: "+genre);
//              System.out.println("Length: "+af.getAudioHeader().getTrackLength());
              try {
                queue.put(new TrackDto(track, artist, album, title, genre, af.getAudioHeader().getTrackLength(), path));
              } catch (InterruptedException e) {
                e.printStackTrace();
              }
            }
          }
View Full Code Here

TOP

Related Classes of model.TrackDto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.