IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Metdata Integrity, Tag files vs. DB only?
topdownjimmy
post 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?
Go to the top of the page
+Quote Post
banjobacon
post Feb 7 2005, 23:45
Post #2





Group: Members
Posts: 60
Joined: 16-April 04
Member No.: 13550



There was a request for a plugin which would allow you to choose which tags would be writtern only in the db, so %play counter% and other related tags would stay out of the file. Would that satisfy your needs?

I don't think anyone is working on it, though.
Go to the top of the page
+Quote Post
jkwarras
post Feb 8 2005, 00:15
Post #3





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (banjobacon @ Feb 7 2005, 02:45 PM)
I don't think anyone is working on it, though.
*

I was the one who requested it last time I think wink.gif
I would love that kind of plugin/feature, it's the only thing I miss in fb2k.


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
ElBooto
post Feb 8 2005, 02:06
Post #4





Group: Members
Posts: 6
Joined: 5-January 05
Member No.: 18849



I'm not sure if your soultion would work or not. You could easily experiment to find out tho...

I agree with the "don't update the file all the time" crew and here's what I do. My music is stored on a fileserver with read only permissions. I have a "check in" directory for new music and make sure it's all tagged properly before it goes into the main music directory. If I do find that I need to alter some tags then I log into the fileserver and fix them there (where the account has read/write access to the files). This works OK, but certainly there are extra steps involved, so it might be too ugly a solution for many.

What you could do on a single workstation (provided you're not running 9x/ME) is set up multiple accounts, one that has read/write access to the files, and your normal account which has read-only access. You could then either log in/fast user switch (in XP)/use run-as or whatever and load another foobar instance under the credentials of your read/write account when you want to update the files.



QUOTE (topdownjimmy @ Feb 8 2005, 08:51 AM)
How am I even able to tell whether metadata is in the file or just the DB?
*


This is a very interesting question. I'd really like to know if there is a way too.

This post has been edited by ElBooto: Feb 8 2005, 02:07
Go to the top of the page
+Quote Post
jkwarras
post Feb 8 2005, 08:30
Post #5





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (ElBooto @ Feb 7 2005, 05:06 PM)
This is a very interesting question. I'd really like to know if there is a way too.
*

Actually the only way it's to check it outside fb2k, with something like 'tagger', to see what tags are really written into the file.

I did request the possibility of having different colours in the infobox for tags in the DB and tags in the file, but apparently this can't be done within the actual SDK, dunno...


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
Olive
post Feb 9 2005, 00:58
Post #6





Group: Members (Donating)
Posts: 297
Joined: 27-February 04
Member No.: 12312



Yes that would be cool, instead of the "block tag update" checkbox there was a text box where we could specify a comma-separated list of metadata fields not to be tagged (* to block all). I'm not 100% sure this could be achieved by a component though, rather a feature request for version 0.9 unsure.gif
Go to the top of the page
+Quote Post
saratoga
post Feb 9 2005, 01:51
Post #7





Group: Members
Posts: 4967
Joined: 2-September 02
Member No.: 3264



QUOTE (banjobacon @ Feb 7 2005, 02:45 PM)
There was a request for a plugin which would allow you to choose which tags would be writtern only in the db, so %play counter% and other related tags would stay out of the file. Would that satisfy your needs?

I don't think anyone is working on it, though.
*


AFAIK the playcounter plugin allows you to set it to only write to the database.
Go to the top of the page
+Quote Post
topdownjimmy
post Feb 9 2005, 02:17
Post #8





Group: Members
Posts: 525
Joined: 1-January 05
From: Boston
Member No.: 18762



QUOTE (Mike Giacomelli @ Feb 8 2005, 07:51 PM)
QUOTE (banjobacon @ Feb 7 2005, 02:45 PM)
There was a request for a plugin which would allow you to choose which tags would be writtern only in the db, so %play counter% and other related tags would stay out of the file. Would that satisfy your needs?

I don't think anyone is working on it, though.
*


AFAIK the playcounter plugin allows you to set it to only write to the database.
*



Only when they're first written. If you ever update a file's tags after that, the %play_counter% tag will be written to the file as well.
Go to the top of the page
+Quote Post
topdownjimmy
post Feb 11 2005, 21:35
Post #9





Group: Members
Posts: 525
Joined: 1-January 05
From: Boston
Member No.: 18762



QUOTE (banjobacon @ Feb 7 2005, 05:45 PM)
There was a request for a plugin which would allow you to choose which tags would be writtern only in the db, so %play counter% and other related tags would stay out of the file. Would that satisfy your needs?

I don't think anyone is working on it, though.
*


That would be so, so awesome. Is it a member of the set of all possible plugins? tongue.gif
Go to the top of the page
+Quote Post
gob
post Feb 12 2005, 00:10
Post #10





Group: Members
Posts: 412
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.
Go to the top of the page
+Quote Post
mazy
post Feb 12 2005, 19:47
Post #11





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
Go to the top of the page
+Quote Post
gob
post Feb 12 2005, 20:01
Post #12





Group: Members
Posts: 412
Joined: 13-July 03
From: bc.ca
Member No.: 7732



i wonder if the current database will be compatable with future foobar versions..
Go to the top of the page
+Quote Post
mazy
post Feb 13 2005, 01:51
Post #13





Group: Members
Posts: 680
Joined: 11-July 03
From: Brno, Czech Rep.
Member No.: 7705



i wouldn't be surprised if not ... iirc that has happend before.

not a big deal though, is it?


--------------------
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987
Go to the top of the page
+Quote Post
gfngfgf
post Feb 13 2005, 07:48
Post #14





Group: Members
Posts: 899
Joined: 2-November 04
Member No.: 17951



QUOTE (mazy @ Feb 12 2005, 07:51 PM)
i wouldn't be surprised if not ... iirc that has happend before.

not a big deal though, is it?
*


I'd say it is if you don't write tags to your files (ie, keep them in the database only).
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th September 2014 - 23:45