Re: Getting file play time?
Ben Winslow <[email protected]> Fri, 20 Jul 2007 13:15:57 -0400
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============48451698748263072== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YSxPd98Q6d+/+x2JZ4Ov" --=-YSxPd98Q6d+/+x2JZ4Ov Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2007-07-20 at 13:41 +0200, Thomas Fogh wrote: > Hi, > Is it possible to the total length of the file (in seconds) currently > playing? pos =3D xmms_remote_get_playlist_pos(session); /* position in playlist */ length =3D xmms_remote_get_playlist_time(session, pos); /* length, ms */ > I guess that xmms_remote_get_output_time(gint session) gets the > current position of the playing file, right? I believe so, yes -- also in milliseconds. > BR, Thomas Fogh --=20 Ben Winslow <[email protected]> --=-YSxPd98Q6d+/+x2JZ4Ov Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUARqDtzG4qBP1BCi3PAQKKwBAAlCy62lYM4r+7wNJJDDMQoW31lxqCZ6y3 inIpTXd53IAold1Y2k4whnh4XFFdte00IG2+Xn8PCWqVuusvE4DpD5moKIKEPXdo KpY4lgDP3DKlsh/joelmJSDlBt+OUc7ABKx7/Ed6cE14uBEcBp2a4plmPOBrruFz KTmoJUOBjYcGl6MjLPcVsPX4ESeVeffOzS3PUkOjGotUEEEenzuc5wtAbjtH7kml 9Xr1RvPEXIKgNLCscx5d7Gb9ocIQkuKjSaRG7JWn8IjuZdCQWnj7fAI3SDZlvC04 2uGtrS0tq16jsGBPLUXLlQmtQt/bxr/ZHG4ETL2lyrVaDioReHy2+GQ45kJ0Jb8t A2EQhXEtfALyUv37SHqPXiFzTEREWAVi/8F2S4yLt/MfAgpHq2/CNUPC8xuz6QjY g1/TQ2a04yiMXKowRu0yCUCmWdZou+6YlWCZzxwYob3vA3KesMeF33RA2mIQZROS R7A+HMoYP5bGZdZtSeAiiu+vLCqf6j6EG9phZKfk6G4bZ2DpbnahIXcJq3edlZkS rSaBilNK6dc5J1K4BAFeWMeuj1yQGTp3Pwf38U2ZOobTqiOfI+8FQXTxEwYbrra6 5ueQcaERgXm7+iDMmuUAI4lmlxFPuHcHViC+Pf3tppfck9gq9svQ0yXMbPdBpMoE AF/z+/NnTSQ= =Dly6 -----END PGP SIGNATURE----- --=-YSxPd98Q6d+/+x2JZ4Ov-- --===============48451698748263072== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xmms-devel mailing list [email protected] http://lists.xmms.org/mailman/listinfo/xmms-devel --===============48451698748263072==--