seandenigris / Living-Library

MIT License
4 stars 1 forks source link

Levels of Guaranteed Consistency #2

Open seandenigris opened 3 years ago

seandenigris commented 3 years ago

Citation Consistency (between Work and Copy)

I cite the Iliad p. 101. That obviously doesn't apply to all printings. There should be a level that captures those to which it does. Edition? Format?

There are also two competing views:

The first would at least be consistent across formats of the same edition

File Consistency

This is "the same" e.g. video file, but one is e.g. online and one is local. What if the resolution is different (sounds like another level)?

Examples / Use Cases

DVD vs. Disk Image

This code from MediaPlayer treats a disk image as a DVD. Is that what we want? Does context matter?

importDVDDiskImagesFrom: directory

    | imageFiles |
    imageFiles := directory files select: [ :e | e extension = 'dmg' ].
    imageFiles do: [ :e | | dvd libraryFile |
        libraryFile := RlResourceLibrary uniqueInstance import: e.
        dvd := DVD fromDiskImage: libraryFile.
        self checkIn: dvd ].

For the moment, we just copied everything into the same LlDVD LivingLibrary class.

YouTube Video - work or copy or both?

I'm thinking copy because the video could be uploaded to multiple places, but for common cases, this may not matter. Maybe a quick way to import that auto-creates (or finds) a work, but what about for simple and easily confusable titles?