BYU-ODH / yvideo-client

Front-end code for Y-Video (React)
GNU General Public License v3.0
3 stars 3 forks source link

Library ownership #200

Open reynoldsnlp opened 3 years ago

reynoldsnlp commented 3 years ago

If an API exists, we want to be able to check whether the library owns a copy of the media. This may involve adding a field to the backend to save a call number/ISBN/IMDBid/etc.

reynoldsnlp commented 3 years ago

I just sent an email to Ryan Amy to find out what APIs exist.

esdraszx commented 2 years ago

@reynoldsnlp can we go over this issue next meeting?

reynoldsnlp commented 2 years ago

There are two issues here. First, we want to track whether the library has a copy. Second, we want to avoid duplicating resources.

The library doesn't have a published API, so I'm not sure that we can automate any of this yet. However, we do want to add fields to the resource table to be able to store a library call number (or NULL if the library doesn't have it).

I also think it would be nice to store an IMDBid, as a method for avoiding duplication. For example, if you try to create a new resource, and there is already a resource with that library call number or IMDBid, then we could give a warning that this resource already exists and prompt the user to just edit that resource instead.

WorldsEndless commented 2 years ago

Sorry to jump in here; it just sounded so interesting! The imdb id would be nice. Do you know if the HBLL has any plans to provide an API?

reynoldsnlp commented 2 years ago

@WorldsEndless the HBLL does have an internal API, but it's not something that they want to publish/support at this time. They are interested in helping us get a service set up, but they didn't sound very interested in doing that right now.