KodiCheck: Picture modus bad detection rate
- Brindosch
- Erledigt
-
-
Thank you, will report!
-
Log after hyperion start
Codessh in: May 18 23:17:31 osmc-sascha hyperiond[514]: KODICHECK INFO: Kodi Connected ssh in: May 18 23:17:31 osmc-sascha hyperiond[514]: KODICHECK INFO: Kodi Message: {"error":{"code":-32601,"message":"Method not found."},"id":666,"jsonrpc":"2.0"} ssh in: May 18 23:17:31 osmc-sascha hyperiond[514]: KODICHECK INFO: switching to OFF mode ssh in: May 18 23:17:31 osmc-sascha hyperiond[514]: KODICHECK INFO: Kodi Message: {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
Picture opened
Codessh in: May 18 23:28:12 osmc-sascha hyperiond[514]: KODICHECK INFO: Kodi Message: {"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"file":"smb://NAS/Bilder/Chiemsee 2015/SAM_2300.JPG","type":"picture"},"playlistid":2,"position":86},"sender":"xbmc"}}
It still throws errors on startup and no picture detection
-
Okay this is funny, if i keep open the picture. Stop and start Hyperion. I will get the right message (id + picture) which the code expects. but still that additional error
Codessh in: May 18 23:32:09 osmc-sascha hyperiond[775]: KODICHECK INFO: Kodi Connected ssh in: May 18 23:32:09 osmc-sascha hyperiond[775]: KODICHECK INFO: Kodi Message: {"id":666,"jsonrpc":"2.0","result":[{"playerid":2,"type":"picture"}]} ssh in: May 18 23:32:09 osmc-sascha hyperiond[775]: KODICHECK INFO: switching to PHOTO mode ssh in: May 18 23:32:09 osmc-sascha hyperiond[775]: KODICHECK INFO: Kodi Message: {"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
-
@Rick164
Nope, won´t work with pictures, and a error still thrown as first json message.
You may need to play around with this a little bit for a proper solution.But of course! If you open a picture, stop and start hyperion it will switch to picture mode immediately
this expects hyperion
CodeKODICHECK INFO: Kodi Message: {"id":666,"jsonrpc":"2.0","result":[{"playerid":2,"type":"picture"}]} ssh in: May 22 13:58:58 osmc-sascha hyperiond[1118]: KODICHECK INFO: switching to PHOTO mode
But if you open a picture during runtime Kodi don´t throw the ID
So this might be a kodi bug -
That's indeed an odd error, did try it here with latest stable Kodi under Windows going back and forth between video / audio / picture without errors so maybe it's only happening on some Kodi builds?
-
Hm, i use under options the Explorer, maybe this is a issue?
-
Do you mean a separate picture addon or explorer as in navigate to a picture folder?
Here in Kodi I navigate to a picture folder and open one (no slideshow), once that starts it shows the picture mode active in Hyperion and once stopped and start a video it will start the video mode correctly and vice versa.
-
Using the filechooser and add a folder with pictures.
I tested again with a Kodi 17 Alpha on Windows
result:
CodeKODICHECK INFO: Kodi Message: {"jsonrpc":"2.0","method":"Playlist.OnClear","params":{"data":{"playlistid":2},"sender":"xbmc"}}{"jsonrpc":"2.0","method":"Playlist.OnAdd","params":{"data":{"item":{"file":"D:\\Eigene Bilder\\xxx2010\\2010-09-05 18.52.09.jpg","type":"picture"},"playlistid":2,"position":0},"sender":"xbmc"}}
stop and start hyperion during the picture is open:
CodeKODICHECK INFO: Kodi Message: {"id":666,"jsonrpc":"2.0","result":[{"playerid":2,"type":"picture"}]} KODICHECK INFO: switching to PHOTO mode
Kodi won´t output the id at all.
May you able to create as workaround a OR solution which reacts on the first information pattern?This is VERY annoying during color calibraiton.
-
@Brindosch
Please give this a try. Replace line 64 on XBMCVideoChecker.cpp with this -
tried, sadly still the same.
I think we need this code at the same tier as the if from "id" but just for pictures
If i understand this -slowly- right?because it still just activate it, if the id was given before?
hm we need to use this message to start the picture grabbing without the id.
(which should be used! but won´t be send at all) -
Could you test it with the below code?
Basically as a last if it will match it against picture and playlist.OnAdd without id.[MEDIA=gist]RickDB/8258192f89998a05a69ba22bbbbe2446[/MEDIA]
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!