headphones icon indicating copy to clipboard operation
headphones copied to clipboard

Discnumber in directory

Open petwri opened this issue 10 years ago • 8 comments

Hi!

I have set the renamer settings to

Folder: $Artist/$Album/$Disc/ Filename: $Disc-$Track $Title

The $Disc variable however is only replaced in the filename string, not the folder string. Is this an intended behaviour or a bug? Would be nice to create directories based on the disc-#.

Thanks!

petwri avatar Jun 03 '14 10:06 petwri

I briefly went threw the code, headphones does not support disc-separated folders for one album. Will this be a future feature? Might be really interested!

petwri avatar Jun 04 '14 20:06 petwri

I looked at this, seems to me it needs a little bit of work to first build the appropriate number of disc sub folders and then some more work to properly place the tracks (and extra files) into the right sub folder.

Begall avatar Jun 04 '14 20:06 Begall

That's what i thought, and it would take me forever to go through the whole structure of the postprocessor, I'm not familiar with the code of headphones at all.

petwri avatar Jun 04 '14 20:06 petwri

+1

piejanssens avatar Aug 06 '14 19:08 piejanssens

I had the problem too. In fact I looked postprocessor.py. It would take a bit of time but it would be doable. Right now, renameFiles and moveFiles act as separate entities. The first rename the files and the second moves them.

Would be better to merge the two codes. One should create the full folder+file name and substitute variables for each file (taking into account the fact that maybe rename files or move files is not enabled). This would generate a map in where each source file has a destionation subfolder+filename. Then, movefiles should take care where to place this files if in lossy or not lossy subfolder copying one by one.

etomm avatar Oct 28 '14 17:10 etomm

I'd like this feature.

xombiemp avatar Oct 04 '15 23:10 xombiemp

Wish the $Artist/$Year $Album{/CD $Disc} folder naming will work too.

krin-san avatar Sep 25 '17 19:09 krin-san

any progress on this feature?

lavaguy1 avatar Aug 17 '19 20:08 lavaguy1