jmarshall Wrote:The main problem is making the implementation of it skin agnostic. As it currently stands, the video info window allows content to be placed practically everywhere. If we allow it to be editable, this restricts things somewhat (the information must then be able to be navigated to and so on) for the skinner.
What about an additional button which either switches to the 'edit'-mode or forwards to an additional edit-window? The latter could be implemented as a kind of standard-window, independent form the used skin. The look-and-feel would be broken in that part but on the other hand the skinners would not be responsible for implementing the edit-stuff correctly. They just need an additional buttton. Maybe we could also go with a special key, so no ones gonna come to the edit window by inadvertently choosing a menu-button.
Experienced skinners could then implement the stuff by themselves and keep their look and feel.
Quote:The final problem with allowing editable information is it then should not be overwritten by future scraping of information. One idea would be to store the edited information with a certain prefix that dictates that it's the user's data, rather than scraped data.
That's absolutely correct! This problem exists already as items cannot be updated by using another scraper for example. IMHO this is a core problem of xbmc.
sho Wrote:It could be an extension of the mixed xml/url nfo stuff, so it only writes changed fields to an nfo, xxx-userdefined.nfo perhaps?
Sounds very interesting! Is there already the ability of using database entries
and .nfo? Didn't hear about it yet.
jmarshall Wrote:I was thinking a more simple way would just be a prefix in the db (eg ***<field goes here> indicates it's a user-defined one).
Right, this would be a very simple, but effective way of separating database entries. In the end, there could be more than one prefix. For example one indicating user additions, one indicating updatable stuff, one indicating the used scraper and so on. Of course, the complexity of the db-scheme would increase by this.
Quote:IMO the video info dialog is kinda useless for the most part other than for editting, so I'd prefer to reuse if possible. We could perhaps start with a new one and then replace later though.
What exactly do you mean? Are we talking about the info that pops up when prssing 'i' on an item? The one which shows cover, actors, director etc.? I don't find it useless, as this window gives me most information about an item.