Help - Search - Members - Calendar
Full Version: Bug report: file rename using %list_index%
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
rosshmusic
I guess this should be considered a bug...

When I rename files using the context menu in collums UI the %list_index% starts at "00" instead of "01"... Now I know that array index's really do start at "00" but the obvious choice is to have it start at "01" as it does in the converter...

anyone else notice this...? Can anyone reproduce it, it happens everytime I try to rename file using %list_index% in the "file operations > move, copy or rename files" section...

btw..
XP pro sp2
foobar 0.9.2 final
Yotsuya
$add(%list_index%,1)

and um, the %list_index% for the playlist under ColumnsUI actually starts at 1 instead of 0
rosshmusic
that may work on the output files... but the preview area still shows the index starting at "1"... so using the above fix causes the preview to show the first file to rename as "2" when it outputs it as "1" (when using the above workaround)... these two should be consistent... and as I noted above, it should be the same as the converter...

QUOTE(Yotsuya @ Jun 22 2006, 11:05) *

$add(%list_index%,1)

and um, the %list_index% for the playlist under ColumnsUI actually starts at 1 instead of 0

what I mean is...

1) I highlight all the tracks in a certain album...
2) right-click and choose "file operations > move, copy or rename files"
3) in the menu to choose output format the preview window shows the correct %list_index% value...
4) however, the output files get numbered starting from "00" as opposed to the previews "01"...
5) using your above work around the preview starts with "02" as the first track but outputs that track as "01"...

does this make it a little more clear as to where I'm running into the issue...?

It'd probably help if some tried my above method to see if it happens to them (for testing purposes you could just change it to "copy" the files instead of renaming your existing ones - it has the same behavior)

Peace
Ross
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.