A method for a media aggregating node of publishing user-adapted advertisements in a user-selected media stream on a user-selected local network-UE of a local network, controlled by an external network-connected UE located outside the local network and communicating with the media aggregating node, the local network further comprising a media-ad muxer node and a virtual control node, which both are connected to the media aggregating node, the method characterized by the media aggregating node performing the steps of: - receiving user login information from the external network-connected UE when a user logs in to the external network-connected UE; - authenticating the user and sending information regarding media content to the external network-connected UE; - determining whether the user is also logged in to the virtual control node, of the local network, with which the media aggregating node is communicating; - in response to determining that the user is also logged in to the virtual control node, sending information regarding available local network-UEs to the external network-connected UE; - receiving a command from the external network-connected UE to play a user-selected media content on the user-selected local network-UE of the available local network-UEs; - sending a command to the virtual control node to play the user-selected media content on the user-selected local network-UE of the available local network-UEs as a stream comprising the user-adapted advertisements and the user-selected media content, the stream to be received by the user-selected local network-UE of the available local network-UEs, from the media-ad muxer node; and - obtaining a list of advertisements based on the user login information, and forwarding a playlist of the user-adapted advertisements and the user-selected media content to the media-ad muxer node. - receiving user login information from the external network-connected UE when a user logs in to the external network-connected UE; - authenticating the user and sending information regarding media content to the external network-connected UE; - determining whether the user is also logged in to the virtual control node, of the local network, with which the media aggregating node is communicating; - in response to determining that the user is also logged in to the virtual control node, sending information regarding available local network-UEs to the external network-connected UE; - receiving a command from the external network-connected UE to play a user-selected media content on the user-selected local network-UE of the available local network-UEs; - sending a command to the virtual control node to play the user-selected media content on the user-selected local network-UE of the available local network-UEs as a stream comprising the user-adapted advertisements and the user-selected media content, the stream to be received by the user-selected local network-UE of the available local network-UEs, from the media-ad muxer node; and - obtaining a list of advertisements based on the user login information, and forwarding a playlist of the user-adapted advertisements and the user-selected media content to the media-ad muxer node.