Kodi Plugin (GridView)

Hi Pastycakes,

As I said in the last post its been a while since I looked at this plugin and its quite complex for a non coder like me. I acutally learned 1% of javascript knowledge for this app so dont rule out learning a little to help you with the app… Ive never done any coding before this - I thought I was doing well withthe Irule variables but THR opens up much more in terms of flexibility for even the most basic user.

I dont have any kodi installations, I never had any to start with I just used it as a means of testing my new found coding skills but If i remember well you need to set the port in the settings on the plugin devce.

John

hello @john_wallace . Thank you for the Kodi plugin. I was easily able to design my kodi remote with onkyo receiver using the plugin.

I had a question about “Subtitles”. Currently the subtitles are set to toggle on/off. Is there anyway I can get a list of subtitles available on the video. and the select the one i want.

Hello everyone. I have been playing around with this plugin. One question, is it possible when selecting movies instead of it being filtered by genre, it just shows all the movies? Where would this be edited?

Hi George,

Yes, you will need to change the command to filter by A-Z, there is a JSON call for that but its been a few years since i created this plugin and I dont use Kodi so you will need to check on the forums and change the trigger code.

John

I have given up on using third-party JSON methods to get Kodi library to show on other apps (no offense to john-wallace as the following theory will explain).

I have a theory that the Kodi group (developers) are trying to prevent the full functionality to work outside of the official Kodi (phone app). The latest iOS Kodi remote app is about as flawless as it has been in years (decade) but no other app is getting working right.

I have just created a url link to open the Kodi iOS app (URL short actually uses XMBCRemote for the name) and browse my library through that. Even with a massive library it does not lag one bit.

No offence taken :smiley:. The plugin took literally 100s of hours for me to write as I had no js knowledge at the start. It was working perfectly but that was at least 2 versions of kodi ago and I noticed some changes to the json a while back. I’m sure it can be updated but it was just a fun thing for me to learn at the time and I had no practical use… as someone with zero js skills or graphical skills it amazes me how good it actually looks…

Kodi is open source so I don’t they be purposely keeping people out but it’s a pain when things change.

John

I understand that Kodi is open sourced but is their iOS app also open sourced? I have yet to find the source project for it. The reason I ask, I have tried their Android version and it is still an absolute $hit show. It crashes and can’t handle larger libraries. I have noticed that it has had a lot less development compared to their iOS app.

I also help troubleshoot with a third party remote Kodi app and that developer has directly told me that he hit a brick wall with some JSON access for library access. The remote functions work great in Kodi v20 and the v21 betas but he has not been able to reconcile the code to make the library display work as it did on versions prior to v20. He doesn’t want to lose access so he refuses to elaborate but, reading between the lines, I suspect he is trying to tell me that library access is now limited to third parties but remote access is not.

I found the source project:

The entirety of Kodi can be accessed and controlled through their API. They have about the most open and robust API I have ever seen. However, because of it’s breadth, it can be daunting. I think that, coupled with updates, might explain why third parties are not as fluent as Kodi’s own app. Regarding the difference in functionality between iOS and Android could be that on Kodi’s own team, they have a better programmer, or a programmer who spends more time keeping things up to date for iOS than Android. Since it’s open source, they are all just volunteers like here with HR. I imagine it would take many hours per year (or maybe month) to keep everything up to date. That can serve Kodi directly but John here just did it in his spare time a few years ago and doesn’t even use Kodi anymore so it doesn’t serve him to keep it updated. I do use Kodi’s API here with HR but just for basic controls. This basic functionality is working for me and has persisted through the updates.

For a standalone app for Android try Yatse for Kodi. For those who are using Home Remote in a larger format such as a tablet call in Kodis web GUI. There are different skins to try such as Chorus2 and Arch. it is about as full featured as you are going to get without all the time to put it all together.

Would anyone be able to help me with my connectivity to Kodi (on a Shield device)?

I’ve streamlined this plugin way down (as I really only need one command), but I’m not even getting to the command part.

I’ve updated the settings in Kodi to allow Http control, and control from other devices (and on the same device). I’ve turned off the authentication requirement.

It doesn’t seem to want to allow a connection though. I’m using the right ip address and port.
It is still refusing the connection.

Is there possibly another setting in the Shield I need to change?

@john_wallace ,

Have you figured out any changes needed for Kodi v20 or v21 so we can see covers instead of thumbnails? It is more pronounced in the library and in the “now playing” section.

I think you mentioned once that covers are now local art and hence much bigger files.

Hi,

I don’t use Kodi, ironically I didnt even when I spent months on the plugin - I just found the idea of breaking it down and creating a functioning remote a challenge. I’ve not Even Looked at it for years.

John

Recently, I have a device with Kodi again (Ugoos AM6b+), so I’ve started looking into the Kodi integration again. Getting the covers to show is fairly straightforward, but I don’t have much time at the moment. I will at least post the updates for the covers soon

1 Like

That would be awesome, thanks.

I knew that it would be a simple fix but I have yet found any documentation for it and the Kodi forum people were actually stumped as well.

This is a version that shows the covers instead of thumbnails.

Kodi GridView Plugin Version 2024.hrp (102.7 KB)

2 Likes

Awesome job. Works perfectly with Kodi 21.1.

Thank you so much!

Sorry for the n00b question but I haven’t been able to determine how THR talks to Kodi (running on Win10 box) - directly via wifi, or IR/BT via a gateway device like the iTach WF2IR?

If you click on the devices on the left hand side and you select KodiV2, you will find the settings under the (Collection) button. There you put in the IP address of your Win10Box. You can leave the username/password blank unless your Kodi actually uses ones. jsorpc and webserver ports can be left alone unless you changed them.

Got it - thanks for your quick answer.