kunesj / getctstream Goto Github PK
View Code? Open in Web Editor NEWPython script pro získání streamů živého vysíláni programů České Televize
License: GNU General Public License v3.0
Python script pro získání streamů živého vysíláni programů České Televize
License: GNU General Public License v3.0
jirka642@MS-7758 ~ $ getctstream -d
INFO:getctstream.get_ct_stream:getting stream for channel - ct24
INFO:getctstream.get_ct_stream:requests.post(...), getting playlist url...
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): www.ceskatelevize.cz
DEBUG:requests.packages.urllib3.connectionpool:"POST /ivysilani/ajax/get-client-playlist HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): www.ceskatelevize.cz
DEBUG:requests.packages.urllib3.connectionpool:"GET /ivysilani/ajax/get-client-playlist HTTP/1.1" 200 133
INFO:getctstream.get_ct_stream:got playlist url, parsing...
INFO:getctstream.get_ct_stream:playlist_url - Error
INFO:getctstream.get_ct_stream:Getting playlist...
Traceback (most recent call last):
File "/usr/local/bin/getctstream", line 9, in <module>
load_entry_point('getctstream==0.2.3', 'console_scripts', 'getctstream')()
File "/usr/local/lib/python3.5/dist-packages/getctstream-0.2.3-py3.5.egg/getctstream/cli_interface.py", line 78, in main
File "/usr/local/lib/python3.5/dist-packages/getctstream-0.2.3-py3.5.egg/getctstream/get_ct_stream.py", line 100, in getChannelStream
File "/usr/local/lib/python3.5/dist-packages/getctstream-0.2.3-py3.5.egg/getctstream/get_ct_stream.py", line 62, in getStreamUrl
File "/usr/lib/python3/dist-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 454, in request
prep = self.prepare_request(req)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 388, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/lib/python3/dist-packages/requests/models.py", line 293, in prepare
self.prepare_url(url, params)
File "/usr/lib/python3/dist-packages/requests/models.py", line 353, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'Error': No schema supplied. Perhaps you meant http://Error?
Hi,
I have installed Kodi on my Raspberry powered box and your plugin show only generic Error message : "Loading stream failed, 'NoneType' object has no attribute 'find'"
kodi.log says just :
21:54:48 T:1445983120 WARNING: CreateLoader - unsupported protocol(script) in script://plugin.video.streamct/?content_type=video-poster.jpg
21:54:48 T:1445983120 WARNING: CreateLoader - unsupported protocol(script) in script://plugin.video.streamct/?content_type=video-poster.png
21:54:48 T:1445983120 WARNING: CreateLoader - unsupported protocol(script) in script://plugin.video.streamct/?content_type=video-banner.jpg
21:54:48 T:1445983120 WARNING: CreateLoader - unsupported protocol(script) in script://plugin.video.streamct/?content_type=video-banner.png
21:54:49 T:1445983120 NOTICE: Thread JobWorker start, auto delete: true
21:54:51 T:1315959696 NOTICE: Previous line repeats 1 times.
21:54:51 T:1315959696 NOTICE: Thread LanguageInvoker start, auto delete: false
21:54:51 T:1315959696 NOTICE: -->Python Interpreter Initialized<--
21:54:52 T:1315959696 NOTICE: plugin.video.streamct: background path: /var/lib/kodi/.kodi/addons/plugin.video.streamct/resources/media-overlay.jpg
(this is all I think is related to plugin)
Does plugin logs somewhere else ? Or can you help me how to increase logging level ?
Tak sekundu je slyšet zvuk ze streamu. Následně celá aplikace (Kodi) spadne.
Obraz se buď nestačí načíst, nebo nějak souvisí s problémem.
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.