XBMC Community Forum
[RELEASE] Add-on Metadata Actors - Skin support - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: [RELEASE] Add-on Metadata Actors - Skin support (/showthread.php?tid=123578)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


- fmronan - 2012-03-04 14:12

so that's not a problem with the script but with aeon nox.
No more script needed.


- Martijn - 2012-03-04 14:20

Eisi2005 Wrote:Hi,

i have installed at my livingroom pc the glass skin to test there the metadata actor function. Under glass skin all is working fine. Then i switch back to aeon nox and also there is running fine. Glass skin installed many addons and scripts automatic, is there maybe any dependency to any addon that aeon not install automatic ?

Greets
Eisi

Aeon Nox will only use dependencies when the add-ons are in the offcial XBMC repo


- Eisi2005 - 2012-03-04 14:27

Hmm,,

ok no matter how, but after installing glass skin and switching back then to aeon, all works fine, donĀ“t know why but essential it works Smile

Greets
Eisi


- CutSickAss - 2012-03-04 16:42

Sometimes when using the script in Aeon Nox, it causes the info dialog to disappear. I haven't been able to figure out under what circumstances this happens -it seems almost random- but after viewing a few actors' info sometimes the info dialog window will stop showing up, even if I select it from the context menu. It seems to come up hidden, because I am still able to start the movie from it even though it is invisible.

Could this be a script issue, or is it just Aeon?


- fmronan - 2012-03-04 16:46

Big Grin


- ezechiel1917 - 2012-03-10 03:10

Hi FrostBox,
I'm having this same issue (AttributeError: 'module' object has no attribute 'loads') with metadata actors script, but unfortunately changing the same code in .py files of actors addon

results in this error:

