Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   ID3 Tags (https://forums.graalonline.com/forums/showthread.php?t=73945)

Rapidwolve 05-12-2007 06:44 PM

ID3 Tags
 
I've looked all over the place, but what is the function to get information about the currently playing local or url song file.

godofwarares 05-12-2007 07:02 PM

Quote:

Originally Posted by Rapidwolve (Post 1307283)
I've looked all over the place, but what is the function to get information about the currently playing local or url song file.

getMusicTags() returns an array of information on the currently played track.

Rapidwolve 05-12-2007 07:07 PM

Thanks :), but you can only get information on the currently playing track?

godofwarares 05-12-2007 07:10 PM

Quote:

Originally Posted by Rapidwolve (Post 1307286)
Thanks :), but you can only get information on the currently playing track?

Yep :[
You'd need to play it (silently), get the information, and then there you go.
Otherwise, I don't think you can :[

zokemon 05-16-2007 02:42 PM

You can't adjust the musicposition though (it is a read-only variable) so it would cause whatever music you are currently playing to either stop or start over if you wanted to "play it silently".

godofwarares 05-18-2007 09:19 PM

Quote:

Originally Posted by zokemon (Post 1308402)
You can't adjust the musicposition though (it is a read-only variable) so it would cause whatever music you are currently playing to either stop or start over if you wanted to "play it silently".

setMusicVolume(0, 0);

That would do it ;)

Rapidwolve 05-18-2007 11:35 PM

Quote:

Originally Posted by godofwarares (Post 1309188)
setMusicVolume(0, 0);

That would do it ;)

I believe if the music volume is zero then any sound functions wont work, including getmusictags(), I got this because when my volume on Graal was all the way down that function didn't work, but it did once I put them back up

xXziroXx 05-19-2007 12:14 AM

Quote:

Originally Posted by Rapidwolve (Post 1309251)
I believe if the music volume is zero then any sound functions wont work, including getmusictags(), I got this because when my volume on Graal was all the way down that function didn't work, but it did once I put them back up

Correct.


All times are GMT +2. The time now is 08:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.