Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 3rd January 2003
Junior Member
BS.Player Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
lekiam is an unknown quantity at this point
Default A little autorun problem

I made the following batch file to play my movie, use subtitle and check to see if divx is installed ( if not nimolite executes)

--------------------------------------------------------------------

@ECHO OFF
ECHO.
ECHO Created By
ECHO.

if "%OS%" == "Windows_NT" goto OSNT
IF EXIST %SystemRoot%\SYSTEM\DivXc32.dll GOTO OK
install\nimolitepack10.exe

:OSNT
IF EXIST %SystemRoot%\SYSTEM32\DivXc32.dll GOTO OK
install\nimolitepack10.exe

:OK
START bplay "..\Harry Potter - The Chamber of Secrets CD1.avi" "..\Harry Potter - The Chamber of Secrets CD1.srt" -fs -eend

---------------------------------------------------------------------------------

It works fine when i execute it from harddisk but not when it autoplays when the cd is inserted. it says it can not locate bplay
I think that is because the scripts doesn't know were bplay is wile it is executing (difficult for me to explain myself in englisch, sorry)

So, does anyone know if there is a command for the cd-rom like %cdrom% or something. Just like %systemroot% etc.

ps. I didn't actually burn it to disk, i made an iso and used daemon tools to load it. This should make no difference compared to a real cd.

I would realy apreciate any help.

leki

Last edited by lekiam; 19th September 2010 at 01:13 AM.
Reply With Quote
  #2 (permalink)  
Old 3rd January 2003
Junior Member
BS.Player Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
lekiam is an unknown quantity at this point
Default

it seems that this makes it work:

replacing:

START bplay

with:

START bsplay\bplay

But now it only works from cd, and not harddisk lol

But still, i am curieus to know if there is a command like %cdrom%
(command is probably not the right word)


ps. ...computers are wierd...
Reply With Quote
  #3 (permalink)  
Old 4th January 2003
Junior Member
BS.Player Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
lekiam is an unknown quantity at this point
Default

i wish i had known this before, if the subtitle file is the same as the movie file it is automaticly added. This is a very nice feature if i had not already burned my cd's. now the subtitle is displayed twice. lol
so, here comes another question. does this work with all subtitle formats?
or just a few?

i should have left that part of the command line refering to the subtile out.
Shit happens...
Reply With Quote
Reply

Tags
autorun


Posting Rules


All times are GMT +1. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20