View Single Post
  #1 (permalink)  
Old 12th November 2008
rogier rogier is offline
Junior Member
BS.Player Newbie
 
Join Date: Nov 2008
Posts: 2
Rep Power: 0
rogier is an unknown quantity at this point
Default SDK => Play files

Hi there,

Currently, I'm working on a controller for BSPlayer with C#.
I got pretty mucg everything working, except for the GetSkin and GetFileName commands.
I seem not to get this right. Is there anyone who HAS got this working.
Some examples provided on this forum are incorrect for the version I use.
(Yes, I'm working with a very old BS.Player: 1.0.808 free edition)

However, this is not my question.
I encountered some really annoying problems.
Am I correct when I assume that BS.Player sometimes crashes
(well at least generates an error) when I try to fetch a player status or position as soon as the player is between loading files?

Second, and this is really annoying:
at program starts, I either fetch the BS.Player handle OR start a new BS.Player process. Until here, all works just fine.
Yet, I can NOT execute any command until I at least start BS.Player itself.
That is, I first HAVE to press play on the player. Afterwards, I can load files, skins, execute commands etc etc.

There seems to be some init process I'm not aware of?
Is this a known issue for these old players?

I did a workaround by calling the command line enqueue method to add
files to the playlist, but this is not really what I'm after.
This works, the player starts playing immediately.
BUT, I don't wish to use the command line method.

In my opinion, whenever I issue a direct play command after I created an
instance of BS.Player should work?!

Anyone who can help me out or knows if current versions of BS.Player
also have these issues?

Last of all, is there (maybe in newer versions) an option to enqueue
files through an API command?

Thaksn in advance,

Roger
Reply With Quote
 

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