i can read a remote srt file like a remote video file?
#1
Hi, guys thanks my question is if can load a remote srt file from a web server like a video file? i am testing some json information like this:

json:

 {
      "ID": "2",
      "name": "Test Movie",
      "video": "http://172.16.254.15:7071/moviea.mkv",
      "thumb": "http://172.16.254.15:7071/moviea.png",
      "srtfile": "http://172.16.254.15:7071/moviea.srt",
      "genre": "Movies"
    }

i can play the remote video but i can read the srt file?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
UPDATE1:
i found the next: list_item.setSubtitles([subtitles])

python:

list_item.setSubtitles([video['srtfile'])
])

but when i set in main.py i get the next error TypeError: 'The parameter "subtitleFiles" must be either a Tuple or a List.


UPDATE2:
Problem Solved.
Reply

Logout Mark Read Team Forum Stats Members Help
i can read a remote srt file like a remote video file?0