amineelar / 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

Not really an issue but, something that should go on the wiki? #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This app is totally amazing!!  Thank you for making it, its going to make
using my computer as an entertainment center so much easier.

I was playing around with command line a bit after trying your command on
the project home page came up with a few other commands to add to the mix
to turn VLC into more of an 'entertainment server app' it would be great if
you could add it to the Wiki.  (I'd include some kinda warning that users
do this at their own risk 'cause it can make VLC behave weird.

And since users can see this msg on the issue board.

NOTE:  Users do the following at your risk, VLC will act differently then
you are used to and I or the VLC Remote developer can't help you with any
issues that arise.  (That being said, I think I accounted for anything odd
that could happen to VLC in NOTES: below.  Besides, if push comes to shove,
just uninstall VLC and then reinstall it!!!).

You can add the following commands to the command line

--video-on-top  (Makes sure video is always on top, even if its  not
checked in the VLC preferences)

--no-embedded-video  (Makes videos open in their own window, this is great
because it leaves the VLC app itself always minimized to the System tray
so, when you stop a video the video window closes and  you don't have a VLC
window still sitting on your screen!)

NOTE:  No keyboard VLC controls will work!! You either have to control the
video through VLC remote or the mouse via the onscreen controls.  However,
oddly enough, anything you type on your keyboard will show on whatever
window you have open under VLC).

I played around a little more because I want my VLC server to start on
Windows Startup and figured out the easiest way to do it is with altered
VLC shortcut in the Startup Folder, and its simple!  I just made it into a
buncha different steps so its easier to follow.

1)  Navigate to where you have VLC installed
2) Right click and select "Make Shortcut"
3) Rename shortcut to something like "VLC Server" (so you don't get it
confused with normal VLC settings)
4) Right click on the icon and select "Preferences"
5) Goto the "Target" field and after the "/PATH/" add the following with a
space after the last "
          --extraintf=http --fullscreen --http-album-art --video-on-top
--no-embedded-video --qt-start-minimized
6) Click ok
7) Test the shortcut to make sure you get the VLC icon in the System tray.
(I'd even start a video using VLC Remote to make sure everything is working).
8) Move the VLC Server shortcut to the Startup Folder

Voalla! You now have a VLC Media server set to run on Windows Boot.

NOTE: Again, keyboard controls will not work while playing a video.

NOTE: VLC seems to save your command line settings as default preferences
after awhile.  This means that what you put in command line will ALWAYS be
effective even if you close VLC in the system tray and then start VLC by A)
Playing a video, B) Using a normal VLC shortcut that you haven't altered or
C) Even using the VLC.exe file

I don't know why this is but, its an easy fix.  Just right click on a
playing video that you started using your computer.  Goto "Interface",
Click "Preferences", and then Reset Preferences.

This is really only an issue if you want to control VLC from your
computer(keyboard) or get into the Preferences etc.

Original issue reported on code.google.com by mike...@gmail.com on 24 Dec 2009 at 6:22

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
I agree, I don't think you had a wiki when I posted that :)

Original comment by mike...@gmail.com on 23 Dec 2010 at 7:01

GoogleCodeExporter commented 9 years ago
If it can be useful to somebody, here's the command line I use : 
$ sudo mount -t cifs -o username=myuser,password=mypass //192.168.0.9/Films/ 
/mnt
$ vlc
--fullscreen
--browse-dir="/mnt/" (useless :( )
--extraintf oldhttp
--http-album-art

And as I mount a SMB share over Wifi, I added : 
--file-caching=1800
--network-caching=1800 (probably useless)
--smb-caching=1800 (probably useless too, share is mounted as fs)

Original comment by Alex131...@gmail.com on 11 Aug 2011 at 3:43

GoogleCodeExporter commented 9 years ago
I use exactly the same command line as Mike with the adition of:
--http-host=:1050 (Change port)
--video-x=1300 --video-y=100 (This is awesome. Plays the video in external 
monitor. If it is not present it plays on laptop screen! Change the "x" value 
for something bigger than your screen resolution.)

Commands like --qt-fullscreen-screennumber=2 and --directx-device=\\.\DISPLAY2 
didnt work for me, but you may have a try.

Original comment by laf.csb...@gmail.com on 3 Dec 2011 at 4:37

GoogleCodeExporter commented 9 years ago

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