How work services.mythtv.org/channel-icon/

Post Reply
User avatar
SnouF
Translator
Posts: 11
Joined: Sat Feb 08, 2014 3:39 pm
Contact:
France

How work services.mythtv.org/channel-icon/

Post by SnouF »

Hi

I tested (there is some time now) logos search in mythtv-setup. For France, with IPTV (~400 Channel) operation is very very long (> 2 hours) for a result not very well.

If I understand mythtv uses http://services.mythtv.org/channel-icon.
- Is it possible to contribute ?
- The API is documented ?
Webmaster du site de la communauté francophone http://mythtv-fr.org
User avatar
stuartm
Developer
Posts: 129
Joined: Wed Feb 05, 2014 5:17 pm
Great Britain

Re: How work services.mythtv.org/channel-icon/

Post by stuartm »

The channel icon service works by collecting user submissions from mythtv-setup. These are collected in a database and admins can approve the submissions where multiple people agree about the correct icon for each channel. A lot of people submit bad matches, so we can't just approve the first submitted icon.

You could help with the manual approval process. We've got a HUGE backlog and we've been talking about automating the process instead, so if you're interested you could also help with this.

The code is not currently available publicly, this is because it wasn't really designed to last as long as it has, it's not secure and it needs a lot of work. It's currently written in perl, but if someone wanted to re-write it in python or another language that would be OK.
User avatar
SnouF
Translator
Posts: 11
Joined: Sat Feb 08, 2014 3:39 pm
Contact:
France

Re: How work services.mythtv.org/channel-icon/

Post by SnouF »

I'm willing to help for the manual approval process. I am able to approve icons of French and Swiss channels.

From my side I'm writing a similar service.
It will offer
- resizables icons from wikipedia / wikimedia
- xmltvid
- And perhaps more
If I finalize the project I will be back to tell you about here.
Webmaster du site de la communauté francophone http://mythtv-fr.org
User avatar
dekarl
Developer
Posts: 228
Joined: Thu Feb 06, 2014 11:01 pm
Germany

Re: How work services.mythtv.org/channel-icon/

Post by dekarl »

Hi SnouF,

I'm also using icons from wikimedia/-pedia and match them to xmltvid (my guide feed) and those to dvb triplets. Would you consider additional countries to your "channel icons service"? E.g. connect wikipedia logos to UK Atlas or my DE/AT/CH/IT channels?

Regards,
Karl

PS: I have a test file at http://xmltv.spaetfruehstuecken.org/xml ... st2.xml.gz and I'm happy to replace my hack with your service :)
User avatar
SnouF
Translator
Posts: 11
Joined: Sat Feb 08, 2014 3:39 pm
Contact:
France

Re: How work services.mythtv.org/channel-icon/

Post by SnouF »

My English is not very good I'm not sure if I compris.La response is therefore perhaps not good.

The idea is to make a internationnal service. With a system of community contributions.

But I also write a "parser" that collects pages on wikipedia. The problem is that wikipedia is not very structured, the best solution I've found is to list the pages that contains the model of the infobox "television channel" (with wp api: http://en.wikipedia.org/w/api.php?geiti ... =revisions) and parse the infobox "television channel".
The problem is that the model name changes from Wikpedia to another as well as the content of the infobox. For now the parser is adapted to en.wikipedia.org that appears to contain a large number of other contry channels.
Webmaster du site de la communauté francophone http://mythtv-fr.org
User avatar
stuartm
Developer
Posts: 129
Joined: Wed Feb 05, 2014 5:17 pm
Great Britain

Re: How work services.mythtv.org/channel-icon/

Post by stuartm »

I'll try to set you up with access to approve icon matches this weekend.
User avatar
SnouF
Translator
Posts: 11
Joined: Sat Feb 08, 2014 3:39 pm
Contact:
France

Re: How work services.mythtv.org/channel-icon/

Post by SnouF »

tanks
Webmaster du site de la communauté francophone http://mythtv-fr.org
Post Reply