
Originally Posted by
bradleyd
Ok this is just a beta version. Download, untar folder. from the command line type(from within folder)
Now that the ui is up, first you must select a directory to search for mp3 or oggs(a2mp3 only supports these 2 formats)by pressing the red folder. When the file selection dialog pops up, use shif key or ctrl key to select one or multiple audio files and click open. Now you can then pick the directory where the files will be outputted by clicking the output button.(the default is /home/user/mp3tmp) The selected files will now show up in the listbox area. You must select all the files you wish to convert.(you can use the shift and ctrl keys) Then push the speaker to convert the selected songs to output directory.
When this occurs, the application appears to be frozen. This is ok, I was having trouble forking the process and being able to tell when a2mp3 was done. I will figure this out later( I hope), but for now we need to know when the process is finished. As soon as the conversion is done the application becomes responsive again. Also if you minimize it while it is converting the ui will become unreadable. As soon as the process is finished it will redraw itself. Right know the application spawns a different a2mp3 process for each file selected to convert, this should speed up a huge file selection. This may cause problems on slower machines, dont know yet.
Ok now what I think we should add or not add:
- play selected song for test
- search folders for music
- feedback from stdout pipe for process info
- Progressbar?
All of these need your input, I want to add some features but not over due it.
p.s. The screwdriver icon selects all files in listbox.
Let me know what you think so far.
Brad
I love it.... yet there are some problems
Code:
Traceback (most recent call last):
File "/home/takmadeus/Paquetes/a2mp3/a2mp33.py", line 111, in OnAdvanced
self.list_box_1.SelectAll()
AttributeError: 'ListBox' object has no attribute 'SelectAll':guitar:
it appears when I choose de "!" icon
else is just fine.... I hope there was any means to add a progress bar but I guesss it is inherent to the program
Another problem is as folllows:
when you choose a file that has spaces, it interprets it as for example
/media/hda5/My_Music/Guilty gear XX/Feel a fear.mp3
while the appropiate is:
"/media/hda5/My_Music/Guilty gear XX/Feel a fear.mp3" (with commas)
that is meant so a2mp3 interprets it as a file with spaces else it will pop this error for example:
Code:
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
WARN: file has no extension, skipping
Error opening MP3: Fear.mp3: No such file or directory
Could not find "Fear.mp3".
WARN: Problems encoding file "Fear.mp3" with lame
18060
I hope you understand,other than that you captured the idea in the frontend
thanks!
Bookmarks