pavkout / android-vlc-remote

Automatically exported from code.google.com/p/android-vlc-remote
GNU General Public License v3.0
0 stars 0 forks source link

Improve VLC setup instructions #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi mr. bald,

since I use the VLC alot, I would really like to get your nice app to work
on my G1.
I have the VLC on my osx leopard. I changed the preferences like in the
attached screenshots.

Now when I start the vlc-remote on my G1 and put in 192.168.178.20:8080 I
get an connection refused error.
Do I have to make some changes in the network-preferences in osx? does it
work with osx?
sorry for all the questions, but I´m helpless here :)

many thnx in advance for your help,
steffen.

Original issue reported on code.google.com by sto...@gmail.com on 19 Jul 2009 at 3:05

Attachments:

GoogleCodeExporter commented 8 years ago
ah I forgot to put my email:  bmxsteffen@gmx.de

thnx again!

Original comment by sto...@gmail.com on 19 Jul 2009 at 3:23

GoogleCodeExporter commented 8 years ago
Does it work when you enter http://192.168.178.20:8080 in a browser?  You might 
have
firewall issues.  It's possible that the server is set to only be accessible 
from
localhost (127.0.0.1). 

Original comment by mr.bald...@gmail.com on 5 Aug 2009 at 5:01

GoogleCodeExporter commented 8 years ago
I've added a troublshooting menu item that links to
http://code.google.com/p/android-vlc-remote/wiki/Troubleshooting

Original comment by mr.bald...@gmail.com on 29 Sep 2009 at 2:50

GoogleCodeExporter commented 8 years ago
It doesnt even work, when I put http://127.0.0.1:8080 or 
http://192.168.178.20:8080
I dont have any firewall running.. I tried the same stuff on my notebook but 
there I
also didn´t get it up and running.
when I was browsing the the folders of the vlc-app (on osx) I couldnt find any 
.host
file where it was supposed to be. maybe thats a hint?
could u please create some screenshots what the preferences in vlc, the 
hostfile and
the foldersturcture with the vlc-hostfile have to look like?
many thnx in advance!!

Original comment by sto...@gmail.com on 1 Oct 2009 at 6:20

GoogleCodeExporter commented 8 years ago
@stoobz: If you can't access http://127.0.0.1:8080 from the computer running 
VLC, you
probably don't have the Web interface turned on in the VLC settings.  Make sure
you're running the latest version of the server too (1.0.2).

Original comment by mr.bald...@gmail.com on 2 Oct 2009 at 3:43

GoogleCodeExporter commented 8 years ago
ok I got the latest vlc-version installed, but still no luck :(
cant even connect to http://127.0.0.1:8080
if I put it without the port like: http://127.0.0.1 then it opens a page just 
saying:
"it works" in the upper left corner.

can u please send me a screenshot what to put exactly in the vlc-preferences?
thank u so much!

Original comment by sto...@gmail.com on 7 Oct 2009 at 5:37

GoogleCodeExporter commented 8 years ago
ah - and I still cant find the .hosts file!

please see screenshot:

Original comment by sto...@gmail.com on 7 Oct 2009 at 5:45

Attachments:

GoogleCodeExporter commented 8 years ago
> I still cant find the .hosts file!
Files starting with '.' are hidden files.  I don't have a Mac, but there is 
probably
some option to show hidden files in the menus.  If you can find it, would you 
mind
writing down detailed instructions so I can post them on the wiki?

Thanks!
  Peter

Original comment by mr.bald...@gmail.com on 9 Oct 2009 at 4:09

GoogleCodeExporter commented 8 years ago
hey peter,
I´d be happy to write a tutorial for all the people who have the same probs as 
I do.
I now found the .hosts-file and it looks like this:

#
# Access-list for VLC HTTP interface
# $Id$
#

# localhost
::1
127.0.0.1

# link-local addresses
#fe80::/64

# private addresses
#fc00::/7
#fec0::/10
#10.0.0.0/8
#172.16.0.0/12
#192.168.0.0/16
#169.254.0.0/16

# The world (uncommenting these 2 lines is not quite safe)
#::/0
#0.0.0.0/0

is this correct, or do I have to change something?
thnx and have a nice weekend!
steffen.

Original comment by sto...@gmail.com on 9 Oct 2009 at 5:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
When you find the .hosts file, replace its contents with:

::/0
0.0.0.0/0

Original comment by mr.bald...@gmail.com on 10 Oct 2009 at 1:16

GoogleCodeExporter commented 8 years ago
P.S. As the comment says, "uncommenting these 2 lines is not quite safe".  Any
computer on the same network (including your phone) will be able to use the 
interface
and browse your PC, so make sure you are on a trusted network (e.g., a personal 
home
network behind a router).

Original comment by mr.bald...@gmail.com on 10 Oct 2009 at 1:24

GoogleCodeExporter commented 8 years ago
cool, it finally works! I also had the wrong entries in the vlc-preferences:
instead of the whole ip I just had typed in the port-number...

the next days I will make some screenshots for the wiki, ok?
thnx again!

Original comment by sto...@gmail.com on 15 Oct 2009 at 11:45

GoogleCodeExporter commented 8 years ago
Hi, I have OSX Snow Leopard 10.6.1 and I can explain how setup correctly VLC 
(my 
version in 1.0.2)
It's all quite simple: once you have all option displayed (VLC -> 
Preferences...) 
just go to Interface -> "Main interfaces" and check the HTTP interface in the 
page 
list.
You don't need to setup other things for basic usage. Save settings and quit 
VLC.
Then open Terminal.app (under Utilities) and paste this:
nano /Applications/VLC.app/Contents/MacOS/share/http/.hosts

