![]() |
WIP Embuary to TMDB Helper conversion - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179) +----- Forum: Madnox (https://forum.kodi.tv/forumdisplay.php?fid=314) +----- Thread: WIP Embuary to TMDB Helper conversion (/showthread.php?tid=378048) |
Embuary to TMDB Helper conversion - kittmaster - 2024-06-29 New thread split off from TMDB helper thread as this will probably turn into a teaching moment for me with some help from Mike..... So you mentioned DialogVideoInfo.xml does it all, I can kind get behind the mentality of why, but when I look at the code there, it is baron and clearly heavily embuary script dependant, and following the minimal example, I can see this is going to be a not so easy conversion unless there is something I'm missing. Here is what I see at the .xml:
RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 Everything is in the includes. Includes_InfoDialogs.xml line 44 has the DialogVideoInfo include which loads for every video besides music videos. If you add 1190 from the other thread and change the onclick for the dialogvideoinfo button to the one I posted it should open up dialogvideoinfo with the movie details. RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-29 This is from earlier prior what you just posted about line 44, and video at the bottom to show the behavior to see if that is what you'd expected. You will see, it load the "title" quickly and then reverts back to the main page. Here is the code: Includes_InfoDialogs.xml Line 192
Custom_1190_ExtendedInfo_v2.xml
http://www.kittmaster.com/imagedump/kodi/skin/TMDB1.html RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 I'll take a look in a few and see if I can find the problem. RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 You need to comment out
TMDb Helper manages the window opening and closing RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-29 I was wondering if I should nuke that, but I know nothing about tmdb helper, so I left it, doing it now. RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-29 Commented it out, refreshed skin, hit the button, skin drops out, and then is right back where it starts.... do you want a video of it? RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 Let me try the code out and see what happens on my forked copy. RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 It works for me using the changes from this branch: https://github.com/MikeSiLVO/skin.madnox/tree/tmdbh_test RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-29 Wait... what do you mean right back where it starts? If you mean the dialogvideoinfo looks the same then it should. The script populates all the usual infolabels. RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-30 (2024-06-29, 23:55)mikeSiLVO Wrote: Wait... what do you mean right back where it starts? Here is the code visually and operationally, see if I'm "doing it wrong" compared to your forked code. If you upload it, I can diff it here if it isn't obvious as my code is probably way different now. https://www.kittmaster.com/imagedump/kodi/skin/TMDB2.html RE: Embuary to TMDB Helper conversion - mikeSiLVO - 2024-06-30 The video of it opening looks right to me. Way too difficult to read code from a video so didn't check that. If you have an OMDb API key entered in the settings you can test it by changing Includes_InfoDialogs.xml: Line 380: from to
Line 384: from to
Then you should see a dollar amount for budget and awards, if that info is available. If you don't have an OMDb API key then you can try one of the other ones that are from the script like:
RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-30 Just got back from dinner, I'll try this right now, sorry, meant to post that, 6:41PM here. RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-30 Ok, changing those two things does work, but I think I see where the disconnect of operations is coming in play here. I'm going to do a fast video after I post this, stand by: ![]() RE: Embuary to TMDB Helper conversion - kittmaster - 2024-06-30 Check out the workflow here, I think this will clear up A) the confusion on my part and B) When you mention the fields are filling in right, yes, but not what is expected, video will show what I need to remedy. http://www.kittmaster.com/imagedump/kodi/skin/TMDB3.html |