(29.3.2016, 11:02)Ahoj, mám librelec 7.0.2 na rpi 2. Databázi mám na serveru nastavení jsem použil viz. níže. Vyskytnul se mi takový problém že sosac, když kontroluje databázi po prvním seriá lu napíše chybu. V log souboru se objeví tohle. Napsal(a): 10:39:15 720.206299 T:1768944544 NOTICE: ['SOSAC Loading subscriptions']
10:39:17 722.272644 T:1750856608 WARNING: Unable to query optimizer_switch: 'MyVideos99' (1)
10:39:21 725.664917 T:1768944544 WARNING: Previous line repeats 3 times.
10:39:21 725.665222 T:1768944544 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: string indices must be integers, not str
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.sosac.ph/service.py", line 38, in <module>
XBMCSosac(SosacContentProvider(reverse_eps=reverse_eps), settings, __addon__).service()
File "/storage/.kodi/addons/plugin.video.sosac.ph/resources/lib/sutils.py", line 65, in service
self.evalSchedules()
File "/storage/.kodi/addons/plugin.video.sosac.ph/resources/lib/sutils.py", line 95, in evalSchedules
refresh = int(sub['refresh'])
TypeError: string indices must be integers, not str
-->End of Python script error report<--
Neporadí někdo co s tím. Nechce se mi manuálně aktualizovat nové epizody.
Díky předem za nějaké info
Martin
sources:Kód:<!-- Created using Easy Advanced Settings addon -->
<advancedsettings>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>78643200</cachemembuffersize>
<readbufferfactor>20</readbufferfactor>
</network>
<videodatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>kodi</user>
<pass>******</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>kodi</user>
<pass>*******</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
<cleanonupdate>true</cleanonupdate> <!-- Also clean library during library update -->
<importwatchedstate>true</importwatchedstate>
<hideallitems>true</hideallitems> <!-- removes the "*All" items from the video library -->
<hideemptyseries>true</hideemptyseries> <!-- hide empty series in the video library -->
</videolibrary>
<videoscanner>
<ignoreerrors>true</ignoreerrors> <!-- Silently ignore errors while scanning videos. -->
</videoscanner>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.1.5/Public/Shared Videos/Thumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Kód:<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Filmy_sosac</name>
<path pathversion="1">smb://192.168.1.5/Public/Shared Videos/Filmy_sosac/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>Serial_sosac</name>
<path pathversion="1">smb://192.168.1.5/Public/Shared Videos/Serial_sosac/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>Filmy moje</name>
<path pathversion="1">smb://192.168.1.5/Public/Filmy/</path>
<allowsharing>true</allowsharing>
</source>
</video>
<music>
<default pathversion="1"></default>
<source>
<name>Hudba</name>
<path pathversion="1">smb://192.168.1.5/Public/Hudba/</path>
<allowsharing>true</allowsharing>
</source>
</music>
<pictures>
<default pathversion="1"></default>
<source>
<name>Fotky</name>
<path pathversion="1">smb://192.168.1.5/Public/Fotky/</path>
<allowsharing>true</allowsharing>
</source>
</pictures>
<files>
<default pathversion="1"></default>
<source>
<name>.xfinity</name>
<path pathversion="1">http://xfinity.xunitytalk.com/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>.superrepo</name>
<path pathversion="1">http://srp.nu/</path>
<allowsharing>true</allowsharing>
</source>
</files>
</sources>
RPi2B → LibreELEC 8.0.2 → Kodi 17.3