3 |
|
|
4 |
''' |
''' |
5 |
Todic plugin for XBMC |
Todic plugin for XBMC |
6 |
Version 0.1.0 |
Version 0.1.1 |
7 |
''' |
''' |
8 |
|
|
9 |
import sys |
import sys |
88 |
self.codecdetails = getText(detailsDoc.getElementsByTagName("codecdetails")) |
self.codecdetails = getText(detailsDoc.getElementsByTagName("codecdetails")) |
89 |
self.position = int( getText(detailsDoc.getElementsByTagName("position")) ) |
self.position = int( getText(detailsDoc.getElementsByTagName("position")) ) |
90 |
|
|
91 |
|
def setUrl(self, url): |
92 |
|
self.url = url |
93 |
|
|
94 |
def setName(self, name): |
def setName(self, name): |
95 |
self.name = name |
self.name = name |
141 |
print "[Todic] reportPlaytime:" + url |
print "[Todic] reportPlaytime:" + url |
142 |
open_url_safe(url) |
open_url_safe(url) |
143 |
|
|
|
|
|
144 |
|
|
145 |
|
|
146 |
def getText2(nodelist): |
def getText2(nodelist): |
305 |
d = TodicMovieDialog() |
d = TodicMovieDialog() |
306 |
d.setDetailsDoc(clipDetailsDoc) |
d.setDetailsDoc(clipDetailsDoc) |
307 |
d.setName(name) |
d.setName(name) |
308 |
|
d.setUrl(url) |
309 |
d.setDescription(description) |
d.setDescription(description) |
310 |
|
|
311 |
d.doModal() |
d.doModal() |