[RELEASE] SF Videoportal Addon
#31
Thanks for your response.
I have overwritten videoportal.py and the addon.xml with the files out of the zip file which i got from https://github.com/marbot/xbmc-addon-sfvideoportal.

Still, i get this error

Code:
15:28:55 T:2884695104   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 "/home/pi/.xbmc/addons/plugin.video.sf-videoportal/videoportal.py", line 306, in <module>
                                                ok = show_sendung(params)
                                              File "/home/pi/.xbmc/addons/plugin.video.sf-videoportal/videoportal.py", line 207, in show_sendung
                                                title = show.find( "h2", "title").text
                                            AttributeError: 'NoneType' object has no attribute 'text'
                                            -->End of Python script error report<--
15:28:55 T:3040997376   ERROR: GetDirectory - Error getting plugin://plugin.video.sf-videoportal/?id=09784065-687b-4b60-bd23-9ed0d2d43cdc&mode=sendung&title=Arena&url=%2fplayer%2ftv%2fsendung%2farena%3fid%3d09784065-687b-4b60-bd23-9ed0d2d43cdc
15:28:55 T:3040997376   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sf-videoportal/?id=09784065-687b-4b60-bd23-9ed0d2d43cdc&mode=sendung&title=Arena&url=%2fplayer%2ftv%2fsendung%2farena%3fid%3d09784065-687b-4b60-bd23-9ed0d2d43cdc) failed

I can browse "Sendungen A-Z" and i get the list with all the different telecasts, but if i hit enter with one telecast highlighted , after the "arbeitet" screen i get the script error shown above!
Reply
#32
Replace line #207 in videoportal.py:

Code:
title = show.find( "h3", "title").text
// GitHub // Repository

// USTV VoD (Video-on-Demand) / World News Live / MRT Play
Reply
#33
(2013-09-28, 18:27)moneymaker Wrote: Replace line #207 in videoportal.py:

Code:
title = show.find( "h3", "title").text


it works! thank you very much!

whats the difference between h3 and h2? just one little number can make it work?
Reply
#34
(2013-09-28, 18:59)oldschO_ol Wrote:
(2013-09-28, 18:27)moneymaker Wrote: Replace line #207 in videoportal.py:

Code:
title = show.find( "h3", "title").text
it works! thank you very much!

whats the difference between h3 and h2? just one little number can make it work?
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the most important heading. <h6> defines the least important heading.

for example:

Code:
<h3>Abstimmungs-Arena: Änderung ...</h3>
// GitHub // Repository

// USTV VoD (Video-on-Demand) / World News Live / MRT Play
Reply
#35
You're right, I only use the "Sendung verpasst" directory so I've never noticed that, now tested on "Sendungen A-Z" and got the same error, thanks for the fix moneymaker.
Reply
#36
Hi everyone

Thanks for fixing this bug! I got a pull request in github and merged it, so the videoportal.py on https://github.com/marbot/xbmc-addon-sfvideoportal should be working again properly.

Ursli, the links you posted as for "Most Viewed" "Latest" "Currently Watched" seem to be easy to parse, but unfortunately I don't have time to write code for the videoportal lately. But as it's open source, everyone with python programming skills is welcome to help! :-) I am quite busy at the moment and will only limit my contribution to bug fixing.

The fix I did with the videostream is only a workaround, it should be better to use the "official" rtmp stream (some of them are even in HD). I did not get it to work, so I'm using the http stream instead, but I'm experiencing hangs and freezes sometimes. I suspect this is due to using the http stream instead of the rtmp. Is anyone else experiencing this problem? Does anyone now how the get the xbmc player to read the new Streams properly?

cheers
marbot
Reply
#37
(2013-09-28, 19:07)moneymaker Wrote:
(2013-09-28, 18:59)oldschO_ol Wrote:
(2013-09-28, 18:27)moneymaker Wrote: Replace line #207 in videoportal.py:

Code:
title = show.find( "h3", "title").text
it works! thank you very much!

