It definitely helps if you already have a basic understanding of the language. Just hearing a language and being busy with it makes sure you don't forget stuff as easily. You'll also start to recognize stuff and the subtitles can help to confirm you're right in your recognition.
On the other hand, you can't learn a language JUST by watching shows.







