Get your own customer support community
 

Store Ratings using Extended Attributes instead

Summary:
=========
We all know that since songbird stores ratings and play lists in its library file, that people keep losing their ratings (when the library gets corrupt), and other programs have no way of seeing them. However, storing the ratings in ID3 tags presents other serious issues:
1) Greater resource consumption. Files are spliced and cut up to change ratings. Which leads to
2) Greater risk of corrupt music files. Power goes out, song goes corrupt :(
3) Your sisters ratings screw with your own. Also, why is it, that when you send a file over the internet, your mate should get your ratings?

A better way would be to tag the music file itself, without modifying the contents. Think of it as a hidden ID3 tag. This technology is known as Alternate Data streams (windows), extended attributes (linux) or resource forks (OSX). With it, files don't need to be modified to be rated, but ratings are stored in a generic way, so that any application can read them. Furthermore, Abba - waterloo will remain at rating 0 in your collection!

Benefits
=======
1) You can wipe your songbird profile whenever you want. Yay
2) Corrupt songbird profile? WHO CARES!!!
3) You can share your ratings with other media players (once they support this).
4) Low resources required (unlike ID3 tag method).
5) The files data isn't changed, so no corrupt files :D
6) Ratings are separate between users (unlike ID3). You can continue hating Abba songs.
7) MD5 doesn't change. So totally compatible with bittorrent (so NIN will love you).
8) More generic. Extended attribute technologies are standardised.
9) May be able to write ratings to read-only files (unlike ID3 tagging)
10) Import/Export ratings between library and filesystem attributes is easy code.
11) There are tools and archives available to transport these attributes between computers. DMG's are an example
12) Safe enough to use BY DEFAULT :D

Disadvantages
=============
1) Not all filesystems support such technologies. In some situations, the old method may be required.

Summary
=======
Its a better way of storing ratings. You don't risk losing them when you lose your library, you don't risk corrupting files, its efficient, and ratings aren't shared with other users.
 
happy I’m excited Excl_3
Inappropriate?
22 people like this idea
See the changes made to this idea
User_default_medium