Begging scripters for internet-TV "links" script... - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+--- Thread: Begging scripters for internet-TV "links" script... (/showthread.php?tid=25770)
- Gokenin - 2007-08-31 03:57
A little help would be greatly appreciated
So far I have installed TV-Links via ftp as well as using the built in installer (currently using the newest t3ch build for XBMC)
Finally managed to get the .py to load up for TV-Links but I am now getting these errors
Error creating buttons
'FocusedColor' is an invalid keyword argument for this function
Error initializing script
reason: list index out of range
Then the gui's bg will load but has no menus or images, the small TV-Links logo in the upper left corner and the word "test" next to that. Menu will of course take me back to the main menu with no further errors.
I have checked the wiki and have found nothing on this issue and I haven't found anything in the forum search on a list of tvlink.py errors and corrections (if there is such a beast)
additional info on the Xbox itself:
I am currently using the Unleash-X dashboard with a soft modded unit. version 0.39.022a build 572
Any help on this is greatly appreciated and an all around howdy to everyone here
- Gokenin - 2007-08-31 04:01
Forgot to mention that I am using XBMC as the dash itself and only use the Unleash-X dash if I need more detailed system info.
- Nuka1195 - 2007-08-31 05:02
change all FocusedColor -> focusedColor
- Gokenin - 2007-08-31 05:14
Nuka1195 Wrote:change all FocusedColor -> focusedColor
Ahhh, where would I do that? I have no python experience and am brand new to XBMC and such. Any help is appreciated.
Thank you for the info on what to change as well
- Unbehagen - 2007-08-31 05:25
Gokenin Wrote:Ahhh, where would I do that? I have no python experience and am brand new to XBMC and such. Any help is appreciated.Grab any editor, such as notepad.exe on windows, open default.py, do a search and replace (Ctrl-H) and let it replace all occurances of FocusedColor to focusedColor. Save the document, re-upload it.
- Gokenin - 2007-08-31 07:51
I reinstalled the script fresh and did a search in the py file, there is only one instance of 'focusedColor' and none others, I do apologize for my initial post, I see that I had used a F instead of the f. However, my issue is still happening even with a fresh install with a verified instance of the 'focusedColor" error.
I have pasted the block of code that it is within below. I do greatly appreciate the help with this problem
self.btnCategories = 
for i in range(len(self.Cats)):
btn = xbmcgui.ControlButton(25, (130)+27*i, (247)-((100))+20, 27, self.Cats[i],textXOffset=30, focusTexture=IMAGE_DIR + self.Cats[i]+'NF'+'.png', noFocusTexture=IMAGE_DIR + self.Cats[i]+'NF'+'.png', textColor='0xFFAAAAAA',focusedColor='0xFFFFFFFF')
for i in range(len(self.Cats)):
self.btnCategories[i].controlDown(self.btnCategories[(i+1) % len(self.Cats)])
except Exception, e:
dialog = xbmcgui.Dialog()
dialog.ok("Error", "Error creating buttons.\n\nReason:\n"+str(e))
- Hudson_Hawk04 - 2007-08-31 15:53
I dont know if this is the right place to ask this but im gonna try....would it be possible for someone to make wide icons to use for the joox and tvlinks sources? thanks
- Unbehagen - 2007-08-31 16:03
Hudson_Hawk04 Wrote:I dont know if this is the right place to ask this but im gonna try....would it be possible for someone to make wide icons to use for the joox and tvlinks sources? thanks
As far as I know, Joox and TVLinks don't provide individual icons for shows and movies themselves. It might be possible to achieve this with the plugins instead of the scripts. Because you browse TVLinks as if it was a folder, you can do all the things with it that would be possible with a folder, such as changing the folder icon and even the scrapers worked for me last time I tried.
- Unbehagen - 2007-08-31 16:08
Gokenin Wrote:Unbehagen,You can try removing the whole focusedColor keyword:
- Spanner - 2007-08-31 16:15
Hi. Sorry if this is the wrong thread, but I guess it's kinda related. Anyway, here's my question about using TV Links and the other stuff as plugins, rather than scripts (which is working great for me, and looks great being integrated into the XBMC system more closely).
Will the plugins/listings still update themselves, since there's no longer an option to do this manually using the white button (refreshing the genre on Apple Movie Trailers, for instance)?
Great work, by the way. It's really appreciated.