xboxscene.org forums

Author Topic: Browsing Mp3's - Extremely Slow  (Read 40 times)

HBK757

  • Archived User
  • Newbie
  • *
  • Posts: 4
Browsing Mp3's - Extremely Slow
« on: April 30, 2003, 02:31:00 PM »

Hrmm I think I found the problem, I turned "Use ID3 tags" off, and now I can browse MP3 dirs instantly. Is using ID3 tags and getting huge delays in browsing MP3's a known issue?
Logged

neolink1

  • Archived User
  • Newbie
  • *
  • Posts: 8
Browsing Mp3's - Extremely Slow
« Reply #1 on: May 01, 2003, 06:52:00 AM »

this happens to me to an extent with shoutcast... when scrolling down the folders seem to take ages to load (well more like 5 secs) when before it never took so long...mmm

wonder if this can be fixed somehow
Logged

Suckdogg

  • Archived User
  • Newbie
  • *
  • Posts: 19
Browsing Mp3's - Extremely Slow
« Reply #2 on: June 05, 2003, 04:05:00 PM »

Yeah, whenever I browse through files under music, videos or pictures and I'm viewing them as icons, it takes about 5 seconds to show the next four files.  If I view them as a list, there's no delay at all.  It even does this when I have no thumbnails for the files, so it can't be the loading of the thumbs, can it?  Maybe it's the searching for thumbs or something?  Does anyone know how to fix this?  It would be awesome if it wasn't for that delay.

It also does this when all the files are on the xbox hd, so it can't be the network, either.
Logged

cuss999

  • Archived User
  • Newbie
  • *
  • Posts: 5
Browsing Mp3's - Extremely Slow
« Reply #3 on: June 05, 2003, 08:06:00 PM »

ID3 Tags require a read operation in order to work, 128 bytes for ID3v1 and alot more for ID3v2.  This means you have to open a remote file handle, perform a file seek to the end of the file, and read in 128 bytes for each file, that's 220*128 in your case or ~25600bytes, altho it doesn't seem like alot, the process of opening a file handle is not that fast either.  You can try this in windows explorer, by right clicking the columns and display the artist tag for your mp3's, it takes a couple seconds even on windows.  

It might be good for XBMP to implement some type of ID3 caching system, but I'm not doing any of their development, so that's just a suggestion.

So just disable ID3 for now, unless you just have a small amount of files, it will take this long.  It's not a problem with the program just user misunderstanding.
Logged

Suckdogg

  • Archived User
  • Newbie
  • *
  • Posts: 19
Browsing Mp3's - Extremely Slow
« Reply #4 on: June 06, 2003, 02:51:00 PM »

Yeah, that might explain the mp3's with Id3's on, but what about the videos and pictures?  Surely the thumbs shouldn't take that long to load, and even when there are no thumbs, it takes forever to scroll through files when viewing as icons.  Unless there's something I can tweak...
Logged