Author Topic: Kodi Genesis Search  (Read 2487 times)

0 Members and 1 Guest are viewing this topic.

Repoman

  • Jr. Member
  • **
  • Posts: 17
  • Karma: -1
    • View Profile
Kodi Genesis Search
« on: June 02, 2015, 07:26:14 PM »
Has anyone created something to search the Genesis addon for Kodi?

PegLegTV

  • $upporter
  • Sr. Member
  • *****
  • Posts: 497
  • Karma: 43
    • View Profile
Re: Kodi Genesis Search
« Reply #1 on: June 03, 2015, 03:15:36 PM »
I have some bad news, after digging through this any which way I can, I couldn't find a Solution that would work right,

with Genesis once you open the Search menu you are then presented with another menu instead of a search box. the four items found in that menu can not be added to favorites, so I then used debugging to try and see how the search was preformed and found little to no information on how it was done the only thing I could do was pull up search for each item one time then once a search had been preformed that same command would then just bring me back to the previous search results, I even tried clearing the cache using the menu option under genesis tools but still had unsavory results, I also tried to do a clunky work around of having VC use direction input to scroll the list then select the item but the down fall with this is that when you enter this menu the item selected is different every time  :bonk

Here  are a couple commands that I tried if your want to see if you can figure out a way to make them work,

FAILED GENESIS COMMANDS
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<commandGroup open="True" name="FAILED Genesis " enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="1184" name="FAILED GENESIS SEARCH" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="ActivateWindow(10025,&amp;quot;plugin://plugin.video.genesis/?action=root_search&amp;quot;,return)">
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>GUI.ActivateWindow</param>
        <param>"window": "video", "parameters": ["plugin://plugin.video.genesis/?action=root_search"]</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>800</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{1}&amp;&amp;Movies</ifParams>
      <then>
        <action>
          <cmdType>XJson.Btn.KB</cmdType>
          <params>
            <param>Down</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{1}&amp;&amp;TV Shows</ifParams>
      <then>
        <action>
          <cmdType>XJson.Btn.KB</cmdType>
          <params>
            <param>Down</param>
          </params>
          <cmdRepeat>2</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{1}&amp;&amp;People Movies</ifParams>
      <then>
        <action>
          <cmdType>XJson.Btn.KB</cmdType>
          <params>
            <param>Down</param>
          </params>
          <cmdRepeat>3</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{1}&amp;&amp;People TV Shows</ifParams>
      <then>
        <action>
          <cmdType>XJson.Btn.KB</cmdType>
          <params>
            <param>Down</param>
          </params>
          <cmdRepeat>4</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>300</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Btn.KB</cmdType>
      <params>
        <param>enter</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>3800</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>InputKeys.TextEntry</cmdType>
      <params>
        <param>{2}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Pause</cmdType>
      <params>
        <param>2300</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>XJson.Btn.KB</cmdType>
      <params>
        <param>enter</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Search Genises</phrase>
    <payloadList>Movies, TV Shows, People Movies, People TV Shows</payloadList>
    <phrase>For</phrase>
    <payloadDictation>payloadDictation: Regular</payloadDictation>
  </command>
  <command id="1185" name="opens Genesis search list" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>GUI.ActivateWindow</param>
        <param>"window": "video", "parameters": ["plugin://plugin.video.genesis/?action=root_search"]</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1204" name="opens Genesis Movie Search list (Doesn't work right)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>XJson.Raw</cmdType>
      <params>
        <param>GUI.ActivateWindow</param>
        <param>"window": "video", "parameters": ["plugin://plugin.video.genesis/?action=movies_search"]</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
</commandGroup>
« Last Edit: June 03, 2015, 03:42:29 PM by PegLegTV »