Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Bug Reports And Codecs

Bug Reports And Codecs Report BS.Player bugs here - help us to improve BS.Player even further.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 18th January 2008
Bro Bro is offline
Junior Member
BS.player Regular User
 
Join Date: Sep 2003
Posts: 23
Rep Power: 0
Bro is an unknown quantity at this point
Default Start from command line

Hi

When running
Code:
path-to.bsplayer "media file1" "media file 2"
on the command line, bsplayer only plays the first file.
Whats the point with that?
Any sensible media player would play all the files on the command line...

Bro
Reply With Quote
  #2 (permalink)  
Old 18th January 2008
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

Moved to bugs report sections, but left a copy in the features request (if it's a bug it will be fixed, if it isn't intended to work like this now, it will be implemented) :)
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #3 (permalink)  
Old 18th January 2008
BSPeter's Avatar
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 32
BSPeter is on a distinguished road
Default

You did read file "cmdline.txt" in the (sub)folder "doc" of BS.Player's installation folder I suppose. Anyhow, I think you could use BS.Player's feature to run a playlist for your purposes. This feature has been around since the very early days of BS.Player. I hereunder copy the info of BSPlayer version 0.86
Code:
Command line:

bplay "my file.avi" ["my subtitles.txt"] [options]
or
bplay "my playlist.bsl" [options]
or
bplay "inifile.ini" [options]

File name must always be the first and subtitle file second 
argument.

Options are:
-fs		Start in full screen
-asx		Start with x audio stream
		x=1-> 1st audio stream
		x=2-> 2nd audio stream
		x=n-> n audio stream
		x=0-> Semi's Directsound 3D
-stime=x		Start movie at x seconds
-nsub		Don't show subtitles even if subtitle file exists
-skin=s		s=skin name
-lang=l		l=language file without extension
-eend		Exit when movie is finished
-pan		Use Pan-scan
-res=WxHxD	Start in specified resolution
		W=width, H=height, D=color depth
		Ex.: -res=1024x768x16
-ar=x:y		Aspect ratio, Ex.: -ar=16:9


Ex.: bplay "my movie.avi" "my subtitles.txt" -fs
     bplay "my movie.avi" "my subtitles.txt" -fs -as2
     bplay "my movie.avi" "my subtitles.txt" -as3 -lang=English


Subtitles:

Subtitles must be in the same directory as movie
Ex.: The Matrix.avi -> The Matrix.srt (.txt, .sub)
you can load them from the menu or you can supply them in 
command line
Supported subtitle formats: MicroDVD, SubRip, Subviewer, 
TMPlayer...


Playlist:

Just a simple text file with .bsl extension.

Ex.:

--
c:\movies\The Matrix.avi
c:\movies\somefile.avi
d:\videos\myvideo.mpg
--
Note, that at that time the executable was bplay.exe instead of bsplayer.exe!
So at present the commandline instruction to run a playlist would be (didn't try whether it still works!):
bsplayer.exe "playlist.bsl" [options]
(depending from where you start it "bsplayer" could have to be full path and name of bsplayer.exe; this is also valid for the playlistfile)
In fact also simply "running" the playlist.bsl file should do the trick as well (on the understanding that the file-extension .bsl is properly associated with BSPlayer).
Suppose you know how to create a playlist?
Perhaps also read these posts:
http://www.bsplayer.com/forum/viewtopic.php?t=6131
http://www.bsplayer.com/forum/viewtopic.php?t=2672
__________________
Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!)
When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you,
as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post.
Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums!
Reply With Quote
  #4 (permalink)  
Old 18th January 2008
BSPeter's Avatar
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 32
BSPeter is on a distinguished road
Default

Meanwhile did some very quick testing.
Seems that there is something wrong with the possibility to save (not using notepad-method, but from within BS.Player's "old-style" playlist) correct playlist-files in txt format (seems OK in "internal" format), though loading txt format playlist-files seems to be OK.
Have to run now (late already).

(PS: The error when just opening old-style playlist already previously reported!)
__________________
Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!)
When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you,
as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post.
Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums!
Reply With Quote
  #5 (permalink)  
Old 18th January 2008
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 56
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

In the installation folder you will find more executables (for compatibility with older ini files) such as: bplay.exe, bsplay.exe and bsplayer.exe Doesn't matter wich one you use to launch, the result it's the same.
Reply With Quote
  #6 (permalink)  
Old 18th January 2008
Bro Bro is offline
Junior Member
BS.player Regular User
 
Join Date: Sep 2003
Posts: 23
Rep Power: 0
Bro is an unknown quantity at this point
Default

Hi

I'm aware of the play-list feature, but that doesn't do it.
I need to execute media players with file names as arguments (in Java), and creating a play-list for every movie is hopeless.

It works fine in vlc, and should work on every media player in my opinion.
Reply With Quote
  #7 (permalink)  
