Giter VIP home page Giter VIP logo

Comments (27)

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Many things are possible :-). If you can think of a way to reliably link from the available key data (channel id, number, name) to this, I can try what can be achieved. But I don't see that linkage at present.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Iam not the Developer ๐Ÿ˜… but my idea is an Option to add an Ui or config file for Custom EPG by channel

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Can you pick a channel where you think this would add info, and I'll have a think on it. Could potentially add a lookup file to tie channel id to xml.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

I would test it with "RTL Television" (SD is 183 and HD is 163) in Germany.

The XML for today would be http://xmltv.xmltv.se/hd.rtl.de_2021-05-27.xml

SD and HD Channel uses the Same EPG

So there must be a date checker too, coz every day the URL changes date specific

from home_assistant_skyq_mediaplayer.

stale avatar stale commented on August 15, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from home_assistant_skyq_mediaplayer.

stale avatar stale commented on August 15, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from home_assistant_skyq_mediaplayer.

stale avatar stale commented on August 15, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Screenshot_20220517_234709_de sky bw

I just checked the German SkyQ App again, there must be a Source to get the EPG for non Sky Channels, but Until now iam unable to locate an url, but maybe it's a hint

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

If you know how to use a network sniffer/packet catcher tool, you can capture the traffic from the Sky Go app on Windows or Android to see where it is getting it from.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Screenshot_20220518_002827_com minhui networkcapture

All i could find is something about

atlantis.epgsky.com

But iam not allowed to access that side

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

I personally use fiddler on Windows, which will decrypt the traffic, so you can see all the calls and returns. UK uses Atlantis so it maybe they are now to a common standard. I'll try and take a look over the next few days.

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

The Atlantis URL does work for getting the schedule back, but with the information it provides I can't figure out the correct image url. It should be something like - https://imageservice.sky.com/...... but for Germany of course it could be something different.

Edit: Or possibly cdn.skyq.sky.com

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

According to fast capture for Germany it seems to be "de.imageservice.sky.com"

Screenshot_20220518_100746_com minhui networkcapture

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

In your SkyQ manifest.json try changing pyskyqremote to 0.3.8

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Changed it, will test this afternoon, right now SkyQ is in deepsleep Mode, so I can only Start using the remote and unable to controll it using HA (Safes about 30W)

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

As an fyi, this also works for Italy, so I should be able to significantly reduce the complexity of code since all countries are now using the same method for schedule and image handling.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

now the integration wont load here

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: aiohttp.server
Source: custom_components/skyq/config_flow.py:140
Integration: Sky Q (documentation, issues)
First occurred: 16:23:22 (1 occurrences)
Last logged: 16:23:22

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 243, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 70, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 205, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 232, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 335, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/skyq/config_flow.py", line 140, in async_step_init
self._remote = self.hass.data[DOMAIN][self._config_entry.entry_id][SKYQREMOTE]
KeyError: '7fcbae4d035e11ebbf31330c9796ec6f'

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Were you on latest version? If not just reinstall whatever you had before.

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Also, this seems strange because it shouldn't pass through that code at startup. That is only executed when you click Configure on the Sky Q card of the Integrations tab.

Edit: You need to have been on SkyQ 2.9.0 - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.9.0 - which requires HA 2022.5

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

after reinstallation and two restarts it is working- also German no Sky Channels are now show whats running, show Channel Logo or Show Logo (when on remote 0.3.8)

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

So all working fine?

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Right now I cant find any issues

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

image

My SkyQ Pannel is looking great now while running an non Sky Channel

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Iโ€™ll look to release a new version which will work for Italy as well then, as a full SkyQ release.

from home_assistant_skyq_mediaplayer.

bluenazgul avatar bluenazgul commented on August 15, 2024

Take your time, Thanks for your work to get it working with the few Infos i could provide

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

It was simple when I had the right info, since I already had GBR setup that way ;-) I've also removed all the complex code to handle the different ways of getting the info. Much cleaner.

from home_assistant_skyq_mediaplayer.

RogerSelwyn avatar RogerSelwyn commented on August 15, 2024

Feature added by code improvement to standardise EPG retrieval from common source across countries - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.9.1

from home_assistant_skyq_mediaplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.