mycroes

There's always time to play

Wednesday, September 6, 2017

Fixing the Kodi RTLxl add-on

Today (or yesterday) RTL decided that you should no longer use the RTLxl addon for Kodi and at the root level displays that you should use the RTLxl website instead. Thank you RTL, but I want to watch on my television without buying something new. (And I wouldn't mind if you put the commercials in, because I guess that's the only reason why you want people to use the website or app.)

Now what could RTL have done to block the Kodi addon? Actually, not much, since Retrospect (which unfortunately mentions on its website that it's no longer available for legal reasons) was still working. So my best guess was that they were applying a user agent check and since the RTLxl addon is kinda old that would certainly be easy to do.

So I went into the RTLxl addon folder in Kodi (~/.kodi/addons/plugin/video.rtlxl/) and started editing addon.py. There was one outdated User-Agent there, so I changed that to something more modern (thank you Google). Restarted Kodi, no luck. But addon.py is relatively small, so I went into resources/lib and opened rtlxl.py, which contained another few User-Agent strings. Replaced them all, restarted Kodi and my wife's happy again!

5 comments:

Unknown said...

hi,

could you share the useragent string you are using?

kind regards

Michael Croes said...

Hi Jouk,

I'm using Chrome on Windows 10, would have to look up the exact value.
Regards,
Michael

Unknown said...

that'll do.. thnx

Nico said...

Hi,

Is it still working with you guys?
After changing the user agent strings I'm seeing all programs, but when i choose a program I'm getting 'RTLxl Error, Check the log for more information'

Regards,

Michael Croes said...

According to my wife it's still working right now, perhaps you made an error while replacing.