Re: [Tracker] Write-back data & default/dummy data
- From: Martyn Russell <martyn lanedo com>
- To: "Maria K." <kyrandesa gmail com>
- Cc: Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] Write-back data & default/dummy data
- Date: Tue, 27 Oct 2009 00:58:22 +0000
On 26/10/09 18:44, Maria K. wrote:
Martyn Russell wrote:
After this mornings meeting, we briefly discussed libstreamanalyser
(LSA) and again, this topic of writing data back to files and setting
default data where it doesn't exist in the file's metadata was brought
1. If a file doesn't have ALL the metadata associated with it that we
would normally expect (for example Video Title), should we set a
default value for these cases?
maybe sth. like 'Unknown', better maybe to leave it empty
"Unknown" can be used as a valid value in some situations.
The idea that Jurg came up with was to have a COALESCE() SPARQL
function, so you could have:
This way it falls back to those values in that order. I quite like this
approach, but I wonder if it is enough.
2. If we do have a default value to set, should we write this back to
I wouldn't write it back without asking the user first.
This is not the
kind of behaviour I'd expect from tracker. (would you like to have all
of your videos renamed to unknown-whatever_was_here_before.mov?)
I don't think this will happen anyway. Most of the team are not in
favour of doing this from recent discussion on IRC.
If there's a dialog giving files with missing tags that could be fixed,
It won't really be like that.
] [Thread Prev