GoogleCodeArchives / xbtweet

Automatically exported from code.google.com/p/xbtweet
0 stars 0 forks source link

Fixed: if song title is only one char long, script fails. #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. play a song with a title that has only one char (britney spears - 3) for
instance
2. xbTweet crashes

fix for that is replace

if len(xbmc.getInfoLabel("MusicPlayer.Title")) > 1: # Song

with

if len(xbmc.getInfoLabel("MusicPlayer.Title")) >= 1: # Song

Original issue reported on code.google.com by Gunnar.Norin@gmail.com on 11 Jan 2010 at 2:19

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by itay.weinberger on 11 Jan 2010 at 7:56

GoogleCodeExporter commented 8 years ago

Original comment by itay.weinberger on 11 Jan 2010 at 8:13