Windows > Third Party Plug-ins, Programs, and Skins
ZRatings v3.2 released
wer:
I've been using the app with no problems at all, but today I encountered one.
Data retrieval works fine, but it will not save changes for the movie "I, Robot", a new movie I added today.
I get an error message: Error saving changed movies to JRiver. 1 Movies still have unsaved changes.
Everything worked fine yesterday. Is there a log or something that can provide useful info?
Some (at least) of the info is ending up in the MC database, but I don't know what's failing or causing the error. As an example, Studios and Tagline fields are saved, Rotten Tomatoes is not saved.
JimH:
Read only file?
zybex:
Hi Wer,
The unsaved fields remain orange/green in the grid, so you can tell which one(s) failed. Please let me know what they are, and what the content is.
A couple of possibilities come to mind:
- Poster saving is failing due to write permissions/write error on the movie folder, or invalid Poster Folder specified in settings;
- Some field is failing due to wrong data type; for instance, if the field is set as Numeric in JRiver but the value in ZR is not a number; or field type is Date but value is not a valid Date (perhaps your Region/Date format in windows can also interfere with this, not sure now)
Logs are in %TEMP%\ZRatings folder, please check them to see if there's some Exception logged.
If you're still stuck let me know and I'll send you a debug build with more logging in that section.
wer:
The hint about the unsaved fields staying green put me on the right track, thanks. (But you can't see it when you only have 1 movie in the list unless you do a right-click select none, as the highlight of the row obscures it).
No exceptions in the log file I can see.
The field that is failing is Genre, but the circumstances are strange but I think I know why it fails. I have Genre remapped to FilmGenre, and FilmGenre is a validated list with only certain acceptable values. The behavior I normally see is that if the app tries to write an unacceptable value as a list element in FilmGenre, that value is just skipped, and the other acceptable values/elements are written.
But here's the results I get, trying to save "Love Actually" and "RockNRolla"
Love Actually Genre= Comedy; Romance; Drama
RockNRolla Genre= Action; Crime; Thriller
The Love Actually write succeeds, the RockNRolla write fails.
But why? Romance is not a valid category for my collection. The Love Actually write succeeds anyway, and the Comedy and Drama values are written.
RockNRolla fails, I think, because NONE of those values are allowed. My "Action" category is actually named "Action/Adventure" and so it's not a match. As long as one element of the list can be written, the app thinks things are ok. But if zero elements pass validation, it gives an error. (And because of the way the error presents, and how you have to search to find the cause, it can be a bit confusing obviously.)
I'm of two minds as to whether this is desirable behavior or not. A reasonable argument can be made both ways about trying to write to a validated list. Perhaps an option about whether to warn on this condition might be good.
I've added the info of several hundred movies with the app, and have never encountered this error until the last few days (exactly twice), which I guess is just luck, with whatever values submitters have been slopping in to the Genre field.
zybex:
Interesting.
ZR just tries to write the value to MC, and MC responds with True/False. So it seems it responds with False for your RockNRolla example, but true otherwise. This is not something I can change in ZR.
An alternative would be to let ZR write to the Genre field, and then have your FilmGenre field be an expression to convert Genre into the categories you want to see. The expression would however be a bit ugly, something like:
Replace(Replace(Replace(Replace([genre], Action, Action//Adventure), Romance,), Crime,), Thriller,) ... and so on
You might need to remove duplicates when merging genres:
ListClean(Replace(Replace(Replace(Replace([genre], Action, Action//Adventure), Adventure, Action//Adventure), Crime, Crime//Thriller), Thriller, Crime//Thriller), 1)
If you're only having problems on a few movies, perhaps it's not worth the trouble.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version