• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 35
Release Rai On Demand plugin
I see.

So to make the plugin work again I changed line 375 in the file 'default.py' from

Code:
country = raiplay.getCountry()

to

Code:
country = "Italia"

Image

Hope it helps!

Update 21.04.2017:
I found out, that it does not really matter if you write "Italia". It also works with any other string like "North Korea", "Mordor" or "Westeros".
Reply
Thank you very much brockcolby.
Now it's working again.
Reply
Thanks a lot brockcolby!

I use Kodi on a Digixstream box. Any idea how I can made that change to the default.py file?

Thanks!!!
Reply
I found it!

In the "File" app, I searched for "default.py" in one of the raiondemand folders, and once I found it, I opened it with a text editor.

After scrolling down quite a bit inside the file, I found the "country =" command, and I made the edit suggested by brockcolby.

After saving the file and restarting the addon, IT WORKS!!!

Thanks a million for the suggestion!

Rofl
Reply
@nightflyer will there be an update ( in the official Repo)...So the people outside italy can watch ?

It would be nice

Thanks in advance

And a big thanks to brockcolby for the quick fix
Reply
If you can make that change into the "default.py" located in the RAI on Demand folder, IT WORKS!!!

(I'm in the US.)
Reply
I don't know how to edit this file... I hope it will be an update for the International viewers like me
(Germany)
Reply
Hey all,
you can see on Github Nightflyer has been active in resolving the issue. The above fix is not the right way to do it.

https://github.com/nightflyer73/plugin.v.../issues/22

Is anyone else using Amazon Firestick with Kodi?

I'm trying to manually re-install this add-on but can't get it to work. File manager > add source. Then got to add-ons > install from zip file

doesn't work!?
Reply
(2017-04-07, 09:08)brockcolby Wrote: I see.

So to make the plugin work again I changed line 375 in the file 'default.py' from

Code:
country = raiplay.getCountry()

to

Code:
country = "Italia"

Image

Hope it helps!

I tried.....is it supposed to look like ....see below

def log_country():
raiplay = RaiPlay()
country = "Italia"
xbmc.log("RAI geolocation: %s" % country)
Reply
(2017-04-07, 09:08)brockcolby Wrote: I see.

So to make the plugin work again I changed line 375 in the file 'default.py' from

Code:
country = raiplay.getCountry()

to

Code:
country = "Italia"

Image

Hope it helps!

I tried.....is it supposed to look like ....see below

def log_country():
raiplay = RaiPlay()
country = "Italia"
xbmc.log("RAI geolocation: %s" % country)
Reply
I solved the problem editing the file... It would be useful for the future to have an official update with this changes already done

Inviato dal mio Redmi Note 4 utilizzando Tapatalk
Reply
(2017-04-19, 10:21)lucapoison Wrote: I solved the problem editing the file... It would be useful for the future to have an official update with this changes already done

Inviato dal mio Redmi Note 4 utilizzando Tapatalk

Non mi funciona a me....che sto faciendo si sbagliato ?
Reply
I hope nightflyer can fix it .....for all italiens outside of italy
Reply
(2017-04-19, 10:29)vladi1971 Wrote:
(2017-04-19, 10:21)lucapoison Wrote: I solved the problem editing the file... It would be useful for the future to have an official update with this changes already done

Inviato dal mio Redmi Note 4 utilizzando Tapatalk

Non mi funciona a me....che sto faciendo si sbagliato ?

Hi vladi1971!

As far as I know, indentation is very important in python. Which editor did you use to edit the file?

It wont work, if your lines in the file default.py look like this:
Code:
def log_country():
raiplay = RaiPlay()
country = "Italia"
xbmc.log("RAI geolocation: %s" % country)

Indeed it works, if they look like this:
Code:
def log_country():
    raiplay = RaiPlay()
    country = "Italia"
    xbmc.log("RAI geolocation: %s" % country)
Note that lines 2-4 have an indentation of four spaces in the beginning.

By the way: I found out, that it does not really matter if you write "Italia". It also works with any other string like "North Korea", "Mordor" or "Westeros". So like manalishi79 already posted before, my "solution" ain't really a solution but only a quick-and-dirty workaround.

Have a nice day!
Reply
I managed to edit the file on my PC version of KODI but how can I access and edit the 'default.py' file on my fire stick TV version of KODI?
Does anyone have an idea how to do it ?
Reply
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 35

Logout Mark Read Team Forum Stats Members Help
Rai On Demand plugin2