Kodi Community Forum

Full Version: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK, managed to get a few minutes to reproduce, fix and test support for the "/" character in paths, changes in latest commit:

http://code.google.com/p/robwebset/source/detail?r=151

Please let me know how you get on, or if you see any further issues.

Thanks

Rob
Feature requested by capfuturo, you can now have themes called anything if you have them in the "Themes" folder. Committed in r152:

http://code.google.com/p/robwebset/source/detail?r=152

Rob
Good den, Your Grace

You should run for chancellor and have a cameo in the upcoming Star Wars VII! I am testing this right now.

Grammarcy, you are most kind!
OK, managed to get a few minutes to reproduce, fix and test support for the "/" character in paths, changes in latest commit:

http://code.google.com/p/robwebset/source/detail?r=151

Please let me know how you get on, or if you see any further issues.

-----------------------------------------------

For me still not works. The theme.mp3 is being downloaded to the main SERIES folder,not to the specific one is searched for.

Answering a previos question some days ago, I have stock Confluence with XBMC 12.2
(2013-12-12, 01:20)aky75 Wrote: [ -> ]OK, managed to get a few minutes to reproduce, fix and test support for the "/" character in paths, changes in latest commit:

http://code.google.com/p/robwebset/source/detail?r=151

Please let me know how you get on, or if you see any further issues.

-----------------------------------------------

For me still not works. The theme.mp3 is being downloaded to the main SERIES folder,not to the specific one is searched for.

Answering a previos question some days ago, I have stock Confluence with XBMC 12.2

Please can you supply a log for this.

Rob
Do you say xbmc.log or tvtunes especific log? Please, tell me how can I find tvtunes log... thanks



EDITED:

Sorry I'll check write log in preferences....Big Grin
(2013-12-12, 15:55)aky75 Wrote: [ -> ]Do you say xbmc.log or tvtunes especific log? Please, tell me how can I find tvtunes log... thanks



EDITED:

Sorry I'll check write log in preferences....Big Grin

You need to also enable it in TvTunes settings (So both logging settings are enabled)
Ok I have enabled both.

xbmc.log is stored in appdata/roaming/xbmc/.... but where is tvtunes.log ??

By the way... in xbmc.log I've found this:

14:45:35 T:6304 ERROR: unmatched parentheses in Skin.HasSetting ActivateTvTunes)
(2013-12-12, 16:47)aky75 Wrote: [ -> ]Ok I have enabled both.

xbmc.log is stored in appdata/roaming/xbmc/.... but where is tvtunes.log ??

By the way... in xbmc.log I've found this:

14:45:35 T:6304 ERROR: unmatched parentheses in Skin.HasSetting ActivateTvTunes)

TvTunes is embedded into the main xbmc.log

Sounds like the hooks are not applied correctly.

Rob
The begining of Dialogvideoinfo.xml:

<window>
<defaultcontrol always="true">8</defaultcontrol>
<allowoverlay>no</allowoverlay>
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">
XBMC.RunScript(script.tvtunes,backend=True)</onload>
<controls>
<control type="group">
<visible>!Window.IsVisible(FileBrowser)</visible>
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
-----------------------------------------------------
The begining of MyvideoNav.xml:

<window>
<defaultcontrol always="true">50</defaultcontrol>
<allowoverlay>no</allowoverlay>
<views>50,51,500,550,551,560,501,508,504,503,515,505,511</views>
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">
XBMC.RunScript(script.tvtunes,backend=True)</onload>
<controls>
<include>CommonBackground</include>
<include>ContentPanelBackgrounds</include>
<control type="group">
<include>Window_OpenClose_Animation</include>
---------------------------------------------------------------------------------------------------------
The end of MyvideoNav.ml:

<control type="radiobutton" id="11">
<description>Unlock Shares</description>
<textwidth>170</textwidth>
<include>ButtonCommonValues</include>
<label>20336</label>
<onclick>xbmc.mastermode</onclick>
<selected>system.ismaster</selected>
<visible>system.haslocks</visible>
</control>
<control type="button" id="100">
<description>Fetch TvTunes stuff</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>31127</label>
<onclick condition="Container.Content(TVShows)">
XBMC.RunScript(script.tvtunes,
mode=solo&amp;name=$INFO[Listitem.Title]&amp;path=$INFO[ListItem.FilenameAndPath])
</onclick>
<onclick condition="Container.Content(movies)">
XBMC.RunScript(script.tvtunes,
mode=solo&amp;path=$INFO[ListItem.FilenameAndPath]&amp;name=$INFO[ListItem.TVShowTitle])
</onclick>
<visible>Skin.HasSetting ActivateTvTunes) + System.HasAddon(script.tvtunes) +
[Container.Content(TVShows) | Container.Content(movies)] </visible>
</control>
<include>CommonNowPlaying_Controls</include>
</control>
</control>
<include>Clock</include>
</controls>
</window>
----------------------------------------------------------------------------------------------
(2013-12-12, 20:31)aky75 Wrote: [ -> ]The begining of Dialogvideoinfo.xml:

<window>
<defaultcontrol always="true">8</defaultcontrol>
<allowoverlay>no</allowoverlay>
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">
XBMC.RunScript(script.tvtunes,backend=True)</onload>
<controls>
<control type="group">
<visible>!Window.IsVisible(FileBrowser)</visible>
<animation effect="slide" start="1100,0" end="0,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
<animation effect="slide" start="0,0" end="1100,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
-----------------------------------------------------
The begining of MyvideoNav.xml:

