Skip to content

Commit

Permalink
Update Player.cpp
Browse files Browse the repository at this point in the history
Thats not the filename but the filename + path, so file only is better.
  • Loading branch information
damfle committed May 10, 2015
1 parent 50a9348 commit 60ecb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/utils/player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void Player::progress_command( string parameters, StreamOutput *stream )
unsigned int pcnt = (file_size - (file_size - played_cnt)) * 100 / file_size;
// If -b or -B is passed, report in the format used by Marlin and the others.
if (!sdprinting) {
stream->printf("filename: %s, %u %% complete, elapsed time: %lu s", this->filename.c_str(), pcnt, this->elapsed_secs);
stream->printf("file: %s, %u %% complete, elapsed time: %lu s", this->filename.c_str(), pcnt, this->elapsed_secs);
if(est > 0) {
stream->printf(", est time: %lu s", est);
}
Expand Down

0 comments on commit 60ecb88

Please sign in to comment.