Description
Favorites are stored as a set of absolute file paths in favorites.songs. When a song's path changes, the favorite entry becomes orphaned and the song no longer appears in the Favorites screen.
Affected operations
- Rename (Ctrl + e) — changes the file name and therefore the path.
- Move (planned Ctrl + x / Ctrl + v) — changes the parent directory.
- Delete (Ctrl + d) — removes the file entirely.
Expected behavior
- When a song is renamed or moved, the old path in favorites.songs should be replaced with the new path.
- When a song is deleted, its path should be removed from favorites.songs if present.
- After any of these operations, favorites.save() should be called to persist the change.
Note
Favorites should be cleaned and relinked on library rescan
Description
Favorites are stored as a set of absolute file paths in favorites.songs. When a song's path changes, the favorite entry becomes orphaned and the song no longer appears in the Favorites screen.
Affected operations
Expected behavior
Note
Favorites should be cleaned and relinked on library rescan