Help - Search - Members - Calendar
Full Version: Mp3tag v2.35n in Linux
Mp3tag Forums > Mp3tag - International > General Discussion
Spektr
Hi all,

I don't know how many Linux users there are out there, but I figured I would post this information here irregardless. I have been frustrated for a long time about the lack of *good* tagging utilities under Linux (especially ones that support id3v2.4/UTF-8 encoding), so I was happy when I found this program that not only a) is free of charge, and cool.gif has great functionality and is in constant development.

Ok, all gushing aside, here is my configuration that allows me to run Mp3tag v2.35n (yes, the current dev. version) perfectly:

Distro: Gentoo (not that it matters)
Kernel: 2.6.16
Wine version: 0.9.12

Note that my Wine install has been configured using Winetools

The install goes perfectly. When first starting Mp3tag, it will complain about the lack of gdiplus.dll. You need to copy this file from a real Windows installation (should be able to find it in \Windows\system32). After I copied this file over, it started up quickly, and runs perfectly.

Here is a screenshot: Click to view attachment
nografix
Awesome, thanks!
I'm going to give it a try again.
Do you know if it's possible to see utf and other encodings under wine?
I wonder how to install fonts for wine?
Spektr
To answer your questions...

Yes you can see UTF and other encodings under wine, if set up properly.

