473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

id3 tag editor

Hey guys,
Im making an mp3 id3 tag editor,
but im wondering if anyone knows how i can play a file,within the same window?
just simple play and pause options..
thanks
Aug 11 '07 #1
7 2324
bartonc
6,596 Expert 4TB
Hey guys,
Im making an mp3 id3 tag editor,
but im wondering if anyone knows how i can play a file,within the same window?
just simple play and pause options..
thanks
I'd be very interested to know what your toolkit is (what you mean by "window").
What you are seeking to do seems not to difficult on windows using the win32com package if you are talking about Microsoft's WMP on Windows.
Aug 12 '07 #2
I'd be very interested to know what your toolkit is (what you mean by "window").
What you are seeking to do seems not to difficult on windows using the win32com package if you are talking about Microsoft's WMP on Windows.
well ive created a window frame where everything is in,
including fields,listbox with tracklist,artwork..etc

i wanna know how to embed a simple,invisible player,which i can just link to a 'play' and 'stop' button.yeah im assuming id somehow use WMP
thanks
Aug 12 '07 #3
bartonc
6,596 Expert 4TB
well ive created a window frame where everything is in,
including fields,listbox with tracklist,artwork..etc

i wanna know how to embed a simple,invisible player,which i can just link to a 'play' and 'stop' button.yeah im assuming id somehow use WMP
thanks
After you have installed the PyWin32 Extensions, you simply:
Expand|Select|Wrap|Line Numbers
  1. >>> import win32com.client
  2. >>> wmp = win32com.client.Dispatch("MediaPlayer.MediaPlayer.1")
  3. >>> wmp.FileName = "C:/Path/To/Some/Media/File.wav"
  4. >>> wmp.Play()
There are many hits on google here.
Aug 12 '07 #4
ok thanks a lot for that
im putting it aside for the moment,

right now im having problems importing the id3 tag of any mp3 into the corresponding text fields

im using the 'getselection' method;
self.loadID3Data(self.panel.trackList.GetSelection ())

im using wxpthon,and when i debug the function, it says the value is '0' for the file's data

any help would be appreciated,thanks
Aug 20 '07 #5
bartonc
6,596 Expert 4TB
ok thanks a lot for that
im putting it aside for the moment,

right now im having problems importing the id3 tag of any mp3 into the corresponding text fields

im using the 'getselection' method;
self.loadID3Data(self.panel.trackList.GetSelection ())

im using wxpthon,and when i debug the function, it says the value is '0' for the file's data

any help would be appreciated,thanks
There's not much for me to go on, there. But I'm guessing that you want:
Expand|Select|Wrap|Line Numbers
  1. trackList.GetStringSelection ()
Aug 20 '07 #6
There's not much for me to go on, there. But I'm guessing that you want:
Expand|Select|Wrap|Line Numbers
  1. trackList.GetStringSelection ()
thanks,that now gives me a value of '1',
but im trying to get the files directory address to import the file's id3 info to my listbox
thanks again
Aug 21 '07 #7
wait no,
that worked!
thanks a lot

now im just working on importing the id3 tag :]
Aug 21 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Ed Suominen | last post by:
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from...
3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
7
by: Mike Kamermans | last post by:
I hope someone can help me, because what I'm going through at the moment trying to edit XML documents is enough to make me want to never edit XML again. I'm looking for an XML editor that has a...
15
by: JC Home | last post by:
Hi all, I am just learning JavaScript and would love to find a good editor that helps with syntax and debugging. Any suggestions? Thanks!! -- Jeff Ciaccio Dallas, GA
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
0
by: 356523600 | last post by:
HTML To PHP Converter 4.2.1.8 Free download Get more for less ... HTML To PHP Converter 4.2.1.8 Get more for less! With a new version of HTML To PHP Converter 4, we've dropped the price and given...
1
by: Steve Teeples | last post by:
I have class that also uses a custom editor that, when compiled directly into my project, works just fine in a propertygrid. However, it was necessary to place that class into a DLL, hense the...
4
by: David Lozzi | last post by:
Howdy, I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then save it back to my SQL server using a SQLCommand, all HTML characters are changed to HTML code, i.e. >strong<...
7
by: Prasad | last post by:
Hi all, I am trying to develop a simple rich text editor I do only require bold, itlaic, underline.. The code for IE is <script> function displayEditor(editor, html, width, height) { ...
3
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.