2012-04-01, 05:14
(2012-04-01, 03:43)RedPenguin Wrote: I am running the exact same version of XBMC on both and here is my sop.bat:Two things you can try to debug your problem :
NOTE: %1 is just the argument sent by Advanced Launcher like "115511" for Investigation Discovery
Code:if exist c:\progra~1\videolan\vlc (set "vlc=c:\progra~1\videolan\vlc\vlc")
if exist c:\progra~2\videolan\vlc (set "vlc=c:\progra~2\videolan\vlc\vlc")
ssh 192.168.0.1 -l adam 'sop %1'
echo bob
sleep 10s
%vlc% -f http://192.168.0.1:7010/tv.asf
ssh 192.168.0.1 -l adam 'killall sp-sc-auth'
Basically it's first seeing which directory VLC is located (32-bit vs 64-bit system)
SSHing to my Linux PC and saying start X sopcast channel.
Start VLC after sleeping for 10 seconds
After VLC quits, kill Sopcast channel.
Basically on both of my Win 7 PCs (one is 32bit, other is 64-bit), XBMC temporarily goes small then immediately returns to full screen. VLC pops up and starts playing my channel. I then have the remote press Alt-F4 to kill VLC, and XBMC returns on screen.
For some reason this exact same bat file on my XP just ends up making XBMC go into Window mode and nothing else happens.
EDIT: nvm on the full screen/window mode thing, it appears it only goes to window mode temporarily while running VLC then VLC closes and snaps back to full screen. Didn't seem it was doing that before.
- First is to go into Advanced Launcher settings, then go into Debug menu and activate the "Show batch command window".option. This option will display your .bat file when it will be started.
- Second, close XBMC, open a CMD bash windows and start XBMC using command line.