2020-05-26, 12:31
(2020-05-26, 09:08)Wintermute0110 Wrote:(2020-05-25, 20:38)Zastava Wrote:(2020-05-25, 14:21)Wintermute0110 Wrote: The scanner must work in a bullet-proof way. I need a debug log as instructed in the first post to track the problem.
@Wintermute0110 here: https://paste.kodi.tv/uyolidijaw.kodi
And thank you so much again in advance.
For this test just scanned again the Commodore Amiga launcher and it just duplicated the same games/roms already there. Maybe it's related to using a portable version of Kodi, assets included per your instructions before.
Yes, having a portable installation is affecting the scanner. For example, the gameAgony (Europe).zip
is currently stored as
Code:special://home\..\..\..\..\..\collections\Commodore Amiga\roms\Agony (Europe).zip
but in the current scanner the file name is
Code:D:\Frontends station\frontends\Kodi_test\App\Kodi\portable_data\..\..\..\..\..\collections\Commodore Amiga\roms\Agony (Europe).zip
You must change the ROM path from the current
Code:ROM path "D:\Frontends station\frontends\Kodi_test\App\Kodi\portable_data\..\..\..\..\..\collections\Commodore Amiga\roms"
to
Code:ROM path "special://home\..\..\..\..\..\collections\Commodore Amiga\roms"
That should make the scanner to work correctly.
The weird thing is that I already have that in the launcher settings, the portable paths. But it seems the scanner always put absolute paths to files after scanning. Then I need to change them in AEL related files to relative/portable as you show. So maybe it duplicates the files that were already scanned before because it doesn't recognize the portable paths?