+ if (defined $id and defined $add_start) {
+ my $add_position = $end_position;
+
+ MPD::exec("load", $ARGV[0], "$add_start:$i");
+ $end_position += $i - $add_start;
+ MPD::exec("move", "$add_position:$end_position", "$add_start");
+
+ undef $add_start;
+ }
+