Comments (14)
OK, I'll look at it over the week-end
from home_assistant_skyq_mediaplayer.
What time did this happen at, so I can look at the EPG? What is the channel number you were on? Were you watching live, recorded or on pause?
from home_assistant_skyq_mediaplayer.
Time is in the log, (2.00 to 2.29 am)
Channel is in the issue info (Sky Cinema Sci-Fi, a thematic channel opened in June at number 303)
Watching TV live
In any case is not the first time, I received also watching other channels in the past...
from home_assistant_skyq_mediaplayer.
I think I can see why you get that error. Seems like the Italian EPG for 5th June starts as 12:30 UTC (2:30 Italian). So now I need to get it to check back a day as well as forward a day (which I do at end of day).
This is the EPG for that channel - https://apid.sky.it/gtv/v1/events?from=2020-06-05T00:00:00Z&to=2020-06-05T23:59:59Z&pageSize=50&pageNum=0&env=DTH&channels=9047
from home_assistant_skyq_mediaplayer.
Related information from Maurizio Fabiani:
2020-06-06 02:00:06 ERROR (MainThread) [custom_components.skyq.media_player] X0010M - Current Media retrieval failed: Media(channel='Sky Sport Uno HD', imageUrl='https://ethaneurope.it.imageservice.sky.com/pd-logo/skychb_23skysportunohd/600/600', sid=23, pvrId=None, live=True) : 'str' object has no attribute 'episode'
Traceback (most recent call last):
File "/config/custom_components/skyq/media_player.py", line 421, in _async_getCurrentMedia
self._episode = currentProgramme.episode
AttributeError: 'str' object has no attribute 'episode'
Looking at the hours (from 02:00:00 to 02:45:00) to it seems they appears only at night and maybe when the skyq is in standby mode.
Never happened before with previous releases…
from home_assistant_skyq_mediaplayer.
I think it happen only at night but not in stand-by mode (I was sleeping watching the TV at that hour :)). Make sense the analysys related to the UTC time used for the EPG.
Should I try to install your last beta release?
from home_assistant_skyq_mediaplayer.
It should fix it, though I'm testing out some better code improvements overnight, before I put another beta out.
from home_assistant_skyq_mediaplayer.
Ok, so I wait for next beta, thanks
from home_assistant_skyq_mediaplayer.
And yes 2am is midnight UTC, and Italian EPG brings back programmes starting between the hours searched for, and previously I look for 00:00 to 23:59. So now I'm changing to start at 22:00 the evening before, but again Italian EPG drops previous day listings off, which I'm trying to figure when. If you search to early like midday, then you get nothing back.
from home_assistant_skyq_mediaplayer.
Let me know if you need any kind of support for testing...
from home_assistant_skyq_mediaplayer.
Thanks
from home_assistant_skyq_mediaplayer.
I just posted beta3. Give it a go and leave your Sky box on over 2am if you can, to test the midnight UTC logic.
Thanks
from home_assistant_skyq_mediaplayer.
Just installed last beta3. Will let you now results tomorrow.
Thanks again.
from home_assistant_skyq_mediaplayer.
Fixed by https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.2.2
from home_assistant_skyq_mediaplayer.
Related Issues (20)
- Sky Glass and Puck support HOT 5
- Change IP Address HOT 1
- Launch an ap endpoint HOT 6
- Integration not start HOT 3
- Scheduled Recordings DST HOT 7
- [BUG] Media Browser not working - Unknown error HOT 2
- [BUG] Media Browser Issue HOT 4
- [BUG] Storage and EPG sensors unavailable HOT 3
- Stream movies from NAS to Sky Q via home assistant HOT 1
- [BUG] Device is discoverers every day newly. HOT 22
- SkyQ - No devices or entities HOT 20
- [Feature Request] HOT 2
- [Feature Request] Control SkyQ box via automations HOT 6
- [BUG] Devices discovered but the connection fails are still shown HOT 3
- [BUG] Apple Remote doesn’t work although accessory exposed HOT 2
- Inconsistent results with channel changing HOT 15
- [Feature Request] HOT 1
- How do I add apps to the source list HOT 8
- Access manually added channels and apps HOT 3
- [BUG] Soap Control URL not available - No Control URL, SOAP call not made HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home_assistant_skyq_mediaplayer.