Opened 2 years ago

Last modified 10 months ago

#12976 assigned Bug Report - General

Channel Icons not being downloaded from www.lyngsat-logo.com

Reported by: Nigel Owned by: Stuart Auchterlonie
Priority: minor Milestone: 29.2
Component: Services - Icon Downloads Version: 0.28.0
Severity: low Keywords:
Cc: Ticket locked: no

Description

Install of 0.28, mythtv-setup seems to have tried downloading a package of Australian channel icons, but each one contains HTML errors like :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /hires/aa/abc1_au.png
on this server.<br />
</p>
<hr>
<address>Apache Server at www.lyngsat-logo.com Port 80</address>
</body></html>

Change History (12)

comment:1 Changed 23 months ago by grandmastermarclar@…

I think this is down to the user agent; it's either not being sent, or it's not acceptable to www.lyngsat-logo.com

comment:2 Changed 23 months ago by Stuart Auchterlonie

Component: MythTV - Mythtv-setupServices - Icon Downloads

It wants a referrer header which a browser would send if it were looking at the web page for the logo....

comment:3 Changed 23 months ago by Stuart Auchterlonie

Owner: changed from Nigel to Stuart Auchterlonie
Status: newassigned

comment:4 in reply to:  1 Changed 23 months ago by Gary Buhrmaster <gary.buhrmaster@…>

Replying to grandmastermarclar@…:

I think this is down to the user agent; it's either not being sent, or it's not acceptable to www.lyngsat-logo.com

This was discussed on the -users list, and Matt Mossholder identified that the site is now requiring appropriate referrer headers to work.

They have apparently chosen to require appropriate referrer headers (presumably to provide a (small) impediment to those not accessing the data directly via their web site for personal use).

Someone is going to have to contact lyngsat directly to determine if they have alternative approved mechanisms to access their logos via programmatic mechanisms, or whether their site is no longer supported for that type of access (and MythTV should remove support for them). Their logos, their rules.

comment:5 in reply to:  1 Changed 23 months ago by Gary Buhrmaster <gary.buhrmaster@…>

Replying to grandmastermarclar@…:

I think this is down to the user agent; it's either not being sent, or it's not acceptable to www.lyngsat-logo.com

This was discussed on the -users list, and Matt Mossholder identified that the site is now requiring appropriate referrer headers to work.

They have apparently chosen to require appropriate referrer headers (presumably to provide a (small) impediment to those not accessing the data directly via their web site for personal use).

Someone is going to have to contact lyngsat directly to determine if they have alternative approved mechanisms to access their logos via programmatic mechanisms, or whether their site is no longer supported for that type of access (and MythTV should remove support for them). Their logos, their rules.

comment:6 Changed 13 months ago by Stuart Auchterlonie

Milestone: 29.029.1

comment:7 Changed 11 months ago by Roger Siddons <rsiddons@…>

In 3b6c0d4d63f023676ad1e147e75f7c79e9286b1c/mythtv:

Don't trash channel icons when downloading

Validate downloaded icons before overwriting existing ones.

As downloading channels icons is currently broken, we
shouldn't overwrite previously good ones with garbage.
Anyone foolish enough to press the button will currently lose
any icons they have.

Refs: #12976

comment:8 Changed 11 months ago by Roger Siddons <rsiddons@…>

In b3aa4b51b94177033739728cb6fc1d9d98da62a5/mythtv:

Don't trash channel icons when downloading

Validate downloaded icons before overwriting existing ones.

As downloading channels icons is currently broken, we
shouldn't overwrite previously good ones with garbage.
Anyone foolish enough to press the button will currently lose
any icons they have.

Refs: #12976
(cherry picked from commit 3b6c0d4d63f023676ad1e147e75f7c79e9286b1c)

comment:9 Changed 11 months ago by Stuart Auchterlonie

Milestone: 29.10.28.2

Moving remaining open tickets to 0.28.2 milestone

comment:10 Changed 11 months ago by Stuart Auchterlonie

Milestone: 0.28.229.2

Moving remaining open tickets to 29.2 milestone

comment:11 Changed 10 months ago by mitch.capper@…

Have we considered using alternate sources? Schedules direct, for example, gives logo links right in the feed.

comment:12 in reply to:  11 Changed 10 months ago by anonymous@…

Replying to mitch.capper@…:

Have we considered using alternate sources? Schedules direct, for example, gives logo links right in the feed.

Those with a Schedules Direct subscription can get the logo references with their subscriptions today, and load them with a number of solutions, but not everyone is a Schedules Direct subscriber, and the channel icons are (of course) limited to those locations that Schedules Direct supports (which is not the entire world). The challenge, as before, is a good source of unencumbered logos (technically, in many jurisdictions (and especially the US), the station logos are copyrighted material, and require a license to redistribute). While many stations might be happy for you to reference their logos, someone has to do the legwork to acquire legal authorization. Are you willing and able to do that legwork?

Note: See TracTickets for help on using tickets.