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 7th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 6
Rep Power: 0
DocOne is an unknown quantity at this point
Default No subtitles with .bat file

Hi

I have made this .bat file:

Code:
dir *.avi *.mpg *.mpeg *.wmv *.asf /b>playlist.bsl
"C:\Program Files\Webteh\BSPlayer\bsplay.exe" "playlist.bsl" -fs -eend -lang=English
My problem is, that when the playlist is started this way, there are no subtitles in the movie (the subtitles are .srt, they are named accordingly to the movie files etc.).
If I just double click the playlist.bsl file which is generated with the .bat file, the subtitles works nicely.


Any suggestions?

(I want to use the.bat file because it also does other things as well. The complete .bat file looks like this:
Code:
"C:\Program Files\TVTool 9.5\TVTOOL.exe" /tv /768
dir *.avi *.mpg *.mpeg *.wmv *.asf dir *.srt /b>playlist.bsl
"C:\Program Files\Webteh\BSPlayer\bsplay.exe" "playlist.bsl" -fs -eend -lang=English
"C:\Program Files\TVTool 9.5\TVTOOL.exe" /monitor
)

An example of a playlist.bsl:
Windtalkers_(2002).CD1.xvid-deity.(DK).avi
Windtalkers_(2002).CD2.xvid-deity.(DK).avi

(the subtitles are named like this:
Windtalkers_(2002).CD1.xvid-deity.(DK).srt
Windtalkers_(2002).CD2.xvid-deity.(DK).srt)
Reply With Quote
  #2 (permalink)  
Old 10th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 6
Rep Power: 0
DocOne is an unknown quantity at this point
Default

Anyone?
Reply With Quote
  #3 (permalink)  
Old 10th March 2004
Quietseb's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: back in France...
Posts: 581
Rep Power: 0
Quietseb is an unknown quantity at this point
Default

sorry it works just fine here :?

I didn't change a thing to your code except the bsplayer directory...
Reply With Quote
  #4 (permalink)  
Old 14th March 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 6
Rep Power: 0
DocOne is an unknown quantity at this point
Default

I don´t get it.
I´m using the 1.00 RC1 Build 807 and using Windows XP.

When I start the .bat file there are no subtitles - also if I right click BSplayer and try to view the properties for the subtitles it appears they are not loaded.

But when I click the playlist.bsl it loads the subtitles like it´s supposed to.
Reply With Quote
  #5 (permalink)  
Old 28th March 2004
xlv600's Avatar
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: France
Posts: 218
Rep Power: 0
xlv600 is an unknown quantity at this point
Default

I didn't know this syntaxe for .bat files, I guess it's related to cmd.exe and not command.com... interesting !
What I saw is that filenames generated in the playlist don't use fully qualified pathnames.

With BSPlayer v1.00.807, whatever the format, I can't load playlist anymore on hard disk if pathes are related to current directory.
For instance:
Code:
.\CD1\Film.avi
.\CD2\Film.avi
do not work.
When :
Code:
s:\CD1\Film.avi
s:\CD2\Film.avi
is OK... and
Code:
s:\CD1\Film.bsi
s:\CD2\Film.bsi
too, which is a great enhancement to v0.86 builds.

Can you confirm it's not the case by you, because I'm wondering where this bug come from? It's very annoying for me, because movies on my PC can be played locally or remotely on LAN, and depending on the location, the pathes are not the same.

I can understand that if a playlist content is past into bsplist.bsl in BSPlayer directory, pathname have to be fully qualified for playback. But using windows API it's quite easy for an application to build the necessary pathname out of a whatever valid filename, isn't it?
Reply With Quote
  #6 (permalink)  
Old 17th May 2004
Junior Member
BS.Player Newbie
 
Join Date: Mar 2004
Posts: 6
Rep Power: 0
DocOne is an unknown quantity at this point
Default Re: No subtitles with .bat file

Great. Your information really helped me - it seems my problem is related to lack of the full path to the movies.

I solved it the following way:

The complete .bat file looks like this:
Code:
dir *.avi *.mpg *.mpeg *.wmv *.asf /b>playlist.bsl
"C:\Programmer\Webteh\BSPlayer\bsplay.exe" "%0\..\playlist.bsl" -fs -eend -lang=English
The change is the ""%0\..\" which adds the full path to the playlist.bsl - thus telling BSplayer where to locate the subtitles.

An example of a playlist.bsl:
Windtalkers_(2002).CD1.xvid-deity.(DK).avi
Windtalkers_(2002).CD2.xvid-deity.(DK).avi

(the subtitles are named like this:
Windtalkers_(2002).CD1.xvid-deity.(DK).srt
Windtalkers_(2002).CD2.xvid-deity.(DK).srt)
Reply With Quote
Reply

Tags
bat, subtitles


Posting Rules


All times are GMT +1. The time now is 04:31 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