Comments (7)
Ok, I think I found what i need.
I generate a token, get the id of the album I want, and hit /api/albums/user/<id>
, and response['grouped_photos'] has all the pictures grouped by date.
Awesome project! I look forward to using it, and hopefully contributing to it in the future!
from librephotos.
All the feature request are in the "librephotos" repository, which contains the backend code :) This request seems similar to this issue here: #294
How does your digital picture frame work? Is it an android based device or is it more like a desktop setup? Do we need a new app for that or can we use the regular frontend for it?
If you need help with setting up the dev environment or on how to implement it, I am happy to help :)
from librephotos.
Thanks! This is the same as that issue. The picture frame is just a Raspberry Pi plugged into a display, so regular frontend should work.
How would you recommend setting it up?
Slightly off topic, when I setup the dev environment on my laptop, the instructions say to git clone
all the files into the $codedir
directory, but it looks like you have to move the other two repos into librephotos-docker/librephotos/code for the containers to start. Is that a documentation issue, or something else?
from librephotos.
No, all folders should be in one parent folder, like this:
Where did you get the information, that it should be in librephotos-docker/librephotos/code? 😅
from librephotos.
Well, nowhere, but when I started the container, the backend kept restarting because Django couldn't access code files, and it looked like the other repos had those files.
What should the value of code dir be in .env? ../ ?
from librephotos.
The value of code dir should be the path of parent folder where all the code folders are. In my case it is /home/librephotos :)
from librephotos.
Ok, I'll come back to the codedir thing in another issue later. I assume it was an issue with the way I set it up or something.
For the slide show, I think the easier implementation in my case (because there is some more custom stuff I want to do with the same app instance) is to just use a light flask server to actually run the slide show.
I see that the /api/ is available on the production server, so that should be pretty straightforward.
Can you point me to a way to get an album's photos given it's ID?
I found /api/albums/user/shared/tome/
, which gives me the ID I need, but I don't see any endpoints that give a list of pictures. If one does not exist, how does the frontend display them?
from librephotos.
Related Issues (20)
- Streamline dedup process as part of the photo scan HOT 4
- Map places markers in wrong locations HOT 7
- External Authentification Openid Connect
- Delete from trash after n days
- Faces tagging in Firefox: Detail: Invalid Page when tagging faces
- Add release/environment details to Admin page for easy bug reporting HOT 1
- The "Scan Photos" task in my LibrePhotos installation does not complete and appears to hang indefinitely. HOT 4
- Title: Feature Request: Duplicate File Detection and Deletion
- Crash when requesting summary of hidden photo HOT 1
- Adding ETag support for /api/albums/date/list/ endpoints HOT 2
- German Tags
- Feature Request: Search Functionality for Images by Camera Model (ILCE-6400) HOT 1
- "Large Language Model" always downloaded
- Add search fields for person name and file path back
- torch causes Fatal Python error: Floating point exception HOT 3
- Backend: could not load image reason: list index out of range
- Backend: set Heavyweight Processes traceback
- Thumbnails in Places missing if video
- Places on map in wrong location
- Use original filename when saving photos or videos 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 librephotos.