Skip to content
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

Better support for station/show logos #16

Open
kingosticks opened this issue Mar 25, 2015 · 0 comments
Open

Better support for station/show logos #16

kingosticks opened this issue Mar 25, 2015 · 0 comments

Comments

@kingosticks
Copy link
Owner

Currently only support station logos but should be able to more easily get show logos with this fun snippet (from https://code.google.com/p/radiotime-tools/source/browse/trunk/clients/js/src/js/radiotime.js)

logoSizes: {"square": "q", "small": "s", "normal": ""}, 
        logoFormats: {"png":"png","gif":"gif"},
        getLogoUrl: function(guide_id, logoSize, logoFormat) {
                var logoSizeCode = RadioTime.logoSizes[logoSize] || "";
                var logoFormat = RadioTime.logoFormats[logoFormat] || "png";
                return "http://radiotime-logos.s3.amazonaws.com/" + guide_id + logoSizeCode + "." + logoFormat;
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant