PDA

View Full Version : Steak & Cheese


HarshReality
2006-02-03, 04:39
just did the steak and cheese script of xbmcscripts and wondered if anybody could parse the list so it gets rid of the underscore in the display...

solexalex
2006-02-03, 15:33
? sorry ?
i don't know what you are talking about...

HarshReality
2006-02-03, 15:53
example:
freakhole, the links to files are:
"what to do"
steak and cheese are:
"what_to_do"

i'd like to know if there is a way we can alter the parsing and set the display to leave out the "_"

diagdave@msn.com
2006-02-03, 16:58
try this:
find this:

for tmpvid in cj_vids1:

self.vidlist.additem(tmpvid[1])
cjvid_id.append(tmpvid[1])
cjvid_title.append(tmpvid[1])

and change to:

for tmpvid in cj_vids1:
tmp=replace(tmpvid[1],"_"," ")
self.vidlist.additem(tmp)
cjvid_id.append(tmpvid[1])
cjvid_title.append(tmpvid[1])

diagdave@msn.com
2006-02-03, 17:00
i cant test the script because its blocked at work but give it a try

HarshReality
2006-02-03, 17:48
just tried it... thanx!