Hi,
First, make sure you have a connection circuit like attached (you can use any other popular NPN transistor like BC546):
I use this way to control my TV succesfully since years:
Youtube video of my Project Sara PL
IR blasters - i tried several, but none of them works. Focus on GPIO - it's great!