Official BS.Player forums

Official BS.Player forums (
-   General Talk And Support (
-   -   SDK & BSP_GetFileName? (

seppel 28th October 2003 09:13 AM

SDK & BSP_GetFileName?

I have two questions about the SDK and the "BSP_GetFileName"-Message:

1) Did anybody had success with this message? I'm not able to get any results (but I managed to get BSP-Version and BSP-MoviePosition using the sdk...) If yes - could you please :lol: post a piece of your code to the forum?
2) Does this message report the "file"-name or the title of the movie, which is being played (and can be set via an entry in a bsi-file)?

Many thanx in advance,

PS: I'm trying to visualize all this informations using a nice little graphic-LCD (128x64) and "LCDHype"...

Halle 28th October 2003 10:10 PM

BSP_GetFileName returns the full path of the movie file being played. Do you use SendMessage with the WM_COPYDATA message as described in bsp.h? Because for me, it works fine..


seppel 29th October 2003 07:11 AM

Hi Halle,

yes - I'm using the SendMessage function as described in bsp.h
But I'm unsure where to get the needed application handle!? My test-application is a very simple console-app. Which function do I have to use to get this handle?


Halle 30th October 2003 07:35 PM

I dunno which language you are using, but there's a Windows API function

HWND GetConsoleWindow(void);
which should give you what you wanted ;)

seppel 31st October 2003 07:30 AM

thanx Halle :D Now it works!

But Im still looking for a way to grab the "title". Since I'm using a bsi-file for every movie bsplayer displays the complete title and not only the filename (the name of the corresponding avi-file is often just a shorty). Like I wrote I'm trying to display the current title on a lcd.

If's there's no way to get this title I think i have to make an ugly work-around...
But: wouldn't a message to get the title be a good extension to the sdk?

bye (& thanx again to Halle :D )

Halle 1st November 2003 01:30 AM

Well, I guess you have to go the workaround way..
It would be nice if movie files had something similar to ID3 tags for mp3 files, but ah well..


All times are GMT +1. The time now is 05:53 AM.

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