Open alanmilinovic opened 1 year ago
Any feedback?
Now I removed substitution from xml file, corrected the sources.xml, removed database files, scaned my library again and after clean library everything was again gone.
It looks like bug is more related to strm files usage and not to substitution.
I am a bit dissapointed that nobody is replying here. This is very serious bug for me as I have 4k movies and 1,5k series (not counting episodes). It is not very simple to clean up files manually.
This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.
Bug report
If I am using pathsubstitution all my movies and series are gone after performing "Clean library" via settings in kodi. Scanning and playing of files is working fine, though.
Expected Behavior
I am expecting that videos will not be cleaned and removed from the library if I am using path substitution. They should stay there.
Actual Behavior
All my videos are removed from the library although they do exist on the local drive.
Possible Fix
The only workaround is to remove pathsubstitution from the advancedsettings.xml file and correct sources.xml file to point to the right location on the local disk. But what is the point having pathsubstitution then in place as a feature?
To Reproduce
Steps to reproduce the behavior:
and this is what I have in sources.xml file:
Before I was using RaspberryPi and did scraping of all movies and series into my library. Then after some time I moved everything to my other computer and wanted to avoid re-scanning of everything. So I just added path substitution and haven't touched sources.xml file. In both cases all videos were playable and new once were scanned and added to the library without any issues.
Your Environment
Used Operating system:
[ ] Android
[ ] iOS
[ ] tvOS
[x ] Linux
[ ] macOS
[ ] Windows
[ ] Windows UWP
Operating system version/name: Debian GNU/Linux 11 (bullseye)
Kodi version: 19.5