2012-02-14, 11:38
svslen Wrote:TV4 Play: No playable files found in XOT 3.2.12 - - This is how i fixed it.Or you update to the latest TV4 play channel via the XOT repository and you get the fixed channel that was posted over a week ago! No need to edit stuff! Please install the Add-on via the repository.
I have found 2 errors in the Phyton Script ”chn_tv4se.py”
Just connect to your XBMC installation with WinScp or similar program and modify the /private/var/mobile/Library/Preferences/XBMC/addons/net.rieter.xot.channel.se/tv4se/chn_tv4se.py
Don’t forget to take a backup of that file(before you edit), just in case…
First of all change this line: (this will save us one redirect, not actually an error.)
self.mainListUri = "http://www.tv4play.se/a_till_o_lista"
To
self.mainListUri = "http://www.tv4play.se/alla_program"
Then we need to modify the search URL a little bit.
To fix the misleading URL path, just remove one of the “/search” in this line:
url = "http://www.tv4play.se/search/search?rows=200&order=desc&categoryids=%s&sorttype=date&start=0" % (programId,)
To
url = "http://www.tv4play.se/search?rows=200&order=desc&categoryids=%s&sorttype=date&start=0" % (programId,)
Hope someone finds this information useful...
The self.mainListUri will do an automatic redirect and will show items. The url=... is not used in the most recent channel.