XBMC Community Forum
[RELEASE] TvTunes Addon - TV Show Theme Music while browsing - 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)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing (/showthread.php?tid=83925)



- Sharpe - 2011-05-12 13:26

ronie Wrote:i'm in the same boat as you are.
i've spend hours yesterday to track down the issue, but can't put my finger on it.

by the looks of it, all os.path.exists() calls to smb shares don't work at all.

i don't think the script is to blame, as i'm having the same issue with a number of other scripts.

Ah right that makes sense - I was having some issues with the randomitems script as well.


- NotNobody - 2011-05-12 14:25

Love this addon Smile


- ronie - 2011-05-12 16:24

Sharpe Wrote:Hey ppic mate - is there a problem with using tvtunes over SMB content using the current XBMC nighties? I thought I read there was but can't say for certain. No worries if it's just one of those things 'til more Eden stuff is pushed.

Cheers

in case anyone is interested:

Amet Wrote:the issue you are seeing is cos external python doesnt know what "smb://" is, that is xbmc internal protocol

I have written a wrapper functions that get used instead. here

os.path.exists() == xbmcvfs.exists(path)



- ppic - 2011-05-12 20:49

yes, all of that is due to external python.
last news i've read, vfs wasn't pushed in python, i'm not using nigthlyes for now, i may need some time to adapt Wink


- BlueNZ - 2011-05-14 01:06

Just a bit of feedback. Updating to tvtunes 0.9.0 broke the themes on my system but they worked again when 0.8.0 was reinstalled using this zip file.


- ppic - 2011-05-14 05:58

your skin need to change the script call in lowercase.


- Shinu - 2011-05-14 07:16

i'm sorry, but how exactly do i use the wrapper function posted by Amet? it can be used as a temporary fix right?


- ronie - 2011-05-14 15:36

@ppic:
small request, can we get a TvTunesIsAlive window property in the scraper too?
i would like to hide the visualization in the skin when people are pre-listening the theme file before downloading.


- ronie - 2011-05-14 15:42

Shinu Wrote:i'm sorry, but how exactly do i use the wrapper function posted by Amet?
you'll have to import the module in the script
and change the os.path.exists() calls to xbmcvfs.exists()
Shinu Wrote:it can be used as a temporary fix right?

wouldn't call it temporary.
afaik, in eden, scripts need to use this wrapper if they want to access smb:// shares.


- Shinu - 2011-05-14 16:24

ronie Wrote:you'll have to import the module in the script
and change the os.path.exists() calls to xbmcvfs.exists()

times like this i wish i was a programmer. :o i have no idea how to import the module.