A 29-year-old man has been jailed for more than three years for loading illicit TV streaming services onto Amazon Fire Sticks.