Kodi Community Forum
[Closed] TvTunes Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [Closed] TvTunes Addon (/showthread.php?tid=83925)



Been doing my head in! - vincheesel - 2011-07-07

Hi Guys,

Can anyone speak computer?

I can't get TVTunes to work via SMB, I tried adding user/pass also, here are the logs.

I am running T! v4.0.1 SVN with XBMC PVR PRE-11.0

Been doing my head in!

Code:
01:27:32 T:3860 M:1235591168  NOTICE: ### starting TvTunes Backend ###
01:27:32 T:3860 M:1235587072  NOTICE: ### current volume: 100.0%
01:27:33 T:4020 M:1228009472   ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://SERVER/X/TV Shows/$h!t My Dad Says/extrafanart/
01:27:35 T:4020 M:1240588288 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 12
01:27:39 T:4020 M:1236295680   ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://SERVER/X/TV Shows/Ace of Cakes/extrafanart/
01:27:39 T:4020 M:1236414464 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 12
01:27:41 T:4020 M:1237012480   ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://SERVER/X/TV Shows/American Dad/extrafanart/
01:27:42 T:4020 M:1236529152 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 11
01:27:43 T:1656 M:1236762624  NOTICE: ### old path:
01:27:43 T:1656 M:1236762624  NOTICE: ### new path: smb://SERVER/X/TV Shows/American Dad/
01:27:43 T:1656 M:1236762624  NOTICE: ### no theme found for smb://SERVER/X/TV Shows/American Dad/theme.mp3 or smb://SERVER/X/TV Shows\theme.mp3
01:27:44 T:4020 M:1236852736 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 12
01:27:46 T:4020 M:1236639744 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 11
01:27:47 T:1656 M:1242038272  NOTICE: ### Stopping TvTunes Backend ###



- apawsey - 2011-07-15

Sorry guys, I know I'm going to annoy someone.

I'm trying to get the script to work, installed from add-ons menu, used the script to download themes, enabled tv tunes in the various skins I tried, all themes in the correct show folders, but not a drop of sound.

Here's some excerpts from my logs where tv tunes is mentioned...

With night skin...

Code:
21:18:24 T:4740 M:1419059200  NOTICE: -->Python Interpreter Initialized<--
21:18:24 T:4740 M:1419137024  NOTICE: loop=False&downvolume=0&smb=False&user=&password=
21:18:24 T:4740 M:1419137024  NOTICE: ### starting TvTunes Backend ###
21:18:24 T:4740 M:1419132928  NOTICE: ### current volume: 100.0%
21:18:24 T:4740 M:1418342400  NOTICE: waiting for thread - Thread-1
21:18:26 T:5636 M:1406423040   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/8/8ba77964.png
21:18:26 T:4928 M:1408630784   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/a/a4d0d9bd.png
21:18:35 T:4988 M:1420816384   ERROR: XFILE::CDirectory::GetDirectory - Error getting e:\tv\8 Out Of 10 Cats\/extrafanart\
21:18:35 T:4928 M:1415380992   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/8/844303c1.png
21:18:38 T:3528 M:1407635456   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/8/8ba77964.png
21:18:39 T:4988 M:1418039296   ERROR: XFILE::CDirectory::GetDirectory - Error getting e:\tv\A Gifted Man\/extrafanart\
21:18:39 T:3528 M:1418014720   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/a/a4d0d9bd.png
21:18:40 T:4988 M:1418985472   ERROR: XFILE::CDirectory::GetDirectory - Error getting e:\tv\Alcatraz\/extrafanart\
21:18:41 T:5636 M:1417928704   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/b/b7666443.png
21:18:41 T:4928 M:1413640192   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/8/844303c1.png
21:18:43 T:4988 M:1416740864   ERROR: XFILE::CDirectory::GetDirectory - Error getting e:\tv\Apartment 23\/extrafanart\
21:18:46 T:4988 M:1418993664 WARNING: Skin has invalid include:  VisibleFadeEffectTV
21:18:47 T:4988 M:1419079680 WARNING: Previous line repeats 39 times.
21:18:47 T:4988 M:1419079680   ERROR: invalid rss url set referenced in skin
21:18:47 T:5384 M:1418432512  NOTICE: ### Stopping TvTunes Backend ###

With Transparency skin...

Code:
21:27:52 T:4244 M:1404841984  NOTICE: -->Python Interpreter Initialized<--
21:27:52 T:5300 M:1404788736  NOTICE: -->Python Interpreter Initialized<--
21:27:52 T:5300 M:1404780544  NOTICE: loop=False&downvolume=0&smb=False&user=&password=
21:27:52 T:5300 M:1404780544  NOTICE: ### starting TvTunes Backend ###
21:27:52 T:5300 M:1404776448  NOTICE: ### current volume: 100.0%
21:27:53 T:5300 M:1404780544  NOTICE: waiting for thread - Thread-1
21:28:03 T:4036 M:1413902336  NOTICE: ### Stopping TvTunes Backend ###

There's so many cool features you guys add, but a steep learning curve to get them all to work... Smile

Thanks for anybody's help.


- PlayerOne - 2011-07-17

Love the plugin, but there is one little annoyance: If the music clip is very short, it plays once when I open the show and a second time when I select the season.
I made some changes to the script to prevent the second playback.