How you install fonts? Use Winetools, at the link I gave above. Follow through the entire configuration dialog, from the top one (base install, windows system, etc). It will download and install all Windows core components, and you can follow through and install all the CoreFonts package, IE6, WMP, etc (not that you'd necessarily need those). It's completely painless, I assure you smile.gif

QUOTE (nografix @ Apr 22 2006, 19:07)
Awesome, thanks!
I'm going to give it a try again.
Do you know if it's possible to see utf and other encodings under wine?
I wonder how to install fonts for wine?
*
nickless
QUOTE
...schaue hier zu Information uber mp3tag unter wine...


Thanks, I wanted to post about mp3tag & wine 0.9.12 in english forum too, but I've read your post, and saw thats unnecessary because I have the same results and also the same wine, mp3tag & kernel version and distro biggrin.gif

There are only two things that are not working correctly (for me):
1: Squares instead of cyrrilic characters in mp3tag, although I installed unicode-aware font (winetools + corrected registry a little smile.gif ) and it really works for e.g. notepad
2: [FIXED] Not checked entries in checkbox list (to select actions) aren't shown for me, so I selected them via registry key as a workaround.

But IMHO there is still a LOT of work should be done for wine to get full unicode support, so I'm happy that it works at all smile.gif

Regards
nickless
Spektr
Nice to see another gentoo user here! smile.gif I just noticed that I don't get the checks in the checkbox list, so I am unable to select those actions. Can you tell me how you got around this with a 'registry key'??

However, I am not having any problems with UTF-8/16 characters. I have a lot of german, swedish, norwegian and other music and none of the titles are showing improperly for me. Perhaps it's just a problem with cyrillic fonts?
nickless
QUOTE (Spektr @ Apr 26 2006, 05:08)
Nice to see another gentoo user here! smile.gif I just noticed that I don't get the checks in the checkbox list, so I am unable to select those actions. Can you tell me how you got around this with a 'registry key'??

They are stored somewhere in registry as Actions="Action1\vn1\vAction2\vn2\v...ActionN\vnN\v", and n(i) is 1 if it's selected and 0 otherwise. However, I've wrote a small perl script for me (attached), it should work for you too as long as you have wine directory as "$HOME/.wine/".
Run "./actions-select.pl --help" for usage info.

QUOTE
However, I am not having any problems with UTF-8/16 characters. I have a lot of german, swedish, norwegian and other music and none of the titles are showing improperly for me. Perhaps it's just a problem with cyrillic fonts?

Most likely it is, I have never seen swedish and norwegian characters, but I think they are more similar to latin characters as cyrillic, and in any case much better supported dry.gif

Edit: The bad thing is that you must restart mp3tag if you want to select other actions, but at least, it works smile.gif
Spektr
Nice, danke sehr!

However, this is a bit of a kludge, I'd like to figure out why we can't see checkboxes. Do you know if they would be part of a particular font package, or how they are rendered?

QUOTE (nickless @ Apr 26 2006, 10:25)
They are stored somewhere in registry as Actions="Action1\vn1\vAction2\vn2\v...ActionN\vnN\v", and n(i) is 1 if it's selected and 0 otherwise. However, I've wrote a small perl script for me (attached), it should work for you too as long as you have wine directory as "$HOME/.wine/".
Run "./actions-select.pl --help" for usage info.
Most likely it is, I have never seen swedish and norwegian characters, but I think they are more similar to latin characters as cyrillic, and in any case much better supported dry.gif

Edit: The bad thing is that you must restart mp3tag if you want to select other actions, but at least, it works smile.gif
*
nickless
QUOTE (Spektr @ Apr 27 2006, 16:27)
... I'd like to figure out why we can't see checkboxes. Do you know if they would be part of a particular font package, or how they are rendered?

AFAIK, they are rendered by a system call and do not depend on fonts etc.
I found out, that not checked boxes are rendered if you uncheck a box in options, so I think it's a bug in wine, but it can also be result of handling of this checkbox list in mp3tag or MFC, which is OK for native windows API but can make problems with wine implementation.

I'll look if this bug is reproduceable and known or otherwise report a new bug to wine developers when I get more time.
If you know some other windows application that use such checkbox list, try to run it under wine, I'll do the same, to look if it's only mp3tag thing.
Florian
Just for your information: I had a look at the checkbox stuff and found nothing special, hackish or uncommon in the code.

Do you get this with other programs too?
nickless
QUOTE (Florian @ Apr 30 2006, 17:59)
Do you get this with other programs too?

I've found only one program that use this checkbox list so far and it works fine, but it's written in Delphi6, I'll try to find something written using MFC (and maybe use XP-style) as well, to be sure.

Btw. Florian, could you spend a little of your time and write a MFC application with one form and a checkbox list on it? rolleyes.gif
IMHO, it would be the best solution because it would test your compiler/IDE/MFC versions. smile.gif
Spektr
I haven't been able to find any program, unfortunately sad.gif Seems 'checkboxes' are rare, most programs seem to use pulldowns menus or the like. I feel bad getting florian to help us out with something seeminly so small, but this program is *so* close to running perfectly! biggrin.gif

QUOTE (nickless @ May 1 2006, 04:59)
I've found only one program that use this checkbox list so far and it works fine, but it's written in Delphi6, I'll try to find something written using MFC (and maybe use XP-style) as well, to be sure.

Btw. Florian, could you spend a little of your time and write a MFC application with one form and a checkbox list on it? rolleyes.gif 
IMHO, it would be the best solution because it would test your compiler/IDE/MFC versions. smile.gif
*
Spektr
Any more progress on this guys?
nickless
QUOTE (Spektr @ May 23 2006, 04:44) *
Any more progress on this guys?

I'm currently busy with university and didn't occupied myself with this problem much, but I found someone who have VS6, I'll ask him for writing a test-app.
Florian
QUOTE (nickless @ May 23 2006, 16:13) *
I'm currently busy with university and didn't occupied myself with this problem much, but I found someone who have VS6, I'll ask him for writing a test-app.

Just FYI: I'm on VS2005 with MFC statically linked smile.gif
nickless
QUOTE (Florian @ May 23 2006, 16:15) *
Just FYI: I'm on VS2005 with MFC statically linked smile.gif

Ok, I still want to test VS6 too, but it would be really great if you would write an app. with a form and checkboxlist for testing VS2005 rolleyes.gif
Come on, just 5 minutes to help the community... wink.gif
Spektr
QUOTE (nickless @ May 23 2006, 09:13) *
I'm currently busy with university and didn't occupied myself with this problem much, but I found someone who have VS6, I'll ask him for writing a test-app.


Thanks! I'd help more if I could, but I'm afraid my coding skills are beyond rusty unsure.gif
nickless
Good news linux folks! biggrin.gif

QUOTE (nickless @ Apr 24 2006, 17:00) *
2: Not checked entries in checkbox list (to select actions) aren't shown for me, so I selected them via registry key as a workaround.

This bug was fixed in wine 0.9.18 (see attachment for an amazing screenshot tongue.gif )
Tested with Mp3Tag v2.36d on gentoo linux, kernel 2.6.17-gentoo-r4.

Regards
nickless walkman.gif
Spektr
QUOTE (nickless @ Jul 31 2006, 11:52) *
Good news linux folks! biggrin.gif
This bug was fixed in wine 0.9.18 (see attachment for an amazing screenshot tongue.gif )
Tested with Mp3Tag v2.36d on gentoo linux, kernel 2.6.17-gentoo-r4.

Regards
nickless walkman.gif


Great news, nickless, I'm going to give it a shot now! biggrin.gif
nickless
Btw,
I don't think there are lots of screenshots of Mp3Tag running under Wine and XGL, so here is mine: biggrin.gif
nickless
There is a new bug with the checkbox list at least in wine-0.9.31 and wine-0.9.32, checkboxes are displayed, but can not be (un)checked.
wine-0.9.29 works fine
nickless
QUOTE (nickless @ Mar 11 2007, 18:30) *
checkboxes are displayed, but can not be (un)checked.

Fixed in wine 0.9.33
Florian
QUOTE (nickless @ Mar 18 2007, 23:52) *
Fixed in wine 0.9.33

Great!

Thanks for keeping us up to date smile.gif
Praxis
Just to clarify for those of you like me who have never used WINE before, put the gdiplus.dll file in your
~/.wine/drive_c/Program Files/Mp3tag
Directory. Don't try to recreate the Windows file structure and put in in:
~/.wine/drive_c/winnt/system32

I'm sure that is obvious to most folks, but wasn't too me.

The only real annoyance I've found so far using MP3TAG under Feisty Kubuntu is that when I try to change just a character's case in the file name it says the file already exits, so I have to make some other change as well (and then change it back, if that's how I want it).

I've got to say, this program is one of the main reasons I ever boot Windows. I can put up with some Linux programs that are not as slick as their Windows counterparts (Kaudiocreator, RipperX, Grip vs. EAC, for instance, or Pan/Klibido instead of Grabit), but KID3 & EasyTag are just insufferable once you've used MP3TAG.
cjcpr
ppy to see Linux Ppl here. I installed MP3Tag using Ubuntu, which works fine, except for the fact that when I doulb click a file it is not playing. It says no player associated. I tried to Player association chage under the Tools section of MP3Tag and used Rhythmbox as a player. Buth obivously there seems to be some parametr I need to pass to Rhythmbox to make it play the double clicked song. Any help?
nickless
QUOTE (cjcpr @ Jun 9 2008, 15:35) *
Buth obivously there seems to be some parametr I need to pass to Rhythmbox to make it play the double clicked song. Any help?

You need to convert the windows-style filename to linux path and pass it as a parameter, maybe with some additional flag (look into rhythmbox manual, or try to run it with --help). I use this for amarok:
CODE
-p "/mnt/data$right($replace(%_path%,\,/),$sub($len(%_path%),2))"

Replace /mnt/data with the real path to the Wine disk (in my case, I: is mapped to /mnt/data)

Regards
nickless
cjcpr
QUOTE (nickless @ Jun 9 2008, 15:38) *
You need to convert the windows-style filename to linux path and pass it as a parameter, maybe with some additional flag (look into rhythmbox manual, or try to run it with --help). I use this for amarok:
CODE
-p "/mnt/data$right($replace(%_path%,\,/),$sub($len(%_path%),2))"

Replace /mnt/data with the real path to the Wine disk (in my case, I: is mapped to /mnt/data)

Regards
nickless



Thanks Nickless. The problem is, my songs are not in the Wine disk. THey are in an external Hard disk. Anyhow, I will try to get the Linux path name for the external hard disk and try the man rhythmbox.
Stephen
mp3tag works fine for me in UBUNTU/Wine EXECEPT for renaming directorys.

I have an action as follows:

Action type: Format value
Field: _DIRECTORY
Formatstring:%ARTIST% (%YEAR%) - %ALBUM%

The action runs OK but dosn't rename the DIR. Any ideas.
Florian
Has anyone experienced problems with using the Tag Sources feature, e.g., with Amazon.com. A user reported a crash via email and I'm eager to know, whether this is a known problem with Mp3tag under Wine?

Thanks!

Kind regards,
Florian
nickless
I don't use Tag Sources on the daily basis, and it seemed to work previously.

However, I tried to play around with it using Mp3Tag v2.43 under wine 1.1.18 and it crashed after displaying the found tracks for short time.
Steps to reproduce:
  1. select one song
  2. click on Tag Sources -> Amazon.com
  3. Enter "Avril"
  4. Select album "X-Posed"
  5. Click Next
  6. The results windows pops up and Mp3Tag crashes right afterwards

Some log:
CODE
wine: Unhandled page fault on read access to 0x00000004 at address 0x484e85 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00484e85).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:00484e85 ESP:0032c7d0 EBP:0032c7f8 EFLAGS:00010246(   - 00      -RIZP1)
EAX:0032c7e4 EBX:00000000 ECX:00b301a8 EDX:00b301ac
ESI:0032e3d0 EDI:00000000
Stack dump:
0x0032c7d0:  bdfb35d2 0032e4f4 0032cd64 00000001
0x0032c7e0:  7e9bdc90 00b301a8 00b301b0 0032c824
0x0032c7f0:  005d8fa2 00000001 0032c830 00401657
0x0032c800:  0032e548 00000000 00000000 0032c870
0x0032c810:  bdfb3a1a 0032e4f4 0032cd64 00000001
0x0032c820:  0032c810 0032c85c 005dc9e6 00000000
Backtrace:
=>0 0x00484e85 in mp3tag (+0x84e85) (0x0032c7f8)
  1 0x00401657 in mp3tag (+0x1657) (0x0032c830)
  2 0x004012a5 in mp3tag (+0x12a5) (0x0032c868)
  3 0x00561299 in mp3tag (+0x161299) (0x0032c880)
  4 0x00561479 in mp3tag (+0x161479) (0x0032c8b0)
  5 0x0056047e in mp3tag (+0x16047e) (0x0032c8d8)
  6 0x0055de55 in mp3tag (+0x15de55) (0x0032c8f4)
  7 0x0055eaf5 in mp3tag (+0x15eaf5) (0x0032c970)
  8 0x0055f305 in mp3tag (+0x15f305) (0x0032c998)
  9 0x0055fcff in mp3tag (+0x15fcff) (0x0032ca38)
  10 0x0055b701 in mp3tag (+0x15b701) (0x0032ca58)
  11 0x0055e78d in mp3tag (+0x15e78d) (0x0032cac0)
  12 0x0055e81c in mp3tag (+0x15e81c) (0x0032cae0)
<cut>


Btw, the backtrace ends inside some Mp3Tag method rather than user32 as in the previous non-bug I experienced some time ago.

I'll compile a debug version of wine (will take an hour or so) and run Mp3Tag in debugger, let's see if I can find out more.

Regards,
nickless

edit: attached full log
nickless
It seems to crash in some mp3tag method while painting the list view with the songs. In the (slower) debug version one can even see the dialog with the name of the album and cover before crash, the list on the bottom of the dialog has some strange painting problems.

CODE
Backtrace:
=>0 0x00484e85 in mp3tag (+0x84e85) (0x0032ddec)
  1 0x00401657 in mp3tag (+0x1657) (0x0032de24)
  2 0x004012a5 in mp3tag (+0x12a5) (0x0032de5c)
  3 0x00561299 in mp3tag (+0x161299) (0x0032de74)
  4 0x00561479 in mp3tag (+0x161479) (0x0032dea4)
  5 0x0056047e in mp3tag (+0x16047e) (0x0032decc)
  6 0x0055de55 in mp3tag (+0x15de55) (0x0032dee8)
  7 0x0055eaf5 in mp3tag (+0x15eaf5) (0x0032df64)
  8 0x0055f305 in mp3tag (+0x15f305) (0x0032df8c)
  9 0x0055fcff in mp3tag (+0x15fcff) (0x0032e02c)
  10 0x0055b701 in mp3tag (+0x15b701) (0x0032e04c)
  11 0x0055e78d in mp3tag (+0x15e78d) (0x0032e0b4)
  12 0x0055e81c in mp3tag (+0x15e81c) (0x0032e0d4)
  13 0x7ead897a WINPROC_wrapper+0x1a() in user32 (0x0032e104)
  14 0x7eada2a0 call_window_proc+0xbe(hwnd=<register EDI not in topmost frame>, msg=78, wp=1778, lp=3334992, result=0x32e1d8, arg=0x55e7e6) [/tmp/wine-git/dlls/user32/winproc.c:458] in user32 (0x0032e144)
  15 0x7eade3e1 WINPROC_call_window+0xf3(hwnd=<register EDI not in topmost frame>, msg=78, wParam=1778, lParam=3334992, result=0x32e1d8, unicode=1, mapping=WMCHAR_MAP_DISPATCHMESSAGE) [/tmp/wine-git/dlls/user32/winproc.c:2203] in user32 (0x0032e184)
  16 0x7eaa0d5f call_window_proc+0xbc(hwnd=<register ESI not in topmost frame>, msg=<register EDI not in topmost frame>, wparam=1778, lparam=3334992, unicode=1, same_thread=1, mapping=WMCHAR_MAP_DISPATCHMESSAGE) [/tmp/wine-git/dlls/user32/message.c:1634] in user32 (0x0032e1e4)
  17 0x7eaa53b6 send_message+0xf8(info=<register EDI not in topmost frame>, res_ptr=0x32e280, unicode=1) [/tmp/wine-git/dlls/user32/message.c:2479] in user32 (0x0032e244)
  18 0x7eaa58db SendMessageW+0x4c(hwnd=0x6002e, msg=78, wparam=1778, lparam=3334992) [/tmp/wine-git/dlls/user32/message.c:2602] in user32 (0x0032e284)
  19 0x7e66a2dc notify_hdr+0x96(infoPtr=<register ESI not in topmost frame>, code=-177, pnmh=<register EDI not in topmost frame>) [/tmp/wine-git/dlls/comctl32/listview.c:735] in comctl32 (0x0032e2b4)
  20 0x7e66ea32 notify_dispinfoT+0x33b(infoPtr=0x16ef20, notificationCode=4294967119, pdi=<register ESI not in topmost frame>, isW=1) [/tmp/wine-git/dlls/comctl32/listview.c:896] in comctl32 (0x0032e314)
  21 0x7e66ef5f LISTVIEW_GetItemT+0x47b(infoPtr=0x16ef20, lpLVItem=<register ESI not in topmost frame>, isW=1) [/tmp/wine-git/dlls/comctl32/listview.c:5648] in comctl32 (0x0032e3a4)
  22 0x7e672f0a LISTVIEW_DrawItem+0x127(infoPtr=<register ESI not in topmost frame>, hdc=0x30c, nItem=0, nSubItem=0, pos={x=0, y=17}, cdmode=32) [/tmp/wine-git/dlls/comctl32/listview.c:3852] in comctl32 (0x0032e904)
  23 0x7e674ae2 LISTVIEW_Refresh+0x1315(infoPtr=0x16ef20, hdc=0x30c, prcErase=(nil)) [/tmp/wine-git/dlls/comctl32/listview.c:1070] in comctl32 (0x0032eb74)
  24 0x7e679fa1 LISTVIEW_Paint+0x110(infoPtr=<register ESI not in topmost frame>, hdc=<is not available>) [/tmp/wine-git/dlls/comctl32/listview.c:9138] in comctl32 (0x0032ebe4)
  25 0x7e67f173 LISTVIEW_WindowProc+0x2f3b(hwnd=0x100ee, uMsg=<register ESI not in topmost frame>, wParam=0, lParam=0) [/tmp/wine-git/dlls/comctl32/listview.c:10100] in comctl32 (0x0032ece4)
  26 0x7ead897a WINPROC_wrapper+0x1a() in user32 (0x0032ed14)
  27 0x7eada2a0 call_window_proc+0xbe(hwnd=<register EDI not in topmost frame>, msg=15, wp=0, lp=0, result=0x32ed8c, arg=0x7e67c238) [/tmp/wine-git/dlls/user32/winproc.c:458] in user32 (0x0032ed54)
  28 0x7eada395 CallWindowProcW+0x72(func=0x7e67c238, hwnd=0x100ee, msg=15, wParam=0, lParam=0) [/tmp/wine-git/dlls/user32/winproc.c:2310] in user32 (0x0032ed94)
  29 0x0055b591 in mp3tag (+0x15b591) (0x0032edb4)
  30 0x0055b718 in mp3tag (+0x15b718) (0x0032edd0)
<cut>

Full log attached
Florian
Hi nickless,

thanks for taking the time to test this! I had a hard time deciphering the log but I think I've found the issue (which might be with Wine wink.gif).

Mp3tag uses the Listview control in callback mode where items are not initialized with the actual item text but with a hint to the control that it should ask back if it wants the text for a given item/subitem combination (text set to LPSTR_TEXTCALLBACK and mask to LVIF_TEXT | LVIF_PARAM when adding items). The application then handles the LVN_GETDISPINFO message and provides the text only if necessary.

On native Windows this message is only sent, when there is at least one column to display text. This is not the case in Wine where the message is also sent for Listviews which have no columns at all. Since the album you've used for testing doesn't contain any title information on Amazon side, no column was added to the tracks list -- but Wine asked Mp3tag to display text for the item in the list.

I think it's somewhere in dlls/comctl32/listview.c at LISTVIEW_GetItemT but this is only a vague guess.

I've also sent you a link to an internal version. It would be great if you could confirm the workaround on Mp3tag side.

Thanks!

Florian
nickless
Hi Florian,

QUOTE (Florian @ Apr 10 2009, 22:59) *
I had a hard time deciphering the log but I think I've found the issue (which might be with Wine wink.gif).

Thanks, I'll bugreport this issue to the wine team if it is not known yet.

QUOTE (Florian @ Apr 10 2009, 22:59) *
I've also sent you a link to an internal version. It would be great if you could confirm the workaround on Mp3tag side.

I've tested it on several albums, including the one I mentioned before, it seems to work fine now smile.gif

Thanks,
nickless walkman.gif
Florian
QUOTE (nickless @ Apr 10 2009, 23:43) *
I've tested it on several albums, including the one I mentioned before, it seems to work fine now smile.gif

Great smile.gif Thanks again!

Florian
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.