forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDSMpeg

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Quatre87
Valued Newbie


Joined: 07 Jan 2004
Posts: 25

PostPosted: Thu Mar 11, 2004 11:25 pm    Post subject: VDSMpeg Reply with quote

I Have the next problem : I Have a ID3 Tag Editor in my Mp3 Player, but i can't edit the ID3s while i'm playing the file. Is possible do it?
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Mar 11, 2004 11:27 pm    Post subject: Reply with quote

No it's not possible. The MP3 file is locked while being played thus no read/write operations can occur on the file until it is stopped and free'd from playing.
Back to top
View user's profile Send private message
Quatre87
Valued Newbie


Joined: 07 Jan 2004
Posts: 25

PostPosted: Sat Mar 13, 2004 2:47 am    Post subject: VDSMpeg Reply with quote

Ok.. i understood it, well, i did a code for "deinitialize" the file when save the ID3 and after the save, begin to play the mp3 in the original position:

Mpeg Deinitialize
Mpeg Id3tag,Title,%%title
Mpeg Id3tag,Artist,%%artist
Mpeg Id3tag,Album,%%album
Mpeg Id3tag,Genre,%%genre
Mpeg Close
Mpeg Priority,Critical
Mpeg Open,%%music
Mpeg Initialize
Mpeg Seek,%%pos,0
Mpeg Play
Goto But2button

:But2button
Dialog Select,1
Dialog Close
wait event
Dialog Select,0
goto loop

But when finish the "But2button", the program finish, why?
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sat Mar 13, 2004 4:37 am    Post subject: Reply with quote

ummm let's see>

Dialog Select,1
Dialog Close
wait event
Dialog Select,0

Are you sure there is a dialog 1 even open? It looks like it is closed by the time the DIALOG CLOSE command is used thus dialog/form1 is closed.
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sat Mar 13, 2004 8:31 am    Post subject: Reply with quote

I usually do:

Code:
while @event()
wend


after a dialog close. If there is more than 1 event in the buffer, a close event might still be there when you go back to the main dialog event loop.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group