library: Put a space between track length and title
If a title began with a number then the number would be read as part of the length, adding extra time. So a track with length "100" and title "42 abcde" would be read back as having length "10042" and title "abcde" Signed-off-by: Anna Schumaker <anna@ocarinaproject.net>
This commit is contained in:
parent
163d823c19
commit
d28b3300f5
|
@ -244,7 +244,7 @@ void library :: Track :: write(File &f)
|
||||||
{
|
{
|
||||||
f << library_id << " " << artist_id << " " << album_id << " " << genre_id;
|
f << library_id << " " << artist_id << " " << album_id << " " << genre_id;
|
||||||
f << " " << track << " " << last_year << " " << last_month << " " << last_day;
|
f << " " << track << " " << last_year << " " << last_month << " " << last_day;
|
||||||
f << " " << play_count << " " << length; // << std :: endl;
|
f << " " << play_count << " " << length << " "; // << std :: endl;
|
||||||
f << title << std :: endl;
|
f << title << std :: endl;
|
||||||
f << filepath;
|
f << filepath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user