-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differentiate between Label and Title #668
Conversation
d05763e
to
33f85c1
Compare
@mediaminister We seem to have issues with web scraping again. Maybe due to changes to the VRT NU website ? |
Indeed, the livestream player is removed from the channel pages of Eén en Canvas (https://www.vrt.be/vrtnu/kanalen/een/ https://www.vrt.be/vrtnu/kanalen/canvas/) |
A few remarks:
|
949c21b
to
aeb0fe0
Compare
@dagwieers I think the problem you are trying to fix is situated here: https://github.com/pietje666/plugin.video.vrt.nu/blob/07619e8a5c877b6d7d237d76203c910c23245ec8/resources/lib/apihelper.py#L236 |
Oh damn 😱 However, if I remove that line, my label has the title, not the label. from ListItem. Are we somewhere modifying the label to become the title? I have no clue why we did the above either :-/ Same for tvguide. It seems as if Estuary is showing the Title in the listing, and not the Label. |
aeb0fe0
to
d5edd41
Compare
I found the cause, |
d5edd41
to
b4da1ef
Compare
Yes, I can reproduce this now. Thanks, it would have taken me some time to find this 🙄 |
9ca4c84
to
1b12463
Compare
So this PR works as expected but without any sort methods... 😞 |
e81dfad
to
e4ae18a
Compare
The current PR is ready to be merged, but doesn't fix the original issue I intended to fix. But at least we understand better what is going on and where the fix is needed. I added 2 FIXMEs in the code to highlight this. |
e4ae18a
to
16dac04
Compare
This PR includes: - Clear distinction between Label and Title - Add `get_title()` metadata function - Add `get_mediatype()` metadata function - Set proper mediatype for oneoff videosdd FIXMEs for a known - Add FIXMEs for a known label/title issue in Kodi/Estuary
16dac04
to
59503dd
Compare
Going to merge this as it adds various small visual improvements. We can improve on this later (especially if we want to improve oneoffs wrt. #670). |
This PR includes:
get_title()
metadata functionget_mediatype()
metadata function