Broken Dynamic textbox label text using onfocus?
#31
That's where you use
xml:
String.IsEqual(ListItem.Property(item.type),person)
To add or hide whatever you want or even build a new include just for actors.
Reply
#32
(2024-08-06, 04:13)mikeSiLVO Wrote: That's where you use
xml:
String.IsEqual(ListItem.Property(item.type),person)
To add or hide whatever you want or even build a new include just for actors.

I don't want to hide the actors or the images themselves as they are used for the hover/focus to the bio etc... I want to prevent teh "click" or "selection" so that it doesn't drop out like I showed in the video, that is the piece I will need to sort out still. I'll get to it.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#33
I do not think we are understanding each other...

Image

That is the same screen you open just cleaned up real quick for actors content.
Reply
#34
(2024-08-06, 04:31)mikeSiLVO Wrote: I do not think we are understanding each other...

Image

That is the same screen you open just cleaned up real quick for actors content.

Oh, nice, yeah, that is something that I want to do... how do I get that? I am thinking can expand on it too...
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#35
That is DialogVideoInfo!

I'll throw up the code maybe it will help explain better than I am doing.
https://github.com/MikeSiLVO/skin.madnox...15ea75741b

You can ignore the stuff in the recommendations XML. That was just to do the mockup from post #29
Reply
#36
(2024-08-06, 04:49)mikeSiLVO Wrote: That is DialogVideoInfo!

I'll throw up the code maybe it will help explain better than I am doing.
https://github.com/MikeSiLVO/skin.madnox...15ea75741b

You can ignore the stuff in the recommendations XML. That was just to do the mockup from post #29

Lotsa twists and turns.... lol... I will replace and review... getting late here. I'm at it pretty much at this day/night until I figure it out. Heading to bed in about 10 minutes.

Thanks for the insight and help, will give it a whirl.

Smile
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#37
Ahhhhhhhhhh, ok, so the lightbulb goes on with what you're driving at and execution. I see the vision, you're right, seeing the code speaks volumes....LOL.

It will probably be a bit unusual for users when they try it for the first time, but I'll put up some vids for them to get a handle on it... (new workflows always piss people off).

So my question goes back to you based on experience......

What.. "exactly" ... belongs on "TMDB Info" pages?... I can't really use my old versions methods as a guideline because a lot of it is interleaved. I have reviewed your skin and you have a local/tmdb "switch" but I kind of just want to push to execute type of thing... what should the real intent of TMDB be vs local database be? Clearly the budget, revenue etc... 

The local now becomes the actors, crew... 

Clearly it becomes the call of the skinner of where the "magic line" is drawn between local and remote (tmdb) of what goes where.... but I guess I'm looking for a primer of what a general consensus of what kodi users "think" that definition truly "is" for "tmdb info" is outside of my "madnox" limited scope.

I know that may seem like an elementary question, but it will give me some guidance on how to split the baby. I don't need every single gory detail, but more like, what are the true essentials of like, these elements should absolutely be there, these are middles, and nices to haves... and maybe fantasy lands if you're so inclined.

Curious to your response. Thx.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#38
I think my advice comes down to something similar I may have mentioned before...
Add what you're happy with, and if you want, post it for others, then go from there.

If you want to see it, add it.
Anything else could go down the rabbit hole of would've, could've, should've, and you can never please everyone so start with yourself.

Do you want budget and/or revenue... Add it.
Do you want Next aired, Last aired, Ratings, Wins, or Awards, then add that as well.

My last pearl of wisdom would be... don't add everything just cause you can. Add what you want and/or care about then go from there.
Reply
#39
(2024-08-07, 12:12)mikeSiLVO Wrote: I think my advice comes down to something similar I may have mentioned before...
Add what you're happy with, and if you want, post it for others, then go from there.

If you want to see it, add it.
Anything else could go down the rabbit hole of would've, could've, should've, and you can never please everyone so start with yourself.

Do you want budget and/or revenue... Add it.
Do you want Next aired, Last aired, Ratings, Wins, or Awards, then add that as well.

My last pearl of wisdom would be... don't add everything just cause you can. Add what you want and/or care about then go from there.

Sage advise as usual. Much appreciated. I'll slug through the new paradigm format now that I have a clearer understanding. I'm sure a few things may arise going forward, but marking this as solved for now.

Thanks again Mike.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#40
Mike, I was starting work on this, notice the top row renders but doesn't do anything, found a missing parameter and || missing.

Here is the updated string to add to your file:

xml:

<onclick>Runscript(plugin.video.themoviedb.helper,recommendations=5000|info=recommendations|true|info||5001|info=similar|true|info,window_id=1191,$VAR[TMDbHelperTypeVar],$VAR[TMDbHelperIDVar],winprop_plot='"$VAR[VideoInfoPlotVar]"',winprop_poster=$VAR[VideoInfoPosterVar])</onclick>
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#41
Things are chugging along and based on what I want to do with the TMDB data, I am finding that I have similar behavior like "plot" did, where all the data is present, but then I move the mouse and it all disappears.

The plot made sense as it was a single variable and the winprop_ fixed the issue. This issue however affects the entire data array where I can't imagine I'd need to do that for 15-20 items??

Here is a video of what it is doing to clarify:

http://www.kittmaster.com/imagedump/kodi...aring.html
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#42
Here is the runscript that fires: 

xml:

<onclick>Runscript(plugin.video.themoviedb.helper,recommendations=10051|info=details|true|info||10052|info=cast|true|info||10053|info=similar|true|play||10054|info=videos|true|play||10056|info=crew|true|info||10057|info=collection|true|play||10060|info=recommendations|true|info||10061|info=similar|true|info,window_id=1191,$VAR[TMDbHelperTypeVar],$VAR[TMDbHelperIDVar],winprop_plot='"$VAR[VideoInfoPlotVar]"',winprop_poster=$VAR[VideoInfoPosterVar])</onclick>

