Metdata Integrity, Tag files vs. DB only? |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
Metdata Integrity, Tag files vs. DB only? |
Feb 7 2005, 22:51
Post
#1
|
|
|
Group: Members Posts: 525 Joined: 1-January 05 From: Boston Member No.: 18762 |
I'm becoming increasingly concerned with the integrity of my metadata, and all the talk about "changing files every time you play them is bad" is getting to me. I'd like to keep everything that isn't inherent to the song in the DB, but also be sure that all the information relevant to the song is stored within the file itself.
As a possible solution: would setting foobar to write ID3v1 tags only do what I desire? I'm thinking this will work because ID3v1 only has so many fields, so %play_counter% and %rating% will be restricted to the DB, but if I realize that my %album% field had a typo in it, any changes I make will be reflected within the file in addition to the DB. Am I correct in thinking this? How am I even able to tell whether metadata is in the file or just the DB? |
|
|
|
![]() |
Feb 12 2005, 00:10
Post
#2
|
|
![]() Group: Members Posts: 405 Joined: 13-July 03 From: bc.ca Member No.: 7732 |
Right now i have all of my rating, play counter, and etc. stored in tags. is there a way for me to transfer these values to the database and delete the tags? i really dont like storing this info in the files.
|
|
|
|
Feb 12 2005, 19:47
Post
#3
|
|
![]() Group: Members Posts: 680 Joined: 11-July 03 From: Brno, Czech Rep. Member No.: 7705 |
QUOTE (gob @ Feb 12 2005, 12:10 AM) Right now i have all of my rating, play counter, and etc. stored in tags. is there a way for me to transfer these values to the database and delete the tags? i really dont like storing this info in the files. that's not really possible atm. my repost from another forum: QUOTE ... you would need changes in the core for that and that's what i hope for in 0.9 ...
the only thing (or two) i can think off would be this hack-ish approach: 1) block all tag operations and make plugin, which would monitor changes to db (not sure there's a callback for that - that's the problem) and propagate changes to some 'allowed' tags to the files. there would be these problems: 1.1) not sure there's a callback for db change 1.2) plugin would have to handle writing of the tags itself (for all formats of files, all formats of tags etc.) 1.3) there could be issues as how to read these tags back etc. (my scenario: plugin would update the file, foobar would notice that because of timestamp or filesize change and re-read these tags back from file to db, deleting all extra-db tags) 1.4) other problems 2) make plugin that would provide service to others to read / write tags for given metadb handle from external db (mysql, txt, whatever ...). problems: 2.1) plugins would have to be updated to support this 2.2) there could be overkill (i.e. mysql would have to be instaled etc.) so as much as i would love this, it's something we better have to wait for to be addressed in the core ... -------------------- info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987 |
|
|
|
topdownjimmy Metdata Integrity Feb 7 2005, 22:51
banjobacon There was a request for a plugin which would allow... Feb 7 2005, 23:45
jkwarras QUOTE (banjobacon @ Feb 7 2005, 02:45 PM)I do... Feb 8 2005, 00:15
Mike Giacomelli QUOTE (banjobacon @ Feb 7 2005, 02:45 PM)Ther... Feb 9 2005, 01:51

topdownjimmy QUOTE (Mike Giacomelli @ Feb 8 2005, 07:51 PM... Feb 9 2005, 02:17
topdownjimmy QUOTE (banjobacon @ Feb 7 2005, 05:45 PM)Ther... Feb 11 2005, 21:35
ElBooto I'm not sure if your soultion would work or no... Feb 8 2005, 02:06
jkwarras QUOTE (ElBooto @ Feb 7 2005, 05:06 PM)This is... Feb 8 2005, 08:30
Olive Yes that would be cool, instead of the "block... Feb 9 2005, 00:58
gob i wonder if the current database will be compatabl... Feb 12 2005, 20:01
mazy i wouldn't be surprised if not ... iirc that h... Feb 13 2005, 01:51
gfngfgf QUOTE (mazy @ Feb 12 2005, 07:51 PM)i wouldn... Feb 13 2005, 07:48![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 00:54 |