09-02-2023, 08:40 PM
(This post was last modified: 09-07-2023, 09:25 PM by jenzd.
Edit Reason: Fixed in Moode 8.3.6
)
Hi all,
I have spotted a little bug in the Backup/Restore function of Moode 8.3.5 with respect to the Tag filter of Auto-Shuffle. When the filter string contains quotation marks, e.g. genre "indie rock", the quotation marks are missing after a Backup/Restore cycle. The string just gets restored to genre indie rock.
More complex strings like '(filename =~ "nas/name/(a|b)")' (using a regexp expression to include all files in folders "a" and "b") even prevent the backup from being restored at all: The system crashes after the final reboot.
The reason seems to be that quotation marks are also part of the syntax of the backup file moodecfg.ini. In the first example the respective line in the backup reads:
Is there a chance to fix this, e.g. by escaping the quotation marks in some way?
Thanks & best regards
Jens
I have spotted a little bug in the Backup/Restore function of Moode 8.3.5 with respect to the Tag filter of Auto-Shuffle. When the filter string contains quotation marks, e.g. genre "indie rock", the quotation marks are missing after a Backup/Restore cycle. The string just gets restored to genre indie rock.
More complex strings like '(filename =~ "nas/name/(a|b)")' (using a regexp expression to include all files in folders "a" and "b") even prevent the backup from being restored at all: The system crashes after the final reboot.
The reason seems to be that quotation marks are also part of the syntax of the backup file moodecfg.ini. In the first example the respective line in the backup reads:
Code:
ashuffle_filter = "genre "indie rock""
Is there a chance to fix this, e.g. by escaping the quotation marks in some way?
Thanks & best regards
Jens