Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Issues with information page on new devices with shared data base
#1
Hi all,
I probably do something really stupid but I cannot see what. I can reproduce the following on a Linux PC and Android with 17.6 and 18.1.
I've set-up a shared database in my network and it works fine. However, when I want to include new devices I get the following:
On the information page (of a movie) I do not see the cast but I get "Cast not available" or this vertical graphics of the movie. Even more strange, although I set in Settings > Media > Videos: Default select action = Show information, the information is not shown by default when clicking on a movie. The information page is only available with a right-click. This log might show the issue. Here I start kodi, go to Titles, right-click on a movie and select Information. The page is shown but without cast.

I might have done something wrong setting up the new device. I copied the advancedsettings.xml (see log) and the passwords.xml to a new instance of Kodi. I can play the files but get the error described above. Strangely, when I copy the whole folder of a working Kodi instance, everything works fine. Am I missing a plugin? I use Artwork beef to get the artwork on my main machine. I installed this plugin also on the new Kodi instance but it did not change anything.

Any idea or do you need more information?
Reply
#2
I found a way to solve it. Before, I copied the sources.xml to the new device and with that, the sources were set by Kodi on the new device. However, the media (content) type was not set! Setting this for each source solved the issue. This seems to be a bit strange because I actually do not want to scrape new videos on the new device; I just want to use the items already in the database. So I am a bit surprised that this step is necessary. Is this a bug worth submitting?
Reply
#3
(2019-03-18, 19:41)nabla_squared Wrote: However, the media (content) type was not set!
The media content setting is stored in the path table of the MySQL database. So if that is not working, you are perhaps connecting to the wrong database.
Reply
#4
(2019-03-18, 20:04)Klojum Wrote:
(2019-03-18, 19:41)nabla_squared Wrote: However, the media (content) type was not set!
The media content setting is stored in the path table of the MySQL database. 
 Thanks, @Klojum, I could verify that I actually use the right database and the content settings are indeed saved in the database. And I found the real reason for my issues: On my main machine, where I do the scraping, I use the Universal Movie Scraper plugin. On the new device, this plug-in was not installed. This resulted in the issues described above. Only by setting the content type on the new device and thus creating a "valid" setting for the device without the Universal Movie Scraper plugin, I could solve the problem. I just used random settings here because I did not want to do any scraping on the new device. This, however, overwrote the settings in the database which I did not anticipate.

I do not find this behaviour optimal. It would be great if the correct behaviour would not depend on the presence of a scraper plugin even when no scraping is planned. Should I write a bug/feature request?
Reply
#5
(2019-03-19, 09:21)nabla_squared Wrote: I just used random settings here because I did not want to do any scraping on the new device. This, however, overwrote the settings in the database which I did not anticipate.
If you want to add another Kodi client to your household, it will require all your non-default scraping-related add-ons, plus the settings files int the root of the Kodi profile folder (advancedsettings.xml, sources.xml, etcetera). Copying the local Textures13.db file as well as the Thumbnails folder itself onto the new Kodi client should give you the basis for getting it up & running 'within minutes', as all scraping other settings and metadata values are in the shared MySQL database already.
Reply

Logout Mark Read Team Forum Stats Members Help
Issues with information page on new devices with shared data base0