Comments (3)
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.
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.
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)
- Requires Google+ API HOT 2
- InternalOAuthError: Failed to obtain access token HOT 1
- Does it support image uploads? (REST API) HOT 1
- Question: Is it possible to get all photos and their coordinates on the world?
- Broken images in gallery HOT 3
- dirname doesn't work on windows HOT 4
- This sample not compatible with the latest version of node.js v10.23.0 HOT 6
- Deploy in heroku fails HOT 1
- G
- Signout using req.logout needs to be updated to be asynchronous
- install HOT 4
- There is no package.json???
- Error: req#logout requires a callback function
- Accessing hdr photo
- Getting past the login screen... HOT 1
- web app behaviors randomly when it is deployed HOT 1
- mediaType:['PHOTO'] is not working HOT 1
- add node.js minimum version to documentation HOT 2
- Quota HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-photos.