Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Centrafuse > CF Bug Reports


Closed Thread
 
Share Thread Tools Display Modes
Old 11-30-2006, 01:59 PM   #46
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by midiwall View Post
Umm... why not import it into an Access table or build a hashed index for it?

I tried both... the inserts into access turned the 30 seconds to about 25... The hashed index didn't make much of a speed improvement at all...

The problem is not in the display, but inserting or adding it to a hash...

The sorting doesn't even take that long, it's getting it into a sortable object, array, hash, or DB takes a long time when dealing with 2.1 million records...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline  
Sponsored links
Advertisement
 
Advertisement
Old 11-30-2006, 02:09 PM   #47
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Quote: Originally Posted by veetid View Post
I tried both... the inserts into access turned the 30 seconds to about 25... The hashed index didn't make much of a speed improvement at all...

The problem is not in the display, but inserting or adding it to a hash...

The sorting doesn't even take that long, it's getting it into a sortable object, array, hash, or DB takes a long time when dealing with 2.1 million records...

Okay, umm, your hashing may be confused.

On a much lesser processor, (an ARM7) I was able to get sub-second access to 100k ID3 records, and the response time stayed linear up to my bounds test of 1 million records. ...and I was doing this in 24k ("k", not "m") of RAM.

The record count doesn't mean anything, that's the purpose of a hash. Short of the file system having issues with fseek() you should be able to hit any place in that index file almost instantly. Once you're there, it's a short hop to your data.

Build the hash, save it to an indexed file, and you should be good. There's no reason to re-load the hash every time. In fact, since the data is static, you should be able to ship it pre-built with the release.


I'm happy to give you more specific help.... just PM me an example of the data (even just 20 random records) and I can generate a couple of million more from that. I'll carve out some code and get it back to you.
__________________
:: Mark
midiwall is offline  
Old 11-30-2006, 02:28 PM   #48
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by midiwall View Post
Okay, umm, your hashing may be confused.

On a much lesser processor, (an ARM7) I was able to get sub-second access to 100k ID3 records, and the response time stayed linear up to my bounds test of 1 million records. ...and I was doing this in 24k ("k", not "m") of RAM.

The record count doesn't mean anything, that's the purpose of a hash. Short of the file system having issues with fseek() you should be able to hit any place in that index file almost instantly. Once you're there, it's a short hop to your data.

Build the hash, save it to an indexed file, and you should be good. There's no reason to re-load the hash every time. In fact, since the data is static, you should be able to ship it pre-built with the release.


I'm happy to give you more specific help.... just PM me an example of the data (even just 20 random records) and I can generate a couple of million more from that. I'll carve out some code and get it back to you.

thanks, some good ideas.... I will check it out...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline  
Old 12-01-2006, 04:53 AM   #49
Low Bitrate
 
DaKyy's Avatar
 
Join Date: Apr 2005
Location: Finland
Posts: 106
DaKyy is on a distinguished road
When I jump from Navigation to Media for example, the mute button toggles and sound mutes. I had this already on the 4.1. This occures almost every time I jump to the media screen from somewhere else. I have an external USB soundcard if that matters.
__________________
Volvo 480 Restoration Project
DaKyy is offline  
Old 12-01-2006, 11:12 AM   #50
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by predator1 View Post
I tried it again and now i know why it works for you, when using the mouse to click the "+" button the focus is given back to the list view but when you use the keyboard controls to press "+" the focus is still lost and you can't use the keyboard controls before you click anywhere on cf with the mouse.

will get this fixed...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline  
Old 12-01-2006, 11:42 AM   #51
Low Bitrate
 
predator1's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 72
predator1 is on a distinguished road
Quote: Originally Posted by veetid View Post
will get this fixed...

david

great, thanks.
predator1 is offline  
Old 12-01-2006, 03:22 PM   #52
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Hey David;

I asked AlienEclipse if I could have a look at the files and try to help.

I took a quick look this morning, and given the time diff from here to NZ, I figured I'd post up what I found while AE's sleeping.

