Yes! According to EU law is not illegal to stream content from an online source once you are not downloading and or saving the media as described by Court of Justice of the European Union (CJEU). When using an android box you are streaming and not downloading the data. In essence the media is all online and not actually on the android box therefore you are not breaking any law.
The judgement of the court states that: “Article 5 of Directive 2001/29/EC of the European Parliament and of the Council of 22 May 2001 on the harmonisation of certain aspects of copyright and related rights in the information society must be interpreted as meaning that the copies on the user’s computer screen and the copies in the internet ‘cache’ of that computer’s hard disk, made by an end-user in the course of viewing a website, satisfy the conditions that those copies must be temporary, that they must be transient or incidental in nature and that they must constitute an integral and essential part of a technological process, as well as the conditions laid down in Article 5(5) of that directive, and that they may therefore be made without the authorisation of the copyright holders.”