This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script changes the path for a folder or file in Navidrome's database, allowing music files to be | |
# moved or renamed on the file system without losing associated metadata in Navidrome. Since the original | |
# version, it has been updatd to account for the media_file IDs, which are calculated from the path value | |
# and referenced in several tables. | |
# | |
# This script is based on Navidrome version 0.49.2. If you are running an older version of Navidrom, it | |
# will likely fail. If you are running a newer version of Navidrome, your mileage may vary. | |
# | |
# It does NOT make any modifications to the file system - only to the Navidrome database. | |
# |