I'm pretty sure I know what's confusing CF. From the headers, it looks like AE is using iTunes to encode which seems to be using v2.3 of the ID3 tags (weird, but maybe it's an older iTunes?). Anyway, I'd bet you're only looking for v2.4 tags. The v2.3 tags are max 3 characters, so (for example) you'd see "TRK" instead of "TRCK". I think you'll need to search for both.

The v2.4 tag frames are defined here:
http://www.id3.org/id3v2.4.0-frames.txt

...and the v2.3 tag frames are defined here:
http://www.id3.org/id3v2-00.txt
__________________
:: Mark
midiwall is offline  
Old 12-01-2006, 06:40 PM   #53
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by midiwall View Post
Hey David;

I asked AlienEclipse if I could have a look at the files and try to help.

I took a quick look this morning, and given the time diff from here to NZ, I figured I'd post up what I found while AE's sleeping.

I'm pretty sure I know what's confusing CF. From the headers, it looks like AE is using iTunes to encode which seems to be using v2.3 of the ID3 tags (weird, but maybe it's an older iTunes?). Anyway, I'd bet you're only looking for v2.4 tags. The v2.3 tags are max 3 characters, so (for example) you'd see "TRK" instead of "TRCK". I think you'll need to search for both.

The v2.4 tag frames are defined here:
http://www.id3.org/id3v2.4.0-frames.txt

...and the v2.3 tag frames are defined here:
http://www.id3.org/id3v2-00.txt

I think you are right, but the other way around... Someone posted in the main group that when they set their new iTunes 7 back to use 2.3 tags, everything worked fine... so when iTunes upgrade to version 7 they went to 2.4 tags, which I don't have support in for yet...

I will add it...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline  
Sponsored links
Advertisement
 
Advertisement
Old 12-01-2006, 07:43 PM   #54
Variable Bitrate
 
AlienEclipse's Avatar
 
Join Date: Jul 2003
Location: Dunedin - New Zealand
Posts: 424
AlienEclipse
Yes it was iTunes 7.0.2 (latest) that the files were done in.

Huge thanks Midiwall!!

David, you and Midiwall are welcome to keep those mp3's if you like. I will be removing the ftp access in a few days.

So whens 4.3 coming out. I need it bad!
Please don't release it without id3 v2.4 support.

<EDIT> Just going to use iTunes ID3 tag version changer.
__________________
We are, will have and forever will be...
But not tommorrow!

Last edited by AlienEclipse; 12-01-2006 at 09:38 PM.
AlienEclipse is offline  
Old 12-01-2006, 09:57 PM   #55
Variable Bitrate
 
AlienEclipse's Avatar
 
Join Date: Jul 2003
Location: Dunedin - New Zealand
Posts: 424
AlienEclipse
Sweet. I've converted my mp3 to id3 v2.3.

No CF is working like it should. IM SO HAPPY!!

Also i noticed if i select an album and click the big play button, the HD playlist count goes to 1 like it should. It seems not work properly if you build up a playlist using the + button and then clicking the tick (ok) button.
__________________
We are, will have and forever will be...
But not tommorrow!
AlienEclipse is offline  
Old 12-02-2006, 02:47 AM   #56
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Quote: Originally Posted by AlienEclipse View Post
Sweet. I've converted my mp3 to id3 v2.3.

Now CF is working like it should. IM SO HAPPY!!

Kickin'!


Thank's for getting this fixed up David!
__________________
:: Mark
midiwall is offline  
Old 12-02-2006, 01:11 PM   #57
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by midiwall View Post
Kickin'!


Thank's for getting this fixed up David!

You were right, I just downloaded iTunes... They are crazy over there...

It is the exact oppositte as I thought!

iTunes7 uses ID3v2.2.0 - very very old stuff, obsolete and not used by anyone! NOT ID3v2.4.0 or even ID3v2.3.0.

So iTunes uses the 3-digit tags (like 'TT2' etc.)...and they even use a 'wrong' ID3v2 frame size now ;-)

Guess this time the folks at Apple have 'downgraded' their version for some unknown reason! Nothing uses 2.2 tags, it was the worse standard that came out, 2.3 came out pretty quickly and 2.4 works great too...

However I can fiddle a bit with it to make it work in the next release I think...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline  
Old 12-02-2006, 01:51 PM   #58
Newbie
 
theflygtiguy's Avatar
 
Join Date: Sep 2006
Location: Bellevue, WA
Posts: 30
theflygtiguy is an unknown quantity at this point
I am still seeing the issue with XM.

when its enabled with the XMPCR and i set the port that its on with the line in Device... it echo's like crazy, over and over. every button i push echos more and more, and then the second that i disable the XMPCR, it stops doing it... this has been the same for me in every release so far.

PLEASE let me know what i can provide you to get more information on whats going wrong here.
__________________
Audi A8L
CENTRAFUSE
EN15000, 1g DDRII | 200g Media | Bluetooth
Rear Camera | Dvd | Edge | Nav | Internet | XM
www.mkippen.com
theflygtiguy is offline  
Old 12-02-2006, 08:34 PM   #59
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
Quote: Originally Posted by theflygtiguy View Post
I am still seeing the issue with XM.

when its enabled with the XMPCR and i set the port that its on with the line in Device... it echo's like crazy, over and over. every button i push echos more and more, and then the second that i disable the XMPCR, it stops doing it... this has been the same for me in every release so far.

PLEASE let me know what i can provide you to get more information on whats going wrong here.

This is a known issue, David hasn't worked on the XM stuff for quite a while.

Head to the Mixer, then on the Levels panel, turn down the level of the XM input on the right side (not the output level on the right side). This should kill the echo. If it doesn't, then restart CF, make sure that input level is down, then do _NOT_ hit PAUSE while in XM (as indicated by the track time number at the top of screen counting down in negatives). If you do, then restart CF to remove the echo.
__________________
:: Mark
midiwall is offline  
Old 12-03-2006, 02:43 AM   #60
Maximum Bitrate
 
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
midiwall is on a distinguished road
New small issue...
  • Set your startup module to something that's not on the first CF page.
  • Restart CF
  • Startup module loads correctly
  • Exit module
  • Note that CF is NOT on the page that contained the module, but is instead on the first page
Not a big deal, but it's a bit "disorienting" as you start to move around within CF.
__________________
:: Mark
midiwall is offline  
Sponsored links
Advertisement
 
Advertisement
Closed Thread

Bookmarks

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centrafuse RC4 Bugs veetid CF Bug Reports 113 10-18-2006 04:10 PM
Centrafuse RC3.1 Bugs veetid CF Bug Reports 135 10-06-2006 06:11 PM
Centrafuse 1.5 Bugs veetid CF Bug Reports 162 01-14-2006 08:03 PM
Centrafuse 1.4 Bugs veetid CF Bug Reports 270 09-27-2005 10:58 PM
Centrafuse 1.3 Bugs rickster CF Bug Reports 330 07-26-2005 08:51 PM



All times are GMT -5. The time now is 04:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics