Broken Dynamic textbox label text using onfocus?
#16
(2024-08-05, 22:19)mikeSiLVO Wrote: If you post the script-tmdbhelper-recommendations.xml file, I'll take a look when I can.

Also the complete RunScript you're using to call the recommendations dialog.

Scratch that, try adding the below to the RunScript;
Code:
,winprop_plot=$VAR[VideoInfoPlotVar]

Then add the below to VideoInfoPlotVar above the last value:
xml:
<value condition="!String.IsEmpty(Window.Property(plot))">$INFO[Window.Property(plot)]</value>
Above this line ↓
xml:
<value>$LOCALIZE[19055]</value>

You are showing 19055, but I'm seeing <value>$LOCALIZE[31348]</value> from your quote.

The 19055 that I have is in in the recommended.xml:

xml:

                <!-- Plot -->
                <control type="textbox" id="1000">
                    <top>644</top>
                    <bottom>125</bottom>
                    <include>AutoScrollPlot</include>
                    <label fallback="19055">$VAR[VideoInfoPlotVar]</label>
                </control>

Am I looking in the wrong spot?
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
#17
Does it work if you replace your skin files with the ones from the tmdbh_test branch?
Reply
#18
(2024-08-06, 02:09)kittmaster Wrote: You are showing 19055, but I'm seeing <value>$LOCALIZE[31348]</value> from your quote.

The 19055 that I have is in in the recommended.xml:

xml:

                <!-- Plot -->
                <control type="textbox" id="1000">
                    <top>644</top>
                    <bottom>125</bottom>
                    <include>AutoScrollPlot</include>
                    <label fallback="19055">$VAR[VideoInfoPlotVar]</label>
                </control>

Am I looking in the wrong spot?

I copied it from my skin, Mr. V just happened to use the same variable name.
Reply
#19
(2024-08-06, 02:10)mikeSiLVO Wrote: Does it work if you replace your skin files with the ones from the tmdbh_test branch?

It exhibits the same behavior, half the plot is missing. When I merged your code with mine, when the page first loads, the entire plot shown, when I move the mouse, it cuts off everything and leaves only the first line.
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
#20
Here is a video of the behavior:

http://www.kittmaster.com/imagedump/kodi...tting.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
#21
The other pebble in my shoe is how do I solve this unicode in the string? 

Image
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
#22
Video issue is likely cause I didn't use
xml:
,winprop_plot=$ESCVAR[VideoInfoPlotVar]

That's the undefined character in the font. You can't "fix" that for all cases unless you use a different font for all languages.

EDIT: I forgot you have to surround in quotes.

xml:
,winprop_plot='"$VAR[VideoInfoPlotVar]"'
Should work.
Reply
#23
(2024-08-06, 02:37)mikeSiLVO Wrote: Video issue is likely cause I didn't use
xml:
,winprop_plot=$ESCVAR[VideoInfoPlotVar]

That's the undefined character in the font. You can't "fix" that for all cases unless you use a different font for all languages.

EDIT: I forgot you have to surround in quotes.

xml:
,winprop_plot='"$VAR[VideoInfoPlotVar]"'
Should work.

Ah right, escapes as a string... always the little things... LOL.
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
#24
(2024-08-06, 02:37)mikeSiLVO Wrote: Video issue is likely cause I didn't use
xml:
,winprop_plot=$ESCVAR[VideoInfoPlotVar]

That's the undefined character in the font. You can't "fix" that for all cases unless you use a different font for all languages.

EDIT: I forgot you have to surround in quotes.

xml:
,winprop_plot='"$VAR[VideoInfoPlotVar]"'
Should work.

Would this technique also resolve my MPAA flag issue that I posted about? Same thing happens, when the movie loads, the correct flag shows, when the mouse moves, it defaults back to NR.png. I'm wondering if I can apply this the same way to solve this problem for the media flag specific to this display mode. Everywhere else it is fine.
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
#25
Honestly, this is a lot of finagling, I would just call TMDbH to use DialogVideoInfo.

It looks like you are trying to match that dialog anyway.
Reply
#26
(2024-08-06, 03:21)mikeSiLVO Wrote: Honestly, this is a lot of finagling, I would just call TMDbH to use DialogVideoInfo.

It looks like you are trying to match that dialog anyway.

I'm almost there... and agree, it's been a long road, but it's been a good learning experience. I'm not going to fully replicate it all, but now with the plot fixed. The original knocked out the MPAA flag even in script mode, it was just something I noticed as I plugging along. I can see your point, if I can just get a few of these odds and ends done, it's becomes the effort to untangle the embuary to tmdb throughout. It's pretty close being "there", so thanks for the assist... 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
#27
Lets break this down.
What is the purpose of closing DialogVideoInfo only to display the same information?
Reply
#28
(2024-08-06, 03:36)mikeSiLVO Wrote: Lets break this down.
What is the purpose of closing DialogVideoInfo only to display the same information?

What do you mean, closing it? Or did I imply I wanted to close it? I believe this is a question from above talking about prevent a close action on the actor..... yes? If so....

I think I know what your asking, give me a minute to demo something for you......
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
#29
Poor choice of words, I meant opening the recommendations dialog to only show the info you already have.


Here is a quick mockup of what I mean
Image

Just new stuff, other than poster and fallback to plot, populated with recommendations and similar movies.
Reply
#30
Here is what I was driving at: 

http://www.kittmaster.com/imagedump/kodi...elect.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