I changed metadata behavior on file-upload (automatic setup of metadata from
ID3).
If user is logged in in default language, just this language will be set.
If user is logged in with other language, records will be set in default and
user-language too, because the user should see metadata in his language,
even default language have to be set.
If you have other opinion let me know.
Sebastian
------------------------------------------
Posted to Phorum via PhorumMail
I personally would be more comfortable with not having any xml:lang
attributes in the metadata for 1.0, and add this feature in 1.1, after
we have thought about it, asked Robert and others, and figured out what
we want exactly.
Up to now, we haven't even agreed on a default language; in Studio, we
use "en", you seem to be using "en_GB" -- but "en_US" might be a more
natural choice.
Ferenc
Sebastian Goebel wrote:
> I changed metadata behavior on file-upload (automatic setup of metadata from
> ID3).
>
> If user is logged in in default language, just this language will be set.
> If user is logged in with other language, records will be set in default and
> user-language too, because the user should see metadata in his language,
> even default language have to be set.
>
> If you have other opinion let me know.
>
> Sebastian
>
>
>
------------------------------------------
Posted to Phorum via PhorumMail
yes, if you logged in in hungarian than metadata (just the fields gotten
from id3) will stored in hungarian and default language (now switched to
en_US).
But maybee you are right that metadata should always stored in default
language after upload, and just if user choose another lang in metadataform
he can translate into this. I added entry in config file to have possibility
to switch to this behavior.
Anyway, php part uses xml:lang attribute since a longer while. I guess
storageServer can changed to ignore this completely, but this would be step
back. If people starting to upload files to 1.0 they should be able to
upgrade to 1.1 without losing those files.
Question: if I do not use any xml:lang attributes when uploading from
the C++ gui, and only look at the first tag of each kind(*) in an audio
clip returned from storage, is that going to work? I.e., will an audio
clip uploaded from C++ be visible from HTML, and vice versa?
Ferenc
(*) for example, if it has Das gelbe U-Boot Yellow Submarine S