whats the difference between h3 and h2? just one little number can make it work?
The <h1> to <h6> tags are used to define HTML headings.
<h1> defines the most important heading. <h6> defines the least important heading.

for example:

Code:
<h3>Abstimmungs-Arena: Änderung ...</h3>

OK thanks for explanation!

Quote:The fix I did with the videostream is only a workaround, it should be better to use the "official" rtmp stream (some of them are even in HD). I did not get it to work, so I'm using the http stream instead, but I'm experiencing hangs and freezes sometimes. I suspect this is due to using the http stream instead of the rtmp. Is anyone else experiencing this problem

I just watched one show, a "schweizer film", and for my point of view it was quite accurate! but i use xbmc on the raspberry, so freezes and hangs are all around!


last question: is it possible to change the number of show that are back-listed? in every show-folder i get about 4-5 shows, can i get more shows?

cheers
Reply
#38
I came back here since i read about the h2/h3 problem - it was an easy one.
A fixed version will be in my repo within some minutes...

The big problem i see right now is the Adobe HDS streaming (thank you ursli for the links).
I did not know about HDS, especially protected HDS (PHDS) which seems to be used by more and more broadcasters.
I'll read about it, and if someone of you has an idea or useful information, please let me know.

Regards,
skandi
mindmade XBMC Addons repository:
http://www.mindmade.org/xbmc.php
Reply
#39
Hi all,

Ok, the situation was less difficult than i expected.
Today I was able to release a new verion 0.7.0 of the SRF Videoportal plugin.
It switched to HDS streaming (the SRF streams are not encrypted), and allows to view several shows in high definition (check the addon settings).

Have fun,
skandi
mindmade XBMC Addons repository:
http://www.mindmade.org/xbmc.php
Reply
#40
Any chance you can update the repo?
I get a bunch of dependency issues and i see the repo from mindmade.org doesn't have the mindmadetools in it
thanks for a great addon
Reply
#41
(2013-10-10, 04:39)renaudtrudel Wrote: Any chance you can update the repo?
I get a bunch of dependency issues and i see the repo from mindmade.org doesn't have the mindmadetools in it
thanks for a great addon

Hi,
I just took a newly installed XBMC, added the mindmade.org repository (from zip file) and installed the SRF Videoportal Addon 0.7.0 without an issue.
Regards,
skandi
mindmade XBMC Addons repository:
http://www.mindmade.org/xbmc.php
Reply
#42
Good Addon, I'll try it later. Thank you very much!
Reply
#43
(2013-10-10, 10:11)skandi Wrote: Hi,
I just took a newly installed XBMC, added the mindmade.org repository (from zip file) and installed the SRF Videoportal Addon 0.7.0 without an issue.
Regards,
skandi

Hi Skandi,
Thanks for the reply
I just tried doing the same thing; fresh install Frodo 12.2 with no update to dailies. It looks like it's being marked as broken b/c of a reference to fanart.jpg- which in your repo/addons is now icon.png

Here's the relevant debug log entries:
09:59:21 T:804454400 DEBUG: GetImageHash - unable to stat url http://www.mindmade.org/~andi/xbmc/addon...fanart.jpg
10:02:22 T:139988992 DEBUG: GetImageHash - unable to stat url http://www.mindmade.org/~andi/xbmc/addon...fanart.jpg


From a quick glance at the addons.xml I cannot, however, find where 'fanart.jpg' is being referenced as part of the install?
Reply
#44
"Hi renaudtrudel,

Thank you for your interest in my plugin and your report.
I was wondering for a long time what caused xbmc to mark my addon(s) as broken.

Luckily, some days ago a user sent me an email and informed me that my plugins depend on outdated xbmc resources. I'll incorporate his his fix in the next days and release a new version of the plugin.

Cheers,
skandi
mindmade XBMC Addons repository:
http://www.mindmade.org/xbmc.php
Reply
#45
I love this addon! Great Job!

Do you think it is possible to add a search function? Did you already try to add such a function or did you make any experience yet?

Greets
Andee
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] SF Videoportal Addon1