Kodi Plugin (GridView)

Seems strange. I’m sure you are correct.

I’m running an old version - Kodi 17.7 and thought it was something to do with my old release.

This is fixed. JSON must have changed ive updated to use “thumbnail” rather than “art.poster” which is no longer a valid call.

1 Like

Which is the most current file to download? Might I suggest a version# or timestamp in the plugin code and on the file name.

The latest one is always at the top but I can put a date on so you know if there is an update. I sometimes ask people to PM me any requests to avoid clogging up the thread.

John

1 Like

How to set plug-in IP account password thank you

Version 2. Using Gridviews for Genres etc, should make it more customisable for users and different screen sizes. Not done yet but coming together OK.

3 Likes

Version 2 Demo Here :

A few bugs to iron out, but overall this version is better for general use.
New Features :

Gridview for genres taken from your own library
AudioDB used to scrape images that dont exist in your library (uses title to search)
Cast details including photos and profiles available using TMDB (needs api)
Adoon Support
Now Playing on dedicated page (icon appears to navigate to the NP page only when something is actually playing :slight_smile:

@bill I am seeing a strange thing with my gridviews, I need to rotate the device to portrait for the content to populate, at which point it stays correct in landscape. Only in the app, the designer is fine. Ive also noticed that if the text in the gridview is longer that the item then the thumbnail is displaced.

Version 2 now uploaded in post 1

1 Like

This isn’t a global issue facing the GridView. There’s likely something in the layout causing it. Check your sizes, check your HorizontalAlignment & VerticalAlignment properties.

Just curious why you decided to use both a websocket and an HTTP client in the plugin? Why not use a POST method with the HTTP client for sending commands?

The only reason was I found a working example of websocket which I adapted, I never saw a post example I could adapt,I have considered updating it to be honest.

Maybe Bill can give his thoughts about this matter: only use the HTTP client or it’s fine to use both.

Kodi GridView插件版本2.hrp. 修改了IP name passwd 但是无法连接主机?能给个详细的设置吗?谢谢!

I downloaded KodiV2, set the IP address but when I press ok or try to sync tyhe plusip I get an error message:

Unable to connect to the remote server

I can control KODI via its web interface in chrome.

What could be wrong?

Depending on your settings of Kodi it could be that you have to provide a username and password too.

Thanks,

Besides the username and password I also had to enable the option: Control by app’s on other systems. (a lose translation from Dutch)

After enableing this option it worked.

Glad you got it working :slight_smile:

Hello, sorry I am new, I got the Plugin DL and updated for my player. I am using the latest Matrix vs for Dolby Vision. I am having some issues. One, is its only pulling in a small fraction of my movie library. Its not displaying any cover art at all. Seems like some of the buttons do not work. The main ones are the player “I amusing” are player jump forward and back buttons. Also when sliding the progress slider, it does not effect the player. Any thoughts.
Thanks
Mike

So been playing around a bit. Solved the big jump, the latest version of KODI changed the formats for jumps,
Forward = {“jsonrpc”:“2.0”, “method”:“Player.Seek”, “params”: { “playerid”:1, “value”:{ “seconds”: 600 } }, “id”:1}
Backwards = {“jsonrpc”:“2.0”, “method”:“Player.Seek”, “params”: { “playerid”:1, “value”:{ “seconds”: -600 } }, “id”:1}

Cover art is not working. Does it matter what meda data scrubber you use in KODI?

No idea yet on how to assign commands to a slider, I see you can do this with volume sliders so in theory you should be able to do with progress, here is a command I use in DemoPad.

{“jsonrpc”:“2.0”, “method”:“Player.Seek”, “params”: { “playerid”:1, “value”:{ “percentage”: [seek bar]} }, “id”:1}
[seek bar] is the percentage into a video. So I have the range of the seek bar set 0-100, so %50 would be 50 and that will jump to the middle of the movie if I slide the slider to the half way mark.

Hi Mike,

Welcome to The home remote, I recognise your user tag… probably from irule?

I’ll take a look at the plug-in using the new version on kodi maybe they changed stuff that affected my code. In terms of the scraper I used TMDB for movies, it can be adapted for any tho. For the seeker it should already work unless it was also changed. I’ll take a look later this week.

John

Well sort of, came from irule. I left way back when, right after the sale. Went over to DemoPad and to be honest I like it. I looked at Home Remote early on and did not like what I saw and haven’t given it much thought till recently. I do like that you can write scripts for plugins with Home Remote. So willing to take a look. KODI is my main concern. Getting an interface I can work is key.

Also I am thinking they cover art is not working for if I renumber correctly they changed that too with the latest update. I believe you know want parse out u’poster’: u’image:// now instead of thumbnail. You get it by requesting “art” instead of “Thumbnail” . For Thumbnail now now directs you to a local file.

so for the slider I was trying the following line but it did not work
percentagecommand = (’{“jsonrpc”:“2.0”, “method”:“Player.Seek”, "params"1: { “playerid”:’ + ActivePlayer + ‘, “value”:{ “percentage”:’ + value + ‘} }, “id”:1}’)