http://pastebin.com/N7K2fhEX
http://pastebin.com/6YhUpGTk


- ronie - 2011-07-22

here's an updated version of the script for nightly builds:
script.tvtunes-1.0.3.zip

i'm looking for some people who are willing to test it,
so we can catch any possible bugs before adding it to the pre-eden addon repo.


- Shinu - 2011-07-23

were u able to fix the smb issue? i'm using the stable build so i'm unable to test it.


- fional - 2011-07-23

Shinu Wrote:were u able to fix the smb issue? i'm using the stable build so i'm unable to test it.

I checked the changelog - I think that's there.

One thing I think was going to be adjusted was that if it couldn't detect the path of the show, it wouldn't try to download a theme. This was relevant for removable drives and such that wouldn't necessarily be connected - thus leading a click-fest nightmare when the download portion of the script was run.

It's better described here:
http://forum.xbmc.org/showpost.php?p=817637&postcount=617

I'm not sure if ppic ever got around to it, but I think it be brilliant Tongue


- solidsatras - 2011-07-23

Tested v. 1.0.3 with:
- Transparency! svn-revision: 1120
- XBMCSetup-20110719-1c250ec-master.exe

TVTunes didn´t work as expected. If I select "No - I don´t want to replace existing themes" it searches for them anyway.
While downloading a theme(Accidentally On Purpose) xbmc frooze but recovered after the download was complete. The theme.mp3 played but wasn´t stored on the smb-share.
Finally the script failed along the way through my shows:

Code:
08:32:12 T:2204 M:2724892672   ERROR: Error Type: <type 'exceptions.UnicodeDecodeError'>
08:32:12 T:2204 M:2724892672   ERROR: Error Contents: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
08:32:12 T:2204 M:2724892672   ERROR: Traceback (most recent call last):
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 191, in <module>
                                                TvTunes()
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 60, in __init__
                                                else: self.scan()
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 73, in scan
                                                self.DIALOG_PROGRESS.update( (count*100)/total , __language__(32107) + ' ' + show[0] , "")
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)

full debug log


In the second attempt, it only searched for missing theme´s but still wasn´t able to copy them to the smb-share. Music was running in the background so the log is a little bigger, sorry for that. (wanted to test if the script would stop the music proberly, it did)
second try log


- Henkske - 2011-07-24

ronie Wrote:here's an updated version of the script for nightly builds:
script.tvtunes-1.0.3.zip

i'm looking for some people who are willing to test it,
so we can catch any possible bugs before adding it to the pre-eden addon repo.

Thanx it works here
24 juli nightly and T! newest


- ronie - 2011-07-24

solidsatras Wrote:
Code:
08:32:12 T:2204 M:2724892672   ERROR: Error Type: <type 'exceptions.UnicodeDecodeError'>
08:32:12 T:2204 M:2724892672   ERROR: Error Contents: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
08:32:12 T:2204 M:2724892672   ERROR: Traceback (most recent call last):
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 191, in <module>
                                                TvTunes()
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 60, in __init__
                                                else: self.scan()
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.tvtunes\resources\tvtunes_scraper.py", line 73, in scan
                                                self.DIALOG_PROGRESS.update( (count*100)/total , __language__(32107) + ' ' + show[0] , "")
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)

full debug log


In the second attempt, it only searched for missing theme´s but still wasn´t able to copy them to the smb-share. Music was running in the background so the log is a little bigger, sorry for that. (wanted to test if the script would stop the music proberly, it did)
second try log

thanx a bunch for testing!

the error is caused by the script chocking on special characters (Michel aus Lönneberga) in your case.
will fix that one.

the fact that it doesn't copy the files to a smb share is due to some xbmc bug (which i thought was fixed).
ticket: http://trac.xbmc.org/ticket/11591

this bug only applies to windows users.
there shouldn't be a problem for linux/osx users.


- fional - 2011-07-25

ronie Wrote:the fact that it doesn't copy the files to a smb share is due to some xbmc bug (which i thought was fixed).
ticket: http://trac.xbmc.org/ticket/11591

this bug only applies to windows users.
there shouldn't be a problem for linux/osx users.

If the file is already on the smb share, it will still play though, right?


- ronie - 2011-07-25

fional Wrote:If the file is already on the smb share, it will still play though, right?

i'm not a windows user, so test it and let me know :-)


- fional - 2011-07-25

ronie Wrote:i'm not a windows user, so test it and let me know :-)

Ok lol I'm still trying to figure out what I need to do. I'm just now experimenting with smb, so I'll report back!


- solidsatras - 2011-07-25

fional Wrote:If the file is already on the smb share, it will still play though, right?

Yes, if you copy the theme.mp3 manually it plays perfect. All these smb-issues all the time...grml. I think I will try the new nfs support today Rofl


- fional - 2011-07-25

solidsatras Wrote:Yes, if you copy the theme.mp3 manually it plays perfect. All these smb-issues all the time...grml. I think I will try the new nfs support today Rofl

Thanks Smile I'm still trying to decide if an SMB will actually suit my wants. I'm a bit confused based on what's on the wiki v. things I've read here.


- ronie - 2011-07-26

the smb issue should be fixed in the latest xbmc nightly build:
XBMCSetup-20110725-cce6614-master.exe

if any of the windows users can confirm...