Ejemplo n.º 1
0
        internal static Track FromRow(RekordboxLibrary library, Internal.RowHeader row)
        {
            var internalTrack = row.ParseColumnData <Internal.Track>();

            return(new Track(row.ReadString(internalTrack.TrackName).ReadAsUtf8(),
                             internalTrack.ArtistId,
                             IOPath.Combine(IOPath.GetDirectoryName(library.Path), "../../",
                                            row.ReadString(internalTrack.DatFile).Slice(1).ReadAsUtf8())));
        }
Ejemplo n.º 2
0
        internal static Artist FromRow(RekordboxLibrary library, Internal.RowHeader row)
        {
            var internalArtist = row.ParseColumnData <Internal.Artist>();

            return(new Artist(internalArtist.ArtistId, row.ReadString(internalArtist.ArtistName).ReadAsUtf8()));
        }
Ejemplo n.º 3
0
 public RekordboxDevice(string path)
 {
     Path    = path;
     Library = new RekordboxLibrary(System.IO.Path.Combine(Path, RekordboxLibrary.DefaultRelativePath));
 }