tag/Fallback: add tag fallback for AlbumSort
Closes https://github.com/MusicPlayerDaemon/MPD/issues/832
This commit is contained in:
		 geneticdrift
					geneticdrift
				
			
				
					committed by
					
						 Max Kellermann
						Max Kellermann
					
				
			
			
				
	
			
			
			 Max Kellermann
						Max Kellermann
					
				
			
						parent
						
							138c29320b
						
					
				
				
					commit
					0a92fbc18e
				
			| @@ -45,6 +45,10 @@ ApplyTagFallback(TagType type, F &&f) noexcept | ||||
| 		   "AlbumArtist"/"ArtistSort" was found */ | ||||
| 		return f(TAG_ARTIST); | ||||
|  | ||||
| 	if (type == TAG_ALBUM_SORT) | ||||
| 		/* fall back to "Album" if no "AlbumSort" was found */ | ||||
| 		return f(TAG_ALBUM); | ||||
|  | ||||
| 	return false; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user