Now, you can edit the file as you want. If you are a newbie, just add at the 
end of 
that file:
192.168.1.2/255
(where 192.168.1 corresponds to your network configuration) and press "CTRL+x" 
than 
"y" and finally "ENTER"
Now any device connected to your LAN can see VLC on your Mac.

Last step: start VLC and check if your browser see http://you_ip:8080/
If not, you have a firewall issue. Otherwise it's all set up and you will see 
your 
VLC service from Android too.

Cheers

Original comment by albertog...@gmail.com on 2 Nov 2009 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by mr.bald...@gmail.com on 25 Nov 2009 at 4:07

GoogleCodeExporter commented 8 years ago
Issue 23 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 25 Nov 2009 at 4:07

GoogleCodeExporter commented 8 years ago
Issue 32 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 24 Feb 2010 at 4:53

GoogleCodeExporter commented 8 years ago
For all the newbies out there:

The instruction

"Now, you can edit the file as you want. If you are a newbie, just add at the 
end of 
that file:
192.168.1.2/255"

isn't quite correct. You have to figure out the IP Adress of your Phone 
(Settings-
>Network->WLAN Settings(in German it is WLAN, no idea if it is WiFi or 
something 
else in english), then tap the Network you are connected to. In the small 
window 
that opens, you IP Address is shown). Use that address in the following line:

x.x.x.x/32

where x.x.x.x is you address. 
The /255 doesn't really make sense and your phone won't have the 2 as last part 
of 
the address in many networks...

The problem with this simple solution is, that you have to do it again if the 
address of your phone changes, which can happen sometimes.

Original comment by the.vort...@googlemail.com on 26 Mar 2010 at 11:20

GoogleCodeExporter commented 8 years ago
If you see this error :

java.IO.FileNotFoundException:
http://192.168.200.200:8080/requests/browse.xls?dir=

Then you probably need to set the source directory to :

C:\Program Files (x86)\VideoLAN\VLC\http

Original comment by daz...@gmail.com on 2 May 2010 at 1:02

GoogleCodeExporter commented 8 years ago

Original comment by mr.bald...@gmail.com on 23 Dec 2010 at 4:47

GoogleCodeExporter commented 8 years ago
Issue 33 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 31 Dec 2011 at 9:51

GoogleCodeExporter commented 8 years ago
Issue 131 has been merged into this issue.

Original comment by mr.bald...@gmail.com on 2 Jan 2012 at 3:03

GoogleCodeExporter commented 8 years ago
I encountered this after the 2.0.5 update. Even after uncommenting my local 
subnet I was unable to connect (403 forbidden.) I had to uninstall, change 
.hosts, encounter error, reinstall, repeat 3 times before it worked. And it's 
not in C:\Program Files (x86)\VideoLAN\VLC\http anymore, it's in 
C:\Program Files (x86)\VideoLAN\VLC\lua\http

Original comment by justinac...@gmail.com on 20 Jan 2013 at 12:41

GoogleCodeExporter commented 8 years ago
I wanted to add, that with 64 bit VLC no matter what I did with .hosts it did 
not work

Original comment by justinac...@gmail.com on 20 Jan 2013 at 12:47