Code:
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating RunScript(script.metadata.actors,$INFO[Window(Home).Property(DirectorName)])
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To RunScript(script.metadata.actors,Drake Doremus)
02:01:05 T:3013318416    INFO: initializing python engine.
02:01:05 T:3013318416   DEBUG: new python thread created. id=6
02:01:05 T:2764548976   DEBUG: Thread XBPyThread start, auto delete: 0
02:01:05 T:2764548976   DEBUG: Python thread: start processing
02:01:05 T:2764548976  NOTICE: -->Python Interpreter Initialized<--
02:01:05 T:2764548976   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.metadata.actors/default.py
02:01:05 T:2764548976   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.metadata.actors:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.dmd-czech.common/lib:/home/xbmc/.xbmc/addons/script.module.xbmc-czech.common/lib:/home/xbmc/.xbmc/addons/script.module.myconnpy/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.common.plugin.cache/lib:/home/xbmc/.xbmc/addons/script.module.simple.downloader/lib:/home/xbmc/.xbmc/addons/script.module.parsedom/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:
02:01:05 T:2764548976   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.metadata.actors
02:01:05 T:2764548976   DEBUG: Instantiating addon using automatically obtained id of "script.metadata.actors" dependent on version 2.0 of the xbmc.python api
02:01:05 T:2764548976   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0", "id":"1", "method":"Files.GetDirectory", "params":{"directory":"videodb://1/4/", "sort":{"method":"label", "order":"ascending"}}}
02:01:05 T:2764548976   DEBUG: JSONRPC: Calling files.getdirectory
02:01:05 T:3013318416   DEBUG: Activating window ID: 10138
02:01:05 T:3013318416   DEBUG: ------ Window Init (DialogBusy.xml) ------
02:01:05 T:2764548976   DEBUG: GetPeopleNav -  query took 181 ms
02:01:05 T:3013318416   DEBUG: ------ Window Deinit (custom_DialogExtras.xml) ------
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(ActorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(ActorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(DirectorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(DirectorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(WriterName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(WriterName,Home)
02:01:06 T:2764548976   DEBUG: GetPeopleNav item retrieval took 254 ms
02:01:07 T:2672790384   DEBUG: AddOnLog: VDR VNSI Client: SendPing
02:01:09 T:2764548976   ERROR: Traceback (most recent call last):
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/default.py", line 20, in <module>
02:01:09 T:2873076592  NOTICE: 'TRAKT: Resetting last update timestamp'
02:01:09 T:2764548976   ERROR:     from resources.lib.dialoginfo import Main
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/dialoginfo.py", line 25, in <module>
02:01:09 T:2764548976   ERROR:     ACTORS   = utils.getXBMCActors()
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/utils.py", line 152, in getXBMCActors
02:01:09 T:2764548976   ERROR:     Actors += get_directory( directory ).get( "files" ) or []
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/utils.py", line 136, in get_directory
02:01:09 T:2764548976   ERROR:     o_json = json.loads( json_string )
02:01:09 T:2764548976   ERROR: NameError: global name 'json' is not defined
02:01:09 T:2764548976    INFO: Scriptresult: Success
02:01:09 T:2764548976    INFO: Python script stopped
02:01:09 T:2764548976   DEBUG: Thread XBPyThread 2764548976 terminating
02:01:09 T:3013318416   DEBUG: waiting for python thread 6 to stop
02:01:09 T:3013318416   DEBUG: python thread 6 destructed

Do you have any idea how can I fix this?

Thanks Ez.


- Eisi2005 - 2012-03-10 21:52

@FrostBox

thanks for your new 0.2.1 version, but the 0.2.0 was much faster for me. I switch back to 0.2.0.

Could you take a look at that. If you need log files please post.

Greets
Eisi


- Eisi2005 - 2012-03-11 11:48

Hi,

in the db file it looks like the actor biography comes from wikipedia. Is there any chance to switch the language from wiki, so that the infos come from german wikipedia with german infos ?

Greets
Eisi


Metadata: Greek Translation - CutSickAss - 2012-03-17 20:07

Greek translation update, here:
https://rapidshare.com/files/1643943960/Metadata_-_Greek_Translation.rar

Also, I've noticed that the information on the top of the Metadata window for an actor (known movies, date of birth/death, etc.) do not appear unless I move to that section with my keyboard (Metadata Actors v0.2.2). I tried it on skins Aeon Nox, Aeon Nox (SVN), and Confluence. I should mention I am using the latest PVR version of XBMC, not the regular RC2. Could this be an add-on issue?


RE: [RELEASE] Add-on Metadata Actors - Skin support - Eddage - 2012-03-23 13:34

I'm currently skinning this for Breeze but have run into a problem...

If there is no icon for a film in the actors filmography it is automatically filled with DefaultMovies.png, meaning my fallback image doesn't work (as Container(150).Listitem.Icon is never returned as empty). This is what my code looks like...

PHP Code:
                <control type="image"> <!--film cover-->
                    <
description>Actor image</description>
                    <
posx>32.5</posx>
                    <
posy>32.5</posy>
                    <
width>372</width>
                    <
height>556</height>
                    <
aspectratio scalediffuse="false">stretch</aspectratio>
                    <
texture fallback="DefaultVideoBigPoster.png" diffuse="breeze/home/folder tile dif.png">$INFO[Container(150).Listitem.Icon]</texture>
                    <
visible>Control.IsVisible(150)</visible>
                </
control>
      
                <
control type="image"> <!--film cover-->
                    <
description>Actor image</description>
                    <
posx>32.5</posx>
                    <
posy>32.5</posy>
                    <
width>372</width>
                    <
height>556</height>
                    <
texture diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
                    <
visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
                </
control

And if there is no icon it looks like...

[Image: screenshot001-4.jpg]

The only way to make it use the fallback image is if I rename DefaultMovies.png, but then i use that in other part of my skin. Is there a reason why it seems to automatically fall back on that image?


RE: [RELEASE] Add-on Metadata Actors - Skin support - fmronan - 2012-03-23 13:46

Why
Code:
<control type="image"> <!--film cover-->
                    <description>Actor image</description>
                    <posx>32.5</posx>
                    <posy>32.5</posy>
                    <width>372</width>
                    <height>556</height>
                    <texture diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
                    <visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
                </control>
if you use fallback before?


RE: [RELEASE] Add-on Metadata Actors - Skin support - Eddage - 2012-03-23 14:31

(2012-03-23 13:46)fmronan Wrote:  Why
Code:
<control type="image"> <!--film cover-->
                    <description>Actor image</description>
                    <posx>32.5</posx>
                    <posy>32.5</posy>
                    <width>372</width>
                    <height>556</height>
                    <texture diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
                    <visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
                </control>
if you use fallback before?

Before what? So it looks like this...

Code:
      
                <control type="image"> <!--film cover-->
                    <description>Actor image</description>
                    <posx>32.5</posx>
                    <posy>32.5</posy>
                    <width>372</width>
                    <height>556</height>
                    <texture fallback="DefaultVideoBigPoster.png" diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
                    <visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
                </control>

Confused

Still does the same thing where it shows DefaultMovies.png


RE: [RELEASE] Add-on Metadata Actors - Skin support - BigNoid - 2012-03-23 14:50

you can use SubString(Control.GetLabel(id),DefaultMovies.png) instead of IsEmpty(Container(150).Listitem.Icon) with a hidden control. For reference sake, icon never returns empty anywhere, except if you use custom static content, so there's no need for a fallback image.


RE: [RELEASE] Add-on Metadata Actors - Skin support - Eddage - 2012-03-23 21:15

Thanks Big_Noid, that worked great!


RE: [RELEASE] Add-on Metadata Actors - Skin support - piodio - 2012-03-26 21:07

@FrostBox

Here is Korean translation file for awesome add-on.
http://www.mediafire.com/download.php?1chm77hxkmp53b7

Thanks