-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
post processing $Disc #3297
Comments
Yeah I think it's expected behavior I guess since the disc number is 1.... But I think your're right. Are you on the develop branch? I added that option under Advanced -> Renaming Options |
If you can test it out it would be very helpful |
thanks,soon as it started rename.. 2022-02-18 04:54:28 | ERROR | Uncaught exception: Traceback (most recent call last):File "/raiddata/0/module/Headphones/bin/headphones/headphones/logger.py", line 215, in new_runold_run(*args, **kwargs)File "/raid/data/module/Python3/sys/lib/python3.8/threading.py", line 870, in runself._target(*self._args, **self._kwargs)File "/raiddata/0/module/Headphones/bin/headphones/headphones/postprocessor.py", line 1302, in forcePostProcessverify(rgid, folder, forced=True, keep_original_folder=keep_original_folder)File "/raiddata/0/module/Headphones/bin/headphones/headphones/postprocessor.py", line 284, in verifydoPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, Kind,File "/raiddata/0/module/Headphones/bin/headphones/headphones/postprocessor.py", line 467, in doPostProcessingrenameFiles(albumpath, downloaded_track_list, release)File "/raiddata/0/module/Headphones/bin/headphones/headphones/postprocessor.py", line 1088, in renameFilesmd, from_metadata = metadata.file_metadata(File "/raiddata/0/module/Headphones/bin/headphones/headphones/metadata.py", line 250, in file_metadatares.add_items(iter(override_values.items()))File "/raiddata/0/module/Headphones/bin/headphones/headphones/metadata.py", line 52, in add_itemsself.setitem(key, value)File "/raiddata/0/module/Headphones/bin/headphones/headphones/metadata.py", line 43, in __setitem__self._lower.setitem(key.lower(), value)AttributeError: 'tuple' object has no attribute 'lower' 2022-02-18 04:54:28 | INFO | Renaming files |
Sorry about that. Small typo. Should be fixed |
everything looks perfect. thanks again for adding this. |
I think the beets mediafile library (which is used behind the scenes to read the metadata) automatically defaults to 1 as the discnumber / disctotal when there isn't any tags. I don't think that's the correct behavior, but I'm pretty sure that's what must be happening, since headphones isn't adding it. |
for file rename i have.
{$Disc}$Track.$Title
what i expect is..
single disc album
01.Title <== no disc number
multi disc album
101.Title
201.Title
i always get 101.Title even if its a single disc album
is this how it works? is there a way to have no $disc added for single disc albums?
i though adding $dsisc in curly braces would make it optional for single disc albums.
i cant find good documentation on this so guessing.
if this is how it works then maybe another file configuration line could be added for multi disc albums.
its setup like this in radarr.
The text was updated successfully, but these errors were encountered: