Kodi Community Forum
Release TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - 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: Release TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library (/showthread.php?tid=173799)



TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2013-09-13

Image

TvTunes has grown over time and is now more than a simple theme player for TV Shows, some of the features include:
  • Play themes while navigating TV Shows
  • Play themes while navigating Movies
  • Play themes while navigating Music Videos
  • Download themes from a selection of differrent websites
  • Screensaver that plays the themes and shows fanart, cast and thumbnails

It is a feature rich and very configurable addon with numerous settings to allow you to fine-tune it to your own requirements.

More details, and how to use the addon can be viewed on the wiki:

Add-on:TvTunes

Donations
If you have found TvTunes useful and would like to help support future development and bug fixes, then please feel free to make a small donation.
Image



RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-13

Can I just disable the theme option in DVD extras in order to test this with movies?


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - robwebset - 2013-09-13

(2013-09-13, 17:32)wgstarks Wrote: Can I just disable the theme option in DVD extras in order to test this with movies?

I would be tempted to comment out the onload and onunload that are in the skin file that you would be updating anyway.

Safest way!

Rob


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-14

(2013-09-13, 17:35)rob_webset Wrote:
(2013-09-13, 17:32)wgstarks Wrote: Can I just disable the theme option in DVD extras in order to test this with movies?

I would be tempted to comment out the onload and onunload that are in the skin file that you would be updating anyway.

Safest way!

Rob

Ok. I deleted previous versions of tvtunes and dvdextras. I added the comments to dialogvideoinfo.xml for onload and onunload. Installed version 3.1.0 and dvdextras 1.2.4 from the repo. Disabled the theme option for movies in DVDExtras. Now I get themes in the info window for tvshows that tvtunes downloaded the theme for, but no theme for tvshows that already had a theme.mp3 file installed at the root level for that show. Also, no theme for any movies as far as I can tell. Did I miss something on the install?


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - robwebset - 2013-09-14

Thanks for the feedback wgstarks, both capfuturo any yourself reported this problem.

I believe that it is because you are running with "Store tunes in custom path" enabled. The movie themes need to be in the local directory to the movie (as it is not something that TvTunes can fetch for itself).

I believe if you disable "Store tunes in custom path" then you will hear the Movie Theme - however you will obviously lose your TvThemes (as they are stored in the custom location).

I have commited a fix for this, so you should be able to patch this OK.

http://robwebset.googlecode.com/svn/trunk/script.tvtunes/resources/tvtunes_backend.py

Please let me know if this solves it for you

Thanks, Rob

Edit: Just wanted to clarify the version of this one, this change refers to r10, direct link:

http://code.google.com/p/robwebset/source/browse/trunk/script.tvtunes/resources/tvtunes_backend.py?spec=svn12&r=10


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-14

I'll give the patch a try but I'm not using a custom file path. The tv themes are in the root of the tv series and the movie themes are in the root of the movie.


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - robwebset - 2013-09-14

(2013-09-14, 01:25)wgstarks Wrote: I added the comments to dialogvideoinfo.xml for onload and onunload.

There should only be an onLoad, no onunload:

Code:
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True&amp;loop=False)</onload>



RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-14

Added the onload but it didn't make any difference. I'm including the dialogvideoinfo.xml file just on the off chance it might help.
Posted here http://www.texthosting.com/view/57199/

A couple of screen shots of file path-

This theme works with no problems.
Image

This theme does not work.
Image

The movie themes are all like this one. None of them seem to be working.
Image

TVTunes settings
Image
Image
Image

As far as I can tell the themes that were downloaded by TVTunes all work but none of the others that I already had. Haven't had a chance to install the patch yet. I'll try and install it tonight.


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - robwebset - 2013-09-14

Hi wgstarks, Glad to hear at least it doesn't break things that already works - so on your setup it adds audio themes for the TV Information, just not the movie information.

I wonder if it has something to do with the XBMC theme that is being used - I tested mine on a vanilla confluence theme - any chance you would be willing to quickly flip it to the confluence theme and see if it works under that?

Thanks, Rob


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - capfuturo - 2013-09-14

@wgstark & rob_webset: my setup includes Aeon Nox 4.0.9 and plays all theme.mp3 (TV Shows only), previously downloaded by TVTunes prior to the installation of TVTunes 3.1.0 or manually placed in the folder of the show at any point, being this even when you change a theme on the wing. I noticed a difference between your DialogVideoInfo.xml and mine. I have the onload call right after <window>.Might work if you try changing it. Remember also to re-start XBMC and re-launch TVTunes, just to make sure.


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - robwebset - 2013-09-14

hi wgstark & capfuturo

It looks like you are both using the custom skin "skin.aeon.nox" - I have downloaded this and had a look. I think the problem is that you are not using the default confluence skin, and therefor the way in which "skin.aeon.nox" works is not the same - so your onload commands need to be compatible with that skin - I guess this will be the same for each other skin that does not implement all of confluence. In this case you will need:

Code:
<onload condition="System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True&amp;loop=False)</onload>

This is due to "skin.aeon.nox" not having the ActivateTvTunes value in it's settings - so you are checking for something that does not exist.

Please let me know if this solves your problems

Thanks, Rob


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - Deano316 - 2013-09-14

I've only had a short time to test this due to other PC issues but so far I've noticed that TV themes seem to play fine, movie themes play only after watching an extra. Not meaning to mix threads, but the extras menu opens as soon as I enter the movie info page. Never seen this behaviour before.

I'll try adding the onload code and see if it makes a difference.

As far as feature requests, the original DVDextras add-on had an option to have more than one theme per movie and the option to play a theme from a random or predetermined point. I'd love to see this feature in tvtunes, makes a big difference. Big Grin


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-14

(2013-09-14, 20:02)Deano316 Wrote: As far as feature requests, the original DVDextras add-on had an option to have more than one theme per movie and the option to play a theme from a random or predetermined point. I'd love to see this feature in tvtunes, makes a big difference. Big Grin
I agree. Especially the random start point. Once the bugs are out.


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - capfuturo - 2013-09-14

(2013-09-14, 20:02)Deano316 Wrote: I've only had a short time to test this due to other PC issues but so far I've noticed that TV themes seem to play fine, movie themes play only after watching an extra. Not meaning to mix threads, but the extras menu opens as soon as I enter the movie info page. Never seen this behaviour before.

Hi Deano316,

I had that same behaviour but it got ironed out once I installed the new DVDExtras 1.2.3 with the modified onload/unonload calls Rob e-mailed to us to be placed after <window> in your DialogVideoInfo.xml

However, if you installed the new DVDExtras 1.2.4 via Rob's repo, then you need only one onload call (not unload) and to deactivate theme playback from DVDExtras, so TVTune can take care of it.

Do you have this issue of the 'Extras' list with DVDExtras v.1.2.4?


RE: [RELEASE] TvTunes Addon - TV Show Theme Music while browsing - wgstarks - 2013-09-14

(2013-09-14, 19:58)rob_webset Wrote: hi wgstark & capfuturo

It looks like you are both using the custom skin "skin.aeon.nox" - I have downloaded this and had a look. I think the problem is that you are not using the default confluence skin, and therefor the way in which "skin.aeon.nox" works is not the same - so your onload commands need to be compatible with that skin - I guess this will be the same for each other skin that does not implement all of confluence. In this case you will need:

Code:
<onload condition="System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True&amp;loop=False)</onload>

This is due to "skin.aeon.nox" not having the ActivateTvTunes value in it's settings - so you are checking for something that does not exist.

Please let me know if this solves your problems

Thanks, Rob

I commented out the previous onload and added this one. Definatly an improvement. Themes now work with movies. Still can't get pre-existing themes to work with tvshows (Planet Earth in post 1233). I'm sure I could delete the theme and let tvtunes re-download and install it, no big deal since it's the only one that's pre-existing. I wonder about other people having the same issue though.


This forum uses Lukasz Tkacz MyBB addons.