Giter VIP home page Giter VIP logo

Comments (3)

jfschmakeit avatar jfschmakeit commented on May 18, 2024

Yes, the way to handle this would be to re-request base URLs for all media items that are currently in the queue. (This would be a call to mediaItems.get. There would need to be some additional logic to handle the timeout and automatically refresh the items as they are expiring.

I'll mark this one as a feature request, but I'm not sure if that's something we can update in the very near future.
For now, reloading the app itself also triggers a reload of all media items and base URLs.

from google-photos.

masterhui avatar masterhui commented on May 18, 2024

Thanks for your reply Jan, refershing the baseUrls of the whole queue sounds like a good idea i have not thought of yet. I think I might give it a try to implement a timed baseUrl refresh mechanism myself. I'll let you know how it goes :-)

from google-photos.

bulldoguk avatar bulldoguk commented on May 18, 2024

This is making me feel a little dumb! I don't see a mediaItems.get method - is that something intrinsic to mediaItems, or is it a method I need to create? Any samples of how to put this together?

from google-photos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.