script.module.srgssr
is a Kodi module that implements all the functionalities needed for other Kodi plugins to play content (video and audio) from SRG SSR.
Currently, these Kodi plugins use script.module.srgssr
:
Kodi script for SRG SSR related Kodi plugins.
License: GNU General Public License v3.0
script.module.srgssr
is a Kodi module that implements all the functionalities needed for other Kodi plugins to play content (video and audio) from SRG SSR.
Currently, these Kodi plugins use script.module.srgssr
:
From the logs:
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Enable_Segments_Topics) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Enable_Show_Segments) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Most_Clicked_Shows) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Newest_Shows) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Recommendations) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (SRF_Live) was not found.
2022-05-25 04:51:14.821 T:4456 DEBUG <CSettingsManager>: requested setting (Soon_Offline) was not found.
Since the site redesign of srf.ch the live events are not detected anymore.
Currently only the title is shown. It would be handy to also display the date and time of the upcoming broadcast.
Hello, all SRF addons no longer allow to navigate through the "Topics" entry. "Show by date" and "All shows" still work fine from what I checked.
Without the "Topics" section it's impossible to find the livesport streaming events. I believe you can still stream them if you grab the event number from the website and create an strm file from it yourself.
edit: forgot to mention this is happening on Nexus, did not test against Kodi Matrix anymore.
Hi goggle
Thanks for your work!
Since yesterday I do have problems with the SRF Play TV addon - always when I want to list concrete shows (not only show names - e.g. menu point "Newest favorite shows"), I get an error - it says "ValueError: No JSON object could be decoded".
Looking at the log, I found the following problem (in this example, there is only one show in favorites, "Babylon Berlin"):
2020-05-13 14:14:50.109 T:1799328640 DEBUG: CAddonSettings[plugin.video.srfplaytv]: loading setting definitions
2020-05-13 14:14:50.110 T:1799328640 DEBUG: CAddonSettings[plugin.video.srfplaytv]: trying to load setting definitions from old format...
2020-05-13 14:14:50.111 T:1799328640 DEBUG: CAddonSettings[plugin.video.srfplaytv]: loading setting values
2020-05-13 14:14:50.112 T:1799328640 DEBUG: script.module.srgssr-1.7.0-build_newest_favourite_menu
2020-05-13 14:14:50.113 T:1799328640 DEBUG: script.module.srgssr-1.7.0-build_newest_favourite_menu. Open URL https://www.srf.ch/play/tv/show/d12a798e-c300-4816-b627-68e075823549/latestEpisodes?numberOfEpisodes=30&tillMonth=05-2020.
2020-05-13 14:14:50.113 T:1799328640 DEBUG: script.module.srgssr-1.7.0-open_url, url = https://www.srf.ch/play/tv/show/d12a798e-c300-4816-b627-68e075823549/latestEpisodes?numberOfEpisodes=30&tillMonth=05-2020
2020-05-13 14:14:50.126 T:1799328640 DEBUG: Skin Helper Simplecache --> Closed
2020-05-13 14:14:50.126 T:1799328640 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.srfplaytv/addon.py", line 23, in <module>
srfplaytv.run()
File "/storage/.kodi/addons/plugin.video.srfplaytv/resources/lib/srfplaytv.py", line 120, in run
SRFPlayTV().build_newest_favourite_menu(page=page)
File "/storage/.kodi/addons/script.module.srgssr/lib/srgssr.py", line 534, in build_newest_favourite_menu
response = json.loads(self.open_url(json_url))
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
ValueError: No JSON object could be decoded
-->End of Python script error report<--
2020-05-13 14:14:50.126 T:1799328640 DEBUG: onExecutionDone(27, /storage/.kodi/addons/plugin.video.srfplaytv/addon.py)
2020-05-13 14:14:50.200 T:1937465360 DEBUG: ------ Window Init (DialogNotification.xml) ------
2020-05-13 14:14:50.386 T:1799328640 INFO: Python interpreter stopped
2020-05-13 14:14:50.386 T:1799328640 DEBUG: Thread LanguageInvoker 1799328640 terminating
2020-05-13 14:14:50.387 T:1627059072 DEBUG: Skin Helper Widgets --> Kodi_Monitor: sender plugin.video.youtube - method: Other.check_settings - data: ["%7B%22httpd_address%22%3A%20%220.0.0.0%22%2C%20%22use_httpd%22%3A%20false%2C%20%22whitelist%22%3A%20%22%22%2C%20%22httpd_port%22%3A%2050152%7D"]
2020-05-13 14:14:50.398 T:1543132032 ERROR: GetDirectory - Error getting plugin://plugin.video.srfplaytv/?mode=12&name=Newest_Favourite_Shows
2020-05-13 14:14:50.399 T:1543132032 DEBUG: Thread waiting 1543132032 terminating
I'm running SRF Play TV 1.6.0 with script.module.srgssr 1.7.0 on LibreELEC 9.2.1.
Any idea how to fix this? Did SRF change something in their URL-structure?
Thanks and e gruess
If we haven't selected any favorite shows, all shows are considered as favorite shows.
The expected behavior is that no show is a favorite...
Hey
He released a *.zip thats working:
https://github.com/tobiaswaldvogel/script.module.srgssr/archive/v1.8.0rc1.zip but I prefer to install from official sources.
It would be great if you push/release the changes into a version bump from you.
thanks
When trying to play a segment of a video episode, some play the whole episode instead of only the segment.
Edit: Now it doesn't seem to work for any video anymore...
Since December 2018, it is not possible to play live TV on any SRG SSR related Kodi plugins (e.g. plugin.video.srfplaytv
). This is due to recently added DRM protection of the live streams:
Kodi 18 (Leia) has received some sort of DRM support (have a look at the Kodi's Python documentation here: https://codedocs.xyz/AlwinEsch/kodi/group__python__xbmcdrm.html). So I guess it might be possible to bring Live TV playback back to my plugins (definitely not for Kodi 17, but possibly for Kodi 18).
Can someone with knowledge in this topic approve this?
How exactly can this be done? If someone can help, please let me know.
The protected streams which I'm talking about, can be found here: https://www.srf.ch/play/tv/live/
I believe it happend two days ago? Now kodi throws out
errors in the build_main_menu function.
creating a strm playlist file with
plugin://plugin.video.srfplaytv/?mode=50&name=urn:swisstxt:video:srf:$id
syntax still works
I checked it against all the play addons the error is the same.
Hello guys!
I'm running on Linux Mint 21 amd64 with kodi 20.2 and addon v. 2.2.3
Section show by date is empty, maybe something in chamged on web site structure
If necessary for you debug, I'll upload a log file
Thamks for your job!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.