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)



- ppic - 2010-11-14

http://passion-xbmc.org/addons/?Page=View&ID=skin.transparency.svn


- sharbutt - 2010-11-14

ppic Wrote:http://passion-xbmc.org/addons/?Page=View&ID=skin.transparency.svn

Thanks !!


- ronie - 2010-11-15

to prevent that mouse users accidentally focus the hidden button,
you need to put it somewhere outside of the screen.

hope this saves other some time, as it took me a while to figure
out why navigating the video-library had some issues in T!

Code:
<control type="button" id="9999">
            <description>trigger</description>
[b]            <posy>-10</posy>
            <posy>-10</posy>
            <width>1</width>
            <height>1</height>[/b]
            <onfocus>XBMC.RunScript(script.TvTunes,backend=True&amploop=False)</onfocus>
            <onfocus>SetFocus(50)</onfocus>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
        </control>



- mcborzu - 2010-11-16

ronie Wrote:to prevent that mouse users accidentally focus the hidden button,
you need to put it somewhere outside of the screen.

hope this saves other some time, as it took me a while to figure
out why navigating the video-library had some issues in T!

Code:
<control type="button" id="9999">
            <description>trigger</description>
[b]            <posy>-10</posy>
            <posy>-10</posy>
            <width>1</width>
            <height>1</height>[/b]
            <onfocus>XBMC.RunScript(script.TvTunes,backend=True&amploop=False)</onfocus>
            <onfocus>SetFocus(50)</onfocus>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
        </control>

Oh, I wondered why people put those fake/special button on the outside...


- ppic - 2010-11-16

well, you are skinners, i believe you Wink


- Aenima99x - 2010-11-17

Hey PPIC.....love the script, but I'm having a problem with it. It was working fine, but I just upped my svn version today to rev. 35296 and now the script is causing XBMC to crash and restart. Here's the end of the logfile. I can put the whole thing up on Pastebin if you need. Thanks!

Code:
16:39:42 T:3078342528 M:2987245568   DEBUG: ExecuteXBMCAction : Translating XBMC.RunScript(script.TvTunes,backend=True&amploop=False)
16:39:42 T:3078342528 M:2987245568   DEBUG: ExecuteXBMCAction : To XBMC.RunScript(script.TvTunes,backend=True&amploop=False)
16:39:42 T:3078342528 M:2987245568    INFO: initializing python engine.
16:39:42 T:3078342528 M:2987245568   DEBUG: new python thread created. id=7
16:39:42 T:3078342528 M:2987245568   DEBUG: ExecuteXBMCAction : Translating SetFocus(50)
16:39:42 T:3078342528 M:2987245568   DEBUG: ExecuteXBMCAction : To SetFocus(50)
16:39:42 T:2818558832 M:2987245568   DEBUG: thread start, auto delete: 0
16:39:42 T:2818558832 M:2989023232   DEBUG: Python thread: start processing
16:39:42 T:2818558832 M:2987245568  NOTICE: -->Python Interpreter Initialized<--
16:39:42 T:2818558832 M:2987245568   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.TvTunes/default.py
16:39:42 T:2818558832 M:2986991616   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.TvTunes:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/lib/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/local/lib/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/xbmc/system/python/python24.zip:/usr/local/share/xbmc/system/python/lib/python24.zip:/usr/local/share/xbmc/system/python/lib/python2.4/:/usr/local/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/local/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/local/share/xbmc/system/python/lib/python2.4/lib-dynload
16:39:42 T:2818558832 M:2986991616   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.TvTunes
16:39:42 T:2818558832 M:2986737664    INFO: Scriptresult: Success
16:39:42 T:2818558832 M:2986737664    INFO: Python script stopped
16:39:42 T:2818558832 M:2986737664   DEBUG: Thread 2818558832 terminating
16:39:42 T:3078342528 M:2986483712   DEBUG: python thread 7 destructed
16:39:42 T:3078342528 M:2986483712   DEBUG: ADDON: cpluff: 'Could not return information about unknown plug-in /home/xbmc/.xbmc/addons/script.TvTunes/resources/tvtunes_backend.py.'
16:39:42 T:3078342528 M:2986483712    INFO: initializing python engine.
16:39:42 T:3078342528 M:2986483712   DEBUG: new python thread created. id=8
16:39:42 T:2818558832 M:2986483712   DEBUG: thread start, auto delete: 0
16:39:42 T:2818558832 M:2986483712   DEBUG: Python thread: start processing
16:39:42 T:2818558832 M:2985721856  NOTICE: -->Python Interpreter Initialized<--
16:39:42 T:2818558832 M:2985721856   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.TvTunes/resources/tvtunes_backend.py
16:39:42 T:2818558832 M:2985721856   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.TvTunes/resources:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/lib/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/local/lib/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/xbmc/system/python/python24.zip:/usr/local/share/xbmc/system/python/lib/python24.zip:/usr/local/share/xbmc/system/python/lib/python2.4/:/usr/local/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/local/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/local/share/xbmc/system/python/lib/python2.4/lib-dynload
16:39:42 T:2818558832 M:2985721856   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.TvTunes/resources
16:39:42 T:2818558832 M:2985213952   DEBUG: xbp_dlopen loading python lib /usr/local/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
16:39:42 T:2818558832 M:2984960000   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
16:39:42 T:2818558832 M:2984960000   DEBUG: RegisterExtensionLib, adding collections.so (0xb066710)
16:39:42 T:2818558832 M:2984960000   DEBUG: xbp_dlsym - load symbol initcollections
16:39:42 T:2818558832 M:2984968192  NOTICE: loop=false&downvolume=0&smb=false&user=&password=
16:39:42 T:2818558832 M:2984775680  NOTICE: ### starting TvTunes Backend ###
16:39:42 T:2818558832 M:2984775680  NOTICE: ### current volume: 100.0%
16:39:42 T:2818558832 M:2984775680    INFO: Scriptresult: Success
16:39:42 T:2818558832 M:2984775680    INFO: Python script stopped
16:39:42 T:2818558832 M:2984775680   DEBUG: Thread 2818558832 terminating
16:39:42 T:3078342528 M:2984591360   DEBUG: python thread 8 destructed
16:39:42 T:2794228592 M:2984591360    INFO:   msg: Unhandled exception in thread started by
16:39:42 T:2794228592 M:2984591360   DEBUG: <bound method mythread.__bootstrap of <mythread(Thread-1, initial)>>



