Bogdan_C
July 24th, 2009, 03:50 AM
Hello everybody! :)
I'm developing a python app for Boxee and I bumped into a problem with the subtitle.
The app is pretty much as follows:
- in the first window I have a button which on click runs a python script which opens a url, get a XML response, parse it with minidom then appends each entry to a List.ListItems()
- after the button is clicked a new group is shown with the items above in a panel control
- you click the items in the panel, a dialog shows where you can Play it or Read more about it.
- and of course if you choose to play it, it plays.
Over the last 2 steps I don't have any control. The problem is the following: while parsing the XML response in a for loop I do something like
item.SetPath(str(node.childNodes[21].firstChild.data)) and the path would be "http://mydomain.com/boxee/movie.avi". The movie.avi is a symlink to a non-public folder/file. If I put in the public folder boxee a subtitle for the file "movie.avi" named movie.srt the player doesn't show it.
What should I do to see also the subtitle when the movie is played?
Thanks!
I'm developing a python app for Boxee and I bumped into a problem with the subtitle.
The app is pretty much as follows:
- in the first window I have a button which on click runs a python script which opens a url, get a XML response, parse it with minidom then appends each entry to a List.ListItems()
- after the button is clicked a new group is shown with the items above in a panel control
- you click the items in the panel, a dialog shows where you can Play it or Read more about it.
- and of course if you choose to play it, it plays.
Over the last 2 steps I don't have any control. The problem is the following: while parsing the XML response in a for loop I do something like
item.SetPath(str(node.childNodes[21].firstChild.data)) and the path would be "http://mydomain.com/boxee/movie.avi". The movie.avi is a symlink to a non-public folder/file. If I put in the public folder boxee a subtitle for the file "movie.avi" named movie.srt the player doesn't show it.
What should I do to see also the subtitle when the movie is played?
Thanks!