LG32LD490 Humax remote control code
Just bought yourself a Humax Freesat/Freeview box and want it to work with your LG TV model LG32LD490? I found code 248 did the trick.
Just bought yourself a Humax Freesat/Freeview box and want it to work with your LG TV model LG32LD490? I found code 248 did the trick.
It’s that time of the the year again. The Great Escape Festival announced the first 150 artists on their bill and I’ve compiled them into a handy Spotify playlist.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
import spotipy artists = ['names', 'of'. 'artists'] def getArtist(artist): spotify = spotipy.Spotify() results = spotify.search(q='artist:' + artist, type='artist') if results['artists']['total'] > 0: for a in results['artists']['items']: if a['name'].lower() == artist.decode('utf-8').lower(): return a return None else: return None def getTop5(artist): artist_obj = getArtist(artist) if not artist_obj: return None artist_id = artist_obj['id'] spotify = spotipy.Spotify() results = spotify.artist_top_tracks(artist_id, country='GB') return results['tracks'][:5] with open('TGE15.txt', 'w') as f: for a in artists: tracks = getTop5(a) if tracks: for t in tracks: f.write(t['uri']+'\n') |
Using the following line: mencoder mf://@stills.txt -mf fps=30 -ovc copy -oac copy -o timelapse.avi Lead to a 1.86Gb file – its a good job I’ve got a fibre broadband connection!
The problem: You’re going to a festival with more bands than you could ever hope to see. You need a playlist with songs of all the bands playing so you can decide what to go and see and what to give a miss. The solution: From a list of the artists, query the Spotify Search API […]
The chaps over at MAMA and Company announced the first batch of artists for The Great Escape festival this May, and with more than 100 announced and more to come, its time to get listening to my TGE14 Spotify playlist! As with last year, I’ll be adding to it as more acts are announced and more […]
Scraped from http://skymovies.sky.com/api/carousel/on-sky-movies For mashing up with Rotten Tomatoes or IMDB or the like…
The problem: Take 1500 images captured from my Raspberry Pi and turn them into a 1080 HD video suitable for upload to YouTube, Facebook, and Vimeo. The solution: Install ffmpeg and/or mencoder and use either tool to from the Terminal on my mac to compile the images into a suitable video format. To install the […]
The problem: Invert the colours of a Sublime Text 2 colour theme, so that when I invert the screen on my MacBook the colours are as if they weren’t inverted. The solution: Write a python script that matches the hex colour codes (e.g. #ffffff) in the colour theme configuration file against a regular expression, and […]
Tracks from the night as they were played. Now I should stop messing about with Python and feeling pleased with myself and go to bed… New Young Pony Club – Ice Cream | 22:35:20 Flume – Holdin On | 22:38:32 Major Lazer – Pon De Floor – Radio Edit | 22:41:07 Alt-J – Dissolve Me […]