Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   General Talk And Support (http://forum.bsplayer.com/general-talk-support/)
-   -   No subtitles with .bat file (http://forum.bsplayer.com/general-talk-support/4165-no-subtitles-bat-file.html)

DocOne 7th March 2004 03:11 PM

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)

DocOne 10th March 2004 10:34 AM

Anyone?

Quietseb 10th March 2004 11:20 PM

sorry it works just fine here :?

I didn't change a thing to your code except the bsplayer directory...

DocOne 14th March 2004 08:31 PM

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.

xlv600 28th March 2004 06:47 AM

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?

DocOne 17th May 2004 06:33 PM

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)


All times are GMT +1. The time now is 01:20 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, 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