Commit 8f0baab
committed
Fix filenames changing when running LB after import
LaunchBox seems to have new rules for updating the names of files
in the data directory, in particular Playlists, in which it attempts
to change the filename to match the <Name> attribute name and then
apply those rules to deal with illegal characters.
This was causing icon names to be mismatched, meaning they wouldn't
show in LaunchBox, and playlist names to not match on future imports,
such that FIL didn't know they were the same playlist.
Better kosherize filenames to try and match what LB would do so that
it doesn't change them after FIL has touched them.1 parent a62e670 commit 8f0baab
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
313 | 324 | | |
314 | 325 | | |
315 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
| |||
0 commit comments