View Single Post
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#26
Originally Posted by sophocha View Post
Thank you for this!Now I don`t have any twisted internet errors, however I have another error its a syntax error this time.

I type 'sudo gainroot' and I`m at home/user.There I have the player.py and all the files from the hls player.

I type 'python player.py <url>' and I get '/bin/sh: syntax error: newline unexpected'

Any help?

Thanks (I`m trying to learn some basic linux commands, I`m a noob so bear with me)
Try to enclose the url with single quotes or double quotes, otherwise the shell tries to interpret the url as a command and this may be the source of your problem.