MachineVisionUiB / machinevision

We are developing a database to map and interpret the representations and uses of machine vision technologies in digital art, computer games and narratives such as science fiction novels, movies and creepypasta.
http://uib.no/en/machinevision
4 stars 0 forks source link

Track down and update removed/moved remote video on youtube and vimeo #87

Closed steinmb closed 2 years ago

steinmb commented 4 years ago

During data migration (issue #86) and manual testing I found that we could log all remote video that no longer exists.

Scope

Update content/video or remove them if not found again.

Data

drush watchdog:show
 ---- -------------- ------- ---------- ----------------------------------------------------------------------------------------------------------
  ID   Date           Type    Severity   Message
 ---- -------------- ------- ---------- ----------------------------------------------------------------------------------------------------------

  1308   16/Jun 18:23   media            Debug      https://youtu.be/DzNZL__TVcU - Could not retrieve the oEmbed resource.
  1307   16/Jun 18:23   media            Debug      https://youtu.be/wm3zPLHt8OE - Could not retrieve the oEmbed resource.
  1306   16/Jun 18:23   media            Debug      https://youtu.be/9cmyIYNDlmw/l/RD9cmyIYNDlmw - Could not retrieve the oEmbed resource.
  1305   16/Jun 18:23   media            Debug      https://youtu.be/DvV1eYRKRNY/l/RDDvV1eYRKRNY - Could not retrieve the oEmbed resource.
  1304   16/Jun 18:23   media            Debug      https://youtu.be/-a2vKyFsNqo - Could not retrieve the oEmbed resource.
  1303   16/Jun 18:23   media            Debug      https://youtu.be/Y7dKFr-O1pU - Could not retrieve the oEmbed resource.
  1302   16/Jun 18:23   media            Debug      https://youtu.be/57H1LPlYhG4 - Could not retrieve the oEmbed resource.
  1301   16/Jun 18:23   media            Debug      https://vimeo.com/287645190 - Could not retrieve the oEmbed resource.
  1300   16/Jun 18:23   media            Debug      https://vimeo.com/287645190 - Could not retrieve the oEmbed resource.
  1299   16/Jun 18:23   media            Debug      https://vimeo.com/287645190 - Could not retrieve the oEmbed resource.
  1298   16/Jun 18:23   media            Debug      https://vimeo.com/338726032 - Could not retrieve the oEmbed resource.
  1297   16/Jun 18:23   media            Debug      https://vimeo.com/338726032 - Could not retrieve the oEmbed resource.
  1296   16/Jun 18:23   media            Debug      https://vimeo.com/338726032 - Could not retrieve the oEmbed resource.
  1295   16/Jun 18:23   media            Debug      https://vimeo.com/272747039 - Could not retrieve the oEmbed resource.
  1294   16/Jun 18:23   media            Debug      https://vimeo.com/272747039 - Could not retrieve the oEmbed resource.
  1293   16/Jun 18:23   media            Debug      https://vimeo.com/272747039 - Could not retrieve the oEmbed resource
 ---- -------------- ------- ---------- ----------------------------------------------------------------------------------------------------------
steinmb commented 4 years ago

Note. The list of videos need to be updated when we migrate and go live. The remote data is in constant flux.

jilltxt commented 4 years ago

Oh, this is useful! So we just need to go through these entries and remove or update the URLs for remote content?

steinmb commented 4 years ago

Yeah. They are videos that have been removed from youtube/vimeo after we created records of them. Sort of unrelated to migration but we got these warnings for free and we should try and address them for cleanliness.

jilltxt commented 4 years ago

New problem @steinmb : no longer possible to embed new YouTube video in an entry. Can this be put back in again?

steinmb commented 4 years ago

Aha! Changed setting for media and meda_asset. Please try again.