hey all
i m currently trying to integrate kodi with my personal vocal home assistant and didn t find a way to launch a movie from the plex add-on through the API
i already found a way to list all the movie names from the plex server with code (python):
Code
import xml.etree.ElementTree as ET
import urllib.request
url = 'http://PLEXSERVERIP:32400/library/sections/1/all?X-Plex-Token=PLEXTOKEN'
response = urllib.request.urlopen(url).read()
tree = ET.fromstring(response)
for movie in tree.findall('Video'):
name = movie.get('title')
print(name)
Display More
does anyone have an idea ?