- ppic - 2010-11-17

ok thanks for info.
will see in next official release


- timdog82001 - 2010-11-22

Are there any plans to add a fade-out option for when you leave the tv show's folder? Right now it just cuts off and it's a little jarring. It would be much nicer if it would fade out over a couple of seconds!

Also, right now, the song gets queued each time you enter a new season or folder within your tv show, meaning that, even if you have loop disabled, it ends up looping anyway at least a couple of times. I believe this would be fixed through the skin xmls. Has anybody modded theirs to only play when you first enter the tv show?

Anyway, nice script, fun to play around with.


- ppic - 2010-11-22

no way for fade, not possible.


Please help!!! - de5perate - 2010-11-25

I will start off by aplogising for possibly a stupid question - please feel free to flame me.

I am relatively new to the whole XBMC scene (a couple of weeks in) - I have learnt a lot and have messed around with a number of themes - I am now using Transparency and loving it.

No matter what I try however I am unable to get TVTunes to work - I really want to get it working - I love it on Plex - but it just refuses - I had it working at one point but I changed themes and lost it and even changing back would not get it working.

I have downloaded themes that say it has been incorporates (Aeon65, Transparency, etc) and I have tried the Git downloads and the SVN versions but nothing seems to get TVTunes to make any noise.

The plugin seems to work - I can change settings and get it to go off and find the themes for me, I have theme.mp3 contained within the folder for each TV series but no TV theme when I enter the folder structure within XBMC.

I have tried pasting the code into the Myvideonav.xml file but that doesn't help.

I have uninstalled and reinstalled XBMC - I was running beta 4 when it briefly worked - I am now on RC1 and I even uninstalled and reinstalled the nightly build last night (35400 I think)

I would post my log file but when I look at my log file there is no mention of tvtunes anywhere in the log file.

Any suggestions?

I have spent hours trying things and have read every page of this thread.


- Tomkun - 2010-11-25

de5perate Wrote:I will start off by aplogising for possibly a stupid question - please feel free to flame me.

No such thing as a stupid question. Possibly.

Quote:I have downloaded themes that say it has been incorporates (Aeon65, Transparency, etc) and I have tried the Git downloads and the SVN versions but nothing seems to get TVTunes to make any noise.

Make sure you really do. The versions in the XBMC repository are not bleeding edge. Also, transparency requires you to enable the script in the skin settings, not just the add-on settings.

Quote:The plugin seems to work - I can change settings and get it to go off and find the themes for me, I have theme.mp3 contained within the folder for each TV series but no TV theme when I enter the folder structure within XBMC.

Make sure you are in library mode, not file mode.

Good luck, it's a really nice script when it's working correctly!


- de5perate - 2010-11-25

Tomkun Wrote:No such thing as a stupid question. Possibly.
Not really stupid - I know how annoying it is when a noob asks a question that has been answered a hundred times elsewhere - having read through the TVTunes thread - how many times have people asked for the music to fade and received the response it's not possible in XBMC - doesn't stop them keep asking.



Tomkun Wrote:Make sure you really do. The versions in the XBMC repository are not bleeding edge. Also, transparency requires you to enable the script in the skin settings, not just the add-on settings.
I will hunt down the setting to turn it on/off - doesn't explain why it doesn't work in AEON 65 or AEON MQ 2 or Night. As I say I have tried the skins as they come and then tried editing the xml to add the lines of code shown on page 1 of this thread - nothing.



Tomkun Wrote:Make sure you are in library mode, not file mode.
Yep - always in library mode except when I am checking to make sure all has data has been downloaded correctly.

Tomkun Wrote:Good luck, it's a really nice script when it's working correctly!

Thanks


- ppic - 2010-11-25

you shouldn't have to edit your xml since you're using a compatible skin, code should already be there, and you should have seen it ! if not, you're not using compatible skin.

please provide a debug log.


- timdog82001 - 2010-11-25

ppic Wrote:as i know, no fade option is available from xbmc player Sad

I believe nuka got fade working with the home theater experience script. However, I don't have any idea how much extra code it took to implement...


- ppic - 2010-11-26

sure that's not the audio file that is fading on end?