Counting subdirectories with re_getCount
Posted: Thu Mar 07, 2019 9:18 pm
Hello,
let me first say thanks for this great tool to the developper!!!
I really must say, it was a great help - a highly sopisticated one!!
I am stumbling on a particular 'problem', maybe someone has an idea or maybe this could be an additional function.
I'm tring to restructure a large library with a script, I built/adopted from #advanced.scu, including the basic structure
{!%*?A;AA;SR,1,1%+%?A;AA;SR%+(%Y%) %L%}.
I found out, that the use of re_getcount in a restructure script does count file fine, but ingore existing (sub-)directories.
In the #advanced.scu, albums with only one song/file are ignored in the structure, file are shifted to the next higher directory.
Same, if the artist has only one song in his directory.
But exactly here, (sub-)directories for albums are ignored.
Result:
/A/ABBA/(1985) the best of/name of the game.mp3
/A/ABBA/(1985) the best of/mama mia.mp3
/A/Abba - super trooper.mp3 (file has no ablum tag or it is the single file with particular album tag)
Here, when counting files in ABBA directory, the subdirectories are ignored.
Do you catch my point?
I can certainly submit my script for review.
May thanks for any comment.
Best regards
Marcus
let me first say thanks for this great tool to the developper!!!
I really must say, it was a great help - a highly sopisticated one!!
I am stumbling on a particular 'problem', maybe someone has an idea or maybe this could be an additional function.
I'm tring to restructure a large library with a script, I built/adopted from #advanced.scu, including the basic structure
{!%*?A;AA;SR,1,1%+%?A;AA;SR%+(%Y%) %L%}.
I found out, that the use of re_getcount in a restructure script does count file fine, but ingore existing (sub-)directories.
In the #advanced.scu, albums with only one song/file are ignored in the structure, file are shifted to the next higher directory.
Same, if the artist has only one song in his directory.
But exactly here, (sub-)directories for albums are ignored.
Result:
/A/ABBA/(1985) the best of/name of the game.mp3
/A/ABBA/(1985) the best of/mama mia.mp3
/A/Abba - super trooper.mp3 (file has no ablum tag or it is the single file with particular album tag)
Here, when counting files in ABBA directory, the subdirectories are ignored.
Do you catch my point?
I can certainly submit my script for review.
May thanks for any comment.
Best regards
Marcus