New MythTV Plasmoid

New MythTV Plasmoid

Postby muh3 » Fri Oct 17, 2014 10:45 am

Hi,

(i cleaned this post)

so, this is a MythTV Plasmoid.

Here is the git repo:
https://github.com/michi3/MythInfo

thx and have fun!
Attachments
mythtv_plasmoid.png
mythtv plasmoid screenshot
mythtv_plasmoid.png (254.54 KiB) Viewed 1074 times
Last edited by muh3 on Fri Oct 31, 2014 11:45 am, edited 5 times in total.
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am

Re: New MythTV Plasmoid

Postby muh3 » Sun Oct 26, 2014 11:04 pm

check out the first post, some progress happend.

P.S.: does somebody have an idea to get the channel-icons transparent?
mythtv provides the icons as jpeg ;(
i don't want to do things like "real-time client image type conversion to png"

the qml image type doesn't have a "transparent color feature"
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am

Re: New MythTV Plasmoid

Postby dekarl » Mon Oct 27, 2014 2:49 pm

Maybe someone can post a mapping of DVB/XMLTV/Atlas identifiers to third party logos, like https://github.com/3PO/Senderlogos, which have lots of channel icons from europe. Then people can integrate these list(s) into their guide services. E.g. we could batch update the mapping in our logo service.

Edit: e.g. for the channel in your screenshot
Image
User avatar
Germanydekarl
Developer
 
Posts: 228
Joined: Thu Feb 06, 2014 11:01 pm

Re: New MythTV Plasmoid

Postby muh3 » Mon Oct 27, 2014 10:16 pm

this would be cool to be integrated in mythtv.

if i'm going to use an external service this has some disadvantages:
- online connection required
- someone has to take care about the mapping

P.S.: check the first post, there you can find the source now
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am

Re: New MythTV Plasmoid

Postby dekarl » Mon Oct 27, 2014 10:40 pm

muh3 wrote:if i'm going to use an external service this has some disadvantages:
- online connection required
- someone has to take care about the mapping

Let me reword that. My thought was
  • Someone creates a mapping in a machine readable format and puts it on a webserver (e.g. GitHub)
  • The MythTV project imports this map into their channel icon service backend
  • the users runs a channel scan, looks up the icons and downloads them to their box
  • you request the channel icon via the Services API and get a nicer logo with transparency, even if your internet link is down
Someone will always have to do the manual mapping, there is no way around that. I prefer to do it once centrally instead of everybody doing it over and over again.
A centrally stored map connecting the various channel IDs / icons together can be shared between many projects.
User avatar
Germanydekarl
Developer
 
Posts: 228
Joined: Thu Feb 06, 2014 11:01 pm

Re: New MythTV Plasmoid

Postby muh3 » Mon Oct 27, 2014 10:55 pm

dekarl wrote:
muh3 wrote:if i'm going to use an external service this has some disadvantages:
- online connection required
- someone has to take care about the mapping

Let me reword that. My thought was
  • Someone creates a mapping in a machine readable format and puts it on a webserver (e.g. GitHub)
  • The MythTV project imports this map into their channel icon service backend
  • the users runs a channel scan, looks up the icons and downloads them to their box
  • you request the channel icon via the Services API and get a nicer logo with transparency, even if your internet link is down


this is what i meant with "this would be cool to be integrated..." ;)

dekarl wrote:Someone will always have to do the manual mapping, there is no way around that. I prefer to do it once centrally instead of everybody doing it over and over again.
A centrally stored map connecting the various channel IDs / icons together can be shared between many projects.


It would really be cool if someone takes care about this icons stuff ;)
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am

Re: New MythTV Plasmoid

Postby stuartm » Wed Oct 29, 2014 11:04 am

muh3 wrote:P.S.: does somebody have an idea to get the channel-icons transparent?
mythtv provides the icons as jpeg ;(


I'll add an option to GetChannelIcon to return the icons in PNG format.
User avatar
Great Britainstuartm
Developer
 
Posts: 125
Joined: Wed Feb 05, 2014 5:17 pm

Re: New MythTV Plasmoid

Postby muh3 » Fri Oct 31, 2014 11:49 am

stuartm wrote:
muh3 wrote:P.S.: does somebody have an idea to get the channel-icons transparent?
mythtv provides the icons as jpeg ;(


I'll add an option to GetChannelIcon to return the icons in PNG format.


This would be great. Looking forward to it.
( should i write a bug report? )

check the first post...git repo is up. There you can find the latest version. I removed the version from this thread, since it was outdated. (a lot of refacrtoring happend)
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am

Re: New MythTV Plasmoid

Postby dekarl » Fri Oct 31, 2014 12:28 pm

muh3 wrote:
stuartm wrote:
muh3 wrote:P.S.: does somebody have an idea to get the channel-icons transparent?
mythtv provides the icons as jpeg ;(


I'll add an option to GetChannelIcon to return the icons in PNG format.


This would be great. Looking forward to it.

I have just looked at my channel icon for that station and the white background appears to be part of the original image. So getting a picture in a different file format from the service may not have the effect that you are hoping for... The fix will help keeping existing transparency intact, but it will not add new transparency magically :-)
User avatar
Germanydekarl
Developer
 
Posts: 228
Joined: Thu Feb 06, 2014 11:01 pm

Re: New MythTV Plasmoid

Postby muh3 » Fri Oct 31, 2014 1:20 pm

thats true.

i implicitly thought: providing the icons as png means, they have a correct transparency information.

So, i'm not into this mythtv icon feature. I don't know where mythtv get's the icons from.
But trancparency would also be a benefit for frontends.

EDIT: providing icons in a format which has a transparency feature is basically a good idea. To provide correct transparent icons, this step is still necessary.
Germanymuh3
Newcomer
 
Posts: 7
Joined: Fri Oct 17, 2014 10:22 am


Return to General Development



Who is online

Users browsing this forum: No registered users and 1 guest

cron