Release GlobalSearch for Kodi Leia
#61
confirmed, will look into it tonight
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#62
Thanks.
Reply
#63
will be fixed in v8.0.8
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#64
Appreciated, thanks.
Reply
#65
@ronie 

Does "play" from the info dialog works for you from a globalsearch result? 
We are currently investigating a never ending busy spinner if "show information" is set as default action or if the info dialog has been opened. 

It's also strange that the results don't have a play button entry in the context menu (which is related to it I guess).

Logs are telling nothing.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#66
tried both ways and they do work ok for me.
playing a file from the info dialog is fully handled by kodi btw, the addon has no influence on it.

there's no play button on the context menu because i haven't added one ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#67
Thanks for the fast reply and test.

Strange, because Emby is broken via InfoDialog for GlobalSearch (plugin:// path). It works on all other places and we have have no clue why. 
I guess we have to dig deeper. Something is different for GlobalSearch and how the info dialog is called/handled for it. 

We will let you know if it's something on your end Smile
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#68
i'm not familiar with emby, but i was able to reproduce it by manually adding some youtube plugin videos to my database.

so the problem is not specific to the emby plugin.

i did a bit of digging in the kodi source-code and noticed when you play a movie from the info dialog, kodi is waiting indefinitely here:
https://github.com/xbmc/xbmc/blob/baff0a...#L162-L163

...and that's where my little (to none) knowledge of c+++ code ends :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#69
Thanks, maybe you can discuss this issue internally. 
My C++ knowledge doesn't exists at all Wink

Edit:
FYI: it's only for GlobalSearch. A called info dialog from the library doesn't have the problem. So the issues doesn't exist globally.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#70
@ronie 

It's because the globalsearch window is active (for whatever reason). If I delay the playback from the info dialog and force the globalsearch window to close it is working.

Fake "Play" button inside of the infodialog:
Code:

                            <onclick>AlarmClock(test,PlayMedia($INFO[ListItem.Filenameandpath]),00:02)</onclick>
                            <onclick>close</onclick>
                            <onclick>ReplaceWindow(home)</onclick>

Edit:
The PyLock also blocks all other RunScript() calls.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#71
"ListIten.Icon" Doesnt seem work for Movies and TVShows.
(Testet with 8.0.11 on Windows - Leia)
Reply
#72
I didn't know of a special thread in the development section, so I repeat my question already asked in https://forum.kodi.tv/showthread.php?tid...pid2860164

Hello, 

I integrated the addon to my skin mod and it is working great, but I experience one small flaw in the fixedlist (9000), which lists the different media types:  

As long as the list is active and has got the focus, it works (see picture 01). 
But when I change the focus to the panel (50), the light blue background of the previous focussed item of 9000 disappears as desired, but the font color remains black as if it were still in the focus. 
Do you have got any idea what is happening here? 

script-globalsearch.xml: 

ezokoniwih.kodi (paste)


Image

Image
Reply
#73
You might have to add 2 label controls with visible conditions based on whether 50 has focus.
Reply
#74
(2019-06-23, 23:54)malvinas2 Wrote: I didn't know of a special thread in the development section, so I repeat my question already asked in https://forum.kodi.tv/showthread.php?tid...pid2860164

Hello, 

I integrated the addon to my skin mod and it is working great, but I experience one small flaw in the fixedlist (9000), which lists the different media types:  

As long as the list is active and has got the focus, it works (see picture 01). 
But when I change the focus to the panel (50), the light blue background of the previous focussed item of 9000 disappears as desired, but the font color remains black as if it were still in the focus. 
Do you have got any idea what is happening here? 

script-globalsearch.xml: 

ezokoniwih.kodi (paste)


Image

Image

While the focus is not actually on 9000 group, the last focused item in that group is considered focused and is using the definitions under 9000 focusedlayout. Note that the images controls in that section that create the blue highlight has a fade animation for when 9000 is not focused.
Few ways to deal with this are:
1) use a var for the label's color that changes with 9000 focused or not.
2) adda second label control, the two will vary on visibility conditions regarding 9000 focus.
3) make an additional focusedlayout, make one for when 9000 is focused and the other when not. e.g. <focusedlayout condition="control.hasfocus(9000)" height="bla" width="bla"/>
Reply
#75
(2019-06-24, 11:19)cartman.dos Wrote: While the focus is not actually on 9000 group, the last focused item in that group is considered focused and is using the definitions under 9000 focusedlayout.
So this is an error how Kodi implemented the feature or have I misunderstood how to use a list with itemlayout/focuslayout?
Reply

Logout Mark Read Team Forum Stats Members Help
GlobalSearch for Kodi Leia1