I've been a happy user for some time, but the SF VideoPortal source has changed recently. The plugin does not work anymore.
Skandi, are you looking at it? ...I've forked the addon source on github (
https://github.com/skandi/xbmc-addon-sfvideoportal ) and I'll have a quick look at it myself. Please tell me if you're already working on it.
Greetings from Jona
marbot
Edit: fixed link.
Hi there
I just finished fixing the addon. The source is on github,
here.
Unfortunately, I have not been able to contact andi (skandi), so I cannot "officially" release the addon through automated update.
If you want to use the new version, simply copy the "
videoportal.py" script your XBMC/addons/plugin.video.sf-videoportal folder, replacing the old version.
Greetings from Jona & schöni Wiehnachtä
marbot
hey all,
had a very busy christmas time, there was no time left to take care of the new srf website.
marbot, thank you very much for your work, I will pull your patch, do a short review, and release a new version in the next days. stay tuned.
cheers,
skandi
new working version 0.6.0 is out.
big credits go to marbot who did the actual work of reverse engineering the new website structure. thank you.
cheers,
skandi
Can it be, that "Sendung verpasst?" doesn't work anymore? It used to have troubles before, but now I just get an empty list with every day. Rest works like a charm though.
hi frozenbubbl,
you're right. with the last update, "Sendung verpasst?" lost a bit of its capabilities.
currently, only shows that where broadcasted within the last 10 days are browseable.
a fix is in progress...
cheers, skandi
Hi skandi
Your addon worked with Eden for me perfect. Thank you for your effort. Now with Frodo the addon generate the error "Script-Fehler!:videoportal.py"
Here is the log:
Code:
11:29:15 T:4328 NOTICE: Thread XBPyThread start, auto delete: false
11:29:15 T:3812 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
11:29:15 T:4328 NOTICE: -->Python Interpreter Initialized<--
11:29:15 T:6252 NOTICE: Thread Background Loader start, auto delete: false
11:29:18 T:4900 NOTICE: Thread Jobworker start, auto delete: true
11:29:18 T:6432 NOTICE: Thread XBPyThread start, auto delete: false
11:29:18 T:6432 NOTICE: -->Python Interpreter Initialized<--
11:29:18 T:6432 NOTICE: ### fetchHttp(GET): http://www.srf.ch/player/tv/sendungen
11:29:19 T:5528 NOTICE: Thread Background Loader start, auto delete: false
11:29:21 T:4952 NOTICE: Previous line repeats 1 times.
11:29:21 T:4952 NOTICE: Thread XBPyThread start, auto delete: false
11:29:22 T:4952 NOTICE: -->Python Interpreter Initialized<--
11:29:22 T:4952 NOTICE: ### fetchHttp(GET): http://www.srf.ch//player/tv/sendung/10vor10
11:29:22 T:4952 NOTICE: ### args: {'id': 'c38cc259-b5cd-4ac1-b901-e3fddd901a3d'}
11:29:22 T:4952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "C:\Users\dachwasser\AppData\Roaming\XBMC\addons\xbmc-addon-sfvideoportal-master\videoportal.py", line 311, in <module>
ok = show_sendung(params)
File "C:\Users\dachwasser\AppData\Roaming\XBMC\addons\xbmc-addon-sfvideoportal-master\videoportal.py", line 214, in show_sendung
title = show.find( "div", "title").text
AttributeError: 'NoneType' object has no attribute 'text'
-->End of Python script error report<--
11:29:22 T:3812 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.sf-videoportal/?id=c38cc259-b5cd-4ac1-b901-e3fddd901a3d&mode=sendung&title=10vor10&url=%2fplayer%2ftv%2fsendung%2f10vor10%3fid%3dc38cc259-b5cd-4ac1-b901-e3fddd901a3d
11:29:22 T:3812 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sf-videoportal/?id=c38cc259-b5cd-4ac1-b901-e3fddd901a3d&mode=sendung&title=10vor10&url=%2fplayer%2ftv%2fsendung%2f10vor10%3fid%3dc38cc259-b5cd-4ac1-b901-e3fddd901a3d) failed
11:29:22 T:2604 NOTICE: Thread XBPyThread start, auto delete: false
11:29:22 T:2604 NOTICE: -->Python Interpreter Initialized<--
11:29:22 T:2604 NOTICE: ### fetchHttp(GET): http://www.srf.ch/player/tv/sendungen
11:29:23 T:5764 NOTICE: Thread Background Loader start, auto delete: false
11:29:26 T:3800 NOTICE: Previous line repeats 1 times.
11:29:26 T:3800 NOTICE: Thread Jobworker start, auto delete: true
11:29:26 T:1820 NOTICE: Thread CFileCache start, auto delete: false
11:29:28 T:776 NOTICE: Thread Jobworker start, auto delete: true
11:29:29 T:1404 NOTICE: Previous line repeats 1 times.
11:29:29 T:1404 NOTICE: Thread CFileCache start, auto delete: false
I think with Frodo came some changes for the addons. Hope you can help and update your addon.
greetings
dachwasser
(2013-04-05, 11:45)dachwasser Wrote: [ -> ]Hi skandi
Your addon worked with Eden for me perfect. Thank you for your effort. Now with Frodo the addon generate the error "Script-Fehler!:videoportal.py"
Here is the log:
Code:
11:29:15 T:4328 NOTICE: Thread XBPyThread start, auto delete: false
11:29:15 T:3812 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
11:29:15 T:4328 NOTICE: -->Python Interpreter Initialized<--
11:29:15 T:6252 NOTICE: Thread Background Loader start, auto delete: false
11:29:18 T:4900 NOTICE: Thread Jobworker start, auto delete: true
11:29:18 T:6432 NOTICE: Thread XBPyThread start, auto delete: false
11:29:18 T:6432 NOTICE: -->Python Interpreter Initialized<--
11:29:18 T:6432 NOTICE: ### fetchHttp(GET): http://www.srf.ch/player/tv/sendungen
11:29:19 T:5528 NOTICE: Thread Background Loader start, auto delete: false
11:29:21 T:4952 NOTICE: Previous line repeats 1 times.
11:29:21 T:4952 NOTICE: Thread XBPyThread start, auto delete: false
11:29:22 T:4952 NOTICE: -->Python Interpreter Initialized<--
11:29:22 T:4952 NOTICE: ### fetchHttp(GET): http://www.srf.ch//player/tv/sendung/10vor10
11:29:22 T:4952 NOTICE: ### args: {'id': 'c38cc259-b5cd-4ac1-b901-e3fddd901a3d'}
11:29:22 T:4952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "C:\Users\dachwasser\AppData\Roaming\XBMC\addons\xbmc-addon-sfvideoportal-master\videoportal.py", line 311, in <module>
ok = show_sendung(params)
File "C:\Users\dachwasser\AppData\Roaming\XBMC\addons\xbmc-addon-sfvideoportal-master\videoportal.py", line 214, in show_sendung
title = show.find( "div", "title").text
AttributeError: 'NoneType' object has no attribute 'text'
-->End of Python script error report<--
11:29:22 T:3812 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.sf-videoportal/?id=c38cc259-b5cd-4ac1-b901-e3fddd901a3d&mode=sendung&title=10vor10&url=%2fplayer%2ftv%2fsendung%2f10vor10%3fid%3dc38cc259-b5cd-4ac1-b901-e3fddd901a3d
11:29:22 T:3812 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sf-videoportal/?id=c38cc259-b5cd-4ac1-b901-e3fddd901a3d&mode=sendung&title=10vor10&url=%2fplayer%2ftv%2fsendung%2f10vor10%3fid%3dc38cc259-b5cd-4ac1-b901-e3fddd901a3d) failed
11:29:22 T:2604 NOTICE: Thread XBPyThread start, auto delete: false
11:29:22 T:2604 NOTICE: -->Python Interpreter Initialized<--
11:29:22 T:2604 NOTICE: ### fetchHttp(GET): http://www.srf.ch/player/tv/sendungen
11:29:23 T:5764 NOTICE: Thread Background Loader start, auto delete: false
11:29:26 T:3800 NOTICE: Previous line repeats 1 times.
11:29:26 T:3800 NOTICE: Thread Jobworker start, auto delete: true
11:29:26 T:1820 NOTICE: Thread CFileCache start, auto delete: false
11:29:28 T:776 NOTICE: Thread Jobworker start, auto delete: true
11:29:29 T:1404 NOTICE: Previous line repeats 1 times.
11:29:29 T:1404 NOTICE: Thread CFileCache start, auto delete: false
I think with Frodo came some changes for the addons. Hope you can help and update your addon.
greetings
dachwasser
The Problem is on line 214 in videoportal.py:
Code:
title = show.find( "div", "title").text
It seems this div tag no longer exists in the web source... If you delete it and the variable title in line 219:
Code:
addDirectoryItem( ITEM_TYPE_VIDEO, title + " " + titleDate, {PARAMETER_KEY_MODE: MODE_PLAY, PARAMETER_KEY_ID: id }, image)
, the plugin works again.
Hi all
SRF changed their homepage once again, and I fixed the plugin (once again). The fixed
videoportal.py python script is in my GitHub repository,
here. Download it, replace your videoportal.py file with it, and the AddOn should work again.
I did not fix the "Themen", as it is nearly the same as "Sendungen nach Thema".
Enjoy!
marbot
Hi marbot
Because of the problems i had with it, i deinstalled and deleted all about the sf videoportal addon.
Now when trying to install fresh from your git
https://github.com/marbot/xbmc-addon-sfvideoportal i get the error "abhängigkeit nicht erfüllt".
I am on frodo 12.1.
dachwasser
hi there!
i still get a error in videoportal.py....anyone else so?
cheers