Release GlobalSearch for Kodi Leia - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release GlobalSearch for Kodi Leia (/showthread.php?tid=326903) |
GlobalSearch for Kodi Leia - ronie - 2018-01-11 for kodi leia i've decided to rewrite the globalsearch addon from scratch. this means skinners will also have to rewrite their custom xml for the globalsearch addon from scratch.... luckily this isn't as bad as it sounds and should be relatively (hopefully) easy. some notable changes:
RE: GlobalSearch for Kodi Leia - braz - 2018-01-11 I've been using it and skinned it for Omni, great work Ronie! RE: GlobalSearch for Kodi Leia - sualfred - 2018-01-11 Cannot give you a full feedback, because I'm still on v17 but as you know I used it a while ago for Krypton where the video DB things worked perfectly. Only playing/enter music stuff was broken (because of Krypton, works on Leia). As soon as I'm on the Leia train, I'll change my implementation to support your new v8. Thanks! RE: GlobalSearch for Kodi Leia - User 55003 - 2018-01-11 Nice! RE: GlobalSearch for Kodi Leia - Guilouz - 2018-01-11 Hi Ronie, Thanks for your job ! One question, how to assign icons and fanarts for items for list ID 9000 ? There is no content in your template. EDIT : Just find in source code, file must be named 'globalsearch-icon-movies.png' etc.. in 'media' folder. It would be good if we can choose path of icons, in v7 I used : Code: <item id="1"> RE: GlobalSearch for Kodi Leia - ronie - 2018-01-11 good question... i didn't think of that. the menu is constructed by the addon now and it sets the icons as well. you should be able to override them though, by using the same filenames as the addon does. place your icons, using these filenames, in your media folder:
i'm thinking... perhaps i should move them to a subfolder, like media/globalsearch/*.png so skins can keep things neatly organized ? RE: GlobalSearch for Kodi Leia - braz - 2018-01-12 I override the icons and that worked well...no strong feelings about putting them in a subfolder. I'm wondering though, why not just use the default Kodi icons that match these content types? RE: GlobalSearch for Kodi Leia - Guilouz - 2018-01-12 (2018-01-12, 00:15)braz Wrote: I override the icons and that worked well...no strong feelings about putting them in a subfolder.I prefer use media/globalsearch-icon-*.png Sizes of my default kodi icons are too big to use in a small list and even keeping the aspectratio, the quality of resizing is not terrible. RE: GlobalSearch for Kodi Leia - Guilouz - 2018-01-12 I did several tests, everything seems to work properly RE: GlobalSearch for Kodi Leia - Gade - 2018-01-12 Great work ronie. I really appreciate this. Can't wait to take it for a spin. RE: GlobalSearch for Kodi Leia - wyrm - 2018-01-13 Hi Ronie, Great work as always. Now at the risk of you misunderstanding the request could you please add a search addons section to your script? Just to be clear by search addons I do NOT mean search thru addons (which I know is not possible), but search for a particular addon. I have on occasion needed to find a particular addon but am not sure which section it lives in (is it a program addon or a video addon?), or more likely I have just plain forgot exactly what it was called. It would be really useful to not have to navigate down thru the addons section to find the search option but to be able to use a global (read, use anywhere) search. Wyrm RE: GlobalSearch for Kodi Leia - ronie - 2018-01-13 there's currently no way in python to set addon specific infolabels, like ListItem.AddonVersion / ListItem.AddonDescription / ListItem.AddonCreator so i would either have to add this functionality to kodi first (no idea how difficult that would be)... or use a workaround in globalsearch to set them as listitem properties instead: ListItem.Property(AddonVersion) / ListItem.Property(AddonDescription) / ListItem.Property(AddonCreator) since i don't like workarounds, i'll check how easy the first option is going to be RE: GlobalSearch for Kodi Leia - wyrm - 2018-01-13 Ronie thanks for at least considering the request. Will watch to see how this pans out. Wyrm RE: GlobalSearch for Kodi Leia - ronie - 2018-01-14 well, after struggling with it for hours, i now know i'm unqualified to make the needed changes in kodi ;-) RE: GlobalSearch for Kodi Leia - MacGyver - 2018-01-16 Have you thought of a way to still be able to use search specifically? I have a whole sub-menu under search with Actors, Director, Episodes, etc. launched via: RunScript(script.globalsearch,movies=true) and RunScript(script.globalsearch,directors=true) etc. And with the new XML changes, their results are now empty, not "No search Result found" empty, but a partially working page displaying nothing. The rest of the changes are great. I have the general search results looking just like the rest of Metropolis now. |