[89] #744 fix titleSort to sortTitle

pull/745/head
meisnate12 3 years ago
parent 1e344ae3fe
commit b0d4033606

@ -1 +1 @@
1.15.1-develop88 1.15.1-develop89

@ -434,7 +434,7 @@ def library_operations(config, library):
for i, item in enumerate(tracks, 1): for i, item in enumerate(tracks, 1):
logger.ghost(f"Processing Track: {i}/{len(tracks)} {item.title}") logger.ghost(f"Processing Track: {i}/{len(tracks)} {item.title}")
try: try:
if not hasattr(item, "title") or not hasattr(item, "titleSort"): if not hasattr(item, "title") or not hasattr(item, "sortTitle"):
item.refresh() item.refresh()
raise Failed(f"Track attributes not found refreshing metadata for {item.ratingKey}") raise Failed(f"Track attributes not found refreshing metadata for {item.ratingKey}")
if not item.title and item.sortTitle: if not item.title and item.sortTitle:

Loading…
Cancel
Save