<window>
<defaultcontrol always="true">50</defaultcontrol>
<allowoverlay>no</allowoverlay>
<views>50,51,500,550,551,560,501,508,504,503,515,505,511</views>
<onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">
XBMC.RunScript(script.tvtunes,backend=True)</onload>
<controls>
<include>CommonBackground</include>
<include>ContentPanelBackgrounds</include>
<control type="group">
<include>Window_OpenClose_Animation</include>
---------------------------------------------------------------------------------------------------------
The end of MyvideoNav.ml:

<control type="radiobutton" id="11">
<description>Unlock Shares</description>
<textwidth>170</textwidth>
<include>ButtonCommonValues</include>
<label>20336</label>
<onclick>xbmc.mastermode</onclick>
<selected>system.ismaster</selected>
<visible>system.haslocks</visible>
</control>
<control type="button" id="100">
<description>Fetch TvTunes stuff</description>
<include>ButtonInfoDialogsCommonValues</include>
<label>31127</label>
<onclick condition="Container.Content(TVShows)">
XBMC.RunScript(script.tvtunes,
mode=solo&amp;name=$INFO[Listitem.Title]&amp;path=$INFO[ListItem.FilenameAndPath])
</onclick>
<onclick condition="Container.Content(movies)">
XBMC.RunScript(script.tvtunes,
mode=solo&amp;path=$INFO[ListItem.FilenameAndPath]&amp;name=$INFO[ListItem.TVShowTitle])
</onclick>
<visible>Skin.HasSetting ActivateTvTunes) + System.HasAddon(script.tvtunes) +
[Container.Content(TVShows) | Container.Content(movies)] </visible>
</control>
<include>CommonNowPlaying_Controls</include>
</control>
</control>
<include>Clock</include>
</controls>
</window>
----------------------------------------------------------------------------------------------

The bit in red should be:

Code:
Skin.HasSetting(ActivateTvTunes)

Is this something you have changed yourself?

If this is a bug with the latest skin - may be worth you posting on the Confluence forum thread.

Rob
No, I copied it from this forum on a previous post:
http://wiki.xbmc.org/index.php?title=Add...in_Changes
..but I can see that this "(" desappears...

I have fixed it, but the bug persist: when I scan for a new theme(i.e: Death Note), the file is stored in L:\DIBUJOS and not in L:\DIBUJOS\DEATH NOTE\ that is the correct path. And curiously, the file is played when I enter in the series folder... and more curiously, when I enter in another series folder that previously hasn't theme, the same song is played in each one series. The series that had theme before the new scan, keeps their own themes.

Here is part of my log:

18:35:47 T:5984 NOTICE: Thread Background Loader start, auto delete: false
18:35:57 T:6496 NOTICE: Previous line repeats 1 times.
18:35:57 T:6496 NOTICE: Thread XBPyThread start, auto delete: false
18:35:57 T:6496 NOTICE: -->Python Interpreter Initialized<--
18:35:57 T:6444 NOTICE: Thread XBPyThread start, auto delete: false
18:35:57 T:6444 NOTICE: -->Python Interpreter Initialized<--
18:35:57 T:5916 NOTICE: Thread CFileCache start, auto delete: false
18:35:58 T:6256 NOTICE: Thread PAPlayer start, auto delete: false
18:36:01 T:7140 NOTICE: Thread XBPyThread start, auto delete: false
18:36:01 T:7140 NOTICE: -->Python Interpreter Initialized<--
18:36:01 T:6064 NOTICE: Thread XBPyThread start, auto delete: false
18:36:01 T:6064 NOTICE: -->Python Interpreter Initialized<--
18:36:08 T:6064 ERROR: XFILE::CFile:Big Grinelete - Error deleting file L:\DIBUJOS\theme.mp3
18:36:33 T:1620 NOTICE: Thread Background Loader start, auto delete: false
18:36:34 T:5016 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
18:36:34 T:5016 NOTICE: Previous line repeats 1 times.
18:36:34 T:5016 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:36:34 T:5604 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
18:36:34 T:3380 NOTICE: Previous line repeats 1 times.
18:36:34 T:3380 NOTICE: Thread CFileCache start, auto delete: false
18:36:34 T:5016 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
18:36:35 T:1616 NOTICE: Thread PAPlayer start, auto delete: false
18:36:35 T:5604 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
18:36:38 T:6028 NOTICE: Previous line repeats 1 times.
18:36:38 T:6028 NOTICE: Thread Background Loader start, auto delete: false
18:36:38 T:5016 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
18:36:39 T:5016 NOTICE: Previous line repeats 2 times.
If you are still having problems, as I said before you will need to supply a full log with tvtunes logging switch on - without that I'd just be guessing.

Rob
rob_webset, can you guide us to make themes folder manually? Example for Alien Quadrilogy:

Alien 4 - A Ressurreição
Alien³
Aliens, O Resgate
Alien - O Oitavo Passageiro

(a XBMC set)

All failed to play. I'm using the same title displayed in library, the Portuguese (PT) one from TMDB.
(2013-12-13, 00:45)tinybutstrong Wrote: [ -> ]rob_webset, can you guide us to make themes folder manually? Example for Alien Quadrilogy:

Alien 4 - A Ressurreição
Alien³
Aliens, O Resgate
Alien - O Oitavo Passageiro

(a XBMC set)

All failed to play. I'm using the same title displayed in library, the Portuguese (PT) one from TMDB.

The directory name used in the "Custom Location" (Which I am guessing is what you are using) are ascii versions of the title. The easiest way of seeing the name it is looking for is to turn on logging - it will print the path it is looking to read the theme file from.