Kodi Community Forum
v15 Subtitle Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: v15 Subtitle Plugin (/showthread.php?tid=233752)



Subtitle Plugin - L0RE - 2015-07-30

I have an Subtitle Forum. Search is not Possible.
So the Idea to show All Series.
Then Select the Series.
Then Showing the Seasons,
When an Season is selected use an Episode, then showing the Subtitles.

As Programm Adon it is working, as Service.Subtitle it Seems to work Different.
It Seems xbmcplugin.addDirectoryItem does only work on search

Code:
if params['action'] == 'search' :
  showAllSeries()
Shows the menu

Does not show any Menu.:

search generates and entry with action='listserien'

Klick on the Link in Search
Starts showAllSeries with:

Code:
if params['action'] == 'listserien' :
  showAllSeries()

It Enters the Function because :
Code:
def showAllSeries():
          xbmc.log("Enter showAllSeries")

prints "Enter showAllSeries"in the Log

So The Function Works (It works when be used with search aktion) shows the menu

The Call with action=listserien works because it shows the Logline. But the Menu is missing

What i am doing wrong
Mayby someone could help


RE: Subtitle Plugin - L0RE - 2015-07-31

Since Isendgard Calling an other Plugin from an Subtitle Plugin isnt Possible anymore