Old 19th January 2009
Junior Member
BS.player Regular User
 
Join Date: May 2004
Posts: 20
Rep Power: 0
brother is an unknown quantity at this point
Default

Hi,

I know this post is quite old, but I have similar issues with v 2.34 under XP Pro SP3.

This is my command line:

prompt>bsplayer.exe "my-video.avi" -fs

what happens next is that player starts playing the file, but not in fullscreen. In fact, I can't get any parameter to work; It just plays, no matter what I specify after hte video filename.

BTW, only "bsplayer" work. I tried botth "bplay" and "bsplay" and nothing happens.

What am I doing wrong?

Regards,

©bROTHER
Reply With Quote
  #8 (permalink)  
Old 20th January 2009
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

Hi, I just tried to start BSplayer by commandline and with hide and fs parameters it worked without problems..
Operating system (mine is WinXP)?
Have you tried to pass the entire BSplayer path to the command line prompt?
Ex.: prompt>C:\Programs\Webteh\BSplayer\bsplayer.exe "MOVIE_PATH\movie_name.MovieExtension" -fs

Anyway I can confirm that both bsplay.exe and bplay.exe are borken :evil:
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #9 (permalink)  
Old 22nd January 2009
Junior Member
BS.player Regular User
 
Join Date: May 2004
Posts: 20
Rep Power: 0
brother is an unknown quantity at this point
Default

Hi,

Mine's XP Pro SP3.

I just copied the video file to the BSPlayer folder and opened there the command prompt, so its the same thing.

But ... trying today again I noted a blink when using the -fs and after some tries I found out that the setting "remenber zoom" was preventing me from having the -fs effect. I guess the same happens with the remaining paramenters.

So, it was just a question about overriding parameters (something that BSP should take care of, as I have more trheads opened with related items), but I wouldn`t found out if you shouldn't noted me that it was working for you, so..

Thank you!!

Regards,

bROTHER
Reply With Quote
  #10 (permalink)  
Old 23rd January 2009
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,469
Rep Power: 10
Ico-man is on a distinguished road
Default BS.Player playback of multiple media files

prompt>bsplayer.exe "my-video.avi" -fs

what happens next is that player starts playing the file, but not in fullscreen. In fact, I can't get any parameter to work; It just plays, no matter what I specify after hte video filename.

BTW, only "bsplayer" work


We have tested this and both with and without.exe works ok.

To play multiple files create a playlist in .m3u or .bsl format and run it with BS.Player like shown by BSPeter above.
Reply With Quote
  #11 (permalink)  
Old 26th January 2009
Junior Member
BS.player Regular User
 
Join Date: May 2004
Posts: 20
Rep Power: 0
brother is an unknown quantity at this point
Default

Hi,

You misundertood me.

What I was trying to tell is that only "bsplayer.exe" works, but not "bsplay.exe" or "bplay.exe" as confirmed by tizio. Maybe these are for an unknown task I'm not aware of, I dunno.

I do not want to use the playlist feature, but just get bsplayer working throught parameters passing (as a external player on MediaPortal), and I think that parameters should override program settings for that instance externally called, as many other sw does. This is a general behaviour I find very often in BSP and is really annoying.

Regards,

©bROTHER
Reply With Quote
  #12 (permalink)  
Old 26th January 2009
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

FYI: bplay.exe and bsplay.exe are available for compatibility with programs made for BSplayer v0.xx
Once BSplayer v1 had been released the main exe has been changed to bsplayer.exe, and Boris added the bplay.exe and bsplay.exe to make BSplayer old users happy.
I doubt that ATM someone still uses applications meant to qork with old BSP versions that require to start BSplayer v2.xx through commandline. Maybe with BSplayer v3 this compatibility support will be removed, but this is a thing that only Boris or other BSP devs can tell :roll:


Anyway in my opinion brother is right, the command line parameters should override BSplayer settings
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #13 (permalink)  
Old 11th October 2016
rst rst is offline
Junior Member
BS.Player Newbie
 
Join Date: Apr 2009
Age: 52
Posts: 4
Rep Power: 0
rst is on a distinguished road
Default

and how to add another media file, and / or youtube video url to the player list by command line, while bsplayer is working with other video ?

i have tried

bsplayer.exe -ADD "https://www.youtube.com/watch?v=jIDKPuQjd0Q"

it didnt work, it is no added to the player list.

thx in advance
Reply With Quote
  #14 (permalink)  
Old 5th November 2016
Junior Member
BS.Player Newbie
 
Join Date: Oct 2016
Location: playing video game
Age: 31
Posts: 1
Rep Power: 0
rakdffmskta is on a distinguished road
Default

There are good information on you tube.


picnic spots
Reply With Quote
Reply

Tags
command, line, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules


All times are GMT +1. The time now is 11:22 PM.


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