+sub load_tracks($) {
+ my ($seq) = @_;
+
+ my $start = $add_start // $seq;
+ my $end = $seq+1;
+
+ my $add_position = $end_position;
+ MPD::exec("load", $ARGV[0], "$start:$end");
+ $end_position += $end - $start;
+ MPD::exec("move", "$add_position:$end_position", "$start")
+ if ($add_position != $start);
+
+ undef $add_start;
+}
+