Here is the recommended .xml
xml:

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog">
    <defaultcontrol always="true">9000</defaultcontrol>
    <controls>
        <control type="list" id="10051">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10052">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10053">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10054">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10055">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10056">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10057">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10058">    
            <include>HiddenList</include>
        </control>
        <control type="list" id="10059">    
            <include>HiddenList</include>
        </control>
        <control type="image">
            <include>FullScreenDimensions</include>
            <texture>special://skin/media/colors/black.png</texture>
        </control>
        <!-- Fanart Background -->
        <include content="DialogInfoCommon">
            <param name="blur">Skin.HasSetting(VideoBlurEnabled)</param>                
            <param name="art">$INFO[Container(5000).ListItem.Art(fanart)]</param>
        </include>
        <control type="group">
            <visible>!String.IsEmpty(Window.Property(poster))</visible>
            <include>AnimationVisibleFade</include>
            <top>15</top>
            <left>15</left>
            <width>706</width>
            <height>1050</height>
            <include content="ViewArtwork">
                <param name="aspect">stretch</param>
                <param name="art">$INFO[Window.Property(poster)]</param>
                <param name="diffuse">diffuse/rounded5-686x1030.png</param>
            </include>
        </control>      
        <control type="group">
            <top>16</top>
            <left>736</left>
            <right>25</right>
            <scrolltime tween="sine" easing="out">200</scrolltime>
            <control type="grouplist" id="6000">
                <top>10</top>
                <!-- <ondown>9000</ondown> -->
               
                <!-- Info -->
                <control type="panel" id="9002">
                    <include content="InfoDialogDetails">
                        <!-- <param name="visible">Container(9000).HasFocus(112)</param> -->
                        <!-- <param name="visible">Container(9000).HasFocus</param> -->
                        <param name="label">$INFO[ListItem.Label]</param>
                        <param name="label2">$INFO[ListItem.Label2]</param>
                    </include>
                    <content>
                        <item>
                            <label>$INFO[ListItem.Property(Birthday)]</label>
                            <label2>$LOCALIZE[32019]:</label2>
                            <visible>!String.IsEmpty(ListItem.Property(Birthday))</visible>
                        </item>
                        <item>
                            <label>$INFO[ListItem.Property(Deathday)]</label>
                            <label2>$LOCALIZE[21897]:</label2>
                            <visible>!String.IsEmpty(ListItem.Property(Deathday))</visible>
                        </item>
                        <item>
                            <label>$INFO[ListItem.Property(Born)]</label>
                            <label2>$LOCALIZE[21893]:</label2>
                            <visible>!String.IsEmpty(ListItem.Property(Born))</visible>
                        </item>
                        <item>
                            <label>$INFO[ListItem.Property(Gender)]</label>
                            <label2>$LOCALIZE[39025]:</label2>
                            <visible>!String.IsEmpty(ListItem.Property(Gender))</visible>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Genre) + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,musicvideo)]</visible>
                            <label>$INFO[ListItem.Genre]</label>
                            <label2>$LOCALIZE[515]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Studio)</visible>
                            <label>$INFO[ListItem.Studio]</label>
                            <label2>$LOCALIZE[572]:</label2>
                        </item>
                        <item id="90031">
                            <visible>!String.IsEmpty(ListItem.Director)</visible>
                            <label>$INFO[ListItem.Director]</label>
                            <label2>$LOCALIZE[20339]:</label2>
                        </item>
                        <item id="2">
                            <visible>!String.IsEmpty(ListItem.Writer)</visible>
                            <label>$INFO[ListItem.Writer]</label>
                            <label2>$LOCALIZE[20417]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Property(Budget))</visible>
                            <label>$INFO[ListItem.Property(Budget),]</label>
                            <label2>$LOCALIZE[32013]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Country)</visible>
                            <label>$INFO[ListItem.Country]</label>
                            <label2>$LOCALIZE[574]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.OriginalTitle) + !String.IsEqual(ListItem.OriginalTitle,ListItem.Title)</visible>
                            <label>$INFO[ListItem.OriginalTitle]</label>
                            <label2>$LOCALIZE[20376]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Property(AudioLanguage.1))</visible>
                            <label>[UPPERCASE]$INFO[ListItem.Property(AudioLanguage.1)]$INFO[ListItem.Property(AudioLanguage.2), / ]$INFO[ListItem.Property(AudioLanguage.3), / ]$INFO[ListItem.Property(AudioLanguage.4), / ]$INFO[ListItem.Property(AudioLanguage.5), / ]$INFO[ListItem.Property(AudioLanguage.6), / ]$INFO[ListItem.Property(AudioLanguage.7), / ][/UPPERCASE]</label>
                            <label2>$LOCALIZE[292]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Property(SubtitleLanguage.1))</visible>
                            <label>[UPPERCASE]$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]$INFO[ListItem.Property(SubtitleLanguage.11), / ]$INFO[ListItem.Property(SubtitleLanguage.12), / ]$INFO[ListItem.Property(SubtitleLanguage.13), / ]$INFO[ListItem.Property(SubtitleLanguage.14), / ]$INFO[ListItem.Property(SubtitleLanguage.15), / ][/UPPERCASE]</label>
                            <label2>$LOCALIZE[287]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Tag)</visible>
                            <label>$INFO[ListItem.Tag]</label>
                            <label2>$LOCALIZE[20459]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.DateAdded)</visible>
                            <label>$INFO[ListItem.DateAdded]</label>
                            <label2>$LOCALIZE[570]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.PlayCount)</visible>
                            <label>$INFO[ListItem.PlayCount]</label>
                            <label2>$LOCALIZE[567]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.LastPlayed)</visible>
                            <label>$INFO[ListItem.LastPlayed]</label>
                            <label2>$LOCALIZE[568]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Path)</visible>
                            <label>$INFO[ListItem.Path]</label>
                            <label2>$LOCALIZE[573]:</label2>
                        </item>
                        <item>
                            <visible>!String.IsEmpty(ListItem.Filename)</visible>
                            <label>$INFO[ListItem.Filename]</label>
                            <label2>$LOCALIZE[21800]:</label2>
                        </item>
                    </content>
                </control>
            </control>
        </control>
    </controls>
</window>
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
#43
If you want to access all the info from the original movie, add another hidden list, use one winprop to set plugin path for that movie, then use the property as content for the hidden list.
Reply
#44
(2024-08-10, 00:44)mikeSiLVO Wrote: If you want to access all the info from the original movie, add another hidden list, use one winprop to set plugin path for that movie, then use the property as content for the hidden list.

I found out where the issue was, and related to what you posted. I have the hidden lists added and then addressed them by container and removed a few of the visibility tags that were not valid to this plugin causing the drop out issue.

I have a fully working TMDB section now, moving onto the actors/crew etc. I will look at your quoted message to apply it to infodialogs.xml as you demonstrated, which I assume this will be different since it is not part of the recommended method now and I have to call for populating a hidden llst that is unique each time to fill in the movies cast/crew/etc for the movie/tvshow in focus?

So I think I'm "half" done with the "conversion" you demonstrated and I'm now implementing.

Here is a video of it in operation. Happy to listen to any critiques....

http://www.kittmaster.com/imagedump/kodi...rking.html
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply

Logout Mark Read Team Forum Stats Members Help
Dynamic textbox label text using onfocus?0