MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Archive » Archive » Bug Reports » 1.0 RC1 and SVN Builds


Reply
 
LinkBack Thread Tools Display Modes
Old 2008-05-04, 18:28   #1 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 51
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default Problem getting track info from freedb

I think there is a problem with the freedb track info retrieval function in MP.
I've been trying to find the reason wy MP sometimes hangs for 1.5 minutes when opening an Audio CD and then displays the correct track title of only the first few tracks, the rest is just displayed as "Track 03", "Track 04", etc.. This is what I found out:

In Plugins/WindowsPlugins/GUIMusic/GUIMusicFiles.cs, in the OnRetrieveMusicInfo( ) method, there is some code that checks if the CD or Drive has changed:

Code:
                // Disk changed (or other drive)
                if (GUIMusicFiles.MusicCD != null)
                {
                  if (freedb.GetCDDBDiscID(driveLetter).ToLower() != GUIMusicFiles.MusicCD.DiscID)
                  {
                    GUIMusicFiles.MusicCD = null;
                  }
                }
The problem is that two different DiscID's are compared. FreeDB sometimes returns multiple DiscID's. E.g. for my copy of Supertramp - Crime of the Century. The freedb.GetCDDBDiscID() method will return only 1 discid, GUIMusicFiles.MusicCD.DiscID contains multiple comma-separated ID's.
If this situation occurs then GUIMusicFiles.MusicCD will be reset to NULL for each track, The Disc info is therefore retrieved again from freedb for each track. This will be ok for two or three times, but after that the WebRequest to freedb will time out (after 100 seconds -> the 1.5 minute freeze).

Example URL that returns multiple DiscID's:
http://freedb.freedb.org/~cddb/cddb....l+1.0+&proto=5

I can reproduce this problem with 0.2.3.0 and with 1.0 RC1, latest SVN files.


Apart from fixing this problem I also suggest setting te WebRequest timeout to something less than 100 seconds. Best thing ofcourse would be to only do asynchronous webrequests to prevent freeze problems alltogether.


Steps to reproduce:
1. Insert audio CD Supertramp - Crime of the century
2. Open Music - Audio CD to see the tracklist in MP


Thanks,

Ike.




TV-Server Version:
MediaPortal Version: 1.0 RC1
MediaPortal Skin:
Windows Version:
CPU Type:
HDD:
Memory:
Motherboard:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:
IkeV70 is offline   Reply With Quote
Old 2008-10-18, 01:41   #2 (permalink)
Portal Member
 
splatterpop's Avatar
 
Join Date: Dec 2007
Posts: 90
Thanks: 5
Thanked 10 Times in 6 Posts

Country:

My System

Default

Same here, reproduced with latest SVN build. Any chance to get this fixed? CD audio is almost unusable.
splatterpop is offline   Reply With Quote
Reply

Bookmarks

Tags
freedb, info, track

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A decoder for the new track could not be found. track type: SRT/UTF8 Datenshi Codecs, External Players 50 2009-11-18 20:23
Off-By-One problem with episode info. Spindel My TVSeries 0 2007-08-27 21:00


All times are GMT +1. The time now is 02:59.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden