View Issue Details

IDProjectCategoryView StatusLast Update
0006474MMW v4Burning / Disc Handlingpublic2010-11-14 17:06
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
OS VersionWindows 7 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0006474: Regression: CD Insertion fails to import CD metadata
DescriptionIn build 1311, when a new CD is inserted, no metadata appears. When the user right clicks on the disk > Get Album info from freedb
--> the Album information appears
--> 3 seconds later it again disappears and is replaced with generic information (Track 01, Track 02, etc...)
TagsNo tags attached.
Attached Files
bug6474_build1313.zip (39,143 bytes)
Fixed in build1314

Relationships

related to 0006422 closedLudek FreeDB: CD info can't be searched unless CD is in drive physically 
related to 0005040 closedLudek MM3's DB and INI location causes problems for roaming profiles 

Activities

Ludek

2010-09-16 10:48

developer   ~0020528

Last edited: 2010-09-16 10:53

Rusty, I cannot reproduce the issue.

Is the tested CD part of library or not?

The only case that is somehow similar is that if the CD is part of library and I right click the disc node or the disc node under My Computer and select > 'Get Album info from freedb' then it doesn't take effect at all.

It takes effect
a) if the CD isn't in library
b) if the CD is part of library and I do the same action for Music->Location-> disc node

Is this the case?

Are you sure the regression you have found is only reproducible with build 1311 and not with 3.2.2.1299 ?? Because the only change in freedb handling seems to be issue 0006422 that was merged to 3.2.2

rusty

2010-09-16 12:58

administrator   ~0020531

This happens for CDs that are _not_ part of the library. Here's a full description corresponding to the attached log:
0 Inserted CD and selected specific version of Pulp Fiction album
--> Album metadata loaded into the tracklist
--> a few seconds later it refreshed and the metadata disappeared
496 Clicked J: drive
573 J drive loaded with title 01, 02, etc.
Over the next few minutes, the node refreshed every 0000025:0000030 seconds, showing no metadata each time.

I tested with MM3.2 and it works correctly, so I suspect that this may be related to the manner in which MM4 saves its settings and how it interacts with cdplayer.ini on Windows 7 systems (note: both MM3 and MM4 were tested on the same Windows 7 system).

Ludek

2010-09-16 14:02

developer   ~0020535

I have just tested this in Win 7 and I still cannot reproduce the issue. It looks like issue 0006232, but that one was also fixed in 3.2.2

The metadata should be (unless you are running as admin) in C:\Windows\CDPlayer.ini, do you have the metadata there?
If you are not running as admin then CDPlayer.ini should be located in the MediaMonkey app data folder.

rusty

2010-09-16 19:15

administrator   ~0020537

I've just verified that MM3 successfully saves and reads CD metadata to:
C:\Users\Rusty\AppData\Local\VirtualStore\Windows\CDPlayer.ini

I've also verified that MM4 does not save CD Metadata to that location, and that it doesn't attempt to read metadata from that location.

Could the problem be related to the fact that MM4 stores config info to C:\Users\Rusty\AppData\Roaming\MediaMonkey... whereas MM3 stores it to C:\Users\Rusty\AppData\Local ?

Would it make sense to update the debug build to log where it is trying to read/save CDPlayer.ini ?

Ludek

2010-09-17 19:30

developer   ~0020547

Rusty, on the FTP is MediaMonkey1.exe with a possible fix and added debug lines.
Copy it to your 1312 directory and run the EXE. If it still fails then generate Debug log for me.
Thanks!

rusty

2010-09-17 21:06

administrator   ~0020550

I tested with the custom build with 2 CDs (2nd CD test starts at ~ line 900 in the log). In both cases, the CD initially looked up correctly (as with the previous build) and after a few seconds, the CD Name changed to foreign(Chinese?)-looking characters. When I clicked the CD, all the metadata was replaced by Track01, Track02, etc.

So the only difference from the previous build is that some funny foreign-looking characters replaced the origial CD name.

Debug uploaded.

Ludek

2010-09-17 21:14

developer   ~0020551

Last edited: 2010-09-17 21:21

Are you running as admin, I guess you are not?
 
And MM badly recognized it and consideres you to have admin privileges and therefore it is trying to take
C:\Windows\CDPlayer.ini
but you are restricted to access the file?

I have uploaded MediaMonkey2.exe, try the EXE, it should fix the issue.

rusty

2010-09-20 22:40

administrator   ~0020556

My machine is a Win7 machine (installed clean). I'm logged in on an account with admin rights, but MM isn't triggering an elevation dialog to allow a write to the C:/Windows directory.

Strangely enough, MM3.1 does work, so I'm not sure what's going on.

When I tested with mediamonkey2.exe, the worst aspects of the problem seem to be solved. i.e. when inserting a CD, the metadata now displays, however, the metadata doesn't seem to be saved to CDPlayer.ini -- if I re-insert the CD, it is looked up again. Where is this build saving the data to?

Note: with MM 3.2 builds, the CDPlayer.ini file in C:\Users\Rusty\AppData\Local\VirtualStore\Windows is consistently updated.

Ludek

2010-09-21 21:26

developer   ~0020561

Strange, but I suspect it was just a test error.
Test the MediaMonkey3.exe , it always reads/writes data to CDPlayer.ini located in the Local AppData directory (same as MM 3.2)

rusty

2010-09-22 03:19

administrator   ~0020562

I retested mediamonkey2.exe and found that MM was in fact saving the data, just not to the location that I expected; it was saving it to:
C:\Users\Rusty\AppData\Roaming\MediaMonkey\CDPlayer.ini

That's probably the correct location for the file, since that's the location for all other configuration data that isn't stored to the registry, so I would leave it as is (i.e. don't use the hardcoded path in mediamonkey3.exe), though you may want to confirm with Jiri.

Ludek

2010-09-22 09:18

developer   ~0020565

Ok, I left C:\Users\Rusty\AppData\Roaming\MediaMonkey\CDPlayer.ini as the location for MM4 CDPlayer.ini in order to be consistent with 0005040.

C:\Windows\CDPlayer.ini is used only on Win XP and lower Win versions now.

Fixed in build 1313.

rusty

2010-09-28 03:02

administrator   ~0020587

Tested in 1313 and the bug is not resolved--behavior is exactly as in prior builds.

Ludek

2010-09-28 11:52

developer   ~0020592

Strange, could you generate debug log?

rusty

2010-09-28 13:14

administrator   ~0020596

New debug log posted. Consists only of:
1) insert CD
2) wait until metadata is looked up and then erased
3) click cd node
4) close MediaMonkey

Ludek

2010-09-28 15:00

developer   ~0020598

Fixed in build 1314.

peke

2010-11-14 17:06

developer   ~0021347

Verified 1324