2016-09-28, 01:34
Is something related to python version ? My goal is to get lyrics this funny way :
https://vimeo.com/178077249
https://vimeo.com/178077249
(2016-09-28, 01:34)Elias Alves Wrote: Is something related to python version ? My goal is to get lyrics this funny way :
pal2 = xbmc.getInfoLabel("Container(110).ListItem.Label").translate(None, "\,;./")
palas = pal2 + " _ _ _"
palas = palas.split(' ',3)
pala1 = palas[0].rstrip(' _')
pala2 = palas[1].rstrip(' _')
pala3 = palas[2].rstrip(' _')
pala4 = palas[3].rstrip(' _')
para21 = '21_line'
para22 = '22_line'
para23 = '23_line'
para24 = '24_line'
xbmc.executebuiltin("SetProperty(%s,%s)" %(para21,pala1))
xbmc.executebuiltin("SetProperty(%s,%s)" %(para22,pala2))
xbmc.executebuiltin("SetProperty(%s,%s)" %(para23,pala3))
xbmc.executebuiltin("SetProperty(%s,%s)" %(para24,pala4))
(2016-10-01, 22:30)manfeed Wrote: With this I get to have the four parts in four windows properties that then I use to show each line with animations like in the video. I have tried several variations of this approach but it doesn't work completely well.what issues are you running into?
(2016-10-01, 22:30)manfeed Wrote: I think a better solution would be to break all lines at once and put them in a container. To have something like Container(110).ListItem.Label1; Container(110).ListItem.Label2; Container(110).ListItem.Label3; Container(110).ListItem.Label4 directly from CU LRC Lyrics script would be great, that way other skinners could use them too, but if not possible then maybe someone could tell me another way?
(2016-10-01, 22:44)ronie Wrote: what issues are you running into?
(2016-10-01, 22:44)ronie Wrote: i assume you mean Container(110).ListItem.Property(Part1) ... Container(110).ListItem.Property(Part4) ?
there's no such thing as ListItem.Label3 and ListItem.Label4 in kodi ;-)
(2016-10-02, 02:37)ronie Wrote: please test the current version in my repo.
it adds:
- Container(110).ListItem.Property(part1)
- Container(110).ListItem.Property(part2)
- Container(110).ListItem.Property(part3)
- Container(110).ListItem.Property(part4)