English > Scripts and Templates

Export template to view the internal "Database Record ID"

<< < (2/3) > >>

svenne:

--- Quote ---Are you using a skin that includes both viewed (the flag/date combo) and viewdate (just the date)?
--- End quote ---
Yes. I'm using the standard "PVD Classic".


--- Quote ---...than get the mid
--- End quote ---
I always use mid ("Database Record ID" is the same, if anyone get's confused now) because then I can export working links... But I understand your point and most users might prefer title links, as long as the title is unique... Don't know if I could make those work somehow in my export templates. JavaScript functions called from one frame (from the frame with the movie details), but relying on information from another frame (the title list on the left, where I would have to fetch the targeted title) are often blocked by browsers.  :'(
[Edit: I just tried if I could to get title links to work in my export templates and it was possible... :)]


--- Quote ---Maybe mid should be added to the skin engine...
--- End quote ---
Oh yes, I would appreciate that. However, if it should be kept out of the movie details due to it's special nature: if you right click on a movie in the list, perhaps there could be a "Show internal Database Record ID".
I really like this link type, although I first assumed this should point to "Movie ID" (num) and not to "Database Record ID" (mid), but since my Movie IDs are not unique (I "misused" them as Media IDs and I'm really glad this is possible!!), I'm quite pleased to have some kind of truly unique pointer thing at hand with this "Database Record ID".

svenne:
Finally I can reproduce the bug. Hooray!!!  ;D :-\
It doesn't reset the viewdate, but sets it. If a viewdate is already there, it is not altered. That's what happens on my PC, at least... Can you confirm this bevaviour? Then I could post a small bug report.

rick.ca:
What's happening is the view flag is being set off, but the date remains. This, of course, is an illogical condition. And turning the flag back on resets the date to today—so the correct date is lost. This only happens when Default viewed state (at Preferences - Movies - Information card) is set to "Not viewed." That's probably why you're seeing a different behaviour.

svenne:
Ok, I tested it with altered preferences now and you're right. So it seems that viewed is always set to the default state (which additionally may result in changes/deletion of viewdate, of course).

nostra:

--- Quote from: svenne on July 11, 2010, 09:42:02 am ---Ok, I tested it with altered preferences now and you're right. So it seems that viewed is always set to the default state (which additionally may result in changes/deletion of viewdate, of course).

--- End quote ---

Yes, it is a bug. I will fix it in the next version and will provide a way to access the internal ID for advanced users.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version