2019-12-13, 18:41
Hi there.
Using the following setup:
I'm facing 2 problems with this setup:
1.)
If I do a DB-update on the server it scans in some albums although they were scanned in fine already an the laptop. If I do an update on the laptop afterwards, it scans in the same albums again, although multiple updates on the server did not result in anything newly scanned in. This is strictly reproduceable. So doing an update on the laptop, it scans in some already scanned albums on the first update. Any further update runs without any "mysql execute". If I then update the DB on the server, it's the same. The same albums are scanned in again on the first update, whereas any further update runs without any "new" items. So it's always the same albums that are scanned in again.
I can't seem to find any reason why some albums are always scanned in on the one side or the other.
Question: what would be the best way to identify, why some albums are recognized as "to be scanned again", whereas the large majority gives
I tried "grepping" (tail -f .kodi/temp/kodi.log | grep "Mysql execute") and searching the logs for re-scanned albums, but I can't really find the cause. I also did re-build the docker container for to have both instances (laptop & server) running on the same locale to no avail. I'm not able to identify why those albums are re-scanned ;(
2.)
Another thing I'm noticing is that if I do scan my sources on my laptop, the sourceid table on the DB is populated fine. A
gives a table with all sources and the corresponding IDs, Name & Path.
After a library update on the server, the source table is gone!? If updating on the laptop again, the source table is populated again, but IDs change and are counted onwords. If the sources had IDs from 1-30, they afterwards have 31-60.
Anyone with ideas on that?
Using the following setup:
- Setup Kodi on my laptop (set language to german)
- Set up a MysqlDB server and connected Kodi to it
- Added my music sources & scanned them into the DB
- Copied the .kodi folder to my server and setup a kodi-headless instance running in a docker container (self built linuxserver/kodi-headless to include german locale)
I'm facing 2 problems with this setup:
1.)
If I do a DB-update on the server it scans in some albums although they were scanned in fine already an the laptop. If I do an update on the laptop afterwards, it scans in the same albums again, although multiple updates on the server did not result in anything newly scanned in. This is strictly reproduceable. So doing an update on the laptop, it scans in some already scanned albums on the first update. Any further update runs without any "mysql execute". If I then update the DB on the server, it's the same. The same albums are scanned in again on the first update, whereas any further update runs without any "new" items. So it's always the same albums that are scanned in again.
I can't seem to find any reason why some albums are always scanned in on the one side or the other.
Question: what would be the best way to identify, why some albums are recognized as "to be scanned again", whereas the large majority gives
Code:
DoScan Skipping dir '....' due to no change
2.)
Another thing I'm noticing is that if I do scan my sources on my laptop, the sourceid table on the DB is populated fine. A
Code:
SELECT * from source;
After a library update on the server, the source table is gone!? If updating on the laptop again, the source table is populated again, but IDs change and are counted onwords. If the sources had IDs from 1-30, they afterwards have 31-60.
Anyone with ideas on that?